Proposition 4.4: exact recovery of the permutation in the permutation regime
ProvedIdentifiableAlignment.permutation_regime_exactLet 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 . Let , let be independent with law , let be a permutation of , and let (permutation regime). Let , , and let the empirical use the LDDs of and . Then almost surely, for every , the unique optimal coupling of is
No symmetry-breaking condition is needed.
Formalization Note The empirical LDD of a sample point, , is written as the LDD of the empirical measure , and couplings are measures on rather than matrices; on the almost-sure event that the sample points are distinct the two descriptions coincide.
import Mathlib import Definitions.Def_IdentifiableAlignment_Basic open MeasureTheory ProbabilityTheory Set Filter Topology Bundle open scoped ENNReal ContDiff Manifold
namespace IdentifiableAlignment
theorem permutation_regime_exact {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)
(n : ℕ) (hn : 3 ≤ n)
{Ω : Type*} [MeasurableSpace Ω] (Pr : Measure Ω) [IsProbabilityMeasure Pr]
(Xa : Fin n → Ω → Za) (hXm : ∀ i, Measurable (Xa i)) (hXind : iIndepFun Xa Pr)
(hXlaw : ∀ i, Pr.map (Xa i) = latentLaw P fa)
(σ : Equiv.Perm (Fin n)) (Xb : Fin n → Ω → Zb)
(hσ : ∀ ξ i, Xb (σ i) ξ = alignMap fa fb (Xa i ξ)) :
∀ᵐ ξ ∂Pr, ∀ β ∈ Icc (0 : ℝ) 1, ∀ η : Measure (Za × Zb),
IsOptimalCoupling (fusedCost β (empMeasure (fun i => Xa i ξ)) (empMeasure (fun j => Xb j ξ)))
(empMeasure (fun i => Xa i ξ)) (empMeasure (fun j => Xb j ξ)) η ↔
η = empMeasure (fun i => (Xa i ξ, Xb (σ i) ξ)) := by sorry
end IdentifiableAlignmentRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix an integer . There are three spaces , , , and each one carries the same structure:
- It is a smooth () -dimensional manifold, possibly with boundary, modelled on the half-space .
- It has a smooth Riemannian metric.
- It is a metric space whose distance is exactly the Riemannian distance of that metric (the infimum of lengths of curves).
- It has its Borel -algebra.
Write , , for the three distances and , , for the three metrics. is additionally assumed compact and connected. No compactness or connectedness is assumed directly for or .
Data distribution. is a probability measure on with a smooth, everywhere-positive density with respect to the -dimensional Hausdorff measure of . That is,
for some smooth with for all .
Model coordinates. and are diffeomorphisms. Each is assumed to pull back the metric of to the metric of its domain:
for every and all tangent vectors at , and likewise for with . The alignment map is
The latent law is
a measure on .
Sample. Fix an integer and a probability space .
- are measurable, mutually independent random variables, each with law .
- is a fixed (non-random) permutation of .
- are any maps satisfying, for every outcome and every ,
This identity holds pointwise, not just almost surely, and it completely determines the . No separate measurability or independence hypothesis is imposed on them.
Empirical measures. For an outcome , define
Coinciding sample points are not merged; they simply add their weights.
Couplings. A coupling of and is any measure on (with the product -algebra) whose first marginal is and whose second marginal is .
The objective. For , the fused cost of a measure is the -valued quantity
with the convention . Its two parts are:
- The Gromov–Wasserstein term:
- The local-distance-distribution term:
The ingredients of are:
- is the law on of when . Similarly, is the law of when .
- For measures on ,
where the infimum runs over all measures on with marginals and .
A measure is an optimal coupling for if two things hold. First, is a coupling of and . Second, for every coupling of and .
Conclusion. For -almost every outcome , the following holds simultaneously for every (including both endpoints) and every measure on :
In words, almost surely and uniformly in , the empirical measure on the true pairs is an optimal coupling, and it is the only one. The exceptional null set of outcomes does not depend on or .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.