Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2 (Lagrange Form), p. 14 — max over the Fréchet class of E[max_{x∈𝒳} c̃ᵀx] = max_ν Σ_i max couplings = max_ν inf_ψ L = min_ψ sup_ν L

Proved
MarginalDRO.Lagrange.theorem_2

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

distributionally-robust-optimizationfrechet-classkantorovich-dualityminimaxp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let Z(c):=max⁡x∈XcTxZ(c) := \max_{x\in\mathcal X} c^T xZ(c):=maxx∈X​cTx. Let μ1,…,μn\mu_1,\dots,\mu_nμ1​,…,μn​ be probability measures on R\mathbb RR, each with finite variance, and let X⊂Rn\mathcal X\subset\mathbb R^nX⊂Rn be a nonempty finite point set. Write Γ(μ1,…,μn)\Gamma(\mu_1,\dots,\mu_n)Γ(μ1​,…,μn​) for the joint laws on Rn\mathbb R^nRn with marginals μi\mu_iμi​, P(X)\mathcal P(\mathcal X)P(X) for the probability vectors on X\mathcal XX, Πiν\Pi_i\nuΠi​ν for the law of xix_ixi​ under ν\nuν, Γ(μi,Πiν)\Gamma(\mu_i,\Pi_i\nu)Γ(μi​,Πi​ν) for the couplings of μi\mu_iμi​ and Πiν\Pi_i\nuΠi​ν, and LLL for the Lagrangian

L({ψi}i=1n,ν)=∑i(∫ψi dΠiν+∫max⁡xi∈Xi{c~ixi−ψi(xi)} dμi).L(\{\psi_i\}_{i=1}^n,\nu) = \sum_i\Big(\int\psi_i\,d\Pi_i\nu + \int \max_{x_i\in\mathcal X_i}\{\tilde c_i x_i - \psi_i(x_i)\}\,d\mu_i\Big).L({ψi​}i=1n​,ν)=i∑​(∫ψi​dΠi​ν+∫xi​∈Xi​max​{c~i​xi​−ψi​(xi​)}dμi​).

Then every optimum below is attained and

max⁡θ∈Γ(μ1,…,μn)Ec~∼θZ(c~)=max⁡ν∈P(X)∑imax⁡γi∈Γ(μi,Πiν)E(c~i,xi)∼γic~ixi=max⁡ν∈P(X) inf⁡{ψi:Xi→R}L({ψi}i,ν)(Primal)\max_{\theta\in\Gamma(\mu_1,\dots,\mu_n)} E_{\tilde c\sim\theta}Z(\tilde c) = \max_{\nu\in\mathcal P(\mathcal X)}\sum_i\max_{\gamma_i\in\Gamma(\mu_i,\Pi_i\nu)} E_{(\tilde c_i,x_i)\sim\gamma_i}\tilde c_i x_i = \max_{\nu\in\mathcal P(\mathcal X)}\ \inf_{\{\psi_i:\mathcal X_i\to\mathbb R\}} L(\{\psi_i\}_i,\nu) \quad\text{(Primal)}θ∈Γ(μ1​,…,μn​)max​Ec~∼θ​Z(c~)=ν∈P(X)max​i∑​γi​∈Γ(μi​,Πi​ν)max​E(c~i​,xi​)∼γi​​c~i​xi​=ν∈P(X)max​ {ψi​:Xi​→R}inf​L({ψi​}i​,ν)(Primal) =min⁡{ψi:Xi→R} sup⁡ν∈P(X)L({ψi}i,ν).(Dual)= \min_{\{\psi_i:\mathcal X_i\to\mathbb R\}}\ \sup_{\nu\in\mathcal P(\mathcal X)} L(\{\psi_i\}_i,\nu). \quad\text{(Dual)}={ψi​:Xi​→R}min​ ν∈P(X)sup​L({ψi​}i​,ν).(Dual)

Precisely, there is a real number vvv such that: (1) the maximum of EθZE_\theta ZEθ​Z over θ∈Γ(μ1,…,μn)\theta \in \Gamma(\mu_1,\dots,\mu_n)θ∈Γ(μ1​,…,μn​) is attained and equals vvv; (2) for every ν\nuν and iii the coupling maximum is attained; (3) the maximum over ν\nuν of the sum of coupling maxima is attained and equals vvv; (4) the maximum over ν\nuν of inf⁡ψL\inf_\psi Linfψ​L is attained and equals vvv; (5) the minimum over ψ\psiψ of sup⁡νL\sup_\nu Lsupν​L is attained and equals vvv.

The theorem reformulates the worst-case expected optimal value of a linear program with random objective, over all joint laws with given one-dimensional marginals, as a finite-dimensional concave–convex saddle problem over distributions on X\mathcal XX and univariate prices ψi\psi_iψi​ on Xi\mathcal X_iXi​.

Formalization Note X\mathcal XX is a nonempty Finset (with X=∅\mathcal X = \emptysetX=∅ the problem has no value); Xi\mathcal X_iXi​ is the coordinate projection of X\mathcal XX; P(X)\mathcal P(\mathcal X)P(X) is the standard simplex. The ψi\psi_iψi​ are functions R→R\mathbb R\to\mathbb RR→R of which only the values on Xi\mathcal X_iXi​ enter LLL, and ∫ψi dΠiν\int\psi_i\,d\Pi_i\nu∫ψi​dΠi​ν is the finite sum ∑xν(x)ψi(xi)\sum_x\nu(x)\psi_i(x_i)∑x​ν(x)ψi​(xi​). Every max/min is stated with IsGreatest/IsLeast and every inner inf/sup with IsGLB/IsLUB, so no default value of a real supremum can decide an equality. In (3) the maximum over ν\nuν of the sum of inner maxima is stated jointly over (ν,γ1,…,γn)(\nu,\gamma_1,\dots,\gamma_n)(ν,γ1​,…,γn​), which gives the same number given (2). Finite variance is stated as μi∈L2\mu_i \in L^2μi​∈L2.

Preamble
import Mathlib
import Definitions.Def_MarginalDRO_Lagrange_Model

open MeasureTheory ProbabilityTheory
Formal statement
namespace MarginalDRO.Lagrange

/-- Theorem 2 (Lagrange Form), p. 14. -/
theorem theorem_2 {n : ℕ} (μ : Fin n → Measure ℝ) [∀ i, IsProbabilityMeasure (μ i)]
    (hvar : ∀ i, MemLp id 2 (μ i)) (𝒳 : Finset (Fin n → ℝ)) (h𝒳 : 𝒳.Nonempty) :
    ∃ v : ℝ,
      IsGreatest {s | ∃ θ ∈ frechetClass μ, s = ∫ c, Z 𝒳 h𝒳 c ∂θ} v ∧
      (∀ ν ∈ stdSimplex ℝ 𝒳, ∀ i, ∃ m : ℝ,
        IsGreatest {s | ∃ γ ∈ couplings (μ i) (margMeasure 𝒳 ν i), s = ∫ p, p.1 * p.2 ∂γ} m) ∧
      IsGreatest {s | ∃ ν ∈ stdSimplex ℝ 𝒳, ∃ γ : Fin n → Measure (ℝ × ℝ),
        (∀ i, γ i ∈ couplings (μ i) (margMeasure 𝒳 ν i)) ∧ s = ∑ i, ∫ p, p.1 * p.2 ∂(γ i)} v ∧
      IsGreatest {s | ∃ ν ∈ stdSimplex ℝ 𝒳,
        IsGLB (Set.range fun ψ : Fin n → ℝ → ℝ => lagrangian μ 𝒳 h𝒳 ψ ν) s} v ∧
      IsLeast {s | ∃ ψ : Fin n → ℝ → ℝ,
        IsLUB ((fun ν => lagrangian μ 𝒳 h𝒳 ψ ν) '' stdSimplex ℝ 𝒳) s} v := by sorry
end MarginalDRO.Lagrange
Source
Chen, Ma, Natarajan, Simchi-Levi & Yan, preprint (2018), p. 14, Theorem 2 (proof pp. ec3–ec5, PDF 51–53)
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