NLA-lib Explorer

NLAlib.HasOrthonormalCols.mul_conjTranspose_add_mul_conjTranspose

Library · theorem

If \begin{\mathbf{b}matri\mathbf{x}} \mathbf{Q} & \mathbf{Q}' \end{\mathbf{b}matri\mathbf{x}} has orthonormal columns and is square up to relabelling (\lvert n \rvert + \lvert p \rvert = \lvert m \rvert), the two projectors are complementary: \mathbf{Q}\mathbf{Q}^{\mathsf{H}} + \mathbf{Q}'\mathbf{Q}'^{\mathsf{H}} = \mathbf{I}.

NLAlib.HasOrthonormalCols.mul_conjTranspose_add_mul_conjTranspose.{u_1, u_2, u_3, u_4}
  {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} {n : Type u_3} {p : Type u_4} [Fintype m] [Fintype n]
  [Fintype p] [DecidableEq m] [DecidableEq n] [DecidableEq p] {Q : Matrix m n 𝕜} {Q' : Matrix m p 𝕜}
  (hQ : HasOrthonormalCols (Q.fromCols Q')) (h : Fintype.card n + Fintype.card p = Fintype.card m) :
  Q * Qᴴ + Q' * Q'ᴴ = 1

Full source on GitHub

Import NLAlib.Matrix.Basic.OrthonormalBasis.