ProbabilityTheory.Kernel.HasSubexponentialMGF.add
From the authors
Sum of two (not necessarily independent) sub-exponential variables, by the Cauchy–Schwarz inequality.
-
Ω : Type u_1mΩ : MeasurableSpace ΩA measurable space is a space equipped with a σ-algebra. -
Ω' : Type u_2mΩ' : MeasurableSpace Ω'
-
ν : MeasureTheory.Measure Ω'A measure is defined to be an outer measure that is countably additive on measurable sets, with the additional assumption that the outer measure is the canonical extension of the restricted measure. -
κ : Kernel Ω' ΩA kernel from a measurable spaceαto another measurable spaceβis a measurable functionκ : α → Measure β. -
X : Ω → ℝ -
Y : Ω → ℝ -
VX : ℝ -
VY : ℝ -
bX : ℝ -
bY : ℝ
-
hX : HasSubexponentialMGF X VX bX κ νA random variableXhas a sub-exponential moment-generating function with parameters(V, b)with respect to a kernelκand a measureνif for everytwithb * |t| ≤ 1,exp (t * X)is int… -
hY : HasSubexponentialMGF Y VY bY κ ν
HasSubexponentialMGF (fun ω => X ω + Y ω) (2 * (VX + VY)) (2 * max bX bY) κ νMeasurableSpace : Type u_6 → Type u_6A measurable space is a space equipped with a σ-algebra.
MeasureTheory.Measure : (α : Type u_5) → [MeasurableSpace α] → Type u_5A measure is defined to be an outer measure that is countably additive on measurable sets, with the additional assumption that the outer measure is the canonical extension of the restricted measure. The measure of a set `s`, denoted `μ s`, is an extended nonnegative real. The real-valued version is written `μ.real s`.
ProbabilityTheory.Kernel : (α : Type u_1) → (β : Type u_2) → [MeasurableSpace α] → [MeasurableSpace β] → Type (max u_1 u_2)A kernel from a measurable space `α` to another measurable space `β` is a measurable function `κ : α → Measure β`. The measurable space structure on `MeasureTheory.Measure β` is given by `MeasureTheory.Measure.instMeasurableSpace`. A map `κ : α → MeasureTheory.Measure β` is measurable iff `∀ s : Set β, MeasurableSet s → Measurable (fun a ↦ κ a s)`.
Real : TypeThe type `ℝ` of real numbers constructed as equivalence classes of Cauchy sequences of rational numbers.
ProbabilityTheory.Kernel.HasSubexponentialMGF : {Ω : Type u_1} →
{Ω' : Type u_2} →
{mΩ : MeasurableSpace Ω} →
{mΩ' : MeasurableSpace Ω'} →
(Ω → ℝ) →
ℝ →
ℝ →
ProbabilityTheory.Kernel Ω' Ω →
autoParam (MeasureTheory.Measure Ω') ProbabilityTheory.Kernel.HasSubexponentialMGF._auto_1 → PropA random variable `X` has a sub-exponential moment-generating function with parameters `(V, b)` with respect to a kernel `κ` and a measure `ν` if for every `t` with `b * |t| ≤ 1`, `exp (t * X)` is integrable with respect to `κ ∘ₘ ν` and, for `ν`-almost all `ω'`, the moment-generating function of `X` with respect to `κ ω'` is bounded by `exp (V * t ^ 2 / 2)`. For `b = 0` this is `Kernel.HasSubgaussianMGF X V κ ν`.Go to its page
HAdd.hAdd : {α : Type u} → {β : Type v} → {γ : outParam (Type w)} → [self : HAdd α β γ] → α → β → γ`a + b` computes the sum of `a` and `b`. The meaning of this notation is type-dependent. Conventions for notations in identifiers: * The recommended spelling of `+` in identifiers is `add`.
HMul.hMul : {α : Type u} → {β : Type v} → {γ : outParam (Type w)} → [self : HMul α β γ] → α → β → γ`a * b` computes the product of `a` and `b`. The meaning of this notation is type-dependent. Conventions for notations in identifiers: * The recommended spelling of `*` in identifiers is `mul`.
Max.max : {α : Type u} → [self : Max α] → α → α → αReturns the greater of its two arguments. Conventions for notations in identifiers: * The recommended spelling of `max` in identifiers is `max`. * The recommended spelling of `⊔` in identifiers is `sup` (`⊔` is the preferred notation for `max` when the type is not linearly ordered.).
Code
lemma add {Y : Ω → ℝ} {VX VY bX bY : ℝ}
(hX : HasSubexponentialMGF X VX bX κ ν) (hY : HasSubexponentialMGF Y VY bY κ ν) :
HasSubexponentialMGF (fun ω ↦ X ω + Y ω) (2 * (VX + VY)) (2 * max bX bY) κ νProof
by have := hX.add_of_holderConjugate Real.HolderConjugate.two_two hY convert this using 1 · ring · rw [mul_max_of_nonneg _ _ zero_le_two]
Meaning last changed in v4.34.0-rc2-76-g565f652 (2026-09-10).
Self-contained, with its dependencies inlined and proofs replaced by sorry: download the raw file · open it in the Lean web editor.
Dependency graph
Audit surface: 1 project declarations, 65 external constants
✓ Proved: no sorry anywhere in its closure
This is the tool's own reading of one build's recorded axioms, and it is not robust against an author who wants it to pass. Checking meant to be relied on should go through Comparator, which replays the proof through the kernel from an export against an explicit list of permitted axioms.