NLA-lib Explorer

NLAlib.aeval_eq_mul_diagonal_mul_inv

Library · theorem

A polynomial of a diagonalised matrix: if \mathbf{H}\mathbf{V} = \mathbf{V}\operatorname{diag}(\mathbf{d}) with \mathbf{V} invertible, then for every polynomial p, p(\mathbf{H}) = \mathbf{V}\operatorname{diag}(p(\mathbf{d}_i))\mathbf{V}^{-1}.

NLAlib.aeval_eq_mul_diagonal_mul_inv.{u_4} {n : Type u_4} [Fintype n] [DecidableEq n]
  {H V : Matrix n n ℂ} {d : n → ℂ} (hV : IsUnit V) (hHV : H * V = V * diagonal d)
  (p : Polynomial ℂ) : (Polynomial.aeval H) p = (V * diagonal fun i ↦ Polynomial.eval (d i) p) * V⁻¹

Full source on GitHub

Import NLAlib.Matrix.Spectral.Diagonalizable.