NLAlib.ShiftedQR.subdiagProduct_writes_word
Library · theorem
The scoped bottom product on any scalar machine (NLAlib.ShiftedQR.subdiagProduct): the word of NLAlib.ShiftedQR.subdiagProductWithScratch_writes_word, its scratch released. Shared by the trees of NLAlib.ShiftedQR.scalarDecouple and NLAlib.ShiftedQR.shqrSmallEigRoutine, on their scratch.
NLAlib.ShiftedQR.subdiagProduct_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 k : ℕ} {a p : ℕ × ℕ} {H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} (hk : k ≤ n)
(hH : HoldsMatrix a H m.store) (hp : p.2 < m.store.len p.1)
(hap :
Ops.Fp.Disj (Ops.Store.inBlock a.1 a.2 (2 * ((n + 1) * (n + 1))))
(Ops.Store.inBlock p.1 p.2 1)) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.subdiagProduct (Ops.Env.frame [n + 1, k] [a, p])
(Ops.Store.inBlock p.1 p.2 1)
(fun m' ↦
m'.pos = m.pos ∧
m'.store.get p.1 p.2 =
some
(prodWords M
(ShiftedQR.normSqFactors M (M.lit 1) fun j ↦ ShiftedQR.subdiagEntry H (n - k + j)) k))
mImport NLAlib.Eigensolvers.ShiftedQR.RoundedRitz.