Sub-Gaussian Processes #
This file defines sub-Gaussian processes and proves tail bounds needed for Dudley's entropy integral bound.
Main definitions #
IsSubGaussian: A scalar real random variable with Mathlib's sub-Gaussian MGF bound.subGaussianPsi2Norm: the least MGF sub-Gaussian scale, the ψ₂ scale used by the HDP-style Hanson-Wright wrapper.IsSubGaussianProcess: A stochastic process indexed by a pseudo-metric space satisfies the sub-Gaussian MGF bound for increments.
Main results #
subGaussian_tail_bound_one_sided: One-sided Chernoff bound P(X_s - X_t ≥ u).subGaussian_tail_bound: Two-sided tail bound P(|X_s - X_t| ≥ u).gaussian_tail_integral: The Gaussian tail integral ∫₀^∞ 2·exp(-r²/(2τ²)) dr = τ·√(2π).ae_eq_zero_of_mgf_le_one: MGF ≤ 1 for all λ implies Y = 0 a.e.IsSubGaussian.integrable: Scalar sub-Gaussian variables are integrable.hasSubgaussianMGF_of_subGaussianPsi2Norm_le: Extract an MGF certificate at any scale above the ψ₂ infimum.hasSubGaussianPsi2Bound_subGaussianPsi2Norm_of_pos: The positive ψ₂ infimum is an admissible scale.integrable_ciSup_abs_of_fintype_subGaussian: Finite suprema of absolute values of sub-Gaussian families are integrable.subGaussian_first_moment_bound: E[|X_s - X_t|] ≤ √(2π)·σ·d(s,t).subGaussian_finite_max_bound: E[max_{t∈T} X_t] ≤ σ·diam(T)·√(2 log|T|).
A real random variable is sub-Gaussian with variance proxy σ_sq if its moment
generating function is bounded by the corresponding Gaussian moment generating function.
Equations
- LeanPool.IsSubGaussian X σ_sq μ = ∃ (h : 0 ≤ σ_sq), ProbabilityTheory.HasSubgaussianMGF X ⟨σ_sq, h⟩ μ
Instances For
Monotonicity of the MGF sub-Gaussian parameter.
An admissible ψ₂/MGF scale for a real random variable.
This is the MGF version of the sub-Gaussian ψ₂ scale used in this development:
K is admissible when X has Gaussian MGF control with variance proxy K².
For centered variables this scale is equivalent, up to universal constants, to
the Orlicz ψ₂ norm used in HDP.
Equations
- LeanPool.HasSubGaussianPsi2Bound X μ K = (0 < K ∧ ProbabilityTheory.HasSubgaussianMGF X ⟨K ^ 2, ⋯⟩ μ)
Instances For
The ψ₂ sub-Gaussian scale as the infimum of admissible MGF scales.
Equations
- LeanPool.subGaussianPsi2Norm X μ = sInf {K : ℝ | LeanPool.HasSubGaussianPsi2Bound X μ K}
Instances For
Finiteness of the ψ₂ scale: there is at least one admissible MGF scale.
Equations
- LeanPool.HasFiniteSubGaussianPsi2Norm X μ = ∃ (K : ℝ), LeanPool.HasSubGaussianPsi2Bound X μ K
Instances For
Maximum coordinate ψ₂ scale for a finite random vector. It is 0 for the
empty index type.
Equations
- LeanPool.maxSubGaussianPsi2Norm X μ = if h : Finset.univ.Nonempty then Finset.univ.sup' h fun (i : Fin n) => LeanPool.subGaussianPsi2Norm (X i) μ else 0
Instances For
Every polynomial moment of a globally sub-Gaussian random variable is integrable.
A sub-Gaussian random variable has integrable exponential tilts.
A sub-Gaussian real random variable is integrable.
A random variable satisfying the global sub-Gaussian MGF bound is centered.
A finite supremum of integrable real-valued functions is integrable.
A finite supremum of absolute values of integrable real-valued functions is integrable.
A finite supremum of a sub-Gaussian family is integrable.
A finite supremum of absolute values of a sub-Gaussian family is integrable.
A stochastic process {X_θ : θ ∈ A} indexed by a pseudo-metric space A is sub-Gaussian with parameter σ if each increment has the corresponding sub-Gaussian MGF certificate.
Equations
- LeanPool.IsSubGaussianProcess μ X σ = ∀ (s t : A), ProbabilityTheory.HasSubgaussianMGF (fun (ω : Ω) => X s ω - X t ω) ⟨σ ^ 2 * dist s t ^ 2, ⋯⟩ μ
Instances For
Basic properties of sub-Gaussian processes #
Swapping the two indices preserves the increment MGF certificate.
Exponential integrability of every sub-Gaussian process increment.
Numerical MGF bound for a sub-Gaussian process increment.
If σ ≤ σ', then σ-sub-Gaussian implies σ'-sub-Gaussian.
Tail bounds for sub-Gaussian processes #
The key result is that sub-Gaussian increments have exponentially decaying tails.
Chernoff bound: for any sub-Gaussian increment, P(X_s - X_t ≥ u) ≤ exp(-u²/(2σ²d(s,t)²)). This is the one-sided tail bound. Note: In a PseudoMetricSpace, we require dist s t > 0 explicitly (unlike MetricSpace where this follows from s ≠ t).
Two-sided tail bound for sub-Gaussian increments.
First moment bound for sub-Gaussian increments #
A random variable with MGF bounded by 1 for all λ is zero a.s.
Key lemma for the degenerate case of sub-Gaussian processes with zero variance proxy.
If Y = 0 a.e., then ∫|Y| = 0.
Integral of absolute value of sub-Gaussian increment with variance proxy 0.
Sub-Gaussian first moment bound: E[|X_s - X_t|] ≤ √(2π) · σ · d(s,t).
Proof sketch (via layer-cake formula):
- From
subGaussian_tail_bound: P(|X_s - X_t| ≥ r) ≤ 2·exp(-r²/(2σ²d(s,t)²)) - By layer-cake: E[|X_s - X_t|] = ∫₀^∞ P(|X_s - X_t| ≥ r) dr
- Computing: ∫₀^∞ 2·exp(-r²/(2τ²)) dr = τ·√(2π) where τ = σ·d(s,t)
- Therefore: E[|X_s - X_t|] ≤ √(2π) · σ · d(s,t)
Maximum over finite sets #
For Dudley's chaining argument, we need bounds on the expected maximum of a sub-Gaussian process over finite sets.
E[max_{t ∈ T} X_t] ≤ σ · diam(T) · √(2 log |T|) for centered sub-Gaussian processes.
Variant of subGaussian_finite_max_bound with diameter bound D and no fixed basepoint.
Every increment of a sub-Gaussian process has zero mean.