NLA-lib Explorer

IsStarProjection.frobNorm_sq_eq_add_mul_right

Library 路 theorem

Pythagoras on the right for an orthogonal projector \mathbf{P}: \|\mathbf{A}\|_{\mathsf{F}}^2 = \|\mathbf{A}\mathbf{P}\|_{\mathsf{F}}^2 + \|\mathbf{A}(\mathbf{I} - \mathbf{P})\|_{\mathsf{F}}^2, the conjugate transpose of IsStarProjection.frobNorm_sq_eq_add.

IsStarProjection.frobNorm_sq_eq_add_mul_right.{u_1, u_3, u_4} {饾暅 : Type u_1} [RCLike 饾暅]
  {m : Type u_3} {n : Type u_4} [Fintype m] [Fintype n] [DecidableEq n] {P : Matrix n n 饾暅}
  (hP : IsStarProjection P) (A : Matrix m n 饾暅) :
  frobNorm A ^ 2 = frobNorm (A * P) ^ 2 + frobNorm (A * (1 - P)) ^ 2

Full source on GitHub

Import NLAlib.Matrix.Norms.Projector.