Consider a system of 3N3N particles with pp holonomic constraints: gv(r1,r2,...,rN,t)=0,v=1,2,...,p. g_v( \vec{r}_1 , \vec{r}_2 , ... , \vec{r}_N , t ) = 0 \, , \quad v = 1,2, ... , p \, . Various textbooks state that the current spatial configuration of a system of 3N3N particles with pp holonomic constraints is determined by 3Np3N-p independent coordinates q1,...,q3Npq_1,...,q_{3N-p} . Independent means that there is no relation of the form F(q1,...,q3Np)=0.F(q_1,...,q_{3N-p}) = 0 \, . Unfortunately my textbooks do not provide a formal proof to this statement, so I am trying to figure out a proof by myself. These are my thoughts: At the time t0t_0 , the spatial configuration of our system is determined by a certain point of the set M:={rR3N  |  f(r)=0},f(r):=(g1(r,t0)g2(r,t0)gp(r,t0)).M := \left\{ \vec{r} \in \mathbb{R}^{3N} \;\middle|\; \vec{f} ( \vec{r} ) = \vec{0} \right\} \, , \quad \vec{f} ( \vec{r}) := \begin{pmatrix} g_1 ( \vec{r} ,t_0) \\ g_2 ( \vec{r},t_0 ) \\ \vdots \\ g_p ( \vec{r} ,t_0) \end{pmatrix} \, . Now according to the preimage theorem, MM is a submanifold of R3N\mathbb{R}^{3N} of dimension S:=dimM=dimR3NdimRp=3Np.S := \text{dim} \, M = \text{dim} \, \mathbb{R}^{3N} - \text{dim} \, \mathbb{R}^{p} = 3N-p \, . Now according to definition, for every point r0M\vec{r}_0 \in M , there exists an open neighborhood UU and a diffeomorphism φ:UV\varphi : U \to V onto an open subset VV of a certain Rn\mathbb{R}^n , so that it holds: φ(MU)=R0SV,R0S:={qRnqS+1=...=qn=0}.\varphi ( M \cap U ) = \mathbb{R}_0^S \cap V \, , \quad \mathbb{R}_0^S := \left\{ \vec{q} \in \mathbb{R}^n \mid q_{S+1} = ... = q_n = 0 \right\} \, . So for every point rMU\vec{r} \in M \cap U , φ\varphi is of the form φ(r)=(q1,...,qS,0,...,0). \varphi(\vec{r}) = ( q_1 , ... , q_S , 0 , ... , 0 ) \, . At this point I am not sure how to complete the proof, or whether this approach is even correct. Especially I do not know how to show that the 3Np3N-p generalized coordinates are independent.