Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 2, (EC.1), p. ec8 — on a Polish space, inf over Γ(ℙ̂, ℙ) of γ-ess sup c ≤ ρ is attained

Proved
ShortWDRODual.MaxCost.ec1_attained

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

infinity-wassersteinoptimal-transportp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1polish-spaceprokhorov

Let X\mathcal XX be a Polish space with its Borel σ\sigmaσ-algebra, P^\widehat{\mathbb P}P and P\mathbb PP probability measures on X\mathcal XX, c:X×X→[0,∞)c:\mathcal X\times\mathcal X\to[0,\infty)c:X×X→[0,∞) continuous, and ρ≥0\rho\ge0ρ≥0. If

inf⁡γ∈Γ(P^,P) γ-ess sup⁡x^,x∈Xc(x^,x)≤ρ,(EC.1)\inf_{\gamma\in\Gamma(\widehat{\mathbb P},\mathbb P)}\ \gamma\text{-}\operatorname*{ess\,sup}_{\widehat x,x\in\mathcal X}c(\widehat x,x)\le\rho,\tag{EC.1}γ∈Γ(P,P)inf​ γ-x,x∈Xesssup​c(x,x)≤ρ,(EC.1)

then there is a coupling γ∈Γ(P^,P)\gamma\in\Gamma(\widehat{\mathbb P},\mathbb P)γ∈Γ(P,P) with γ-ess sup⁡c≤ρ\gamma\text{-}\operatorname*{ess\,sup}c\le\rhoγ-esssupc≤ρ, i.e. c(x^,x)≤ρc(\widehat x,x)\le\rhoc(x,x)≤ρ for γ\gammaγ-almost every (x^,x)(\widehat x,x)(x,x).

This is where the proof of Theorem 2 uses that X\mathcal XX is Polish and ccc continuous: it turns the inequality of the first chain into an equality. Remark 5 of the paper shows that without continuity of ccc the duality can fail.

Formalization Note (EC.1) is maxCost c Phat P ≤ ofReal ρ, the infimum over couplings of the essSup of ofReal∘c\mathrm{ofReal}\circ cofReal∘c, in [0,∞][0,\infty][0,∞].

Preamble
import Mathlib
import Definitions.Def_ModelRiskOT_Duality_extIntegral
import Definitions.Def_ShortWDRODual_MaxCost_Setting
Formal statement
namespace ShortWDRODual.MaxCost

open MeasureTheory ModelRiskOT.Duality
open scoped ENNReal

/-- Proof of Theorem 2 (p. ec8): on a Polish space with a continuous nonnegative cost, if
`inf_{γ ∈ Γ(ℙ̂, ℙ)} γ-ess sup c ≤ ρ` (EC.1), then some `γ ∈ Γ(ℙ̂, ℙ)` has `γ-ess sup c ≤ ρ`. -/
theorem ec1_attained {X : Type*} [TopologicalSpace X] [PolishSpace X] [MeasurableSpace X]
    [BorelSpace X] (Phat P : Measure X) [IsProbabilityMeasure Phat] [IsProbabilityMeasure P]
    (c : X → X → ℝ) (hc : Continuous (fun q : X × X => c q.1 q.2))
    (hcnn : ∀ x y, 0 ≤ c x y)
    (ρ : ℝ) (hρ : 0 ≤ ρ) (hK : maxCost c Phat P ≤ ENNReal.ofReal ρ) :
    ∃ γ ∈ couplings Phat P,
      essSup (fun q : X × X => ENNReal.ofReal (c q.1 q.2)) γ ≤ ENNReal.ofReal ρ := by sorry

end ShortWDRODual.MaxCost
Source
Zhang, Yang & Gao, A Short and General Duality Proof for Wasserstein Distributionally Robust Optimization, arXiv:2205.00362v4, proof of Theorem 2, (EC.1) and the following paragraph, p. ec8 (PDF p. 22)
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