NLAlib.ShiftedQR.initializeParameters_writes
Library · theorem
Exact arithmetic
Scoped initialization computes the absolute tolerance from the still-raw matrix and releases its intermediate norm word. Persistent output words have order [τ,B,θ,α,γ]. A fragment of NLAlib.ShiftedQR.deflationRoutine.
NLAlib.ShiftedQR.initializeParameters_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 : ℕ} {a raw p : ℕ × ℕ} {H : Matrix (Fin n) (Fin n) ℂ}
{B theta alpha gamma delta : ℝ} (hl : m.Live [a, raw, p]) (hH : HoldsMatrix a H m.store)
(hRaw : m.store.readBlock raw.1 raw.2 5 = some [B, theta, alpha, gamma, delta])
(hRawP : Ops.Fp.Disj (Ops.Store.inBlock raw.1 raw.2 5) (Ops.Store.inBlock p.1 p.2 5))
(hP : p.2 + 5 ≤ m.store.len p.1) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.initializeParameters (Ops.Env.frame [n] [a, raw, p])
(Ops.Store.inBlock p.1 p.2 5)
(fun μ ↦
μ.pos = m.pos ∧
μ.store.readBlock p.1 p.2 5 = some [delta * frobNorm H, B, theta, alpha, gamma])
mImport NLAlib.Eigensolvers.ShiftedQR.Constants.