NLA-lib Explorer

Matrix.IsHermitian.coe_re_trace

Library · theorem

The trace of a Hermitian matrix is real: it is the coercion of its real part, \operatorname{Re} \operatorname{tr} \mathbf{A} = \operatorname{tr} \mathbf{A} in \Bbbk.

Matrix.IsHermitian.coe_re_trace.{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) = A.trace

Full source on GitHub

Import NLAlib.ForMathlib.LinearAlgebra.Matrix.PosDef.