Matrix.IsHermitian.re_trace_eq_sum_range_eigenvalue
Library ยท theorem
The real part of the trace of a Hermitian matrix is the sum of its eigenvalues: \operatorname{Re} \operatorname{tr} \mathbf{A} = \sum_{k < \lvert n \rvert} \lambda_k(\mathbf{A}).
Matrix.IsHermitian.re_trace_eq_sum_range_eigenvalue.{u_1, u_2} {๐ : Type u_1} [RCLike ๐]
{n : Type u_2} [Fintype n] {A : Matrix n n ๐} (hA : A.IsHermitian) :
RCLike.re A.trace = โ k โ Finset.range (Fintype.card n), eigenvalue A kImport NLAlib.Matrix.Spectral.EigenvalueTransform.