NLA-lib Explorer

Matrix.IsHermitian.posSemidef_of_forall_re_principalMinor_Iio_pos

Library · theorem

A Hermitian matrix with positive proper leading principal minors and nonnegative determinant is positive semidefinite: if \operatorname{Re} \det \mathbf{A}_{s,s} > 0 for every s = \{j : j < i\} and \operatorname{Re} \det \mathbf{A} \ge 0, then \mathbf{A} is positive semidefinite.

Matrix.IsHermitian.posSemidef_of_forall_re_principalMinor_Iio_pos.{u_1, u_2} {𝕜 : Type u_1}
  [RCLike 𝕜] {n : Type u_2} [DecidableEq n] [Fintype n] [LinearOrder n] [LocallyFiniteOrderBot n]
  {A : Matrix n n 𝕜} (hA : A.IsHermitian)
  (h : ∀ (i : n), 0 < RCLike.re (principalMinor A (Finset.Iio i))) (hdet : 0 ≤ RCLike.re A.det) :
  A.PosSemidef

Full source on GitHub

Import NLAlib.Matrix.Spectral.SylvesterCriterion.