NLA-lib Explorer

Matrix.PosSemidef.re_trace_nonneg

Library · theorem

The real part of the trace of a positive semidefinite matrix is nonnegative: 0 \le \operatorname{Re} \operatorname{tr} \mathbf{A}.

Matrix.PosSemidef.re_trace_nonneg.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n]
  {A : Matrix n n 𝕜} (hA : A.PosSemidef) : 0 ≤ RCLike.re A.trace

Full source on GitHub

Import NLAlib.ForMathlib.LinearAlgebra.Matrix.PosDef.