Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 2.3.1 — ∫etf(A,x) dP≤b(α,t,p)N/P(A)α\int e^{t f(A,x)}\,dP \le b(\alpha,t,p)^N/P(A)^\alpha∫etf(A,x)dP≤b(α,t,p)N/P(A)α on {0,1}N\{0,1\}^N{0,1}N

Proved
TalagrandConc.TwoPoint.prop_2_3_1

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

concentration-of-measurehamming-distancep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1probability

Let Ω={0,1}\Omega=\{0,1\}Ω={0,1}, let μ\muμ be the probability with μ({1})=p∈[0,1]\mu(\{1\})=p\in[0,1]μ({1})=p∈[0,1], and let P=μNP=\mu^NP=μN on ΩN\Omega^NΩN. For A⊆ΩNA\subseteq\Omega^NA⊆ΩN let f(A,x)f(A,x)f(A,x) be the Hamming distance from xxx to AAA, the least number of coordinates in which xxx differs from a point of AAA. Let b(α,t,p)b(\alpha,t,p)b(α,t,p) be the constant of Eqs. (2.3.2)–(2.3.3):

b(α,t,p)=((1−p)et+p)(p+(1−p)e−t/α)α  (p≥1/2),b(α,t,p)=((1−p)e−t+p)(p+(1−p)et/α)α  (p≤1/2).b(\alpha,t,p)=((1-p)e^{t}+p)(p+(1-p)e^{-t/\alpha})^{\alpha}\ \ (p\ge 1/2),\qquad b(\alpha,t,p)=((1-p)e^{-t}+p)(p+(1-p)e^{t/\alpha})^{\alpha}\ \ (p\le 1/2).b(α,t,p)=((1−p)et+p)(p+(1−p)e−t/α)α  (p≥1/2),b(α,t,p)=((1−p)e−t+p)(p+(1−p)et/α)α  (p≤1/2).

Then for every N≥0N\ge 0N≥0, every A⊆ΩNA\subseteq\Omega^NA⊆ΩN, every t≥0t\ge 0t≥0 and every α≥1\alpha\ge 1α≥1,

∫etf(A,x) dP(x)≤b(α,t,p)NP(A)α.\int e^{t f(A,x)}\,dP(x)\le\frac{b(\alpha,t,p)^N}{P(A)^{\alpha}}.∫etf(A,x)dP(x)≤P(A)αb(α,t,p)N​.

The factor b(α,t,p)b(\alpha,t,p)b(α,t,p) takes the bias ppp of the coordinates into account. For small ttt it is close to exp⁡(p(1−p)(1+1/α)t2/2)\exp(p(1-p)(1+1/\alpha)t^2/2)exp(p(1−p)(1+1/α)t2/2), which is smaller than the bias-free factor of the general case when ppp is close to 000 or 111. Applied to A={x:∑ixi≤k}A=\{x:\sum_i x_i\le k\}A={x:∑i​xi​≤k} it gives tail bounds for the binomial law.

Formalization Note The right-hand side is computed in [0,∞][0,\infty][0,∞], so P(A)=0P(A)=0P(A)=0 gives +∞+\infty+∞, and f(∅,x)=+∞f(\emptyset,x)=+\inftyf(∅,x)=+∞. The hypothesis α≥1\alpha\ge 1α≥1 is the page's.

Preamble
import Mathlib
import Definitions.Def_TalagrandConc_TwoPoint_Basic

open MeasureTheory
open scoped ENNReal NNReal
Formal statement
namespace TalagrandConc.TwoPoint

/-- Talagrand (1995), Proposition 2.3.1, Eqs. (2.3.1)–(2.3.3), p. 87. `Ω = {0,1}`,
`P = μ^N` with `μ({1}) = p`, `f` the Hamming distance (2.1.1). For every `A ⊆ Ω^N`,
`t ≥ 0`, `α ≥ 1`: `∫ e^{t f(A,x)} dP(x) ≤ b(α, t, p)^N / P(A)^α`. -/
theorem prop_2_3_1 (p : unitInterval) (N : ℕ) (A : Set (Fin N → Bool))
    (α : ℝ) (hα : 1 ≤ α) (t : ℝ) (ht : 0 ≤ t) :
    (∫⁻ x, TalagrandConc.OnePoint.expMul t (hammingDistToSet A x) ∂(productMeasure N p))
      ≤ ENNReal.ofReal (bConst α t (p : ℝ)) ^ N / (productMeasure N p A) ^ α := by sorry

end TalagrandConc.TwoPoint
Source
Talagrand, Concentration of measure and isoperimetric inequalities in product spaces, Publ. Math. IHÉS 81 (1995), p. 87, Proposition 2.3.1, Eqs. (2.3.1)–(2.3.3)
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