NLA-lib Explorer

NLAlib.frobNorm_add_sq_of_frobInner_eq_zero

Library 路 theorem

Pythagoras in the Frobenius norm: if \langle \mathbf{A}, \mathbf{B} \rangle_{\mathsf{F}} = 0 then \|\mathbf{A} + \mathbf{B}\|_{\mathsf{F}}^2 = \|\mathbf{A}\|_{\mathsf{F}}^2 + \|\mathbf{B}\|_{\mathsf{F}}^2. [HornJohnson2013, 搂5.1] (locator to check).

NLAlib.frobNorm_add_sq_of_frobInner_eq_zero.{u_1, u_3, u_4} {饾暅 : Type u_1} [RCLike 饾暅] {m : Type u_3}
  {n : Type u_4} [Fintype m] [Fintype n] {A B : Matrix m n 饾暅} (h : frobInner A B = 0) :
  frobNorm (A + B) ^ 2 = frobNorm A ^ 2 + frobNorm B ^ 2

Full source on GitHub

Import NLAlib.Matrix.Norms.Frobenius.