NLA-lib Explorer

Matrix.IsHermitian.inertiaPos_fromBlocks_zero₁₂_zero₂₁

Library · theorem

The positive index of a block diagonal matrix \begin{\mathbf{b}matri\mathbf{x}} \mathbf{A} & \mathbf{0} \\ \mathbf{0} & \mathbf{C} \end{\mathbf{b}matri\mathbf{x}} with Hermitian blocks is the sum of those of the blocks.

Matrix.IsHermitian.inertiaPos_fromBlocks_zero₁₂_zero₂₁.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
  {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] {A : Matrix m m 𝕜} {C : Matrix n n 𝕜}
  (hA : A.IsHermitian) (hC : C.IsHermitian) :
  inertiaPos (fromBlocks A 0 0 C) = inertiaPos A + inertiaPos C

Full source on GitHub

Import NLAlib.Matrix.Spectral.InertiaElimination.