Exponential distribution
LemmaExponential density as an indicator on the half-line#✓fully proved
The rate-r exponential density times f, as an indicator on Ici 0.
lemma gammaPDFReal_one_eq_indicator {r : ℝ} (f : ℝ → ℝ) :
(fun x => gammaPDFReal 1 r x * f x)
= (Ici (0 : ℝ)).indicator (fun x => r * exp (-(r * x)) * f x)
TheoremIntegrals against the exponential law#✓fully proved
Integrals against the exponential law of rate r > 0 are integrals of
r * exp (-(r * x)) * f x over (0, ∞).
theorem integral_expMeasure_eq_setIntegral {r : ℝ} (hr : 0 < r) (f : ℝ → ℝ) :
∫ x, f x ∂(expMeasure r) = ∫ x in Ioi 0, r * exp (-(r * x)) * f x
Uses 1 · Used by 3
TheoremIntegrability criterion for the exponential law#✓fully proved
A function is integrable against the exponential law of rate r > 0 iff
r * exp (-(r * x)) * f x is integrable on (0, ∞).
theorem integrable_expMeasure_iff {r : ℝ} (hr : 0 < r) {f : ℝ → ℝ} :
Integrable f (expMeasure r)
↔ IntegrableOn (fun x => r * exp (-(r * x)) * f x) (Ioi 0)
Uses 1 · Used by 2
LemmaPower times exponential density in gamma-integrand form#✓fully proved
Rewriting x ^ n times the exponential density in the gamma-integrand form.
lemma pow_eq_rpow_mul_exp (r x : ℝ) (n : ℕ) :
r * exp (-(r * x)) * x ^ n = r * (x ^ (((n + 1 : ℕ) : ℝ) - 1) * exp (-(r * x)))
Used by 2
TheoremFiniteness of all moments of the exponential law#✓fully proved
All moments of the exponential law are finite.
theorem integrable_pow_expMeasure {r : ℝ} (hr : 0 < r) (n : ℕ) :
Integrable (fun x => x ^ n) (expMeasure r)
Uses 3 · Used by 9
π and S · Pair coalescence time against the total branch length · Variance of the mean number of pairwise differences · Variance of the total branch length · Integrability of the identity under the exponential law · Variance of the exponential law · Product moment of two hitting times, first-step equation · Minimality of the product momentTheoremMoments of the exponential law#✓fully proved
The n-th moment of the exponential law of rate r > 0 is n! / r ^ n.
theorem integral_pow_expMeasure {r : ℝ} (hr : 0 < r) (n : ℕ) :
∫ x, x ^ n ∂(expMeasure r) = n ! / r ^ n
Uses 2 · Used by 2
TheoremIntegrability of the identity under the exponential law#✓fully proved
The identity is integrable against the exponential law.
theorem integrable_id_expMeasure {r : ℝ} (hr : 0 < r) : Integrable id (expMeasure r)
Uses 1 · Used by 6
TheoremMean of the exponential law#✓fully proved
The mean of the exponential law of rate r > 0 is r⁻¹.
theorem integral_id_expMeasure {r : ℝ} (hr : 0 < r) : ∫ x, x ∂(expMeasure r) = r⁻¹
Uses 1 · Used by 7
TheoremSecond moment of the exponential law#✓fully proved
The second moment of the exponential law of rate r > 0 is 2 / r ^ 2.
theorem integral_sq_expMeasure {r : ℝ} (hr : 0 < r) :
∫ x, x ^ 2 ∂(expMeasure r) = 2 / r ^ 2
Uses 1 · Used by 3
TheoremVariance of the exponential law#✓fully proved
The variance of the exponential law of rate r > 0 is r⁻¹ ^ 2.
theorem variance_id_expMeasure {r : ℝ} (hr : 0 < r) : Var[id; expMeasure r] = r⁻¹ ^ 2
Uses 3 · Used by 1
TheoremExponentially distributed random variables are integrable#✓fully proved
A random variable with exponential law of rate r > 0 is integrable.
theorem HasLaw.integrable_of_expMeasure (hX : HasLaw X (expMeasure r) μ) (hr : 0 < r) :
Integrable X μ
Uses 1 · Used by 3
TheoremMean of an exponentially distributed random variable#✓fully proved
A random variable with exponential law of rate r > 0 has mean r⁻¹.
theorem HasLaw.integral_eq_inv_of_expMeasure (hX : HasLaw X (expMeasure r) μ) (hr : 0 < r) :
μ[X] = r⁻¹
TheoremVariance of an exponentially distributed random variable#✓fully proved
A random variable with exponential law of rate r > 0 has variance r⁻¹ ^ 2.
theorem HasLaw.variance_eq_of_expMeasure (hX : HasLaw X (expMeasure r) μ) (hr : 0 < r) :
Var[X; μ] = r⁻¹ ^ 2
Uses 1 · Used by 7
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.