If are i.i.d. then is exponential with rate
ProvedMathlibGap.gaussianReal_prod_map_sq_add_sqgaussianprobability
Let and let be independent real Gaussian random variables with mean and variance . Then has the exponential distribution with rate :
for every Borel set .
Equivalently, the squared modulus of a circular complex Gaussian with is exponential with mean . This is the classical fact behind Rayleigh's law for speckle intensities, and it is the distributional core of eq. (1) of Schomerus, van Bemmel and Beenakker.
Formalization Note The law of is (gaussianReal 0 v).prod (gaussianReal 0 v) and the statement is an equality of measures on , with the density written via withDensity.
Preamble
import Mathlib open MeasureTheory ProbabilityTheory
Formal statement
namespace MathlibGap
theorem gaussianReal_prod_map_sq_add_sq (v : NNReal) (hv : v ≠ 0) :
((gaussianReal 0 v).prod (gaussianReal 0 v)).map (fun p : ℝ × ℝ => p.1 ^ 2 + p.2 ^ 2) =
(volume : Measure ℝ).withDensity (fun x => ENNReal.ofReal
(if 0 < x then (2 * (v : ℝ))⁻¹ * Real.exp (-(2 * (v : ℝ))⁻¹ * x) else 0)) := by sorry
end MathlibGapSource
H. Schomerus, K. J. H. van Bemmel, C. W. J. Beenakker, Coherent backscattering effect on wave dynamics in a random medium, arXiv:cond-mat/0004049v1 (2000), https://arxiv.org/abs/cond-mat/0004049, p. 1, eq. (1) (Rayleigh's law); classical result for the chi-squared distribution with two degrees of freedom