NLA-lib Explorer

NLAlib.exists_forall_mul_eq_mul_diagonal_of_pairwise_commute

Library · theorem

A commuting family of diagonalisable matrices is simultaneously diagonalisable: if the \mathbf{A}_i are diagonalisable and commute pairwise, there is one invertible \mathbf{V} with \mathbf{A}_i\mathbf{V} = \mathbf{V} \operatorname{diag}(\mathbf{d}_i) for every i. [HornJohnson2013, Theorem 1.3.21].

NLAlib.exists_forall_mul_eq_mul_diagonal_of_pairwise_commute.{u_1, u_2, u_4} {K : Type u_1}
  [Field K] {ι : Type u_2} {n : Type u_4} [Fintype n] [DecidableEq n] {A : ι → Matrix n n K}
  (hA : ∀ (i : ι), IsDiagonalizable (A i)) (h : Pairwise fun i j ↦ Commute (A i) (A j)) :
  ∃ V, IsUnit V.det ∧ ∀ (i : ι), ∃ d, A i * V = V * diagonal d

Full source on GitHub

Import NLAlib.Matrix.Spectral.Diagonalizable.