Proposition B.15: stability of the LDD-LP
ProvedIdentifiableAlignment.ldd_lp_stabilityLet 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 the margin of the data mm-space, and assume for all and , where . Let be the LDD-LP cost of .
- For every probability measure on and every with ,
- For any samples , () with empirical measures , every minimiser of the empirical LDD-LP over satisfies
where . 3. With times the right-hand side of 2 and the Lévy–Prokhorov distance for the metric ,
the infimum running over with .
Formalization Note The paper writes the infimum in 3 over all . is defined only where the margin is (Definition 4.3, ), and the paper intends it to be infinite where . In Lean, real division by gives , so ENNReal.ofReal (K ^ 2 / margin P t ^ 3) would be there, not ; including such would make the bound false. The infimum is therefore taken over with (an empty infimum is ).
import Mathlib import Definitions.Def_IdentifiableAlignment_Basic open MeasureTheory ProbabilityTheory Set Filter Topology Bundle open scoped ENNReal ContDiff Manifold
namespace IdentifiableAlignment
theorem ldd_lp_stability {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)
(K : ℝ) (hK : IsLddLipschitz P K) :
(∀ η : Measure (Za × Zb), IsProbabilityMeasure η → ∀ t : ℝ, 0 < t →
t ≤ Metric.diam (univ : Set M) → 0 < margin P t →
η {p | t ≤ dist p.2 (alignMap fa fb p.1)} ≤
ENNReal.ofReal (K ^ 2 / margin P t ^ 3) * lddLP (latentLaw P fa) (latentLaw P fb) η) ∧
(∀ (n : ℕ), 1 ≤ n → ∀ (za : Fin n → Za) (zb : Fin n → Zb) (η : Measure (Za × Zb)),
IsOptimalCoupling (lddLP (empMeasure za) (empMeasure zb)) (empMeasure za) (empMeasure zb) η →
lddLP (latentLaw P fa) (latentLaw P fb) η ≤ (ENNReal.ofReal (2 * Metric.diam (univ : Set M)) *
(w1 (empMeasure za) (latentLaw P fa) + w1 (empMeasure zb) (latentLaw P fb) +
2 * lddEstError (latentLaw P fa) (empMeasure za) (latentLaw P fb) (empMeasure zb))) ∧
levyProkhorovEDist η (inducedCoupling (latentLaw P fa) (alignMap fa fb)) ≤
(⨅ t ∈ {t : ℝ | 0 < t ∧ t ≤ Metric.diam (univ : Set M) ∧ 0 < margin P t},
max (ENNReal.ofReal t) (ENNReal.ofReal (K ^ 2 / margin P t ^ 3) * (ENNReal.ofReal (2 * Metric.diam (univ : Set M)) *
(w1 (empMeasure za) (latentLaw P fa) + w1 (empMeasure zb) (latentLaw P fb) +
2 * lddEstError (latentLaw P fa) (empMeasure za) (latentLaw P fb) (empMeasure zb))))) +
levyProkhorovEDist (empMeasure za) (latentLaw P fa)) := by sorry
end IdentifiableAlignmentRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix a natural number and three spaces , , . Each one is:
- a smooth () -dimensional manifold, possibly with boundary, modelled on the Euclidean half-space ;
- equipped with a Riemannian metric that varies smoothly;
- a metric space whose distance is the Riemannian distance of that metric;
- given its Borel -algebra.
is in addition assumed compact and connected. No compactness or connectedness is assumed for or . Write for the diameter of , which is finite.
Hypotheses.
- The measure . is a probability measure on of the form . Here is the -dimensional Hausdorff measure of the distance of , and is smooth with for every .
- The maps . and are diffeomorphisms. Each is a pullback of metrics: for every and tangent vectors , , and likewise for .
- The constant . is such that for every and all ,
where is the -mass of the closed ball. Since the left side is , this forces .
Notation.
- Alignment map. .
- Latent laws. on and on .
- Empirical measures. For a sample (repetitions allowed), .
- Couplings. For measures on and on , a coupling is a measure on with marginals and ; the set of them is .
- Distance law. For a measure on a metric space and , is the law on of when .
- on the line. For measures on ,
and .
- LDD-LP objective. For measures on and on , and any measure on ,
- Margin. For ,
computed for on . An empty infimum is taken to be .
- . .
- Estimation error. Given samples ,
- Lévy–Prokhorov distance. is the infimum of all such that, for every measurable , both and . Here is the open -thickening of . On the metric is the max of the two coordinate distances.
Conclusion. Under these hypotheses, both of the following hold.
(1) Population bound. Take any probability measure on . It is not required to be a coupling of . Take any real with and . Then
(2) Empirical bounds. Take any , any points and , and set and . Let be any minimiser of the empirical objective over . That is, and for every . Define
Then both of the following hold.
- (2a) . This is the population objective evaluated at the empirical minimiser.
- (2b) Let . Then
If is empty, the infimum is and the bound is trivial.
Arithmetic. All quantities are in , and products and sums follow extended non-negative arithmetic. In particular, , and may equal , in which case the corresponding bounds are trivial.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.