I am trying to understand the proof of the following theorem in Differential Topology by Guillemin and Pollack (page 17).
Theorem. An embedding $f:X\to Y$ maps $X$ diffeomorphically onto a submanifold of $Y$.
The "difficult" part of the proof shows by contradiction that the image of any open set $W$ of $X$ is an open subset of $f(X)$; this implies that $f(X)$ is a manifold. But I do not understand the "trivial" part of the proof in the book:
- It is now trivial to check that $f:X\to f(X)$ is a diffeomorphism, for we now know $f$ to be a local diffeomorphism from $X$ to $f(X)$.
- Since it is bijective, the inverse $f^{-1}:f(X)\to X$ is well defined
- But locally $f^{-1}$ is already known to be smooth.
How do we "now" know that $f$ is a local diffeomorphism from $X$ to $f(X)$ and why "locally $f^{-1}$ is already known to be smooth"?