Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Star-shaped localization reduction for empirical L2L^2L2 deviation bounds

Proved
HighDimStat.Localization.star_shaped_localization_reduction

by kmehltretter82 · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

empirical-processeshigh-dimensional-statisticsprobability-theory

Let (X,A,μ)(X, \mathcal{A}, \mu)(X,A,μ) be a measure space, let x1,…,xn∈Xx_1, \dots, x_n \in Xx1​,…,xn​∈X be a fixed sample of nnn points, and write

∥f∥22:=∫Xf(x)2 dμ(x),∥f∥2:=∥f∥22,∥f∥n2:=1n∑i=1nf(xi)2\|f\|_2^2 := \int_X f(x)^2\,d\mu(x), \qquad \|f\|_2 := \sqrt{\|f\|_2^2}, \qquad \|f\|_n^2 := \frac{1}{n}\sum_{i=1}^n f(x_i)^2∥f∥22​:=∫X​f(x)2dμ(x),∥f∥2​:=∥f∥22​​,∥f∥n2​:=n1​i=1∑n​f(xi​)2

for the population and empirical L2L^2L2 squared norms of a function f:X→Rf : X \to \mathbb{R}f:X→R. Let F\mathcal{F}F be a class of real-valued functions on XXX that is star-shaped around the origin, meaning that αf∈F\alpha f \in \mathcal{F}αf∈F for all f∈Ff \in \mathcal{F}f∈F and α∈[0,1]\alpha \in [0, 1]α∈[0,1], and let t>0t > 0t>0 be a localization radius. If the localized uniform deviation bound

∣∥g∥n2−∥g∥22∣≤t22\big|\|g\|_n^2 - \|g\|_2^2\big| \le \frac{t^2}{2}​∥g∥n2​−∥g∥22​​≤2t2​

holds for every g∈Fg \in \mathcal{F}g∈F with ∥g∥2≤t\|g\|_2 \le t∥g∥2​≤t, then the two-sided unlocalized deviation bound

∣∥f∥n2−∥f∥22∣≤12∥f∥22+t22\big|\|f\|_n^2 - \|f\|_2^2\big| \le \frac{1}{2}\|f\|_2^2 + \frac{t^2}{2}​∥f∥n2​−∥f∥22​​≤21​∥f∥22​+2t2​

holds simultaneously for every f∈Ff \in \mathcal{F}f∈F.

This deterministic rescaling lemma is the core localization transfer step in the proof of Wainwright's Theorem 14.1, reducing global control of ∣∥f∥n2−∥f∥22∣|\|f\|_n^2 - \|f\|_2^2|∣∥f∥n2​−∥f∥22​∣ over an entire star-shaped class F\mathcal{F}F to control on the localized ball {g∈F:∥g∥2≤t}\{g \in \mathcal{F} : \|g\|_2 \le t\}{g∈F:∥g∥2​≤t}.

Formalization Note The population and empirical squared norms, population norm, and star-shapedness predicate are imported from Definitions.Def_HighDimStat_Localization_Core (popNormSq, popNorm, empiricalNormSq, and IsStarShapedAroundOrigin).

Preamble
import Mathlib
import Definitions.Def_HighDimStat_Localization_Core
Formal statement
namespace HighDimStat.Localization

open MeasureTheory

theorem star_shaped_localization_reduction {X : Type*} [MeasurableSpace X] {n : ℕ}
    (xs : Fin n → X) (μ : Measure X) (F : Set (X → ℝ))
    (hStar : IsStarShapedAroundOrigin F) (t : ℝ) (ht : 0 < t)
    (h_loc : ∀ g ∈ F, popNorm μ g ≤ t →
      |empiricalNormSq xs g - popNormSq μ g| ≤ t ^ 2 / 2) :
    ∀ f ∈ F, |empiricalNormSq xs f - popNormSq μ f| ≤
      (1 / 2) * popNormSq μ f + t ^ 2 / 2 := by sorry

end HighDimStat.Localization
Source
Wainwright, High-Dimensional Statistics: A Non-Asymptotic Viewpoint, Cambridge University Press 2019, Section 14.1.2, p. 456 (PDF p. 476), proof of Theorem 14.1, Eq. (14.5)

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