Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1, second display, p. 3 — 𝓛(ρ) = min over λ ≥ 0 of λρ + sup over γ ∈ Γ_ℙ̂ of 𝔼_γ[f(X) − λc(X̂, X)], ρ > 0

Proved
ShortWDRODual.Legendre.theorem_1_hard

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

distributionally-robust-optimizationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1strong-dualitywasserstein

Assume Assumption 1 (as in Lemma 1) and let ρ>0\rho>0ρ>0. Then

L(ρ)=min⁡λ≥0{λρ+sup⁡γ∈ΓP^E(X^,X)∼γ[f(X)−λc(X^,X)]},\mathcal L(\rho)=\min_{\lambda\ge0}\Big\{\lambda\rho+\sup_{\gamma\in\Gamma_{\widehat{\mathbb P}}}\mathbb E_{(\widehat X,X)\sim\gamma}\big[f(X)-\lambda c(\widehat X,X)\big]\Big\},L(ρ)=λ≥0min​{λρ+γ∈ΓP​sup​E(X,X)∼γ​[f(X)−λc(X,X)]},

and the minimum is attained: some λ≥0\lambda\ge0λ≥0 achieves L(ρ)\mathcal L(\rho)L(ρ), and no λ≥0\lambda\ge0λ≥0 gives a smaller value. Here 0⋅∞=∞0\cdot\infty=\infty0⋅∞=∞, so for λ=0\lambda=0λ=0 the integrand is −∞-\infty−∞ where c(X^,X)=∞c(\widehat X,X)=\inftyc(X,X)=∞.

This is strong duality for Wasserstein distributionally robust optimization in its general form, with no assumption beyond Assumption 1; the supremum over couplings has not yet been interchanged with the expectation.

Formalization Note "min" is IsLeast: L(ρ)\mathcal L(\rho)L(ρ) belongs to the set of values {λρ+⋯:λ≥0}\{\lambda\rho+\dots:\lambda\ge0\}{λρ+⋯:λ≥0} and is a lower bound for it. Values are in EReal; both sides may be +∞+\infty+∞. Expectations use extIntegral (∞−∞=−∞\infty-\infty=-\infty∞−∞=−∞).

Preamble
import Mathlib
import Definitions.Def_ModelRiskOT_Duality_extIntegral
import Definitions.Def_ShortWDRODual_Legendre_Setting
Formal statement
namespace ShortWDRODual.Legendre

open MeasureTheory ModelRiskOT.Duality

theorem theorem_1_hard {X : Type*} [MeasurableSpace X]
    (Phat : Measure X) [IsProbabilityMeasure Phat]
    (f : X → ℝ) (c : X → X → ENNReal)
    (hf : Measurable f)
    (hfint : ⊥ < extIntegral Phat (fun x => (f x : EReal)))
    (hc : Measurable (fun p : X × X => c p.1 p.2))
    (hc0 : ∀ x, c x x = 0)
    (ρ : ℝ) (hρ : 0 < ρ) :
    IsLeast
      {y : EReal | ∃ lam : ℝ, 0 ≤ lam ∧
        y = ((lam * ρ : ℝ) : EReal) + ⨆ γ ∈ couplingsFst Phat, extIntegral γ (phiLam c f lam)}
      (robustLoss c f Phat ρ) := by sorry

end ShortWDRODual.Legendre
Source
Zhang, Yang & Gao, A Short and General Duality Proof for Wasserstein Distributionally Robust Optimization, arXiv:2205.00362v4, Theorem 1, second display, p. 3 (PDF p. 3); proof pp. 4–5 (PDF pp. 4–5)
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

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