NLA-lib Explorer

Matrix.PosSemidef.re_trace_eq_zero_iff

Library · theorem

A positive semidefinite matrix \mathbf{A} has \operatorname{Re} \operatorname{tr} \mathbf{A} = 0 exactly when \mathbf{A} = \mathbf{0}.

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

Full source on GitHub

Import NLAlib.ForMathlib.LinearAlgebra.Matrix.PosDef.