Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 2, pp. ec3–ec4 — Kantorovich duality for the cost c·x on ℝ × 𝒳_i, with the coupling maximum attained

Proved
MarginalDRO.Lagrange.proof_thm2_kantorovich

by mikedeng1 · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

couplingskantorovich-dualityoptimal-transportp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let μ1,…,μn\mu_1,\dots,\mu_nμ1​,…,μn​ be probability measures on R\mathbb RR with finite variance, X⊂Rn\mathcal X \subset \mathbb R^nX⊂Rn a nonempty finite set, ν∈P(X)\nu \in \mathcal P(\mathcal X)ν∈P(X) and i∈{1,…,n}i \in \{1,\dots,n\}i∈{1,…,n}. Then there is a real number mmm such that:

  1. the maximum of E(c,x)∼γ[c x]E_{(c,x)\sim\gamma}[c\,x]E(c,x)∼γ​[cx] over couplings γ∈Γ(μi,Πiν)\gamma \in \Gamma(\mu_i, \Pi_i\nu)γ∈Γ(μi​,Πi​ν) exists and equals mmm;
  2. mmm is the infimum of ∫φ dμi+∫ψ dΠiν\int \varphi\, d\mu_i + \int \psi\, d\Pi_i\nu∫φdμi​+∫ψdΠi​ν over pairs (φ,ψ)(\varphi,\psi)(φ,ψ) with φ\varphiφ μi\mu_iμi​-integrable and φ(c)+ψ(a)≥c a\varphi(c) + \psi(a) \ge c\,aφ(c)+ψ(a)≥ca for all c∈Rc \in \mathbb Rc∈R, a∈Xia \in \mathcal X_ia∈Xi​;
  3. mmm is the infimum over ψ\psiψ of the reduced dual
∫ψ dΠiν+∫max⁡a∈Xi{c a−ψ(a)} dμi(c).\int \psi\, d\Pi_i\nu + \int \max_{a \in \mathcal X_i}\{c\,a - \psi(a)\}\, d\mu_i(c).∫ψdΠi​ν+∫a∈Xi​max​{ca−ψ(a)}dμi​(c).

In display form,

max⁡γ∈Γ(μi,Πiν)Eγ[c x]=inf⁡φ(c)+ψ(a)≥ca∫φ dμi+∫ψ dΠiν=inf⁡ψ∫ψ dΠiν+∫max⁡a∈Xi{ca−ψ(a)} dμi.\max_{\gamma \in \Gamma(\mu_i,\Pi_i\nu)} E_\gamma[c\,x] = \inf_{\varphi(c)+\psi(a)\ge c a} \int \varphi\, d\mu_i + \int \psi\, d\Pi_i\nu = \inf_{\psi} \int \psi\, d\Pi_i\nu + \int \max_{a\in\mathcal X_i}\{c a - \psi(a)\}\,d\mu_i .γ∈Γ(μi​,Πi​ν)max​Eγ​[cx]=φ(c)+ψ(a)≥cainf​∫φdμi​+∫ψdΠi​ν=ψinf​∫ψdΠi​ν+∫a∈Xi​max​{ca−ψ(a)}dμi​.

This is the specialization of Kantorovich duality (Theorem 1 of the paper) used in the proof of Theorem 2 to pass from the coupling form to the Lagrangian form, one coordinate at a time.

Formalization Note The potentials are real-valued (the paper allows values in (−∞,∞](-\infty,\infty](−∞,∞]); the infima are stated with IsGLB, so no junk value can decide them. ∫ψ dΠiν\int\psi\,d\Pi_i\nu∫ψdΠi​ν is written as ∑x∈Xν(x)ψ(xi)\sum_{x\in\mathcal X}\nu(x)\psi(x_i)∑x∈X​ν(x)ψ(xi​).

Preamble
import Mathlib
import Definitions.Def_MarginalDRO_Lagrange_Model

open MeasureTheory ProbabilityTheory
Formal statement
namespace MarginalDRO.Lagrange

/-- Proof of Theorem 2, pp. ec3–ec4: Theorem 1 specialized to the cost `c x` on `ℝ × 𝒳_i`. -/
theorem proof_thm2_kantorovich {n : ℕ} (μ : Fin n → Measure ℝ) [∀ i, IsProbabilityMeasure (μ i)]
    (hvar : ∀ i, MemLp id 2 (μ i)) (𝒳 : Finset (Fin n → ℝ)) (h𝒳 : 𝒳.Nonempty)
    (ν : 𝒳 → ℝ) (hν : ν ∈ stdSimplex ℝ 𝒳) (i : Fin n) :
    ∃ m : ℝ,
      IsGreatest {s | ∃ γ ∈ couplings (μ i) (margMeasure 𝒳 ν i), s = ∫ p, p.1 * p.2 ∂γ} m ∧
      IsGLB {s | ∃ φ ψ : ℝ → ℝ, Integrable φ (μ i) ∧
        (∀ c : ℝ, ∀ a ∈ proj 𝒳 i, c * a ≤ φ c + ψ a) ∧
        s = ∫ c, φ c ∂(μ i) + ∑ x : 𝒳, ν x * ψ ((x : Fin n → ℝ) i)} m ∧
      IsGLB (Set.range fun ψ : ℝ → ℝ =>
        ∑ x : 𝒳, ν x * ψ ((x : Fin n → ℝ) i) + ∫ c, conj 𝒳 h𝒳 ψ i c ∂(μ i)) m := by sorry
end MarginalDRO.Lagrange
Source
Chen, Ma, Natarajan, Simchi-Levi & Yan, preprint (2018), pp. ec3–ec4 (PDF 51–52), proof of Theorem 2, application of Theorem 1 (p. 13)
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 23, 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