Okay, slightly more complicated sanity check: say $f : X \to Y$ is a smooth map whose derivative $df_x$ is a linear iso for all $x$ in a submanifold $Z$, and which is injective on $Z$. Then I am to prove that $f$ is a diffeo on a neighborhood of $Z$.
This is just because if it fails to be a diffeo on such a neighborhood, I can find a point $z \in Z$ and make two distinct sequences that converge to $z$ and which map to the same sequence in $Y$, but that would contradict the inverse function theorem at $z$, right?