Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Proposition 2, p. ec4 — Φ(x̂) = sup_x f(x) − λd(x̂, x)^p is lower semicontinuous and Borel measurable

Proved
ShortWDRODual.Tight.supFn_lsc

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

lower-semicontinuitymeasurabilityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1wasserstein

Let (X,d)(\mathcal X,d)(X,d) be a metric space with its Borel σ\sigmaσ-algebra, f:X→Rf:\mathcal X\to\mathbb Rf:X→R any function, p≥1p\ge 1p≥1 and λ≥0\lambda\ge 0λ≥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 and

Φ(x^)=sup⁡x∈X(f(x)−λ d(x^,x)p)∈R∪{+∞}.\Phi(\widehat x)=\sup_{x\in\mathcal X}\big(f(x)-\lambda\,d(\widehat x,x)^p\big)\in\mathbb R\cup\{+\infty\}.Φ(x)=x∈Xsup​(f(x)−λd(x,x)p)∈R∪{+∞}.

Then Φ\PhiΦ is lower semicontinuous on X\mathcal XX, and hence Borel measurable.

This is the first step of the proof of Proposition 2: it makes Φ\PhiΦ measurable even when fff is not, so that EP^[Φ]\mathbb E_{\widehat{\mathbb P}}[\Phi]EP​[Φ] is an honest integral.

Formalization Note Φ\PhiΦ takes values in the extended reals EReal with the order topology. No measurability of fff is assumed.

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

/-- Proof of Proposition 2, arXiv:2205.00362v4, p. ec4: `φ(x̂, x) = f(x) − λ d(x̂, x)^p` is
continuous in `x̂`, so `Φ(x̂) = sup_x φ(x̂, x)` is lower semicontinuous, and thus Borel
measurable. No measurability of `f` is needed. -/
theorem supFn_lsc {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X]
    (f : X → ℝ) (p : ℝ) (hp : 1 ≤ p) (lam : ℝ) (hlam : 0 ≤ lam) :
    LowerSemicontinuous (ShortWDRODual.Legendre.supFn (pWassIntegrand f lam p)) ∧
      Measurable (ShortWDRODual.Legendre.supFn (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, proof of Proposition 2, p. ec4 (PDF p. 18), first sentence
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