NLA-lib Explorer

NLAlib.DeflationInv.two_mul_length_add_length_lt

Library · theorem

The fuel of the worklist: while a range is active, the progress measure 2\lvert\mathrm{done}\rvert + \lvert\mathrm{active}\rvert is below 2(n + 1), so a loop of fuel 2N whose measure is the iteration count plus one never runs out (exactly tight).

NLAlib.DeflationInv.two_mul_length_add_length_lt {n : ℕ}
  {H A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {ε : ℝ} {active done : List (ℕ × ℕ)}
  {out : Fin (n + 1) → ℂ} (h : DeflationInv H ε active done A out) (hne : active ≠ []) :
  2 * done.length + active.length < 2 * (n + 1)

Full source on GitHub

Import NLAlib.Matrix.QRIteration.HessenbergDeflation.