In Do Carmo's Differential Geometry of Curves and Surfaces there's an excercise in section 2-3 that says:
- Prove that the definition of a differentiable map between surfaces does not depend on the parametrization chosen.
According to the book, the definition of a differentiable map is, if $\varphi:S_1\to S_2$ is a continuous map, where both $S_1,S_2$ are regular surfaces. then $\varphi$ is differentiable at $p\in S_1$ if given parametrizations: $f:U \subset\Bbb R^2\to S_1$ and $g:W \subset\Bbb R^2\to S_2$, with $p\in f(U)$ and $\varphi(f(U))\subset g(W)$, the map $g^{-1}\circ\varphi\circ f: U\to W$ is differentiable at $q=f^{-1}(p)$.
I'm getting a little bit confused on how to prove this without making a mess. I'm relying on the following diagram:

Where $f_1,f_2$ are two diferent parametrizations for $S_1$, and $g_1,g_2$ are two diferent parametrizations for $S_2$. And my guess is that we have to prove that $g_1^{-1}\circ\varphi\circ f_1=g_2^{-1}\circ\varphi\circ f_2$, althought would it be also necesary to prove $g_1^{-1}\circ\varphi\circ f_2=g_2^{-1}\circ\varphi\circ f_1$? Am I considering this wrong?
An attempt to do this:
We know that $f_1=f_2\circ f_2^{-1}\circ f_1$ and $g_1^{-1}=(g_2\circ g_2^{-1}\circ g_1)^{-1}=g_1^{-1}\circ g_2\circ g_2^{-1}$, hence
$$g_1^{-1}\circ\varphi\circ f_1=(g_1^{-1}\circ g_2\circ g_2^{-1}) \circ\varphi\circ (f_2\circ f_2^{-1}\circ f_1)
\\=g_1^{-1}\circ g_2\circ (g_2^{-1} \circ\varphi\circ f_2)\circ f_2^{-1}\circ f_1
\\=G \circ (g_2^{-1} \circ\varphi\circ f_2)\circ F$$
because $S_1,S_2$ are regular, then $F,G$ are diff. but I'm not sure what to do from here, can we conclude that $g_1^{-1}\circ\varphi\circ f_1\subseteq g_2^{-1}\circ\varphi\circ f_2$?