NLA-lib Explorer

Sylvester's law of inertia

Library ยท Result group

Theorem (Matrix.IsHermitian.inertiaNeg_conjTranspose_mul_mul). 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 Hermitian \mathbf{A} and invertible \mathbf{S}, writing i_- for inertiaNeg.

Headline (provisional)

Lean statement and details
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

Copy link

Other forms

Theorem (Matrix.IsHermitian.inertiaPos_conjTranspose_mul_mul). Sylvester's law of inertia, positive index: congruence by an invertible matrix preserves the number of positive eigenvalues, i_+(\mathbf{S}^{\mathsf{H}}\mathbf{A}\mathbf{S}) = i_+(\mathbf{A}) for Hermitian \mathbf{A} and invertible \mathbf{S}, writing i_+ for inertiaPos. [HornJohnson2013, Theorem 4.5.8].

Lean statement and details
Matrix.IsHermitian.inertiaPos_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) : inertiaPos (Sแดด * A * S) = inertiaPos A

Full source on GitHub

Copy link