NLA-lib Explorer

Matrix.IsHermitian.sum_norm_apply_sq_eq_re_mul_self_apply

Library Ā· theorem

The squared moduli of a row of a Hermitian matrix sum to the real diagonal entry of its square.

Matrix.IsHermitian.sum_norm_apply_sq_eq_re_mul_self_apply.{u_1, u_2} {š•œ : Type u_1} [RCLike š•œ]
  {n : Type u_2} [Fintype n] {A : Matrix n n š•œ} (hA : A.IsHermitian) (i : n) :
  āˆ‘ j, ‖A i j‖ ^ 2 = RCLike.re ((A * A) i i)

Full source on GitHub

Import NLAlib.Matrix.Norms.Frobenius.