A smooth function between two smooth manifolds is a local diffeomorphism if the following equivalent conditions hold
is both a submersion and an immersion;
for each point the derivative is an isomorphism of tangent vector spaces;
the canonical diagram
(with the differential between the tangent bundles) on top is a pullback;
for each point there exists an open subset such that
the image is an open subset in ;
restricted to is a diffeomorphism onto its image
The equivalence of the conditions on tangent space with the conditions on open subsets follows by the inverse function theorem?.
The category SmoothMfd of smooth manifolds may naturally be thought of as sitting inside the more general context of the cohesive (∞,1)-topos Smooth∞Grpd of smooth ∞-groupoids. This is canonically equipped with a notion of infinitesimal cohesion exhibited by its inclusion into SynthDiff∞Grpd. This implies that there is an intrinsic notion of formally étale morphisms of smooth -groupoids in general and of smooth manifolds in particular
A smooth function is a formally étale morphism in this sense precisely if it is a local diffeomorphism.
See this section for more details.