Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1(I), pp. 8, 20 — W∞ regularizer approximates mean local slope

Proved
WassVarReg.PInf.theorem_1_I

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

local-slopep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1regularizationwasserstein-dro

Let (Z,d)(Z,d)(Z,d) be a metric space without isolated points, FFF a family of measurable real losses, and Df⊆ZD_f\subseteq ZDf​⊆Z an associated set for each loss. Suppose there are δ0>0\delta_0>0δ0​>0, M≥0M\ge0M≥0, and a real function HHH such that, for every f∈Ff\in Ff∈F, z∈Zz\in Zz∈Z, and 0≤δ<δ00\le\delta<\delta_00≤δ<δ0​,

∣Gf(δ,z)−δ∣∂f∣(z)∣≤H(z)δ2+M(δ−d(z,Df))+.\bigl|G_f(\delta,z)-\delta|\partial f|(z)\bigr| \le H(z)\delta^2+M(\delta-d(z,D_f))_+.​Gf​(δ,z)−δ∣∂f∣(z)​≤H(z)δ2+M(δ−d(z,Df​))+​.

Then some ρˉ>0\bar\rho>0ρˉ​>0 works for every nonempty finite sample z1,…,znz_1,\ldots,z_nz1​,…,zn​, every 0≤ρ<ρˉ0\le\rho<\bar\rho0≤ρ<ρˉ​, and every f∈Ff\in Ff∈F. The regularizer is finite and

∣RPn,∞(ρ;f)−ρ1n∑i=1n∣∂f∣(zi)∣≤ρ21n∑i=1n∣H(zi)∣+M1n∑i=1n(ρ−d(zi,Df))+,Pn=1n∑i=1nδzi.\left|R_{P_n,\infty}(\rho;f)-\rho\frac1n\sum_{i=1}^{n}|\partial f|(z_i)\right| \le \rho^2\frac1n\sum_{i=1}^{n}|H(z_i)| +M\frac1n\sum_{i=1}^{n}(\rho-d(z_i,D_f))_+, \quad P_n=\frac1n\sum_{i=1}^{n}\delta_{z_i}.​RPn​,∞​(ρ;f)−ρn1​i=1∑n​∣∂f∣(zi​)​≤ρ2n1​i=1∑n​∣H(zi​)∣+Mn1​i=1∑n​(ρ−d(zi​,Df​))+​,Pn​=n1​i=1∑n​δzi​​.

The estimate identifies the mean local slope as the first-order regularization term, with quadratic growth and boundary corrections.

Formalization Note This is the general-metric Theorem 1(I) of Appendix B under the replacement Assumption 5(I) on p. 13, as proved in Lemma EC.9(I). (Theorem 1(I) on p. 8 is the Banach form under Assumptions 1–2; its restatement on p. 20 still names Assumptions 1–2, while p. 13 says Assumption 5 replaces them in the metric setting and Lemma EC.9 is stated under Assumption 5.) The radius bound is uniform in the sample, as the proof gives ρˉ=δ0\bar\rho=\delta_0ρˉ​=δ0​. The space has a second-countable Borel structure so transport distance is measurable. Finiteness of slope and local growth is explicit. The statement allows arbitrary DfD_fDf​ and HHH without assuming DfD_fDf​ is null or H∈L1(Ptrue)H\in L^1(P_{\rm true})H∈L1(Ptrue​), because only their sample values occur here. The ρn2\rho_n^2ρn2​ printed in Lemma EC.9 is read as ρ2\rho^2ρ2, consistent with Theorem 1(I).

Preamble
import Mathlib
import Definitions.Def_WassVarReg_PInf_Setting

open MeasureTheory Filter
open scoped ENNReal NNReal
Formal statement
namespace WassVarReg.PInf

/-- Theorem 1(I), pp. 8 and 20, in the general metric form under Assumption 5(I)
of p. 13, also the order-infinity part of Lemma EC.9, p. ec8. -/
theorem theorem_1_I {Z : Type*} [MetricSpace Z] [MeasurableSpace Z]
    [BorelSpace Z] [SecondCountableTopology Z]
    (hnoiso : ∀ z : Z, (nhdsWithin z {z}ᶜ).NeBot)
    (F : Set (Z → ℝ)) (hmeas : ∀ f ∈ F, Measurable f)
    (D : (Z → ℝ) → Set Z) (H : Z → ℝ) (δ0 M : ℝ)
    (hδ0 : 0 < δ0) (hM : 0 ≤ M) (hA5 : Assumption5I F D H δ0 M) :
    ∃ ρbar : ℝ, 0 < ρbar ∧
      ∀ (n : ℕ) (hn : 0 < n) (ω : Fin n → Z) (ρ : ℝ),
        0 ≤ ρ → ρ < ρbar → ∀ f ∈ F,
          regularizerInf ρ (MinimaxWass.DataDep.empiricalPM hn ω) f ≠ ⊤ ∧
          regularizerInf ρ (MinimaxWass.DataDep.empiricalPM hn ω) f ≠ ⊥ ∧
          |(regularizerInf ρ (MinimaxWass.DataDep.empiricalPM hn ω) f).toReal -
            ρ * ((1 / (n : ℝ)) * ∑ i : Fin n, (localSlope f (ω i)).toReal)| ≤
            ρ ^ 2 * ((1 / (n : ℝ)) * ∑ i : Fin n, |H (ω i)|) +
              M * ((1 / (n : ℝ)) * ∑ i : Fin n, boundaryGap ρ (D f) (ω i)) := by sorry

end WassVarReg.PInf
Source
Gao, Chen & Kleywegt, arXiv:1712.06050 (2020-10-30 version), Theorem 1(I), p. 8; metric restatement, p. 20; Assumption 5(I), p. 13; Lemma EC.9(I), p. ec8 (PDF p. 31)
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