NLAlib.lintegral_exp_mul_dotProduct_gaussianVector
Library · theorem
The moment generating function of a linear form of a standard Gaussian vector, as a lower integral: for a standard Gaussian vector \mathbf{g} and real s, \mathbb{E}_{\mathbf{g}}\, e^{s \langle \mathbf{u}, \mathbf{g} \rangle} = e^{s^2 \|\mathbf{u}\|^2 / 2}. With s = \sqrt{2\theta} it linearises a square, e^{\theta \|\mathbf{x}\|^2} = \mathbb{E}_{\mathbf{g}}\, e^{\sqrt{2\theta} \langle \mathbf{x}, \mathbf{g} \rangle}, the step behind the squared-norm bounds for sub-Gaussian vectors and the Hanson–Wright inequality.
NLAlib.lintegral_exp_mul_dotProduct_gaussianVector.{u_2} {n : Type u_2} [Fintype n] (s : ℝ)
(u : n → ℝ) :
∫⁻ (g : n → ℝ), ENNReal.ofReal (rexp (s * u ⬝ᵥ g)) ∂gaussianVector n =
ENNReal.ofReal (rexp (s ^ 2 / 2 * ‖WithLp.toLp 2 u‖ ^ 2))Import NLAlib.Probability.Distributions.Gaussian.