NLA-lib Explorer

NLAlib.ShiftedQR.CandidateHolds.append_of_some

Library · theorem

Appending later candidates cannot replace an already accepted first result.

NLAlib.ShiftedQR.CandidateHolds.append_of_some {n : ℕ} {τ γ : ℝ} {k : ℕ}
  {H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {ss : List ℂ} {shift : ℂ} {z f : ℕ × ℕ}
  {st : Ops.Store ℝ} (h : ShiftedQR.CandidateHolds τ γ k H ss z f st)
  (hs : List.find? (fun s ↦ decide (IsShiftAccept τ γ k H s)) ss = some shift) (rest : List ℂ) :
  ShiftedQR.CandidateHolds τ γ k H (ss ++ rest) z f st

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.SearchState.