Gumbel distribution #
The Gumbel (Type I extreme value) distribution over ℝ, in the register of
Mathlib.Probability.Distributions.*: density → measure via withDensity →
CDF as a theorem. Application-agnostic — the random-utility reading lives in
Core/Probability/Choice/GumbelLuce.lean.
Main definitions #
gumbelPDFReal: the densityβ⁻¹ · exp(-(x-μ)/β) · exp(-exp(-(x-μ)/β))with locationμand scaleβ.gumbelPDF: the ℝ≥0∞-valued density.gumbelMeasure: the Gumbel measure,volume.withDensity (gumbelPDF μ β).
Main results #
cdf_gumbelMeasure_eq: the CDF isexp(-exp(-(x-μ)/β)).prod_cdf_gumbelMeasure: max-stability — the product of Gumbel CDFs with common scale is the Gumbel CDF at locationβ * log (∑ exp (uⱼ/β)).integral_gumbelPDFReal_mul_prod_cdf: the max-probability integral of a Gumbel random-utility family evaluates toexp(uᵢ/β) / ∑ⱼ exp(uⱼ/β).
Mathlib upstream candidates #
Mathlib has no Gumbel (or any extreme-value) distribution (verified 2026-08-01
against Mathlib.Probability.Distributions.*); this whole file follows the
Pareto.lean template and is an upstream candidate. integrableOn_gumbelPDFReal_Iic
inlines a reflection argument because mathlib has integrableOn_Ioi_deriv_of_nonneg'
but no Iic mirror — that general lemma is a separate small upstream candidate.
Density #
The pdf of the Gumbel distribution with location μ and scale β.
Equations
- Core.gumbelPDFReal μ β x = β⁻¹ * Real.exp (-((x - μ) / β)) * Real.exp (-Real.exp (-((x - μ) / β)))
Instances For
The pdf of the Gumbel distribution, as a function valued in ℝ≥0∞.
Equations
- Core.gumbelPDF μ β x = ENNReal.ofReal (Core.gumbelPDFReal μ β x)
Instances For
The Gumbel cdf exp (-exp (-(x - μ)/β)) is an antiderivative of the pdf.
The pdf of the Gumbel distribution integrates to 1.
Measure and CDF #
Measure defined by the Gumbel distribution.
Equations
- Core.gumbelMeasure μ β = MeasureTheory.volume.withDensity (Core.gumbelPDF μ β)
Instances For
The cdf of the Gumbel distribution is exp (-exp (-(x - μ)/β)).
Max-stability and the max-probability integral #
Max-stability of the Gumbel family: the product of independent Gumbel
CDFs with common scale β is Gumbel with scale β and location
β * log (∑ exp (uⱼ/β)).
The max-probability integral of a Gumbel random-utility family: the density
formula for the event that alternative i attains the maximum evaluates to
exp(uᵢ/β) / ∑ⱼ exp(uⱼ/β).