Trace positivity: for positive semidefinite
ProvedRHLinalg.trace_mul_nonneg_of_posSemideflinear-algebrazeta23
Let be matrices over an RCLike field, both positive semidefinite.
Statement.
The proof diagonalizes : then , where each eigenvalue (PSD spectrum) and each diagonal entry (diagonal of a positive semidefinite matrix).
In the module Zeta23.LinAlg.RankTrace this standard fact is consumed by the rank–trace inequality RHLinalg.rank_trace_ineq, where cross terms of the form between a positive semidefinite matrix and the positive/negative parts of a Hermitian matrix must be discarded with the correct sign.
Preamble
import Mathlib.Algebra.Order.Rearrangement
import Mathlib.Analysis.Convex.Birkhoff
import Mathlib.Analysis.Matrix.PosDef
open Matrix Finset
open scoped ComplexOrder
variable {𝕜 : Type*} [RCLike 𝕜]
variable {n : Type*} [Fintype n] [DecidableEq n]
Formal statement
theorem RHLinalg.trace_mul_nonneg_of_posSemidef {A B : Matrix n n 𝕜}
(hA : A.PosSemidef) (hB : B.PosSemidef) :
0 ≤ RCLike.re (A * B).trace := by sorry
Source