NLA-lib Explorer

NLAlib.hasLaw_dotProduct_of_hasLaw_gaussianVector

Library · theorem

A linear form \langle \mathbf{u}, \mathbf{g} \rangle of a standard Gaussian vector \mathbf{g} is a centred Gaussian of variance \|\mathbf{u}\|^2.

NLAlib.hasLaw_dotProduct_of_hasLaw_gaussianVector.{u_1, u_2} {Ω : Type u_1} {mΩ : MeasurableSpace Ω}
  {μ : Measure Ω} {n : Type u_2} [Fintype n] {g : Ω → n → ℝ} (hg : HasLaw g (gaussianVector n) μ)
  (u : n → ℝ) : HasLaw (fun ω ↦ u ⬝ᵥ g ω) (gaussianReal 0 (‖WithLp.toLp 2 u‖₊ ^ 2)) μ

Full source on GitHub

Import NLAlib.Probability.Distributions.Gaussian.