Theorem 1.2 — Chernoff bound for independent variables in
ProvedNonmonotoneSubmod.QueryLB.chernoff_theorem_1_2Let be independent real random variables on a probability space, each taking values in and with . Then for every ,
The paper quotes this bound from Alon and Spencer and uses it for all its concentration arguments, including the bound on unbalanced queries in the proof of Theorem 4.5.
Formalization Note Random variables are measurable maps Y i : Ω → ℝ, mutually independent (iIndepFun) under a probability measure, with values in at every point; the mean is the Bochner integral, which is the true mean since each is bounded and measurable. The hypothesis is Alon–Spencer's and is needed: for and the left side is . For the exponent reads in Lean, and the bound is correct.
import Mathlib open MeasureTheory ProbabilityTheory
namespace NonmonotoneSubmod.QueryLB
/-- Theorem 1.2 (Feige–Mirrokni–Vondrák 2011, p. 1137, quoted from Alon–Spencer): if
`Y₁, …, Y_t` are independent random variables with values in `[−1, 1]` and `E[Yᵢ] = 0`, then
`Pr[∑ Yᵢ > λ] ≤ e^{−λ²/2t}` for every `λ > 0`. -/
theorem chernoff_theorem_1_2 {Ω : Type} [MeasurableSpace Ω] (μ : Measure Ω)
[IsProbabilityMeasure μ] (t : ℕ) (Y : Fin t → Ω → ℝ) (hmeas : ∀ i, Measurable (Y i))
(hind : iIndepFun Y μ) (hbd : ∀ i ω, Y i ω ∈ Set.Icc (-1 : ℝ) 1)
(hmean : ∀ i, ∫ ω, Y i ω ∂μ = 0) (lam : ℝ) (hlam : 0 < lam) :
μ.real {ω | lam < ∑ i, Y i ω} ≤ Real.exp (-(lam ^ 2 / (2 * t))) := by sorry
end NonmonotoneSubmod.QueryLB
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
- is a probability space.
- is a natural number.
- are random variables satisfying:
- each is measurable;
- are mutually independent under ;
- for every (pointwise, not just almost surely);
- for each .
- is a real number with .
Claim.
The event uses the strict inequality .
Degenerate cases:
- : the sum is empty and equals , so the event is empty and has probability . The right-hand side divides by , which by convention gives , so the bound reads . The statement then just says .
- Well-definedness: the integrals exist because each is bounded and measurable on a probability space.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.