Theorem (inverse function theorem for manifolds)
Let $f: X\to Y$ be a smooth map of manifolds and $x\in X$.
If $\d f_x$${}: T_x X \to T_y Y$ is an isomorphism, then there exists an open neighbourhood $U \subseteq X$ of $x$ such that $f|_U: U\to f(U)$ is a diffeomorphism.
Proof: pass to charts and apply the inverse function theorem in $\R^n$.