NLAlib.ShiftedQR.CandidateHolds.of_trial
Library · theorem
A trial after a wholly rejected prefix stores exactly the first accepted result, or keeps flag zero if the new candidate is also rejected. Its actual matrix is always computed.
NLAlib.ShiftedQR.CandidateHolds.of_trial {n : ℕ} {τ γ : ℝ} {k : ℕ}
{H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {ss : List ℂ} {shift : ℂ} {z f : ℕ × ℕ}
{st : Ops.Store ℝ} (hs : List.find? (fun s ↦ decide (IsShiftAccept τ γ k H s)) ss = none)
(hZ : HoldsMatrix z (multiShiftedQRStep H (List.replicate k shift)) st)
(hf : st.get f.1 f.2 = some (if IsShiftAccept τ γ k H shift then 1 else 0)) :
ShiftedQR.CandidateHolds τ γ k H (ss ++ [shift]) z f stImport NLAlib.Eigensolvers.ShiftedQR.SearchState.