NLA-lib Explorer

NLAlib.length_shqrCandidates_le

Library · theorem

The number of shifts tried per iteration: for B, \theta, \alpha \ge 1, 0 < \gamma < 1 and m \ge 1, the candidate list NLAlib.shqrCandidates has at most 1 + 12/\varepsilon^2 entries, \varepsilon = NLAlib.exceptionalSpacing 2^m B \theta \alpha (1 - \gamma)^2; each candidate is tested by one degree k QR step (NLAlib.IsShiftSuccess). [BanksGarzaVargasSrivastava2021, Theorem 1.6, item 2], as a count of candidate shifts instead of arithmetic operations.

NLAlib.length_shqrCandidates_le {n : ℕ} {B θ α γ : ℝ} (hB : 1 ≤ B) (hθ : 1 ≤ θ) (hα : 1 ≤ α)
  (hγ0 : 0 < γ) (hγ1 : γ < 1) {m : ℕ} (hm : 1 ≤ m) (H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)
  (ss : List ℂ) :
  ↑(shqrCandidates B θ α γ m H ss).length ≤
    1 + 12 / exceptionalSpacing (2 ^ m) B θ α ((1 - γ) ^ 2) ^ 2

Full source on GitHub

Import NLAlib.Matrix.QRIteration.Strategy.