NLAlib.ShiftedQR.lastBasisVector_writes
Library · theorem
Exact arithmetic
Initialize the last complex basis vector of a nonempty finite space from uninitialized capacity. Every stored component is written by an actual scalar literal call. A fragment of the exact decoupler NLAlib.ShiftedQR.scalarDecouple, which exact shifted QR (NLAlib.ShiftedQR.deflationRoutine) takes as its decoupler.
NLAlib.ShiftedQR.lastBasisVector_writes {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
{M : Ops.Machine ℝ} {I : Ops.Interp Op Tst ℝ} (hS : Ops.IsScalar M I) (hE : Ops.ExactModel id M)
{τ : Ops.Tape ℝ} {m : Ops.Mem ℝ} {n : ℕ} {v : ℕ × ℕ} (hv : v.2 + 2 * (n + 1) ≤ m.store.len v.1) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.lastBasisVector (Ops.Env.frame [n + 1] [v])
(Ops.Store.inBlock v.1 v.2 (2 * (n + 1)))
(fun μ ↦ μ.pos = m.pos ∧ ShiftedQR.HoldsVector v (Pi.single (Fin.last n) 1) μ.store) mImport NLAlib.Eigensolvers.ShiftedQR.RowSolveNorm.