Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma A.3, p. 29 — sup_ζ L(⟨β, ζ⟩) − γ‖ζ − ζ̂‖ is L(⟨β, ζ̂⟩) if lip(L)‖β‖_* ≤ γ and +∞ otherwise

Proved
RegMT.Regress.lemma_A_3

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

convex-conjugatedistributionally-robustlipschitzp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1wasserstein

Let L:R→RL:\mathbb R\to\mathbb RL:R→R be a nonnegative, convex and Lipschitz continuous loss function, and let lip(L)=sup⁡z≠z′∣L(z)−L(z′)∣/∣z−z′∣\mathrm{lip}(L)=\sup_{z\neq z'}|L(z)-L(z')|/|z-z'|lip(L)=supz=z′​∣L(z)−L(z′)∣/∣z−z′∣ be its Lipschitz modulus. Let Rd\mathbb R^dRd carry an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥ with dual norm ∥⋅∥∗\|\cdot\|_*∥⋅∥∗​, let β,ζ^∈Rd\beta,\hat\zeta\in\mathbb R^dβ,ζ^​∈Rd, and let γ>0\gamma>0γ>0. Then

sup⁡ζ∈Rd L(⟨β,ζ⟩)−γ∥ζ−ζ^∥  =  {L(⟨β,ζ^⟩)if lip(L) ∥β∥∗≤γ,+∞otherwise.\sup_{\zeta\in\mathbb R^d}\ L(\langle\beta,\zeta\rangle)-\gamma\|\zeta-\hat\zeta\| \;=\; \begin{cases} L(\langle\beta,\hat\zeta\rangle) & \text{if } \mathrm{lip}(L)\,\|\beta\|_*\le\gamma,\\ +\infty & \text{otherwise.} \end{cases}ζ∈Rdsup​ L(⟨β,ζ⟩)−γ∥ζ−ζ^​∥={L(⟨β,ζ^​⟩)+∞​if lip(L)∥β∥∗​≤γ,otherwise.​

The supremum is taken in the extended reals. The lemma evaluates the inner suprema produced by the robust reformulation (Lemma A.1) when the integrand is a convex Lipschitz loss of a linear function. Every summand then either equals the nominal loss at the sample or is +∞+\infty+∞, and this produces the constraint lip(L)∥(w,−1)∥∗≤λ\mathrm{lip}(L)\|(w,-1)\|_*\le\lambdalip(L)∥(w,−1)∥∗​≤λ in the proof of Theorem 3.1(ii).

Formalization Note. Rd\mathbb R^dRd with an arbitrary norm is a finite-dimensional real normed space VVV. The vector β\betaβ acts as a continuous linear functional on VVV, and ∥β∥∗\|\beta\|_*∥β∥∗​ is its operator norm. lip(L)\mathrm{lip}(L)lip(L) is the published lipschitzModulus, valued in [0,∞][0,\infty][0,∞], and the condition lip(L)∥β∥∗≤γ\mathrm{lip}(L)\|\beta\|_*\le\gammalip(L)∥β∥∗​≤γ is compared in [0,∞][0,\infty][0,∞]. Because LLL is Lipschitz, lip(L)\mathrm{lip}(L)lip(L) is finite and the comparison is the real one. The hypothesis γ>0\gamma>0γ>0 is printed in the lemma.

Preamble
import Mathlib
import Definitions.Def_WassersteinDRO_Duality_lipschitzModulus
Formal statement
namespace RegMT.Regress

/-- Lemma A.3, Shafieezadeh-Abadeh, Kuhn & Mohajerin Esfahani, *Regularization via Mass
Transportation*, arXiv:1710.10016v3, p. 29. Let `L : ℝ → ℝ` be convex and Lipschitz continuous,
`V` a finite-dimensional real normed space (the paper's `ℝ^d` with an arbitrary norm), `β` a
continuous linear functional on `V` (the paper's `β ∈ ℝ^d` acting by `⟨β, ·⟩`; its operator norm
is the dual norm `‖β‖_*`), `ζhat ∈ V` and `γ > 0`. Then, in the extended reals,
`sup_ζ L(⟨β, ζ⟩) − γ‖ζ − ζhat‖ = L(⟨β, ζhat⟩)` if `lip(L)‖β‖_* ≤ γ`, and `+∞` otherwise,
where `lip(L)` is the Lipschitz modulus of `L` (§1.1, p. 4), valued in `ℝ≥0∞`.
The loss is nonnegative as in §2.1 (p. 5). -/
theorem lemma_A_3 {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V]
    (L : ℝ → ℝ) (hconv : ConvexOn ℝ Set.univ L) (h_nonneg : ∀ z, 0 ≤ L z)
    (hLip : ∃ K, LipschitzWith K L)
    (β : V →L[ℝ] ℝ) (ζhat : V) (γ : ℝ) (hγ : 0 < γ) :
    (⨆ ζ : V, ((L (β ζ) - γ * ‖ζ - ζhat‖ : ℝ) : EReal)) =
      if WassersteinDRO.Duality.lipschitzModulus L * ENNReal.ofReal ‖β‖ ≤ ENNReal.ofReal γ then
        ((L (β ζhat) : ℝ) : EReal)
      else ⊤ := by sorry

end RegMT.Regress
Source
Shafieezadeh-Abadeh, Kuhn & Mohajerin Esfahani, Regularization via Mass Transportation, arXiv:1710.10016v3, p. 29, Lemma A.3; proof pp. 29–30
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