NLA-lib Explorer

Matrix.PosDef.exists_eq_mul_conjTranspose_and_eq_mul_diagonal_mul_conjTranspose

Library · theorem

Headline of definite-pair

Simultaneous diagonalisation of a definite pair. For \mathbf{A} positive definite and \mathbf{B} Hermitian there are an invertible \mathbf{S} and a real \mathbf{d} with \mathbf{A} = \mathbf{S}\mathbf{S}^{\mathsf{H}} and \mathbf{B} = \mathbf{S} \operatorname{diag}(\mathbf{d}) \mathbf{S}^{\mathsf{H}}. [HornJohnson2013, Theorem 7.6.4]; [GolubVanLoan2013, Theorem 8.7.1]. Result: definite-pair

Matrix.PosDef.exists_eq_mul_conjTranspose_and_eq_mul_diagonal_mul_conjTranspose.{u_1, u_2}
  {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n] [DecidableEq n] {A B : Matrix n n 𝕜}
  (hA : A.PosDef) (hB : B.IsHermitian) :
  ∃ S d, IsUnit S.det ∧ A = S * Sᴴ ∧ B = (S * diagonal fun i ↦ ↑(d i)) * Sᴴ

Full source on GitHub

Import NLAlib.Matrix.Spectral.Congruence.