NLAlib.ShiftedQR.scan_writes
Library · theorem
Exact arithmetic
The full scalar scan initializes its own outputs and inspects every subdiagonal entry. Its actual flag/index words equal the exact prefix specification; outputs need only capacity. A fragment of the exact decoupler NLAlib.ShiftedQR.scalarDecouple, which exact shifted QR (NLAlib.ShiftedQR.deflationRoutine) takes as its decoupler.
NLAlib.ShiftedQR.scan_writes {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.IndexOp Op]
[Ops.Has Ops.CmpTst Tst] {M : Ops.Machine ℝ} {I : Ops.Interp Op Tst ℝ} (hS : Ops.IsScalar M I)
(hE : Ops.ExactModel id M) (hL : Ops.IsIndexLit M I) (hC : Ops.IsCmp id I) {τ : Ops.Tape ℝ}
{m : Ops.Mem ℝ} {n : ℕ} {a t r : ℕ × ℕ} {H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {threshold : ℝ}
(hH : HoldsMatrix a H m.store) (ht : m.store.get t.1 t.2 = some threshold) (hl : m.Live [a, t, r])
(hroom : r.2 + 5 ≤ m.store.len r.1)
(hA :
Ops.Fp.Disj (Ops.Store.inBlock r.1 r.2 5) (Ops.Store.inBlock a.1 a.2 (2 * ((n + 1) * (n + 1)))))
(hT : Ops.Fp.Disj (Ops.Store.inBlock r.1 r.2 5) (Ops.Store.inBlock t.1 t.2 1)) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.scan (Ops.Env.frame [n + 1] [a, t, r])
(Ops.Store.inBlock r.1 r.2 5)
(fun m' ↦ m'.pos = m.pos ∧ ShiftedQR.ScanHolds H threshold n r m'.store) mImport NLAlib.Eigensolvers.ShiftedQR.Scan.