Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Inclusion G~r⊂{f∈star(F,0):T(f)≤r}\tilde{\mathcal G}_r\subset\{f\in\mathrm{star}(\mathcal F,0):T(f)\le r\}G~​r​⊂{f∈star(F,0):T(f)≤r} (proof of Theorem 3.3, p. 17)

Proved
BartlettBousquetMendelson.LocalRad.proof_thm_3_3_p17_tilde_class_subset

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

concentration-inequalitiesempirical-processeslearning-theoryrademacher-complexity

Let F\mathcal FF be a class of functions, TTT a functional with T(αf)≤α2T(f)T(\alpha f)\le\alpha^2T(f)T(αf)≤α2T(f) for all f∈Ff\in\mathcal Ff∈F and α∈[0,1]\alpha\in[0,1]α∈[0,1], and r>0r>0r>0. Then

G~r={rfT(f)∨r:f∈F}⊆{g∈star(F,0):T(g)≤r}.\tilde{\mathcal G}_r=\Big\{\frac{rf}{T(f)\vee r}:f\in\mathcal F\Big\}\subseteq\{g\in\mathrm{star}(\mathcal F,0):T(g)\le r\}.G~​r​={T(f)∨rrf​:f∈F}⊆{g∈star(F,0):T(g)≤r}.

This inclusion is what lets the hypothesis on ψ\psiψ over the local star-hull control the Rademacher average of G~r\tilde{\mathcal G}_rG~​r​.

Differences from the source:

  • generalization: T : F → ℝ⁺ (as in Theorem 3.3) → T any functional on X → ℝ, no nonnegativity assumed; reason: the inclusion uses only the scaling condition; every nonnegative T of the paper is an instance
  • encoding: r > 0 from the notation of p. 14 ("λ > 1 and r > 0") → hypothesis 0 < r; reason: G̃_r is defined for r > 0
Preamble
import Mathlib
import Definitions.Def_BartlettBousquetMendelson_LocalRad_starHull
import Definitions.Def_BartlettBousquetMendelson_LocalRad_tildeClass
Formal statement
namespace BartlettBousquetMendelson.LocalRad

/-- **`G̃_r` lies in the local star-hull (proof of Theorem 3.3, second part, p. 17; unnumbered).**
Bartlett, Bousquet, Mendelson, *Local Rademacher Complexities*, Ann. Statist. 33(4) (2005) (IMS electronic reprint, arXiv:math/0508275v1), proof of Theorem 3.3, second part, p. 17: "One can easily check that
G̃r ⊂ {f ∈ star(F,0) : T(f) ≤ r}".

If `r > 0` and `T(α f) ≤ α² T(f)` for every `f ∈ F` and `α ∈ [0, 1]`, then every
`r f / (T(f) ∨ r)` with `f ∈ F` lies in `star(F, 0)` and has `T`-value at most `r`.

**Formalization Note.** `T` is any functional on `X → ℝ`; only the scaling condition of
Theorem 3.3 part 2 is assumed, on `F` and `α ∈ [0, 1]`. The paper's `T : F → ℝ⁺` (nonnegativity)
is not needed for this inclusion and is not assumed. -/
theorem proof_thm_3_3_p17_tilde_class_subset {X : Type*} (F : Set (X → ℝ))
    (T : (X → ℝ) → ℝ) (r : ℝ) (hr : 0 < r)
    (hTscale : ∀ f ∈ F, ∀ α ∈ Set.Icc (0 : ℝ) 1, T (α • f) ≤ α ^ 2 * T f) :
    tildeClass F T r ⊆ {g | g ∈ starHull F 0 ∧ T g ≤ r} := by sorry

end BartlettBousquetMendelson.LocalRad
Source
Bartlett, Bousquet, Mendelson, Local Rademacher Complexities, Ann. Statist. 33(4) (2005), proof of Theorem 3.3, second part, p. 17 (unnumbered) (IMS electronic reprint, arXiv:math/0508275v1)

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