Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
โ† Formalpedia

Lemma 1, p. 3 โ€” ๐“› is bounded below by ๐”ผ_โ„™ฬ‚[f], increasing and concave on [0, โˆž)

Proved
ShortWDRODual.Legendre.lemma_1

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

concavitydistributionally-robust-optimizationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1wasserstein

Let (X,F,P^)(\mathcal X,\mathcal F,\widehat{\mathbb P})(X,F,P) be a probability space, f:Xโ†’Rf:\mathcal X\to\mathbb Rf:Xโ†’R a measurable function with EP^[f]>โˆ’โˆž\mathbb E_{\widehat{\mathbb P}}[f]>-\inftyEPโ€‹[f]>โˆ’โˆž, and c:Xร—Xโ†’[0,โˆž]c:\mathcal X\times\mathcal X\to[0,\infty]c:Xร—Xโ†’[0,โˆž] a measurable transport cost with c(x,x)=0c(x,x)=0c(x,x)=0 for all xxx (Assumption 1). Let L(ฯ)\mathcal L(\rho)L(ฯ) be the worst-case loss over the Kantorovich ball of radius ฯ\rhoฯ. Then on [0,โˆž)[0,\infty)[0,โˆž):

  1. L(ฯ)โ‰ฅEP^[f]\mathcal L(\rho)\ge\mathbb E_{\widehat{\mathbb P}}[f]L(ฯ)โ‰ฅEPโ€‹[f] for every ฯโ‰ฅ0\rho\ge0ฯโ‰ฅ0;
  2. L\mathcal LL is monotonically increasing;
  3. L\mathcal LL is concave: for a,bโ‰ฅ0a,b\ge0a,bโ‰ฅ0 and tโˆˆ[0,1]t\in[0,1]tโˆˆ[0,1],
(1โˆ’t)โ€‰L(a)+tโ€‰L(b)โ‰คL((1โˆ’t)a+tb).(1-t)\,\mathcal L(a)+t\,\mathcal L(b)\le\mathcal L\big((1-t)a+tb\big).(1โˆ’t)L(a)+tL(b)โ‰คL((1โˆ’t)a+tb).

These properties of the worst-case loss are what allow the proof of Theorem 1 to apply one-dimensional convex duality to โˆ’L-\mathcal Lโˆ’L.

Formalization Note L\mathcal LL takes values in (โˆ’โˆž,+โˆž](-\infty,+\infty](โˆ’โˆž,+โˆž] on [0,โˆž)[0,\infty)[0,โˆž), so concavity is written as the inequality above in EReal with real weights; there Mathlib's 0โ‹…โˆž=00\cdot\infty=00โ‹…โˆž=0 is the right convention (a convex combination with weight 000), unlike the paper's 0โ‹…โˆž=โˆž0\cdot\infty=\infty0โ‹…โˆž=โˆž for ฮปc\lambda cฮปc.

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 lemma_1 {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) :
    (โˆ€ ฯ : โ„, 0 โ‰ค ฯ โ†’
      extIntegral Phat (fun x => (f x : EReal)) โ‰ค robustLoss c f Phat ฯ) โˆง
    MonotoneOn (robustLoss c f Phat) (Set.Ici 0) โˆง
    (โˆ€ a b t : โ„, 0 โ‰ค a โ†’ 0 โ‰ค b โ†’ 0 โ‰ค t โ†’ t โ‰ค 1 โ†’
      ((1 - t : โ„) : EReal) * robustLoss c f Phat a +
          ((t : โ„) : EReal) * robustLoss c f Phat b โ‰ค
        robustLoss c f Phat ((1 - t) * a + t * b)) := by sorry

end ShortWDRODual.Legendre
Source
Zhang, Yang & Gao, A Short and General Duality Proof for Wasserstein Distributionally Robust Optimization, arXiv:2205.00362v4, Lemma 1, p. 3 (PDF p. 3); proof in EC.1, p. ec1 (PDF p. 15)
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