Chernoff #
Ported from scottnarmstrong/Superdiffusion at 7f20476385d4af418f110303085ad0740c9eba46. Module imports, support namespace and local option directives adapted for Lean Pool.
Concentration for scale arrays — Steps 4–5 (MGF assembly + Chernoff) #
This module carries the universal constants C₅, C₆, Cstar, the independence
hypothesis ColumnsIndep, the MGF integrand expZfun, the within-class
independence factorization lintegral_prod_class, the fully-proved Step 4
residue-class MGF bound full_mgf_bound, and the Step 5 Chernoff bound
count_chernoff_bound. Both steps are sorry-free; the generic Step-4 analytic
and combinatorial helpers live in MgfProduct.lean.
Integrand expZfun #
expZfun X p s lam r m ω = ⨆_N ∏_{j ∈ [-N,N]} e_r^{Z_j(ω)}, where
e_r = ofReal(exp(a/r)) and a = ⅛(log 3) s p = mgfRate s p. This is the
ℝ≥0∞ realization of exp((a/r) ∑_j Z_j) as a monotone limit of finite-window
products — clean under Chernoff's Markov step and free of toReal pitfalls.
full_mgf_bound (Step 4, e.full.mgf.bound) — #
∫⁻ expZfun ≤ ofReal(exp((m+1)/r · θ log 3 / 16)). The is the paper's exp(C₆ r⁻¹ (3/λ)^p (m+1)) after substituting λ = 3 Cstar^{1/p} θ^{-1/p}: with
Cstar = 16 C₆/log 3 one has C₆ (3/λ)^p = θ log 3 / 16 (as (3/λ)^p = θ/Cstar). The proof: monotone convergence (lintegral_iSup) over the
[−N,N] exhaustion; residue split + Hölder over the r classes
(ENNReal.lintegral_prod_norm_pow_le); within-class independence factorization
(lintegral_prod_class, from ColumnsIndep via iIndepFun.comp); insert the
integer MGF Zj_mgf; ∏(1+c_j) ≤ exp(∑ c_j) and the two-sided geometric
ℤ-sum (MgfProduct.lean).
Step 5 (proved here) #
count_chernoff_bound derives the Chernoff bound from full_mgf_bound by
Markov (mul_meas_ge_le_lintegral₀) with ε = ofReal(exp((a/r) θ (m+1))) and
the set inclusion {ofReal(θ(m+1)) < ∑_j Z_j} ⊆ {ε ≤ expZfun}. The final rate
uses (log 3)(2sp−1) ≥ sp (from sp ≥ 1, log 3 > 1) to reach
exp(−spθ(m+1)/(16r)).
Equations
Instances For
Within each residue class modulo r, the columns of X (as (ℤ→ℝ)-valued
random variables) are mutually independent. Implied by
e.independent.columns.twosided; see Defs.lean.
Equations
- Algsuperdiff.Section4.Probability.ScalesConcentration.ColumnsIndep P X r = ∀ (b : ℤ), ProbabilityTheory.iIndepFun (fun (j : ℤ) (ω : Ω) (k : ℤ) => X k (j * ↑r + b) ω) P
Instances For
Any finite set of integers lies inside some symmetric window [-N, N].
Measurability of the column count Z_j.
Measurability of the MGF integrand expZfun.
Within-class independence factorization (Step 4, sub-part (c)). For a
finite set fib of columns all congruent to b modulo r (so r ∣ j - b), the
ℤ-reindexed family i ↦ B^{Z_{ir+b}} is mutually independent via ColumnsIndep,
so the ∫⁻ of the product factors into the product of ∫⁻'s.
Step 4 (e.full.mgf.bound).
∫⁻ expZfun ≤ ofReal(exp((m+1)/r · θ log 3 / 16)). Assembled from monotone
convergence, Hölder over the r residue classes, within-class independence
(lintegral_prod_class), the integer MGF Zj_mgf, and the MgfProduct
helpers.
The Chernoff exponent comparison A − B ≤ D, where A = (m+1)/r·θlog3/16,
B = mgfRate/r·θ(m+1), D = −spθ/(16r)·(m+1), using
D − (A − B) = ((m+1)θ/16r)·(log3(2sp−1) − sp) ≥ 0.
Step 5 (Chernoff). The Chernoff bound on the aggregated column count,
obtained from full_mgf_bound by Markov's inequality.