Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A localized uniform law (Theorem 14.1)

Disproved
HighDimStat.Localization.thm14_1_localized_uniform_law

by mikedeng1 · Sep 19, 2026 · Mathlib 0df444a (Lean v4.33.1)

machine-learningprobabilitystatistics

Theorem 14.1 (p. 455), the goal of this mission. Given a star-shaped and bbb-uniformly bounded function class FFF, let δn\delta_nδn​ be any positive solution of the critical inequality Rn(δ;F)≤δ2/bR_n(\delta;F)\le\delta^2/bRn​(δ;F)≤δ2/b. Then for any t≥δnt\ge\delta_nt≥δn​,

∣∥f∥n2−∥f∥22∣≤12∥f∥22+t22for all f∈F,\Big|\|f\|_n^2-\|f\|_2^2\Big|\le\frac12\|f\|_2^2+\frac{t^2}2\qquad\text{for all }f\in F,​∥f∥n2​−∥f∥22​​≤21​∥f∥22​+2t2​for all f∈F,

with probability at least 1−c1e−c2nt2/b21-c_1e^{-c_2nt^2/b^2}1−c1​e−c2​nt2/b2. If in addition nδn2≥2c2log⁡(4log⁡(1/δn))n\delta_n^2\ge\frac2{c_2}\log(4\log(1/\delta_n))nδn2​≥c2​2​log(4log(1/δn​)), then

∣∥f∥n−∥f∥2∣≤c0δnfor all f∈F,\big|\|f\|_n-\|f\|_2\big|\le c_0\delta_n\qquad\text{for all }f\in F,​∥f∥n​−∥f∥2​​≤c0​δn​for all f∈F,

with probability at least 1−c1′e−c2′nδn2/b21-c_1'e^{-c_2'n\delta_n^2/b^2}1−c1′​e−c2′​nδn2​/b2.

This extends the earlier plain (unlocalized) uniform law of Chapter 4 (Theorem 4.10), replacing an absolute deviation bound between ∥f∥n2\|f\|_n^2∥f∥n2​ and ∥f∥22\|f\|_2^2∥f∥22​ with a relative one governed by the localized complexity — giving sharper control near the origin, exactly the refinement Chapter 13's nonparametric-least-squares theory needs.

Formalization Note The two conclusions are kept as a conjunction with the second gated behind its own extra hypothesis (nδn² ≥ (2/c2)log(4log(1/δn))), never merged into a single implication, per the book's own two-part statement. The constants (c1,c2,c0,c1',c2') are existentially quantified before every instance object (covariate type, sample size, function class, b, δn, t), matching this book's standing convention (stated once, in Chapter 2) that such constants are universal/absolute rather than instance-dependent. Revision 1: every f ∈ F is required measurable (hF_meas : ∀ f ∈ F, Measurable f) — not a separately numbered hypothesis in the book, but a faithful addition making explicit what the book's own L²(P) framing (p. 454) already assumes; without it, the population norm ‖f‖_2^2 appearing directly in the conclusion could silently take the Bochner integral's junk value 0 for a non-measurable, pointwise- bounded f ∈ F.

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

open MeasureTheory

/-- **Theorem 14.1** (p. 455, PDF 475), the goal of this mission: a localized uniform law
relating the empirical and population `L²`-norms over a star-shaped, `b`-uniformly bounded
function class `F`. Let `δn` be any positive solution of the population critical inequality
(14.4). Then for any `t ≥ δn`, with probability at least `1 − c₁e^{-c₂nt²/b²}`,
`|‖f‖ₙ² − ‖f‖₂²| ≤ (1/2)‖f‖₂² + t²/2` holds simultaneously for every `f ∈ F` (Eq. 14.5a). If in
addition `nδn² ≥ (2/c₂)log(4log(1/δn))`, then with probability at least
`1 − c₁'e^{-c₂'nδn²/b²}`, `|‖f‖ₙ − ‖f‖₂| ≤ c₀δn` holds simultaneously for every `f ∈ F`
(Eq. 14.5b). The two conclusions have distinct hypotheses and are kept as a conjunction with
the second gated behind its own extra hypothesis, not merged into a single implication. Every
`f ∈ F` is required measurable (`hF_meas`): the book's own framing (p. 454, "𝔼[‖f‖ₙ²] = ‖f‖₂²
for any `f ∈ L²(P)`") implicitly restricts to measurable, square-integrable `f` throughout, and
without this hypothesis `popNormSq`'s Bochner integral could silently junk-collapse to `0` for a
non-measurable, pointwise-bounded `f ∈ F`, defeating the theorem's own localization mechanism. -/
theorem thm14_1_localized_uniform_law :
    ∃ c1 c2 c0 c1' c2' : ℝ, 0 < c1 ∧ 0 < c2 ∧ 0 < c0 ∧ 0 < c1' ∧ 0 < c2' ∧
      ∀ {X Ω : Type*} [MeasurableSpace X] [MeasurableSpace Ω] {n : ℕ}, 0 < n →
      ∀ (xs : Fin n → Ω → X) (eps : Fin n → Ω → ℝ) (P : Measure Ω) [IsProbabilityMeasure P]
        (μ : Measure X) [IsProbabilityMeasure μ],
        IsIIDDesignWithRademacher xs eps P μ →
      ∀ (F : Set (X → ℝ)), IsStarShapedAroundOrigin F →
      ∀ (b : ℝ), 0 < b → IsUniformlyBounded F b → (∀ f ∈ F, Measurable f) →
      ∀ (δn t : ℝ), SatisfiesCriticalInequality xs eps P μ F b δn → δn ≤ t →
        (1 - c1 * Real.exp (-c2 * (n : ℝ) * t ^ 2 / b ^ 2) ≤
            P.real {ω | ∀ f ∈ F,
              |empiricalNormSq (fun i => xs i ω) f - popNormSq μ f| ≤
                (1 / 2) * popNormSq μ f + t ^ 2 / 2}) ∧
        ((n : ℝ) * δn ^ 2 ≥ (2 / c2) * Real.log (4 * Real.log (1 / δn)) →
          1 - c1' * Real.exp (-c2' * (n : ℝ) * δn ^ 2 / b ^ 2) ≤
            P.real {ω | ∀ f ∈ F,
              |empiricalNorm (fun i => xs i ω) f - popNorm μ f| ≤ c0 * δn}) := by sorry

end HighDimStat.Localization
Source
Wainwright, High-Dimensional Statistics, CUP 2019, p. 455 (PDF p. 475), Theorem 14.1, Eqs. (14.5a), (14.5b)
Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 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