Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2 (second half), p. 13 β€” 𝒒(Ξ») = 𝔼_β„™Μ‚[sup_x f(x) βˆ’ Ξ»c(XΜ‚, x)] is β‰₯ 𝔼_β„™Μ‚[f], decreasing, convex and lsc on [0, ∞)

Proved
ShortWDRODual.Legendre.lemma_2_G

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

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

Assume Assumption 1 (as in Lemma 1), and let

G(Ξ»)=EX^∼P^[sup⁑x∈X{f(x)βˆ’Ξ»c(X^,x)}],Ξ»β‰₯0,\mathcal G(\lambda)=\mathbb E_{\widehat X\sim\widehat{\mathbb P}}\Big[\sup_{x\in\mathcal X}\{f(x)-\lambda c(\widehat X,x)\}\Big],\qquad\lambda\ge0,G(Ξ»)=EX∼P​[x∈Xsup​{f(x)βˆ’Ξ»c(X,x)}],Ξ»β‰₯0,

with the convention 0β‹…βˆž=∞0\cdot\infty=\infty0β‹…βˆž=∞. Suppose that for every Ξ»>0\lambda>0Ξ»>0 the function x^↦sup⁑x{f(x)βˆ’Ξ»c(x^,x)}\widehat x\mapsto\sup_{x}\{f(x)-\lambda c(\widehat x,x)\}x↦supx​{f(x)βˆ’Ξ»c(x,x)} is P^\widehat{\mathbb P}P-measurable. Then on [0,∞)[0,\infty)[0,∞):

  1. G(Ξ»)β‰₯EP^[f]\mathcal G(\lambda)\ge\mathbb E_{\widehat{\mathbb P}}[f]G(Ξ»)β‰₯EP​[f] for every Ξ»β‰₯0\lambda\ge0Ξ»β‰₯0;
  2. G\mathcal GG is monotonically decreasing;
  3. G\mathcal GG is convex: for a,bβ‰₯0a,b\ge0a,bβ‰₯0 and t∈[0,1]t\in[0,1]t∈[0,1], G((1βˆ’t)a+tb)≀(1βˆ’t)G(a)+t G(b)\mathcal G((1-t)a+tb)\le(1-t)\mathcal G(a)+t\,\mathcal G(b)G((1βˆ’t)a+tb)≀(1βˆ’t)G(a)+tG(b);
  4. G\mathcal GG is lower semi-continuous on [0,∞)[0,\infty)[0,∞).

In the proof of Theorem 1 these properties make the minimum over Ξ»β‰₯0\lambda\ge0Ξ»β‰₯0 in (D) attained.

Formalization Note The measurability hypothesis is the presupposition of the paper's definition of G(λ)\mathcal G(\lambda)G(λ) as an expectation (§2.1 allows expectations only of measurable functions); without it the expectation is a lower integral, which is only superadditive and for which the convexity step fails. It is assumed only for λ>0\lambda>0λ>0: at λ=0\lambda=0λ=0 the integrand is the increasing limit of the integrands at λ=1/n\lambda=1/nλ=1/n. Lower semi-continuity is relative to [0,∞)[0,\infty)[0,∞).

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_2_G {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)
    (hG : βˆ€ lam : ℝ, 0 < lam β†’ NullMeasurable (supFn (phiLam c f lam)) Phat) :
    (βˆ€ lam : ℝ, 0 ≀ lam β†’ extIntegral Phat (fun x => (f x : EReal)) ≀ dualG c f Phat lam) ∧
    AntitoneOn (dualG c f Phat) (Set.Ici 0) ∧
    (βˆ€ a b t : ℝ, 0 ≀ a β†’ 0 ≀ b β†’ 0 ≀ t β†’ t ≀ 1 β†’
      dualG c f Phat ((1 - t) * a + t * b) ≀
        ((1 - t : ℝ) : EReal) * dualG c f Phat a + ((t : ℝ) : EReal) * dualG c f Phat b) ∧
    LowerSemicontinuousOn (dualG c f Phat) (Set.Ici 0) := by sorry

end ShortWDRODual.Legendre
Source
Zhang, Yang & Gao, A Short and General Duality Proof for Wasserstein Distributionally Robust Optimization, arXiv:2205.00362v4, Lemma 2, p. 13 (PDF p. 13), statement for 𝒒(Β·); proof p. ec2 (PDF p. 16)
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