WeightedSubgaussian #
Ported from scottnarmstrong/Superdiffusion at 7f20476385d4af418f110303085ad0740c9eba46. Module imports, support namespace and local option directives adapted for Lean Pool.
Weighted sub-Gaussian concentration from weak Gamma-two tails #
Internal probability infrastructure for the corrected off-diagonal part of ABK26's Section 3.1 L2 estimate. It proves the classical tail-to-MGF bridge and the weighted independent-family estimate needed after finer-shell coloring. These ordinary reusable probability lemmas make no source-node status claim.
Pointwise real inequality exp u ≤ u + exp (u²). #
Square-exponential moment via the layer-cake formula. #
Square-exponential moment bound. For a nonnegative W with the clean
exponential tail P[W > s] ≤ 2 exp(−s) and 0 ≤ l < 1, the variable
exp (l·W) is integrable with ∫ exp (l·W) ≤ 1 + 2l/(1−l). Proved by the
weighted layer-cake formula: E[exp l W] = 1 + ∫₀^∞ P[W>s]·l e^{ls} ds, and the
tail bounds the density integral by ∫₀^∞ 2 l e^{(l−1)s} ds = 2l/(1−l).
The tail → MGF converter. #
A centered real random variable X (∫ X = 0) with the two-sided sub-Gaussian
tail P[|X| > t] ≤ 2 exp(−t²/c) (c > 0) has a sub-Gaussian moment generating
function with the universal parameter 8·c: HasSubgaussianMG (8·c) μ.
Centering and measurability are honest hypotheses (mean-zero comes from the spine downstream).
weightedSubgaussianConst ^ 2 / 2 = 1 + log 2, which lets the union-bound factor
2 be absorbed into the t ≥ 1 decay: 2 · exp(−(1+log 2) t²) ≤ exp(−t²).
Instances For
Pure-real absorption of the union-bound factor 2: for t ≥ 1,
2 · exp(−((1 + log 2) t²)) ≤ exp(−(t ^ (2:ℝ))). Extracted so no numeric
tactic ever enters a Real.rpow/Real.exp term.
Weighted sub-Gaussian tail (raw two-sided form). For whole-family
independent X with per-term sub-Gaussian MGF HasSubgaussianMGF (X i) (c i),
real weights a, and any ε ≥ 0,
μ.real {ω | ε < |Σ_{i∈s} a i X i ω|} ≤ 2 exp(−ε²/(2 Σ_{i∈s} (a i)² c i)).
The weighted sum is sub-Gaussian by const_mul (scaling by a i multiplies the
parameter by (a i)²), iIndepFun.comp (the scaled family stays independent)
and sum_of_iIndepFun; the union of the two Chernoff tails carries the 2.
If the weighted variance Σ_{i∈s} (a i)² c i vanishes then the weighted sum
is a.e. zero: each term is either 0 (weight) or a.e. 0 (a HasSubgaussianMGF · 0 variable).
Weighted sub-Gaussian concentration (normalized gammaSigma 2 form).
For whole-family independent X with per-term sub-Gaussian MGF, real weights
a, and every t ≥ 1,
μ.real {ω | C · (Σ a² c)^{1/2} · t < |Σ a X ω|} ≤ exp(−(t ^ 2)), where
C = weightedSubgaussianConst. This is definitionally
IsBigO μ (gammaSigma 2) (Σ a X) (C (Σ a² c)^{1/2}).
The weighted sub-Gaussian tail in CoarseGraining's Gamma_2 rendering.
The two-sided tail P[|X| > u] ≤ 2 exp(−u²/(2A²)) (all u > 0) is fed to
hasSubgaussianMGF_of_tail with c = 2A², κ = 8.
The weighted tail-to-MGF estimate with possibly vanishing scales. A zero-scale summand must be almost surely zero; positive-scale summands use the tail-to-MGF converter above. This is the form needed when deterministic local energies supply the scales and some cells can carry no energy.