Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1, first display, p. 3 — (−𝓛)*(−λ) = sup over γ ∈ Γ_ℙ̂ of 𝔼_γ[f(X) − λc(X̂, X)]

Proved
ShortWDRODual.Legendre.theorem_1_soft

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

distributionally-robust-optimizationlegendre-transformp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1wasserstein

Assume Assumption 1 (as in Lemma 1) and let λ>0\lambda>0λ>0. Let ΓP^\Gamma_{\widehat{\mathbb P}}ΓP​ be the set of probability measures on X×X\mathcal X\times\mathcal XX×X with first marginal P^\widehat{\mathbb P}P. Then

(−L)∗(−λ)=sup⁡γ∈ΓP^E(X^,X)∼γ[f(X)−λc(X^,X)].(-\mathcal L)^*(-\lambda)=\sup_{\gamma\in\Gamma_{\widehat{\mathbb P}}}\mathbb E_{(\widehat X,X)\sim\gamma}\big[f(X)-\lambda c(\widehat X,X)\big].(−L)∗(−λ)=γ∈ΓP​sup​E(X,X)∼γ​[f(X)−λc(X,X)].

Together with the identification of (−L)∗(−λ)(-\mathcal L)^*(-\lambda)(−L)∗(−λ) with (P-soft), this is the first statement of Theorem 1: the soft-penalty problem equals a supremum over couplings with fixed first marginal, without any interchangeability assumption.

Formalization Note The supremum ranges over all of ΓP^\Gamma_{\widehat{\mathbb P}}ΓP​, including couplings of infinite expected cost; expectations use extIntegral, which gives −∞-\infty−∞ when both parts of the integrand are infinite.

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_soft {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)
    (lam : ℝ) (hlam : 0 < lam) :
    legendre (fun ρ => - robustLoss c f Phat ρ) (-lam) =
      ⨆ γ ∈ couplingsFst Phat, extIntegral γ (phiLam c f lam) := 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, first display, p. 3 (PDF p. 3); proof p. 4 (PDF p. 4)
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