Constancy from a vanishing manifold differential #
A differentiable map with zero differential on an open subset of a real manifold is locally
constant there. Both manifolds may have boundary or corners, and neither needs to be finite
dimensional. On a preconnected source the map is constant. Conversely, a locally constant map is
smooth (IsLocallyConstant.contMDiff).
These results turn infinitesimal independence of a parameter into independence of that
parameter itself, for example when separating the factors of a product isometry.
The argument applies Mathlib's Convex.is_const_of_fderivWithin_eq_zero in source and target
charts, on a ball intersected with the convex range of the source model.
A differentiable map with zero differential on an open set agrees locally with its value at each point of that set. Both manifolds may have boundary or corners.
A differentiable map from a real manifold with zero differential is locally constant. The source may have boundary or corners.
A differentiable map with zero differential on a preconnected real manifold takes the same value at every two points.
Conversely, a locally constant map between manifolds is C^n for every n: near each point it
agrees with a constant map.