NLA-lib Explorer

NLAlib.hasLaw_mul_mul_of_hasLaw_gaussianMatrix

Library · theorem

Orthogonal invariance: for \mathbf{U} with orthonormal rows and \mathbf{V} with orthonormal columns, \mathbf{U}\mathbf{G}\mathbf{V} is a standard Gaussian matrix.

NLAlib.hasLaw_mul_mul_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3, u_4, u_5} {Ω : Type u_1}
  {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3} {p : Type u_4}
  {q : Type u_5} [Fintype m] [Fintype n] [Fintype p] [Fintype q] {X : Ω → Matrix m n ℝ}
  [DecidableEq p] [DecidableEq q] (hX : HasLaw X (gaussianMatrix m n) μ) {U : Matrix p m ℝ}
  (hU : HasOrthonormalCols Uᴴ) {V : Matrix n q ℝ} (hV : HasOrthonormalCols V) :
  HasLaw (fun ω ↦ U * X ω * V) (gaussianMatrix p q) μ

Full source on GitHub

Import NLAlib.RandomMatrix.Gaussian.Invariance.