Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 2.4.5 — Bernstein-type bound P(fh(A,⋅)≥u)≤P(A)−1exp⁡(−min⁡(u2/8N∥h∥22, u/2∥h∥∞))P(f_h(A,\cdot)\ge u) \le P(A)^{-1}\exp(-\min(u^2/8N\|h\|_2^2,\, u/2\|h\|_\infty))P(fh​(A,⋅)≥u)≤P(A)−1exp(−min(u2/8N∥h∥22​,u/2∥h∥∞​))

Proved
TalagrandConc.Penalties.corollary_2_4_5

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

concentration-of-measurep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1probability

Let (Ω,μ)(\Omega,\mu)(Ω,μ), NNN, P=μ⊗NP = \mu^{\otimes N}P=μ⊗N, the penalty h≥0h \ge 0h≥0 (measurable, h(ω,ω)=0h(\omega,\omega) = 0h(ω,ω)=0) and the penalized distance fh(A,x)f_h(A,x)fh​(A,x) be as in Theorem 2.4.1. Assume that

∥h∥∞=sup⁡x,y∈Ωh(x,y)\|h\|_\infty = \sup_{x,y \in \Omega} h(x,y)∥h∥∞​=x,y∈Ωsup​h(x,y)

is finite, and set ∥h∥2=(∬Ω2h2(ω,ω′) dμ(ω) dμ(ω′))1/2\|h\|_2 = \big(\iint_{\Omega^2} h^2(\omega,\omega')\, d\mu(\omega)\, d\mu(\omega')\big)^{1/2}∥h∥2​=(∬Ω2​h2(ω,ω′)dμ(ω)dμ(ω′))1/2. Then for every measurable A⊆ΩNA \subseteq \Omega^NA⊆ΩN and every uuu,

P({fh(A,⋅)≥u})  ≤  1P(A)exp⁡(−min⁡(u28N∥h∥22, u2∥h∥∞)).P\big(\{ f_h(A,\cdot) \ge u \}\big) \;\le\; \frac{1}{P(A)} \exp\Big( - \min\Big( \frac{u^2}{8N\|h\|_2^2},\ \frac{u}{2\|h\|_\infty} \Big) \Big).P({fh​(A,⋅)≥u})≤P(A)1​exp(−min(8N∥h∥22​u2​, 2∥h∥∞​u​)).

The bound has the shape of Bernstein's inequality: a Gaussian tail governed by the L2L^2L2 size of the penalty for moderate uuu, and an exponential tail governed by its sup norm for large uuu.

Formalization Note Conventions as in Theorem 2.4.1. The supremum is over all pairs (not an essential supremum). The two quotients are computed in [0,∞][0,\infty][0,∞], so a quotient a/0a/0a/0 with a>0a > 0a>0 is +∞+\infty+∞ and e−∞=0e^{-\infty} = 0e−∞=0; this is the paper's reading when ∥h∥2=0\|h\|_2 = 0∥h∥2​=0, ∥h∥∞=0\|h\|_\infty = 0∥h∥∞​=0 or N=0N = 0N=0, and avoids the junk value a/0=0a/0 = 0a/0=0 of real division. If P(A)=0P(A)=0P(A)=0, the bound is +∞+\infty+∞, preserving the paper's 1/P(A)1/P(A)1/P(A) convention even when the exponential factor is 000. For u<0u < 0u<0 the quantity uuu is read as 000 inside the quotients, which gives the bound 1/P(A)1/P(A)1/P(A) (the left side is 111 there, so nothing is lost).

Preamble
import Mathlib
import Definitions.Def_TalagrandConc_Penalties_Basic

open MeasureTheory
Formal statement
namespace TalagrandConc.Penalties

theorem corollary_2_4_5
    {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
    (h : Ω → Ω → ℝ) (h_nonneg : ∀ x y, 0 ≤ h x y) (h_diag : ∀ x, h x x = 0)
    (h_meas : Measurable (Function.uncurry h))
    (h_sup_fin : (⨆ x, ⨆ y, ENNReal.ofReal (h x y)) ≠ ⊤)
    (N : ℕ) (A : Set (Fin N → Ω)) (hA : MeasurableSet A) (hfA : Measurable (fh h A))
    (u : ℝ) :
    (Measure.pi fun _ : Fin N => μ) {x | ENNReal.ofReal u ≤ fh h A x}
      ≤ if (Measure.pi fun _ : Fin N => μ) A = 0 then ⊤ else
        ((Measure.pi fun _ : Fin N => μ) A)⁻¹ *
        EReal.exp (-((min
          (ENNReal.ofReal (u ^ 2) /
            (8 * (N : ENNReal) * ∫⁻ p : Ω × Ω, ENNReal.ofReal (h p.1 p.2 ^ 2) ∂(μ.prod μ)))
          (ENNReal.ofReal u / (2 * ⨆ x, ⨆ y, ENNReal.ofReal (h x y))) : ENNReal) : EReal)) := by sorry

end TalagrandConc.Penalties
Source
Talagrand, Concentration of measure and isoperimetric inequalities in product spaces, Publ. Math. IHÉS 81 (1995), p. 93, Corollary 2.4.5, Eq. (2.4.14)
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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