NLAlib.ShiftedQR.vectorRotation_writes
Library · theorem
Exact arithmetic
One saved rotation is read from its actual coefficient words and applied to the two adjacent stored vector coordinates. All other vector words are preserved. A fragment of the exact decoupler NLAlib.ShiftedQR.scalarDecouple, which exact shifted QR (NLAlib.ShiftedQR.deflationRoutine) takes as its decoupler.
NLAlib.ShiftedQR.vectorRotation_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 k : ℕ} {v cf t : ℕ × ℕ} {D : Matrix (Fin n) (Fin n) ℂ} {w : Fin n → ℂ}
(hV : ShiftedQR.HoldsVector v w m.store) (hCf : ShiftedQR.HoldsCoefficients cf D (n - 1) m.store)
(hk : k + 1 < n) (htv : t.1 ≠ v.1) (htc : t.1 ≠ cf.1) (ht : t.2 + 10 ≤ m.store.len t.1) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.vectorRotation (Ops.Env.frame [n, k] [v, cf, t, v])
(Ops.Store.inBlock v.1 v.2 (2 * n) ⊔ Ops.Store.inBlock t.1 t.2 10)
(fun μ ↦ μ.pos = m.pos ∧ ShiftedQR.HoldsVector v (ShiftedQR.reverseRotationStep D w k) μ.store)
mImport NLAlib.Eigensolvers.ShiftedQR.RowSolveVector.