NLA-lib Explorer

Standard Gaussian vectors

Library · Source module

Standard Gaussian vectors

NLAlib.gaussianVector n is the law of a vector in \mathbb{R}^n with independent standard Gaussian coordinates, the product Measure.pi fun _ => gaussianReal 0 1. It is an abbrev, so the product-law lemmas of NLAlib/Probability/Law.lean apply to it directly; rw with a lemma stated for one spelling does not fire on the other, so use simp only or exact across the two. Its image in EuclideanSpace ℝ n is Mathlib's stdGaussian (ProbabilityTheory.map_pi_eq_stdGaussian), and it is an IsGaussian measure, so Mathlib's HasGaussianLaw API applies.

This file proves, for a random variable with a centred Gaussian law, the interfaces and moments the probability layers use: the sub-Gaussian proxy, the second and fourth moments, isotropy of a standard Gaussian vector and the law of its linear forms. The laws are real; a complex Gaussian law will be a separate definition.

Main definitions

* NLAlib.gaussianVector n.

Main results

* NLAlib.hasSubgaussianMGF_of_hasLaw_gaussianReal: a centred Gaussian of variance \mathbf{v} has proxy \mathbf{v}. * NLAlib.integral_pow_four_of_hasLaw_gaussianReal: \mathbb{E}[X^4] = 3 \mathbf{v}^2. * NLAlib.isIsotropic_of_hasLaw_gaussianVector. * NLAlib.ae_dotProduct_ne_zero_of_hasLaw_gaussianVector: a unit linear form is almost surely nonzero. * NLAlib.hasLaw_dotProduct_of_hasLaw_gaussianVector: \langle \mathbf{u}, \mathbf{g} \rangle has law \mathcal{N}(0, \|\mathbf{u}\|^2). * NLAlib.hasGaussianLaw_dotProduct_of_hasLaw_gaussianVector, NLAlib.integral_dotProduct_sub_dotProduct_sq_of_hasLaw_gaussianVector: the canonical Gaussian process \mathbf{w} \mapsto \langle \mathbf{w}, \mathbf{g} \rangle is jointly Gaussian with increments \|\mathbf{w} - \mathbf{w}'\|^2. * NLAlib.hasLaw_comp_inl_gaussianVector, NLAlib.hasLaw_comp_inr_gaussianVector: the blocks of a standard Gaussian vector indexed by the sum type n ⊕ m. * NLAlib.lintegral_exp_mul_dotProduct_gaussianVector: \mathbb{E}_{\mathbf{g}}\, e^{s \langle \mathbf{u}, \mathbf{g} \rangle} = e^{s^2 \|\mathbf{u}\|^2 / 2}.

Declarations