NLA-lib Explorer

Matrix.IsHermitian.inertiaNeg_conjTranspose_mul_mul

Library · theorem

Headline of sylvester-inertia (provisional)

Sylvester's law of inertia, negative index: congruence by an invertible matrix preserves the number of negative eigenvalues, i_-(\mathbf{S}^{\mathsf{H}}\mathbf{A}\mathbf{S}) = i_-(\mathbf{A}) for \mathbf{H}ermitian \mathbf{A} and in\mathbf{v}erti\mathbf{b}le \mathbf{S}, writing i_- for inertiaNeg. Result: sylvester-inertia

Matrix.IsHermitian.inertiaNeg_conjTranspose_mul_mul.{u_1, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
  {n : Type u_3} [Fintype n] [DecidableEq n] {A : Matrix n n 𝕜} (hA : A.IsHermitian)
  {S : Matrix n n 𝕜} (hS : IsUnit S.det) : inertiaNeg (Sᴴ * A * S) = inertiaNeg A

Full source on GitHub

Import NLAlib.Matrix.Spectral.Inertia.