NLAlib.ShiftedQR.rowInit_writes_word
Library · theorem
The start of the row recurrence on any scalar machine: rowInit stores NLAlib.ShiftedQR.rowInitVec at V and the literal pair (1, 0) at O, and writes only these. Shared by the trees of NLAlib.ShiftedQR.shqrSmallEigRoutine, on their scratch.
NLAlib.ShiftedQR.rowInit_writes_word {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] {M : Ops.Machine ℝ}
{I : Ops.Interp Op Tst ℝ} (hS : Ops.IsScalar M I) {τ : Ops.Tape ℝ} {m : Ops.Mem ℝ} {n : ℕ}
{v o : ℕ × ℕ} (hv : v.2 + 2 * (1 * (n + 1)) ≤ m.store.len v.1) (ho : o.2 + 2 ≤ m.store.len o.1)
(hvo :
Ops.Fp.Disj (Ops.Store.inBlock v.1 v.2 (2 * (1 * (n + 1)))) (Ops.Store.inBlock o.1 o.2 2)) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.rowInit (Ops.Env.frame [n + 1] [v, o])
(Ops.Store.inBlock v.1 v.2 (2 * (1 * (n + 1))) ⊔ Ops.Store.inBlock o.1 o.2 2)
(fun m' ↦
m'.pos = m.pos ∧
HoldsMatrix v (replicateCol (Fin 1) (ShiftedQR.rowInitVec M n)) m'.store ∧
m'.store.readBlock o.1 o.2 2 = some [M.lit 1, M.lit 0])
mImport NLAlib.Eigensolvers.ShiftedQR.RoundedRowPoly.