NLA-lib Explorer

Matrix.PosSemidef.re_trace_pow_nonneg

Library · theorem

The trace of a power of a positive semidefinite matrix is nonnegative: \operatorname{Re} \operatorname{tr} \mathbf{A}^r \ge 0.

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

Full source on GitHub

Import NLAlib.Matrix.Functions.TracePowers.