NLA-lib Explorer

NLAlib.IsEigenvalueListing.exists_isUpperTriangular_inv_mul_mul_of_commute

Library · theorem

Triangularisation over a field. Commuting matrices \mathbf{A} and \mathbf{B} over a field, where \mathbf{a} lists the eigenvalues of \mathbf{A} and the characteristic polynomial of \mathbf{B} splits, are simultaneously similar to upper triangular matrices: there is an invertible \mathbf{S} with \mathbf{S}^{-1}\mathbf{A}\mathbf{S} and \mathbf{S}^{-1}\mathbf{B}\mathbf{S} upper triangular and (\mathbf{S}^{-1}\mathbf{A}\mathbf{S})_{i,i} = \mathbf{a}_i for every i. With \mathbf{B} = \mathbf{A} this is triangularisation of one matrix whose characteristic polynomial splits. Over an RCLike field the similarity can be taken unitary: NLAlib.IsEigenvalueListing.exists_hasOrthonormalCols_isUpperTriangular. [HornJohnson2013, Theorem 2.3.3], there for commuting families of complex matrices.

NLAlib.IsEigenvalueListing.exists_isUpperTriangular_inv_mul_mul_of_commute.{u_1, u_4} {K : Type u_1}
  [Field K] {n : Type u_4} [Fintype n] [DecidableEq n] [LinearOrder n] {A B : Matrix n n K}
  {a : n → K} (ha : IsEigenvalueListing A a) (hAB : Commute A B) (hB : B.charpoly.Splits) :
  ∃ S,
    IsUnit S.det ∧
      (S⁻¹ * A * S).IsUpperTriangular ∧
        (∀ (i : n), (S⁻¹ * A * S) i i = a i) ∧ (S⁻¹ * B * S).IsUpperTriangular

Full source on GitHub

Import NLAlib.Matrix.Spectral.EigenvalueListing.