NLA-lib Explorer

NLAlib.HasOrthonormalCols.frobNorm_sub_mul_sq_eq_add

Library · theorem

The head–tail split of a projection residual for a frame \mathbf{Z} and any \mathbf{P}: with \mathbf{E} = \mathbf{A} - \mathbf{A}\mathbf{Z}\mathbf{Z}^{\mathsf{H}}, \|\mathbf{A} - \mathbf{P}\mathbf{A}\|_{\mathsf{F}}^2 = \|\mathbf{A}\mathbf{Z} - \mathbf{P}\mathbf{A}\mathbf{Z}\|_{\mathsf{F}}^2 + \|\mathbf{E} - \mathbf{P}\mathbf{E}\|_{\mathsf{F}}^2\,; IsStarProjection.frobNorm_sq_eq_add at \mathbf{Z}\mathbf{Z}^{\mathsf{H}}, transposed.

NLAlib.HasOrthonormalCols.frobNorm_sub_mul_sq_eq_add.{u_1, u_3, u_4, u_5} {𝕜 : Type u_1} [RCLike 𝕜]
  {m : Type u_3} {n : Type u_4} {p : Type u_5} [Fintype m] [Fintype n] [Fintype p] [DecidableEq p]
  {Z : Matrix n p 𝕜} (hZ : HasOrthonormalCols Z) (A : Matrix m n 𝕜) (P : Matrix m m 𝕜) :
  frobNorm (A - P * A) ^ 2 =
    frobNorm (A * Z - P * (A * Z)) ^ 2 + frobNorm (A - A * Z * Zᴴ - P * (A - A * Z * Zᴴ)) ^ 2

Full source on GitHub

Import NLAlib.Matrix.Norms.Projector.