NLAlib.ShiftedQR.findRitzInitialize_writes_of_exactNatLit
Library · theorem
The initialization of the search words with exact natural literals up to k \ge 1. Shared by the trees of NLAlib.ShiftedQR.scalarDecouple and NLAlib.ShiftedQR.shqrSmallEigRoutine, on their scratch.
NLAlib.ShiftedQR.findRitzInitialize_writes_of_exactNatLit {O Q : Type} [Ops.Has Ops.IndexOp O]
{M : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} (hL : Ops.IsIndexLit M I) {k : ℕ}
(hNat : Ops.IsExactNatLit id M k) (hk : 1 ≤ k) {τ : Ops.Tape ℝ} {m : Ops.Mem ℝ} {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.RoundedFind.