Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 4.1: GW optimal couplings are the isomorphism couplings, unique under C1

Proved
IdentifiableAlignment.gw_optimal_couplings

by Xeroth · Nov 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

gromov-wassersteinidentifiabilitymetric-measure-spacesoptimal-transportriemannian-geometry

Let M\mathcal MM be a compact connected smooth Riemannian manifold of dimension d≥1d\ge1d≥1, possibly with boundary, with Riemannian distance dMd_{\mathcal M}dM​, and let PMP_{\mathcal M}PM​ be a probability measure on M\mathcal MM with a smooth positive density (H1). Let fa:Za→Mf_a:\mathcal Z_a\to\mathcal Mfa​:Za​→M and fb:Zb→Mf_b:\mathcal Z_b\to\mathcal Mfb​:Zb​→M be diffeomorphisms, where each latent space carries the pullback metric ga=fa∗gMg_a=f_a^*g^{\mathcal M}ga​=fa∗​gM, gb=fb∗gMg_b=f_b^*g^{\mathcal M}gb​=fb∗​gM and its Riemannian distance dad_ada​, dbd_bdb​ (H2). Write Pa=(fa−1)#PMP_a=(f_a^{-1})_\#P_{\mathcal M}Pa​=(fa−1​)#​PM​, Pb=(fb−1)#PMP_b=(f_b^{-1})_\#P_{\mathcal M}Pb​=(fb−1​)#​PM​ and A=fb−1∘faA=f_b^{-1}\circ f_aA=fb−1​∘fa​. Let

JGW(η)=∬∣da(z,z′)−db(w,w′)∣2 dη(z,w) dη(z′,w′),η∈Π(Pa,Pb).J_{\mathrm{GW}}(\eta)=\iint\big|d_a(z,z')-d_b(w,w')\big|^2\,d\eta(z,w)\,d\eta(z',w'),\qquad \eta\in\Pi(P_a,P_b).JGW​(η)=∬​da​(z,z′)−db​(w,w′)​2dη(z,w)dη(z′,w′),η∈Π(Pa​,Pb​).

Then:

  1. the optimal couplings of min⁡η∈Π(Pa,Pb)JGW(η)\min_{\eta\in\Pi(P_a,P_b)}J_{\mathrm{GW}}(\eta)minη∈Π(Pa​,Pb​)​JGW​(η) are exactly the couplings (id×T)#Pa(\mathrm{id}\times T)_\#P_a(id×T)#​Pa​ induced by isomorphisms TTT of (Za,da,Pa)(\mathcal Z_a,d_a,P_a)(Za​,da​,Pa​) and (Zb,db,Pb)(\mathcal Z_b,d_b,P_b)(Zb​,db​,Pb​);
  2. under symmetry breaking (C1), the optimal coupling is unique and equals η⋆=(id×A)#Pa\eta^\star=(\mathrm{id}\times A)_\#P_aη⋆=(id×A)#​Pa​.

This makes the alignment coupling the unique target of the Gromov–Wasserstein problem whenever the alignment is identifiable.

Preamble
import Mathlib
import Definitions.Def_IdentifiableAlignment_Basic

open MeasureTheory ProbabilityTheory Set Filter Topology Bundle
open scoped ENNReal ContDiff Manifold
Formal statement
namespace IdentifiableAlignment

theorem gw_optimal_couplings {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) :
    (∀ η : Measure (Za × Zb),
      IsOptimalCoupling gwCost (latentLaw P fa) (latentLaw P fb) η ↔
        ∃ T : Za → Zb, IsMMIso (latentLaw P fa) (latentLaw P fb) T ∧
          η = inducedCoupling (latentLaw P fa) T) ∧
    (SymmetryBreaking P → ∀ η : Measure (Za × Zb),
      IsOptimalCoupling gwCost (latentLaw P fa) (latentLaw P fb) η ↔
        η = inducedCoupling (latentLaw P fa) (alignMap fa fb)) := by sorry

end IdentifiableAlignment
Source
Syrota, Lopez i Serrano, Franck and Hauberg, Identifiable alignment of unpaired representations, arXiv:2611.11460v1 (2026), Section 4, Proposition 4.1, eq. (2), p. 6; appendix form Proposition B.9, Appendix B.3, p. 26
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Fix a natural number d≥1d \ge 1d≥1 and three spaces MMM, ZaZ_aZa​, ZbZ_bZb​.

The manifold MMM. MMM is a metric space with distance dMd_MdM​, Borel σ\sigmaσ-algebra, and these properties:

  • it is a C∞C^\inftyC∞ manifold of dimension ddd, possibly with boundary, modelled on the Euclidean half-space Hd\mathbb{H}^dHd;
  • it carries a Riemannian metric gMg^MgM on its tangent bundle that varies smoothly (C∞C^\inftyC∞);
  • its distance dMd_MdM​ equals the Riemannian distance induced by gMg^MgM;
  • it is compact and connected.

The latent spaces ZaZ_aZa​ and ZbZ_bZb​. Each is likewise a metric space (distances dZad_{Z_a}dZa​​, dZbd_{Z_b}dZb​​) with its Borel σ\sigmaσ-algebra. Each is a C∞C^\inftyC∞ ddd-manifold, possibly with boundary, modelled on Hd\mathbb{H}^dHd, with its own smooth Riemannian metric gZag^{Z_a}gZa​, gZbg^{Z_b}gZb​. The metric-space distance of each equals its Riemannian distance. No compactness or connectedness is assumed directly for ZaZ_aZa​ or ZbZ_bZb​.

The probability measure PPP. PPP is a probability measure on MMM with a smooth positive density. That is, there is a function ρ:M→R\rho : M \to \mathbb{R}ρ:M→R, C∞C^\inftyC∞ in the manifold sense and with ρ(x)>0\rho(x) > 0ρ(x)>0 for every xxx, such that

P(A)=∫Aρ dHdfor every measurable A⊆M,P(A) = \int_A \rho \, d\mathcal{H}^d \quad \text{for every measurable } A \subseteq M,P(A)=∫A​ρdHdfor every measurable A⊆M,

where Hd\mathcal{H}^dHd is the ddd-dimensional Hausdorff measure of the metric dMd_MdM​.

The diffeomorphisms faf_afa​ and fbf_bfb​. fa:Za→Mf_a : Z_a \to Mfa​:Za​→M and fb:Zb→Mf_b : Z_b \to Mfb​:Zb​→M are C∞C^\inftyC∞ diffeomorphisms (smooth bijections with smooth inverses). They are assumed to be "model coordinates": each pulls back the metric of MMM. For every z∈Zaz \in Z_az∈Za​ and all tangent vectors v,w∈TzZav, w \in T_z Z_av,w∈Tz​Za​,

gzZa(v,w)=gfa(z)M(dfa∣z v,  dfa∣z w),g^{Z_a}_z(v, w) = g^M_{f_a(z)}\big(df_a|_z\, v,\; df_a|_z\, w\big),gzZa​​(v,w)=gfa​(z)M​(dfa​∣z​v,dfa​∣z​w),

and the analogous identity holds for fbf_bfb​ on ZbZ_bZb​.

The latent laws. Define the push-forward measures

Pa=(fa−1)#P  on Za,Pb=(fb−1)#P  on Zb.P_a = (f_a^{-1})_\# P \ \text{ on } Z_a, \qquad P_b = (f_b^{-1})_\# P \ \text{ on } Z_b.Pa​=(fa−1​)#​P  on Za​,Pb​=(fb−1​)#​P  on Zb​.

Couplings and the Gromov–Wasserstein objective.

  • A coupling of PaP_aPa​ and PbP_bPb​ is any measure η\etaη on Za×ZbZ_a \times Z_bZa​×Zb​ whose first marginal is PaP_aPa​ and whose second marginal is PbP_bPb​. Write Π(Pa,Pb)\Pi(P_a, P_b)Π(Pa​,Pb​) for the set of couplings.
  • The Gromov–Wasserstein cost of a measure η\etaη on Za×ZbZ_a \times Z_bZa​×Zb​ takes values in [0,∞][0, \infty][0,∞] and is
JGW(η)=∫ ⁣ ⁣∫(dZa(x,x′)−dZb(y,y′))2 dη(x,y) dη(x′,y′).J_{GW}(\eta) = \int\!\!\int \big(d_{Z_a}(x, x') - d_{Z_b}(y, y')\big)^2 \, d\eta(x, y)\, d\eta(x', y').JGW​(η)=∫∫(dZa​​(x,x′)−dZb​​(y,y′))2dη(x,y)dη(x′,y′).
  • η\etaη is an optimal coupling if η∈Π(Pa,Pb)\eta \in \Pi(P_a, P_b)η∈Π(Pa​,Pb​) and JGW(η)≤JGW(η′)J_{GW}(\eta) \le J_{GW}(\eta')JGW​(η)≤JGW​(η′) for every η′∈Π(Pa,Pb)\eta' \in \Pi(P_a, P_b)η′∈Π(Pa​,Pb​), with the comparison taken in [0,∞][0, \infty][0,∞].
  • For a map T:Za→ZbT : Z_a \to Z_bT:Za​→Zb​, the induced coupling is (id×T)#Pa(\mathrm{id} \times T)_\# P_a(id×T)#​Pa​, the push-forward of PaP_aPa​ under x↦(x,T(x))x \mapsto (x, T(x))x↦(x,T(x)).
  • A push-forward along a map that is not (almost-everywhere) measurable is, by convention, the zero measure.

Conclusion (i). For every measure η\etaη on Za×ZbZ_a \times Z_bZa​×Zb​, the following are equivalent:

  • η\etaη is an optimal coupling for JGWJ_{GW}JGW​ between PaP_aPa​ and PbP_bPb​;
  • there exists a function T:Za→ZbT : Z_a \to Z_bT:Za​→Zb​ with all three of the following properties, and η=(id×T)#Pa\eta = (\mathrm{id} \times T)_\# P_aη=(id×T)#​Pa​:
    • TTT is a bijection;
    • TTT is distance-preserving: dZb(T(x),T(x′))=dZa(x,x′)d_{Z_b}(T(x), T(x')) = d_{Z_a}(x, x')dZb​​(T(x),T(x′))=dZa​​(x,x′) for all x,x′x, x'x,x′;
    • T#Pa=PbT_\# P_a = P_bT#​Pa​=Pb​.

Here TTT ranges over all functions, with no further regularity required, and TTT is not required to be related to faf_afa​ or fbf_bfb​.

Conclusion (ii). Suppose PPP is symmetry-breaking. This means: whenever S:M→MS : M \to MS:M→M is a bijection that preserves dMd_MdM​ and satisfies S#P=PS_\# P = PS#​P=P, then SSS is the identity. Under this condition, for every measure η\etaη on Za×ZbZ_a \times Z_bZa​×Zb​,

η is an optimal coupling for JGW between Pa and Pb  ⟺  η=(id×A)#Pa,A=fb−1∘fa:Za→Zb.\eta \text{ is an optimal coupling for } J_{GW} \text{ between } P_a \text{ and } P_b \iff \eta = (\mathrm{id} \times A)_\# P_a, \qquad A = f_b^{-1} \circ f_a : Z_a \to Z_b.η is an optimal coupling for JGW​ between Pa​ and Pb​⟺η=(id×A)#​Pa​,A=fb−1​∘fa​:Za​→Zb​.

The symmetry-breaking condition refers only to PPP and the distance dMd_MdM​ on MMM. Conclusion (ii) is an implication: nothing is asserted in it when PPP is not symmetry-breaking.

Human review
  • Endorsed by Shuze Chen · Nov 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 24, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me