NLA-lib Explorer

Matrix.IsHermitian.inertiaNeg_sub_smul_one

Library · theorem

The negative index of \mathbf{A} - \mathbf{x}\mathbf{I} counts the eigenvalues of the Hermitian \mathbf{A} below \mathbf{x}: it is the number of i < \lvert n \rvert with \lambda_i(\mathbf{A}) < \mathbf{x}.

Matrix.IsHermitian.inertiaNeg_sub_smul_one.{u_1, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3}
  [Fintype n] [DecidableEq n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) (x : ℝ) :
  inertiaNeg (A - x • 1) = {i ∈ Finset.range (Fintype.card n) | eigenvalue A i < x}.card

Full source on GitHub

Import NLAlib.Matrix.Spectral.InertiaElimination.