NLA-lib Explorer

NLAlib.inv_aeval_eq_mul_diagonal_mul_inv

Library · theorem

The inverse of a polynomial of a diagonalised matrix: if \mathbf{H}\mathbf{V} = \mathbf{V}\operatorname{diag}(\mathbf{d}) with \mathbf{V} in\mathbf{v}erti\mathbf{b}le and p(\mathbf{d}_i) \ne 0 for all i, then p(\mathbf{H})^{-1} = \mathbf{V}\operatorname{diag}(p(\mathbf{d}_i)^{-1}) \mathbf{V}^{-1}.

NLAlib.inv_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 ℂ}
  (hp : ∀ (i : n), Polynomial.eval (d i) p ≠ 0) :
  ((Polynomial.aeval H) p)⁻¹ = (V * diagonal fun i ↦ (Polynomial.eval (d i) p)⁻¹) * V⁻¹

Full source on GitHub

Import NLAlib.Matrix.Spectral.Diagonalizable.