NLA-lib Explorer

Matrix.IsHermitian.posSemidef_iff_forall_re_principalMinor_nonneg

Library · theorem

A Hermitian matrix is positive semidefinite exactly when all its principal minors are nonnegative: \operatorname{Re} \det \mathbf{A}_{s,s} \ge 0 for every set s of indices. Leading minors do not suffice. [HornJohnson2013, Theorem 7.2.5].

Matrix.IsHermitian.posSemidef_iff_forall_re_principalMinor_nonneg.{u_1, u_2} {𝕜 : Type u_1}
  [RCLike 𝕜] {n : Type u_2} [DecidableEq n] [Finite n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) :
  A.PosSemidef ↔ ∀ (s : Finset n), 0 ≤ RCLike.re (principalMinor A s)

Full source on GitHub

Import NLAlib.Matrix.Spectral.SylvesterCriterion.