Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 2, p. 7 — for tight ℙ̂ and ℙ̂-measurable f, φ(x̂, x) = f(x) − λd(x̂, x)^p is (ℱ ⊗ ℱ_ℙ̂)-measurable and satisfies (IP)

Proved
ShortWDRODual.Tight.proposition_2

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

distributionally-robust-optimizationinterchangeability-principlep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1tight-measurewasserstein

Let (X,d)(\mathcal X,d)(X,d) be a metric space equipped with its Borel σ\sigmaσ-algebra F\mathcal FF, let P^\widehat{\mathbb P}P be a tight probability measure on it (for every ϵ>0\epsilon>0ϵ>0 there is a compact KKK with P^(Kc)≤ϵ\widehat{\mathbb P}(K^c)\le\epsilonP(Kc)≤ϵ), and let FP^\mathcal F_{\widehat{\mathbb P}}FP​ be the completion of F\mathcal FF under P^\widehat{\mathbb P}P. Let f:X→Rf:\mathcal X\to\mathbb Rf:X→R be P^\widehat{\mathbb P}P-measurable with EP^[f]>−∞\mathbb E_{\widehat{\mathbb P}}[f]>-\inftyEP​[f]>−∞, and let p∈[1,∞)p\in[1,\infty)p∈[1,∞), λ≥0\lambda\ge0λ≥0. Put

φ(x^,x)=f(x)−λ d(x^,x)p.\varphi(\widehat x,x)=f(x)-\lambda\,d(\widehat x,x)^p .φ(x,x)=f(x)−λd(x,x)p.

Then:

  1. if X\mathcal XX is separable, φ\varphiφ is (F⊗FP^)(\mathcal F\otimes\mathcal F_{\widehat{\mathbb P}})(F⊗FP​)-measurable;
  2. φ\varphiφ satisfies the interchangeability principle: x^↦sup⁡xφ(x^,x)\widehat x\mapsto\sup_x\varphi(\widehat x,x)x↦supx​φ(x,x) is P^\widehat{\mathbb P}P-measurable and
EX^∼P^[sup⁡x∈Xφ(X^,x)]=sup⁡γ∈ΓP^E(X^,X)∼γ[φ(X^,X)],\mathbb E_{\widehat X\sim\widehat{\mathbb P}}\Big[\sup_{x\in\mathcal X}\varphi(\widehat X,x)\Big]=\sup_{\gamma\in\Gamma_{\widehat{\mathbb P}}}\mathbb E_{(\widehat X,X)\sim\gamma}[\varphi(\widehat X,X)],EX∼P​[x∈Xsup​φ(X,x)]=γ∈ΓP​sup​E(X,X)∼γ​[φ(X,X)],

where ΓP^\Gamma_{\widehat{\mathbb P}}ΓP​ is the set of probability measures on X×X\mathcal X\times\mathcal XX×X with first marginal P^\widehat{\mathbb P}P.

The result shows that the interchangeability principle, and with it the paper's strong duality for Wasserstein distributionally robust optimization, holds for the ppp-Wasserstein cost on any metric space under a tight nominal distribution, even when the loss fff is only measurable for the completed σ\sigmaσ-algebra (as for value functions of Markov decision processes on Borel spaces).

Formalization Note Expectations are extIntegral: ∫φ+−∫φ−\int\varphi^+-\int\varphi^-∫φ+−∫φ− in the extended reals, with lower Lebesgue integrals and ∞−∞=−∞\infty-\infty=-\infty∞−∞=−∞. Since φ\varphiφ need not be F⊗F\mathcal F\otimes\mathcal FF⊗F-measurable, the page leaves Eγ[φ]\mathbb E_\gamma[\varphi]Eγ​[φ] undefined for general γ∈ΓP^\gamma\in\Gamma_{\widehat{\mathbb P}}γ∈ΓP​; the lower-integral reading is the one adopted, and ΓP^\Gamma_{\widehat{\mathbb P}}ΓP​ is kept on F⊗F\mathcal F\otimes\mathcal FF⊗F as printed. "Tight measure" is Mathlib's IsTightMeasureSet {Phat}; P^\widehat{\mathbb P}P is a probability measure as in the paper's standing Assumption 1. (F⊗FP^)(\mathcal F\otimes\mathcal F_{\widehat{\mathbb P}})(F⊗FP​)-measurability is measurability on X × NullMeasurableSpace X Phat, whose second factor carries the completion. Correction of the page: clause 1 carries the hypothesis that X\mathcal XX is separable. Without it the clause is false: on a discrete metric space of cardinality above the continuum, with P^\widehat{\mathbb P}P a Dirac mass, f=0f=0f=0 and λ=p=1\lambda=p=1λ=p=1, φ=−1{x^≠x}\varphi=-\mathbf 1\{\widehat x\ne x\}φ=−1{x=x}, and the diagonal is not in 2X⊗2X2^{\mathcal X}\otimes2^{\mathcal X}2X⊗2X. Clause 2 is stated, as printed, for every metric space.

Preamble
import Mathlib
import Definitions.Def_ModelRiskOT_Duality_extIntegral
import Definitions.Def_ShortWDRODual_Tight_Setting
Formal statement
namespace ShortWDRODual.Tight

open MeasureTheory ModelRiskOT.Duality

/-- Proposition 2, arXiv:2205.00362v4, p. 7. On a metric space with its Borel σ-algebra, for a
tight probability measure `ℙ̂`, a `ℙ̂`-measurable `f` with `𝔼_ℙ̂[f] > −∞`, `p ∈ [1, ∞)` and
`λ ≥ 0`, the function `φ(x̂, x) = f(x) − λ d(x̂, x)^p` is `(ℱ ⊗ ℱ_ℙ̂)`-measurable and
satisfies (IP).

Correction of the page: the `(ℱ ⊗ ℱ_ℙ̂)`-measurability clause is stated for separable `𝒳`.
Without separability it can fail (a discrete metric space of cardinality above the continuum,
`ℙ̂` a Dirac mass, `f = 0`, `λ = p = 1`: then `φ = −1_{x̂ ≠ x}` and the diagonal is not in
`ℱ ⊗ ℱ_ℙ̂ = 2^𝒳 ⊗ 2^𝒳`). The (IP) clause is stated for every metric space, as printed. -/
theorem proposition_2 {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X]
    (Phat : Measure X) [IsProbabilityMeasure Phat]
    (htight : IsTightMeasureSet ({Phat} : Set (Measure X)))
    (f : X → ℝ) (hf : NullMeasurable f Phat)
    (hfint : ⊥ < extIntegral Phat (fun x => (f x : EReal)))
    (p : ℝ) (hp : 1 ≤ p) (lam : ℝ) (hlam : 0 ≤ lam) :
    (TopologicalSpace.SeparableSpace X →
        @Measurable (X × NullMeasurableSpace X Phat) EReal _ _
          (fun q => pWassIntegrand f lam p (q.1, q.2))) ∧
      ShortWDRODual.Legendre.IPEq Phat (pWassIntegrand f lam p) := by sorry

end ShortWDRODual.Tight
Source
Zhang, Yang & Gao, A Short and General Duality Proof for Wasserstein Distributionally Robust Optimization, arXiv:2205.00362v4, Proposition 2, p. 7 (PDF p. 7); (IP), p. 3 (PDF p. 3)
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