NLA-lib Explorer

NLAlib.DeflationInv.exists_roots_eq

Library · theorem

The backward error of deflation: when no range is active, the output is exactly the list of eigenvalues, with multiplicity, of \mathbf{H} + \mathbf{E} for some \mathbf{E} with \|\mathbf{E}\|_2 \le \varepsilon. [BanksGarzaVargasSrivastava2022, §6], in exact arithmetic.

NLAlib.DeflationInv.exists_roots_eq {n : ℕ} {H A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {ε : ℝ}
  {done : List (ℕ × ℕ)} {out : Fin (n + 1) → ℂ} (h : DeflationInv H ε [] done A out) :
  ∃ E, specNorm E ≤ ε ∧ (H + E).charpoly.roots = ↑(List.ofFn out)

Full source on GitHub

Import NLAlib.Matrix.QRIteration.HessenbergDeflation.