Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. ec11, before Lemma EC.11 — E_{P_n}[(ρ − d(z, D))₊] ≤ ρ E_{P_n}[1{d(z, D) < ρ}]

Proved
WassVarReg.Boundary.boundaryGap_le

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

empirical-measurep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1wasserstein-dro

Let (Z,d)(\mathcal Z, d)(Z,d) be a metric space, D⊆ZD \subseteq \mathcal ZD⊆Z, ρ≥0\rho \ge 0ρ≥0, and let Pn=1n∑i=1nδziP_n = \frac1n\sum_{i=1}^n \delta_{z_i}Pn​=n1​∑i=1n​δzi​​ be the empirical law of n≥1n \ge 1n≥1 points z1,…,zn∈Zz_1, \dots, z_n \in \mathcal Zz1​,…,zn​∈Z. Write d(z,D)=inf⁡z~∈Dd(z,z~)d(z, D) = \inf_{\tilde z \in D} d(z, \tilde z)d(z,D)=infz~∈D​d(z,z~) with d(z,∅)=+∞d(z, \varnothing) = +\inftyd(z,∅)=+∞. Then

EPn[(ρ−d(z,D))+]≤ρ EPn[1{d(z,D)<ρ}].\mathbb E_{P_n}\bigl[(\rho - d(z, D))_+\bigr] \le \rho\,\mathbb E_{P_n}\bigl[\mathbf 1\{d(z, D) < \rho\}\bigr].EPn​​[(ρ−d(z,D))+​]≤ρEPn​​[1{d(z,D)<ρ}].

This elementary comparison reduces the boundary term of Theorem 1(III) to the empirical mass of a ρ\rhoρ-neighbourhood of DDD, which Lemma EC.11 controls.

Formalization Note Empirical means are written as 1n∑i\frac1n\sum_{i}n1​∑i​ over Fin n. The hypotheses n≥1n \ge 1n≥1 and ρ≥0\rho \ge 0ρ≥0 are the paper's sample-size and radius conventions; the pointwise comparison itself also holds at n=0n = 0n=0 and ρ<0\rho < 0ρ<0.

Preamble
import Mathlib
import Definitions.Def_WassVarReg_Boundary_Setting

open MeasureTheory Filter Topology
open scoped ENNReal
Formal statement
namespace WassVarReg.Boundary

/-- The inequality before Lemma EC.11, p. ec11:
`E_{P_n}[(ρ - d(z, D))₊] ≤ ρ E_{P_n}[1{d(z, D) < ρ}]`. -/
theorem boundaryGap_le {Z : Type*} [MetricSpace Z]
    (n : ℕ) (hn : 0 < n) (ω : Fin n → Z) (ρ : ℝ) (hρ : 0 ≤ ρ) (D : Set Z) :
    (1 / (n : ℝ)) * ∑ i : Fin n, WassVarReg.PInf.boundaryGap ρ D (ω i) ≤
      ρ * ((1 / (n : ℝ)) * ∑ i : Fin n, nearIndicator ρ D (ω i)) := by sorry

end WassVarReg.Boundary
Source
Gao, Chen & Kleywegt, arXiv:1712.06050 (2020-10-30 version), p. ec11, display before Lemma EC.11
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