Mathlib.Probability.SubGaussian
This directory provides deterministic Gaussian-tail estimates, finite-maximum tail and layer-cake bridges, and the resulting logarithmic expected-maximum envelope for finite ordered sub-Gaussian families with polynomiall
DyadicPartition 1 core · 0 supporting Every positive integer index at or above a starting index belongs to exactly one dyadic block. ★ dyadic_suffix_partition
Finite dyadic partition of an ordered suffix
Every positive integer index at or above a starting index belongs to exactly one dyadic block. The finite sum identity here isolates the index bookkeeping used by the Gaussian suffix estimate.
Given a finite index range, a starting index, the starting-index lower bound, and real weights on that range, the weighted suffix is exactly partitioned into dyadic blocks.
Formal statement
Proof (Lean source)
Envelope 1 core · 0 supporting An integrable one-dimensional majorant controls the sum of Gaussian tails with variance proxies capped at a² and decaying like b²(k+1)^(-α). ★ ordered_gaussian_tail_integral
Deterministic ordered Gaussian-tail envelope
An integrable one-dimensional majorant controls the sum of Gaussian tails with
variance proxies capped at a² and decaying like b²(k+1)^(-α).
For a decay exponent satisfying strict positivity, there is a positive constant depending only on the exponent such that, for every number of terms N and all positive cap scale a and initial scale b, the clipped tail sum min(1, Σ_{k<N} 2·exp(-t²/(2·min(a², b²(k+1)^(-α))))) is integrable in t over the positive half-line with integral at most the constant times a·√(1 + max(0, log((b/a)^(2/α)))).
Formal statement
Proof (Lean source)
LayerCake 1 core · 0 supporting This module converts a bound on the upper tails of a finite pointwise maximum into a bound on its expectation. ★ expected_max_le_tail_integral
Layer-cake bridge for finite absolute maxima
This module converts a bound on the upper tails of a finite pointwise maximum into a bound on its expectation. The exponential-moment hypothesis ensures integrability and almost-everywhere measurability of every coordinate.
On an underlying sample space with a probability measure, for a finite family size, a real-valued family, and a tail majorant, if every coordinate has all exponential moments, the majorant is integrable on the positive half-line, and it bounds every upper tail of the maximum, then the expected maximum is at most the integral of that majorant.
Formal statement
Proof (Lean source)
Main 1 core · 0 supporting The expected maximum of a finite ordered family is controlled by a logarithmic envelope when its sub-Gaussian variance proxies decay polynomially. ★ orderedSubGaussianMaximal
Ordered sub-Gaussian maximal envelope
The expected maximum of a finite ordered family is controlled by a logarithmic envelope when its sub-Gaussian variance proxies decay polynomially. The theorem applies to every finite family, including the empty family, without independence.
For a decay exponent with strictly positive value, there is a positive constant depending only on the exponent such that, on every probability space, for every finite family Z_0, …, Z_{N-1} of real random variables and all positive scales a and b, if every exp(t·Z_k) is integrable and the moment-generating function of Z_k at every t is at most exp(v_k·t²/2) with variance proxy v_k = min(a², b²(k+1)^(-α)), then the expected largest absolute value of the family is at most the constant times a·√(1 + max(0, log((b/a)^(2/α)))). No independence is assumed, and the maximum over an empty family is zero.
Formal statement
Proof (Lean source)
Prefix 1 core · 0 supporting The first deterministic ingredient controls the maximum of at most m sub-Gaussian coordinates sharing the same variance proxy. ★ clipped_gaussian_integral
Integral of a capped Gaussian union tail
The first deterministic ingredient controls the maximum of at most m
sub-Gaussian coordinates sharing the same variance proxy.
There is a universal positive constant such that, for every number of terms m ≥ 1 and every scale σ > 0, the clipped Gaussian union tail min(1, 2m·exp(-t²/(2σ²))) is integrable in t over the positive half-line with integral at most the constant times σ·√(1 + log m).
Formal statement
Proof (Lean source)
Series 1 core · 0 supporting This analytic lemma supplies a uniform bound on finite dyadic sums whose decay rate is determined by a positive real exponent. ★ weighted_dyadic_geometric_bound
Weighted geometric bound for ordered Gaussian tails
This analytic lemma supplies a uniform bound on finite dyadic sums whose decay rate is determined by a positive real exponent.
For a decay exponent satisfying strict positivity, one positive constant bounds, for every length J, the partial sum over j < J of (j+1)·r^j with ratio r = exp(-α·log 2/2) = 2^(-α/2).
Formal statement
Proof (Lean source)
Suffix 1 core · 0 supporting The second deterministic ingredient controls all coordinates beyond a given positive index when their variance proxies decay by a power of the index. ★ decaying_gaussian_suffix_integral
Integral of the polynomially decaying Gaussian suffix
The second deterministic ingredient controls all coordinates beyond a given positive index when their variance proxies decay by a power of the index.
For a decay exponent satisfying strict positivity, there is a positive constant depending only on the exponent such that, for every number of terms N, starting index m ≥ 1 and scale σ > 0, the clipped suffix sum min(1, Σ 2·exp(-t²/(2σ²(m/(k+1))^α))) over the indices k < N with k+1 ≥ m is integrable in t over the positive half-line with integral at most the constant times σ·√(1 + log m).
Formal statement
Proof (Lean source)
SuffixBlock 1 core · 0 supporting This module bounds the integrated Gaussian tails from the indices in one interval [L, 2 L). ★ gaussian_suffix_block_integral
One block of an ordered Gaussian suffix
This module bounds the integrated Gaussian tails from the indices in one
interval [L, 2 L). It is the local estimate used to sum the full suffix
over dyadic blocks.
For a decay exponent satisfying strict positivity, there is a positive constant such that, for every number of terms N, reference index m ≥ 1, block start L ≥ m and scale σ > 0, the clipped block sum min(1, Σ 2·exp(-t²/(2σ²(m/(k+1))^α))) over the indices k < N with L ≤ k+1 < 2L is integrable in t over the positive half-line with integral at most the constant times σ·(m/L)^(α/2)·√(1 + log L).
Formal statement
Proof (Lean source)
Tail 1 core · 0 supporting The tail of a finite pointwise maximum is bounded by the sum of the individual sub-Gaussian tails, with the probability bound clipped at one. ★ finite_max_tail_le
Finite maxima of sub-Gaussian random variables
The tail of a finite pointwise maximum is bounded by the sum of the individual sub-Gaussian tails, with the probability bound clipped at one. The result also covers an empty index set and makes no independence assumption.
On an underlying sample space with a probability measure, for a finite family size, real random variables, and positive variance proxies satisfying their positivity condition, if every coordinate has all exponential moments, each coordinate satisfies its sub-Gaussian moment bound, and the threshold and its nonnegativity, then the probability that the largest absolute coordinate exceeds the threshold is bounded by the clipped sum of two-sided Gaussian tails.