NLAlib.ShiftedQR.findRitzInitialize_writes
Library · theorem
Exact arithmetic
Actual index literal calls initialize the first window, natural half length and exponent. The remaining three workspace cells need not be initialized. Shared by the trees of NLAlib.ShiftedQR.scalarDecouple and NLAlib.ShiftedQR.shqrSmallEigRoutine, on their scratch.
NLAlib.ShiftedQR.findRitzInitialize_writes {Op Tst : Type} [Ops.Has Ops.IndexOp Op]
{M : Ops.Machine ℝ} {I : Ops.Interp Op Tst ℝ} (hL : Ops.IsIndexLit M I) (hE : Ops.ExactModel id M)
{τ : Ops.Tape ℝ} {m : Ops.Mem ℝ} {k : ℕ} {r : ℕ × ℕ} (hr : r.2 + 3 ≤ m.store.len r.1) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.findRitzInitialize (Ops.Env.frame [k] [r, r])
(Ops.Store.inBlock r.1 r.2 3)
(fun m' ↦ m'.pos = m.pos ∧ ShiftedQR.SearchWords r 0 (k / 2) 1 m'.store) mImport NLAlib.Eigensolvers.ShiftedQR.FindRitzRegisters.