Proposition 2.3: the alignment map is an isomorphism of the latent mm-spaces
ProvedIdentifiableAlignment.alignment_map_is_isomorphismLet be a compact connected smooth Riemannian manifold of dimension , possibly with boundary, with Riemannian distance , and let be a probability measure on with a smooth positive density (H1). Let and be diffeomorphisms, where each latent space carries the pullback metric , and its Riemannian distance , (H2). Write , and .
Then:
- a map satisfies if and only if , so the alignment map exists and is unique;
- is smooth and , that is, for all and ;
- ;
- is an isomorphism of the latent mm-spaces:
This is the reason to look for the alignment among isomorphisms of the two latent mm-spaces.
Formalization Note Smoothness of is listed explicitly because the pullback is defined through the differential of .
import Mathlib import Definitions.Def_IdentifiableAlignment_Basic open MeasureTheory ProbabilityTheory Set Filter Topology Bundle open scoped ENNReal ContDiff Manifold
namespace IdentifiableAlignment
theorem alignment_map_is_isomorphism {d : ℕ} [NeZero d] {M Za Zb : Type*}
[MetricSpace M] [ChartedSpace (EuclideanHalfSpace d) M] [IsManifold (𝓡∂ d) ∞ M]
[RiemannianBundle (fun x : M => TangentSpace (𝓡∂ d) x)]
[IsContMDiffRiemannianBundle (𝓡∂ d) ∞ (EuclideanSpace ℝ (Fin d)) (fun x : M => TangentSpace (𝓡∂ d) x)]
[IsRiemannianManifold (𝓡∂ d) M] [MeasurableSpace M] [BorelSpace M]
[CompactSpace M] [ConnectedSpace M]
[MetricSpace Za] [ChartedSpace (EuclideanHalfSpace d) Za] [IsManifold (𝓡∂ d) ∞ Za]
[RiemannianBundle (fun x : Za => TangentSpace (𝓡∂ d) x)]
[IsContMDiffRiemannianBundle (𝓡∂ d) ∞ (EuclideanSpace ℝ (Fin d)) (fun x : Za => TangentSpace (𝓡∂ d) x)]
[IsRiemannianManifold (𝓡∂ d) Za] [MeasurableSpace Za] [BorelSpace Za]
[MetricSpace Zb] [ChartedSpace (EuclideanHalfSpace d) Zb] [IsManifold (𝓡∂ d) ∞ Zb]
[RiemannianBundle (fun x : Zb => TangentSpace (𝓡∂ d) x)]
[IsContMDiffRiemannianBundle (𝓡∂ d) ∞ (EuclideanSpace ℝ (Fin d)) (fun x : Zb => TangentSpace (𝓡∂ d) x)]
[IsRiemannianManifold (𝓡∂ d) Zb] [MeasurableSpace Zb] [BorelSpace Zb]
(P : Measure M) [IsProbabilityMeasure P] (hP : HasSmoothPosDensity d P)
(fa : Za ≃ₘ^∞⟮𝓡∂ d, 𝓡∂ d⟯ M) (fb : Zb ≃ₘ^∞⟮𝓡∂ d, 𝓡∂ d⟯ M)
(hfa : IsModelCoordinates fa) (hfb : IsModelCoordinates fb) :
(∀ A : Za → Zb, ⇑fb ∘ A = ⇑fa ↔ A = alignMap fa fb) ∧
ContMDiff (𝓡∂ d) (𝓡∂ d) ∞ (alignMap fa fb) ∧
(∀ (z : Za) (v w : TangentSpace (𝓡∂ d) z),
riemInner (alignMap fa fb z) (mfderiv (𝓡∂ d) (𝓡∂ d) (alignMap fa fb) z v)
(mfderiv (𝓡∂ d) (𝓡∂ d) (alignMap fa fb) z w) = riemInner z v w) ∧
(latentLaw P fa).map (alignMap fa fb) = latentLaw P fb ∧
IsMMIso (latentLaw P fa) (latentLaw P fb) (alignMap fa fb) := by sorry
end IdentifiableAlignmentRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix a natural number . There are three spaces , , , each of which is:
- a metric space;
- a smooth () -dimensional manifold, possibly with boundary, modelled on the Euclidean half-space , with tangent spaces identified with ;
- equipped with its own Riemannian metric, written , , respectively, which varies smoothly;
- such that its given distance function equals the Riemannian distance induced by that metric;
- equipped with its Borel -algebra.
In addition, is assumed compact and connected; in particular it is nonempty. No compactness or connectedness is assumed for or . The metrics and are independent data, constrained only by the hypotheses below.
Hypotheses.
- is a probability measure on with a smooth positive density. Concretely, there is a function that is and satisfies for every , such that
where is the -dimensional Hausdorff measure built from the distance of . Since , this forces .
-
and are diffeomorphisms, meaning smooth bijections with smooth inverses.
-
Model-coordinate (pullback-metric) conditions. For every and all tangent vectors ,
and the analogous identity holds for and on .
Notation. The alignment map is . The latent laws are the pushforwards
Pushforward along a map that is not almost-everywhere measurable is defined to be the zero measure. All the maps here are continuous between Borel spaces, so these are the ordinary pushforwards.
Conclusion. All five of the following hold simultaneously:
- Characterization. For every function , with no regularity assumed,
-
Smoothness. is .
-
Preservation of the Riemannian metric. For every and all ,
-
Transport of the law. .
-
Metric-measure isomorphism. is an isomorphism of the metric measure spaces and . Concretely:
- is a bijection;
- for all , where the distances are the given (Riemannian) ones;
- .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.