NLAlib.ShiftedQR.initializeParametersWithScratch_writes
Library · theorem
Exact arithmetic
The actual matrix component norm supplies the absolute tolerance before the four retained raw parameters are copied. Persistent words are tolerance followed by those raw parameters. A fragment of NLAlib.ShiftedQR.deflationRoutine.
NLAlib.ShiftedQR.initializeParametersWithScratch_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 t p : ℕ × ℕ} {H : Matrix (Fin n) (Fin n) ℂ}
{B theta alpha gamma delta : ℝ} (hl : m.Live [a, raw, t, p]) (hH : HoldsMatrix a H m.store)
(hRaw : m.store.readBlock raw.1 raw.2 5 = some [B, theta, alpha, gamma, delta]) (hta : t.1 ≠ a.1)
(htr : t.1 ≠ raw.1)
(hRawP : Ops.Fp.Disj (Ops.Store.inBlock raw.1 raw.2 5) (Ops.Store.inBlock p.1 p.2 5))
(ht : t.2 + 1 ≤ m.store.len t.1) (hP : p.2 + 5 ≤ m.store.len p.1) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.initializeParametersWithScratch
(Ops.Env.frame [n] [a, raw, t, p]) (Ops.Store.inBlock t.1 t.2 1 ⊔ 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.