NLA-lib Explorer

NLAlib.integral_frobNorm_mul_mul_pow_four_of_hasLaw_gaussianMatrix

Library · theorem

Headline of gaussian-frob-fourth-moment

Fourth moment of a Gaussian sandwich. \mathbb{E}\|\mathbf{A}\mathbf{G}\mathbf{B}\|_{\mathsf{F}}^4 = (\|\mathbf{A}\|_{\mathsf{F}}^2\|\mathbf{B}\|_{\mathsf{F}}^2)^2 +2\|\mathbf{A}^{\mathsf{H}}\mathbf{A}\|_{\mathsf{F}}^2 \|\mathbf{B}\mathbf{B}^{\mathsf{H}}\|_{\mathsf{F}}^2\,. [Isserlis1918, fourth-order formula]; here its matrix contraction. Result: gaussian-frob-fourth-moment

NLAlib.integral_frobNorm_mul_mul_pow_four_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3, u_4, u_5}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {a : Type u_2} {b : Type u_3}
  {m : Type u_4} {n : Type u_5} [Fintype a] [Fintype b] [Fintype m] [Fintype n]
  {G : Ω → Matrix m n ℝ} (hG : HasLaw G (gaussianMatrix m n) μ) (A : Matrix a m ℝ)
  (B : Matrix n b ℝ) :
  ∫ (ω : Ω), frobNorm (A * G ω * B) ^ 4 ∂μ =
    (frobNorm A ^ 2 * frobNorm B ^ 2) ^ 2 + 2 * frobNorm (Aᴴ * A) ^ 2 * frobNorm (B * Bᴴ) ^ 2

Full source on GitHub

Import NLAlib.RandomMatrix.Gaussian.FourthMoment.