Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2.3.4 — ∫etf(A,x) dP(x)≤a(α,t)N/P1(A)α\int e^{t f(A,x)}\,dP(x) \le a(\alpha,t)^N/P_1(A)^\alpha∫etf(A,x)dP(x)≤a(α,t)N/P1​(A)α for the one-sided distance

Proved
TalagrandConc.TwoPoint.thm_2_3_4

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} and let μ,μ1\mu,\mu_1μ,μ1​ be two probabilities on Ω\OmegaΩ with p=μ({1})p=\mu(\{1\})p=μ({1}) and p1=μ1({1})>pp_1=\mu_1(\{1\})>pp1​=μ1​({1})>p. Let P=μNP=\mu^NP=μN and P1=μ1NP_1=\mu_1^NP1​=μ1N​ be the product probabilities on ΩN\Omega^NΩN. For A⊆ΩNA\subseteq\Omega^NA⊆ΩN and x∈ΩNx\in\Omega^Nx∈ΩN consider the one-sided distance

f(A,x)=min⁡{card⁡{i≤N: xi=1, yi=0} : y∈A},f(A,x)=\min\big\{\operatorname{card}\{i\le N:\ x_i=1,\ y_i=0\}\ :\ y\in A\big\},f(A,x)=min{card{i≤N: xi​=1, yi​=0} : y∈A},

and for α>0\alpha>0α>0, t≥0t\ge 0t≥0 set

a(α,t)=max⁡(1, (1−p+pet) (p1e−t/α+1−p1)α).a(\alpha,t)=\max\Big(1,\ (1-p+pe^{t})\,(p_1e^{-t/\alpha}+1-p_1)^{\alpha}\Big).a(α,t)=max(1, (1−p+pet)(p1​e−t/α+1−p1​)α).

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

∫etf(A,x) dP(x)≤a(α,t)NP1(A)α.\int e^{t f(A,x)}\,dP(x)\le\frac{a(\alpha,t)^N}{P_1(A)^{\alpha}}.∫etf(A,x)dP(x)≤P1​(A)αa(α,t)N​.

The exponential moment is taken under PPP, while the size of AAA is measured under the second product measure P1P_1P1​, which puts more weight on the value 111. For small ttt one has a(α,t)=1a(\alpha,t)=1a(α,t)=1, and then the bound does not depend on NNN; for α=1\alpha=1α=1 this happens whenever et≤p1(1−p)/(p(1−p1))e^{t}\le p_1(1-p)/(p(1-p_1))et≤p1​(1−p)/(p(1−p1​)), and gives

∫(p1(1−p)p(1−p1))f(A,x)dP(x)≤1P1(A).\int\Big(\frac{p_1(1-p)}{p(1-p_1)}\Big)^{f(A,x)}dP(x)\le\frac{1}{P_1(A)}.∫(p(1−p1​)p1​(1−p)​)f(A,x)dP(x)≤P1​(A)1​.

Formalization Note Ω\OmegaΩ is Bool with 111 = true; the integral is a lower Lebesgue integral in [0,∞][0,\infty][0,∞] and every subset of {0,1}N\{0,1\}^N{0,1}N is measurable. f(∅,x)=+∞f(\emptyset,x)=+\inftyf(∅,x)=+∞, and P1(A)=0P_1(A)=0P1​(A)=0 makes the right-hand side +∞+\infty+∞. The range α>0\alpha>0α>0 is read from Section 2.2, where the exponent α\alphaα of P(A)P(A)P(A) was introduced; the theorem's page does not restate it.

Preamble
import Mathlib
import Definitions.Def_TalagrandConc_TwoPoint_Basic

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

/-- Talagrand (1995), Theorem 2.3.4, Eq. (2.3.6), p. 90. `Ω = {0,1}`, `P = μ^N` with
`μ({1}) = p`, and `P₁ = μ₁^N` with `μ₁({1}) = p₁ > p`. For every `A ⊆ Ω^N`, `α > 0`
(the range of §2.2; the page does not restate it) and `t ≥ 0`,
`∫ e^{t f(A,x)} dP(x) ≤ a(α, t)^N / P₁(A)^α` for the one-sided distance `f`. -/
theorem thm_2_3_4 (p p₁ : unitInterval) (hpp₁ : p < p₁)
    (N : ℕ) (A : Set (Fin N → Bool)) (α : ℝ) (hα : 0 < α) (t : ℝ) (ht : 0 ≤ t) :
    (∫⁻ x, TalagrandConc.OnePoint.expMul t (oneSidedDistToSet A x) ∂(productMeasure N p))
      ≤ ENNReal.ofReal (aConst α t (p : ℝ) (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. 90, Theorem 2.3.4, Eq. (2.3.6)
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