Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Two-sided Bernstein bound for revealed signed sums

Proved
ZeroFreeRRG.Hardcore.reveal_two_sided_bernstein

by wcysai · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

For independent Bernoulli(sss) vertex revelations and coefficients ∣zv∣≤1|z_v|\le1∣zv​∣≤1, the probability that the absolute centered revealed sum is at least sηn/2s\eta n/2sηn/2 is at most 2e−sη2n/122e^{-s\eta^2 n/12}2e−sη2n/12 for 0<η≤10<\eta\le10<η≤1.

Preamble
import Mathlib
import Definitions.Def_ZeroFreeRRG_Hardcore_Moments
set_option autoImplicit false
open Set Filter MeasureTheory AFIsingKS ZeroFreeRRG.Hardcore
open scoped Classical BigOperators
Formal statement
theorem ZeroFreeRRG.Hardcore.reveal_two_sided_bernstein (n : ℕ) (s η : ℝ) (z : Fin n → ℝ)
    (hs : 0 ≤ s) (hs1 : s ≤ 1) (hη : 0 < η) (hη1 : η ≤ 1)
    (hz : ∀ v, |z v| ≤ 1) :
    (∑ U : Finset (Fin n), revealProb s U *
      (if s*η*n/2 ≤ |(∑ v ∈ U, z v) - s*(∑ v : Fin n, z v)| then 1 else 0)) ≤
        2*Real.exp (-(s*η^2/12)*n) := by sorry
Source
Auxiliary Bernstein inequality for Chen–Wang–Zhang, Zero-Freeness for Random Regular Graphs up to the Replica Symmetry Breaking Threshold, https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/1461.pdf, p. 39, proof of Lemma 5.6.

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