NLA-lib Explorer

Matrix.IsHermitian.posSemidef_iff_inertiaNeg_eq_zero

Library · theorem

A Hermitian matrix is positive semidefinite exactly when its negative index vanishes.

Matrix.IsHermitian.posSemidef_iff_inertiaNeg_eq_zero.{u_1, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
  {n : Type u_3} [Fintype n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) :
  A.PosSemidef ↔ inertiaNeg A = 0

Full source on GitHub

Import NLAlib.Matrix.Spectral.Inertia.