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

Proof of Theorem 1, p. 4 โ€” for ฮป > 0, (โˆ’๐“›)*(โˆ’ฮป) equals the value of (P-soft)

Proved
ShortWDRODual.Legendre.legendre_eq_softValue

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: (X,F,P^)(\mathcal X,\mathcal F,\widehat{\mathbb P})(X,F,P) is a probability space, fff is measurable 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,โˆž] is measurable with c(x,x)=0c(x,x)=0c(x,x)=0. Let L\mathcal LL be the worst-case loss (P), with L(ฯ)=โˆ’โˆž\mathcal L(\rho)=-\inftyL(ฯ)=โˆ’โˆž for ฯ<0\rho<0ฯ<0, and let (โˆ’L)โˆ—(-\mathcal L)^*(โˆ’L)โˆ— be the Legendre transform of โˆ’L-\mathcal Lโˆ’L. Then for every ฮป>0\lambda>0ฮป>0,

(โˆ’L)โˆ—(โˆ’ฮป)=supโกPโˆˆPห‰{EXโˆผP[f(X)]โˆ’ฮปโ€‰Kc(P^,P)},(-\mathcal L)^*(-\lambda)=\sup_{\mathbb P\in\bar{\mathcal P}}\big\{\mathbb E_{X\sim\mathbb P}[f(X)]-\lambda\,\mathcal K_c(\widehat{\mathbb P},\mathbb P)\big\},(โˆ’L)โˆ—(โˆ’ฮป)=PโˆˆPห‰supโ€‹{EXโˆผPโ€‹[f(X)]โˆ’ฮปKcโ€‹(P,P)},

where Pห‰\bar{\mathcal P}Pห‰ is the set of probability measures P\mathbb PP with Kc(P^,P)<โˆž\mathcal K_c(\widehat{\mathbb P},\mathbb P)<\inftyKcโ€‹(P,P)<โˆž.

This identifies the Legendre transform of the worst-case loss with the soft-penalty problem (P-soft), the first step of the proof of Theorem 1.

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 legendre_eq_softValue {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) = softValue c f Phat lam := by sorry

end ShortWDRODual.Legendre
Source
Zhang, Yang & Gao, A Short and General Duality Proof for Wasserstein Distributionally Robust Optimization, arXiv:2205.00362v4, proof of Theorem 1, p. 4 (PDF p. 4), first display, "which gives (P-soft)"
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