NLA-lib Explorer

NLAlib.conjTranspose_mul_self_sqrt_card_div_smul_conjTranspose_mul

Library · theorem

The Gram matrix of a scaled conjugate transpose on \mathbf{U}: with \mathbf{S} = \sqrt{\lvert n \rvert / \lvert k \rvert} \, \mathbf{M}^{\mathsf{H}}, (\mathbf{S}\mathbf{U})^{\mathsf{H}} (\mathbf{S}\mathbf{U}) = (\lvert n \rvert / \lvert k \rvert) \, \mathbf{U}^{\mathsf{H}} (\mathbf{M}\mathbf{M}^{\mathsf{H}}) \mathbf{U}. The Gram matrix of the Haar sketch, for any \mathbf{M} in place of the frame (NLAlib.Sketching.Gaussian.Haar).

NLAlib.conjTranspose_mul_self_sqrt_card_div_smul_conjTranspose_mul.{u_1, u_3, u_4, u_5}
  {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3} {k : Type u_4} {p : Type u_5} [Fintype k] [Fintype n]
  (M : Matrix n k 𝕜) (U : Matrix n p 𝕜) :
  (√(↑(Fintype.card n) / ↑(Fintype.card k)) • Mᴴ * U)ᴴ *
      (√(↑(Fintype.card n) / ↑(Fintype.card k)) • Mᴴ * U) =
    (↑(Fintype.card n) / ↑(Fintype.card k)) • (Uᴴ * (M * Mᴴ) * U)

Full source on GitHub

Import NLAlib.Matrix.Basic.Gram.