1.32. ForMathlib.Probability.Moments.SubExponential
From the authors
Sub-exponential random variables
A real random variable X has a sub-exponential moment generating function (mgf) with parameters
(V, b) if for every t with b * |t| ≤ 1, exp (t * X) is integrable and
mgf X μ t ≤ exp (V * t ^ 2 / 2). The range of t is written as b * |t| ≤ 1 (rather than
|t| ≤ 1 / b) so that b = 0 imposes no restriction on t: the case b = 0 is exactly
HasSubgaussianMGF (see Mathlib/Probability/Moments/SubGaussian.lean, whose structure
this file follows).
As for sub-Gaussian variables, the notion is first defined with respect to a kernel and a
measure (Kernel.HasSubexponentialMGF), then specialized to conditionally sub-exponential
variables (HasCondSubexponentialMGF, the kernel being the conditional expectation kernel of a
sub-σ-algebra) and to sub-exponential variables with respect to a measure
(HasSubexponentialMGF, a constant kernel).
Main definitions
-
Kernel.HasSubexponentialMGF X V b κ ν: for everytwithb * |t| ≤ 1,exp (t * X)is integrable with respect toκ ∘ₘ νand, forν-almost everyω',mgf X (κ ω') t ≤ exp (V * t ^ 2 / 2). -
HasCondSubexponentialMGF m hm X V b μ:Kernel.HasSubexponentialMGFwith respect to the conditional expectation kernelcondExpKernel μ mand the measureμ.trim hm. -
HasSubexponentialMGF X V b μ: for everytwithb * |t| ≤ 1,exp (t * X)isμ-integrable andmgf X μ t ≤ exp (V * t ^ 2 / 2). This is equivalent toKernel.HasSubexponentialMGFwith a constant kernel (hasSubexponentialMGF_iff_kernel).
Main results
-
HasSubexponentialMGF.integral_eq_zero: a sub-exponential variable is integrable and centered. -
HasSubexponentialMGF.const_mul,neg,mono,add,add_of_indepFun,sum_of_iIndepFun: stability under scaling, sums, and independent sums. -
HasSubexponentialMGF.measure_ge_le,measure_le_le,measure_abs_ge_le: Bernstein-type tail boundsexp (-min (t ^ 2 / (2 * V)) (t / (2 * b))). -
HasSubexponentialMGF.measure_sum_ge_le_of_iIndepFun,measure_abs_average_ge_le: Bernstein's inequality for sums and averages of independent sub-exponential variables. -
hasSubexponentialMGF_of_abs_le_of_integral_eq_zero: a centered variable bounded byMwith second moment at mostvhas parameters(3 * v / 2, M). -
HasSubexponentialMGF.sum_of_hasCondSubexponentialMGFandmeasure_sum_ge_le_of_hasCondSubexponentialMGF: a sum of conditionally sub-exponential martingale differences is sub-exponential, and the corresponding Azuma–Bernstein inequality.
Implementation notes
The parameters V and b are real numbers rather than ℝ≥0, which avoids coercions in the
arithmetic of the applications. The Bernstein-type tail bounds do not assume 0 < V or 0 < b:
when V ≤ 0 or b ≤ 0, the right-hand side exp (-min (t ^ 2 / (2 * V)) (t / (2 * b))) is at
least 1 (with the convention x / 0 = 0) and the bound holds trivially.
As in Kernel.HasSubgaussianMGF, the integrability condition of the kernel version is
integrability with respect to κ ∘ₘ ν, not almost-everywhere integrability with respect to
κ ω'.
Sub-exponential with respect to a kernel and a measure
Conditionally sub-exponential moment-generating function
Sub-exponential moment-generating function
Module LeanMachineLearning.ForMathlib.Probability.Moments.SubExponential contains 107 exposed declarations.
-
ProbabilityTheory.Kernel.HasSubexponentialMGF -
ProbabilityTheory.Kernel.HasSubexponentialMGF.aestronglyMeasurable -
ProbabilityTheory.Kernel.HasSubexponentialMGF.ae_integrable_exp_mul -
ProbabilityTheory.Kernel.HasSubexponentialMGF.ae_aestronglyMeasurable -
ProbabilityTheory.Kernel.HasSubexponentialMGF.ae_forall_integrable_exp_mul_of_forall -
ProbabilityTheory.Kernel.HasSubexponentialMGF.ae_forall_integrable_exp_mul -
ProbabilityTheory.Kernel.HasSubexponentialMGF.ae_forall_memLp_exp_mul -
ProbabilityTheory.Kernel.HasSubexponentialMGF.memLp_exp_mul -
ProbabilityTheory.Kernel.HasSubexponentialMGF.cgf_le -
ProbabilityTheory.Kernel.HasSubexponentialMGF.isFiniteMeasure -
ProbabilityTheory.Kernel.HasSubexponentialMGF.measure_univ_le_one -
ProbabilityTheory.Kernel.HasSubexponentialMGF.measure_le_one -
ProbabilityTheory.Kernel.HasSubexponentialMGF.measureReal_le_one -
ProbabilityTheory.Kernel.HasSubexponentialMGF.of_ae_mgf_le -
ProbabilityTheory.Kernel.HasSubexponentialMGF.fun_zero -
ProbabilityTheory.Kernel.HasSubexponentialMGF.zero -
ProbabilityTheory.Kernel.HasSubexponentialMGF.zero_kernel -
ProbabilityTheory.Kernel.HasSubexponentialMGF.zero_measure -
ProbabilityTheory.Kernel.HasSubexponentialMGF.fun_neg -
ProbabilityTheory.Kernel.HasSubexponentialMGF.neg -
ProbabilityTheory.Kernel.HasSubexponentialMGF.mono -
ProbabilityTheory.Kernel.HasSubgaussianMGF.hasSubexponentialMGF -
ProbabilityTheory.Kernel.HasSubexponentialMGF.hasSubgaussianMGF -
ProbabilityTheory.Kernel.HasSubexponentialMGF.congr -
ProbabilityTheory.Kernel.hasSubexponentialMGF_congr -
ProbabilityTheory.Kernel.HasSubexponentialMGF.of_map -
ProbabilityTheory.Kernel.HasSubexponentialMGF.id_map_iff -
ProbabilityTheory.Kernel.HasSubexponentialMGF.const_mul -
ProbabilityTheory.Kernel.HasSubexponentialMGF.measure_ge_le_exp_add -
ProbabilityTheory.Kernel.HasSubexponentialMGF.measure_ge_le_exp_neg_sq -
ProbabilityTheory.Kernel.HasSubexponentialMGF.measure_ge_le_exp_neg_div -
ProbabilityTheory.Kernel.HasSubexponentialMGF.measure_ge_le -
ProbabilityTheory.Kernel.HasSubexponentialMGF.measure_le_le -
ProbabilityTheory.Kernel.HasSubexponentialMGF.measure_abs_ge_le -
ProbabilityTheory.Kernel.HasSubexponentialMGF.add_of_holderConjugate -
ProbabilityTheory.Kernel.HasSubexponentialMGF.add -
ProbabilityTheory.Kernel.HasSubexponentialMGF.prodMkLeft_compProd -
ProbabilityTheory.Kernel.HasSubexponentialMGF.integrable_exp_add_compProd -
ProbabilityTheory.Kernel.HasSubexponentialMGF.add_compProd -
ProbabilityTheory.Kernel.HasSubexponentialMGF.add_comp -
ProbabilityTheory.HasCondSubexponentialMGF -
ProbabilityTheory.HasCondSubexponentialMGF.mgf_le -
ProbabilityTheory.HasCondSubexponentialMGF.cgf_le -
ProbabilityTheory.HasCondSubexponentialMGF.ae_trim_condExp_le -
ProbabilityTheory.HasCondSubexponentialMGF.ae_condExp_le -
ProbabilityTheory.HasCondSubexponentialMGF.fun_zero -
ProbabilityTheory.HasCondSubexponentialMGF.zero -
ProbabilityTheory.HasCondSubexponentialMGF.memLp_exp_mul -
ProbabilityTheory.HasCondSubexponentialMGF.integrable_exp_mul -
ProbabilityTheory.HasCondSubgaussianMGF.hasCondSubexponentialMGF -
ProbabilityTheory.HasCondSubexponentialMGF.hasCondSubgaussianMGF -
ProbabilityTheory.HasSubexponentialMGF -
ProbabilityTheory.hasSubexponentialMGF_iff_kernel -
ProbabilityTheory.Kernel.HasSubexponentialMGF.ae_hasSubexponentialMGF -
ProbabilityTheory.HasSubgaussianMGF.hasSubexponentialMGF -
ProbabilityTheory.HasSubexponentialMGF.hasSubgaussianMGF -
ProbabilityTheory.HasSubexponentialMGF.mono -
ProbabilityTheory.HasSubexponentialMGF.aestronglyMeasurable -
ProbabilityTheory.HasSubexponentialMGF.isFiniteMeasure -
ProbabilityTheory.HasSubexponentialMGF.congr -
ProbabilityTheory.HasSubexponentialMGF.memLp_exp_mul -
ProbabilityTheory.HasSubexponentialMGF.cgf_le -
ProbabilityTheory.HasSubexponentialMGF.fun_zero -
ProbabilityTheory.HasSubexponentialMGF.zero -
ProbabilityTheory.HasSubexponentialMGF.fun_neg -
ProbabilityTheory.HasSubexponentialMGF.neg -
ProbabilityTheory.HasSubexponentialMGF.of_map -
ProbabilityTheory.HasSubexponentialMGF.map_iff -
ProbabilityTheory.HasSubexponentialMGF.id_map_iff -
ProbabilityTheory.HasSubexponentialMGF.congr_identDistrib -
ProbabilityTheory.HasSubexponentialMGF.trim -
ProbabilityTheory.HasSubexponentialMGF.const_mul -
ProbabilityTheory.HasSubexponentialMGF.zero_mem_interior_integrableExpSet -
ProbabilityTheory.HasSubexponentialMGF.aemeasurable -
ProbabilityTheory.HasSubexponentialMGF.integrable -
ProbabilityTheory.HasSubexponentialMGF.memLp -
ProbabilityTheory.HasSubexponentialMGF.integrable_pow -
ProbabilityTheory.HasSubexponentialMGF.integral_eq_zero -
ProbabilityTheory.HasSubexponentialMGF.ae_eq_zero_of_hasSubexponentialMGF_zero -
ProbabilityTheory.HasSubexponentialMGF.measure_ge_le_exp_neg_sq -
ProbabilityTheory.HasSubexponentialMGF.measure_ge_le_exp_neg_div -
ProbabilityTheory.HasSubexponentialMGF.measure_ge_le -
ProbabilityTheory.HasSubexponentialMGF.measure_le_le -
ProbabilityTheory.HasSubexponentialMGF.measure_abs_ge_le -
ProbabilityTheory.HasSubexponentialMGF.measure_abs_gt_le -
ProbabilityTheory.HasSubexponentialMGF.add_of_holderConjugate -
ProbabilityTheory.HasSubexponentialMGF.add -
ProbabilityTheory.HasSubexponentialMGF.add_of_indepFun -
ProbabilityTheory.HasSubexponentialMGF.sub_of_indepFun -
ProbabilityTheory.HasSubexponentialMGF.sum_of_iIndepFun -
ProbabilityTheory.HasSubexponentialMGF.fun_sum_of_iIndepFun -
ProbabilityTheory.HasSubexponentialMGF.measure_sum_ge_le_of_iIndepFun -
ProbabilityTheory.HasSubexponentialMGF.measure_sum_le_le_of_iIndepFun -
ProbabilityTheory.HasSubexponentialMGF.measure_sum_range_ge_le_of_iIndepFun -
ProbabilityTheory.HasSubexponentialMGF.measure_sum_range_le_le_of_iIndepFun -
ProbabilityTheory.HasSubexponentialMGF.average_of_iIndepFun -
ProbabilityTheory.HasSubexponentialMGF.measure_abs_average_ge_le -
ProbabilityTheory.HasSubexponentialMGF.measure_abs_average_ge_le_of_forall -
ProbabilityTheory.HasSubexponentialMGF.measureReal_le_le_exp -
ProbabilityTheory.Kernel.HasSubexponentialMGF.ae_integral_eq_zero -
ProbabilityTheory.Kernel.HasSubexponentialMGF.ae_eq_zero_of_hasSubexponentialMGF_zero -
ProbabilityTheory.exp_le_one_add_add_of_abs_le_one -
ProbabilityTheory.hasSubexponentialMGF_of_abs_le_of_integral_eq_zero -
ProbabilityTheory.hasSubexponentialMGF_sub_integral_of_abs_le -
ProbabilityTheory.HasSubexponentialMGF.add_of_hasCondSubexponentialMGF -
ProbabilityTheory.HasSubexponentialMGF.sum_of_hasCondSubexponentialMGF -
ProbabilityTheory.measure_sum_ge_le_of_hasCondSubexponentialMGF