NLAlib.ShiftedQR.CandidateHolds.result_of_some
Library · theorem
An accepted prefix has its actual flag one and stores precisely its first accepted matrix.
NLAlib.ShiftedQR.CandidateHolds.result_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) :
st.get f.1 f.2 = some 1 ∧ HoldsMatrix z (multiShiftedQRStep H (List.replicate k shift)) stImport NLAlib.Eigensolvers.ShiftedQR.SearchState.