NLAlib.ShiftedQR.findRitzWindow_writes
Library · theorem
Exact arithmetic
Both actual norms and the actual comparison advance the stored window exactly. [BanksGarzaVargasSrivastava2021, §4.3]. A fragment: its tree runs only inside the tree of NLAlib.ShiftedQR.findRitzLevel. A fragment of the tree NLAlib.ShiftedQR.findRitzLevel.
NLAlib.ShiftedQR.findRitzWindow_writes {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
[Ops.Has Ops.IndexOp Op] [Ops.Has Ops.CmpTst Tst] {M : Ops.Machine ℝ} {I : Ops.Interp Op Tst ℝ}
(hS : Ops.IsScalar M I) (hE : Ops.ExactModel id M) (hL : Ops.IsIndexLit M I)
(hCmp : Ops.IsCmp id I) {τ : Ops.Tape ℝ} {m : Ops.Mem ℝ} {n k a h e : ℕ} {b ss r : ℕ × ℕ}
{H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {shifts : List ℂ} (hH : IsUpperHessenberg H)
(hB : HoldsMatrix b H m.store) (hSS : ShiftedQR.HoldsShifts ss shifts m.store)
(hwords : ShiftedQR.SearchWords r a h e m.store)
(hdet : ∀ shift ∈ shifts, (H - shift • 1).det ≠ 0) (hak : a + 2 * h ≤ k)
(hal : a + 2 * h ≤ shifts.length) (hra : r.1 ≠ b.1) (hrs : r.1 ≠ ss.1) (hl : m.Live [b, ss, r, r])
(hr : r.2 + 6 ≤ m.store.len r.1) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.findRitzWindow
(Ops.Env.frame [n + 1, k, a, h, e] [b, ss, r, r]) (Ops.Store.inBlock r.1 r.2 6)
(fun m' ↦
m'.pos = m.pos ∧
HoldsMatrix b H m'.store ∧
ShiftedQR.HoldsShifts ss shifts m'.store ∧
ShiftedQR.SearchWords r (ShiftedQR.searchNext H shifts a h e) (h / 2) (2 * e) m'.store)
mImport NLAlib.Eigensolvers.ShiftedQR.FindRitzLevel.