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