NLAlib.ShiftedQR.iterationConstants_writes
Library · theorem
Exact arithmetic
Scoped per-block initialization releases its base word and retains only the two requested constants. The persistent parameter block is protected from both outputs. A fragment of the exact decoupler NLAlib.ShiftedQR.scalarDecouple, which exact shifted QR (NLAlib.ShiftedQR.deflationRoutine) takes as its decoupler.
NLAlib.ShiftedQR.iterationConstants_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 ℝ} {k : ℕ} {p a b : ℕ × ℕ} {tol B theta alpha gamma : ℝ}
(hP : m.store.readBlock p.1 p.2 5 = some [tol, B, theta, alpha, gamma])
(hPout :
Ops.Fp.Disj (Ops.Store.inBlock p.1 p.2 5)
(Ops.Store.inBlock a.1 a.2 1 ⊔ Ops.Store.inBlock b.1 b.2 1))
(hab : Ops.Fp.Disj (Ops.Store.inBlock a.1 a.2 1) (Ops.Store.inBlock b.1 b.2 1))
(ha : a.2 + 1 ≤ m.store.len a.1) (hb : b.2 + 1 ≤ m.store.len b.1) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.iterationConstants (Ops.Env.frame [k] [p, a, b])
(Ops.Fp.blocks [a, b] [1, 1])
(fun μ ↦ μ.pos = m.pos ∧ μ.readBlocks [a, b] [1, 1] = some [[tol ^ 2], [(1 - gamma) ^ (2 * k)]])
mImport NLAlib.Eigensolvers.ShiftedQR.Constants.