Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma D.1, pp. 22–23 — the conic constraint l−f−f0∈−K∗l-f-f_0\in-\mathcal K^*l−f−f0​∈−K∗ is equivalent to l≤f0+fl\le f_0+fl≤f0​+f on X\mathcal XX

Proved
KernelDRO.Duality.lemma_D_1

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

dualitymoment-problemp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let X\mathcal XX be a compact metric space with its Borel σ\sigmaσ-algebra, φ:X→H\varphi:\mathcal X\to\mathcal Hφ:X→H a continuous feature map into a real Hilbert space, and l:X→[−∞,∞)l:\mathcal X\to[-\infty,\infty)l:X→[−∞,∞) upper semicontinuous. For f0∈Rf_0\in\mathbb Rf0​∈R and f∈Hf\in\mathcal Hf∈H, the following are equivalent:

  1. ∫(l−f0−f) dP≤0\displaystyle\int\big(l-f_0-f\big)\,dP\le0∫(l−f0​−f)dP≤0 for every Borel probability measure PPP on X\mathcal XX (the conic constraint l−f−f0∈−K∗l-f-f_0\in-\mathcal K^*l−f−f0​∈−K∗, with K∗\mathcal K^*K∗ the dual cone of the probability simplex);
  2. l(ξ)≤f0+f(ξ)l(\xi)\le f_0+f(\xi)l(ξ)≤f0​+f(ξ) for all ξ∈X\xi\in\mathcal Xξ∈X, the semi-infinite constraint (26).

This turns the dual cone constraint of the Lagrangian derivation into the semi-infinite constraint of the dual problem (12).

Formalization Note The dual cone of the conic hull co(P)\mathrm{co}(\mathcal P)co(P) is the same as that of P\mathcal PP, since ∫h d(cP)=c∫h dP\int h\,d(cP)=c\int h\,dP∫hd(cP)=c∫hdP for c≥0c\ge0c≥0; the statement quantifies over probability measures. The integral of the extended-real function is erealExpectation.

Preamble
import Mathlib
import Definitions.Def_WassersteinDRO_Duality_erealExpectation
import Definitions.Def_KernelDRO_Duality_Setting

open MeasureTheory
Formal statement
namespace KernelDRO.Duality

open WassersteinDRO.Duality

/-- **Lemma D.1** (Zhu, Jitkrittum, Diehl & Schölkopf, Kernel Distributionally Robust Optimization,
arXiv:2006.06981v3, Lemma D.1, pp. 22–23). The conic constraint `l − f − f₀ ∈ −𝒦*`, where `𝒦*` is
the dual cone of the probability simplex `𝒫`, i.e. `∫ (l − f₀ − f) dP ≤ 0` for every `P`, is
equivalent to the semi-infinite constraint (26): `l(ξ) ≤ f₀ + f(ξ)` for all `ξ ∈ 𝒳`.

**Formalization Note.** The dual cone is that of the conic hull `co(𝒫)` (p. 13: `𝒦* := {h : ∫ h dm ≥ 0,
∀ m ∈ 𝒦}`); since `∫ h d(cP) = c ∫ h dP` for `c ≥ 0`, quantifying over probability measures is the
same constraint, which is the normalization the proof of "⇐" makes. The integral `∫ (l − f₀ − f) dP`
of the extended-real function is `erealExpectation`; `θ` is suppressed (p. 13). Standing
hypotheses: `𝒳` compact metric with its Borel σ-algebra, `φ` continuous, `l` upper
semicontinuous with values in `[−∞, ∞)`. -/
theorem lemma_D_1 {X : Type*} [MetricSpace X] [CompactSpace X] [MeasurableSpace X]
    [BorelSpace X] {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H]
    (φ : X → H) (hφ : Continuous φ) (l : X → EReal) (hl_usc : UpperSemicontinuous l)
    (hl_top : ∀ ξ, l ξ ≠ ⊤) (f₀ : ℝ) (f : H) :
    (∀ P : ProbabilityMeasure X,
        erealExpectation (P : Measure X)
          (fun ξ => l ξ - ((f₀ + rkhsEval φ f ξ : ℝ) : EReal)) ≤ 0) ↔
      IsDualFeasible φ l f₀ f := by sorry

end KernelDRO.Duality
Source
Zhu, Jitkrittum, Diehl & Schölkopf, Kernel Distributionally Robust Optimization, arXiv:2006.06981v3, Lemma D.1, (26), pp. 22–23; dual cone defined in App. A, Notation, p. 13
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 8, 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