NLAlib.ShiftedQR.halfRounds_writes
Library · theorem
Exact arithmetic
The exponent loop computes the inverse-polynomial row or certifies a singular candidate. An exponent of zero does not inspect any selected shift. [BanksGarzaVargasSrivastava2021, §4.3]. A fragment: its tree runs only inside the tree of NLAlib.ShiftedQR.halfNormAfterInit. A fragment of the tree NLAlib.ShiftedQR.halfNormAfterInit.
NLAlib.ShiftedQR.halfRounds_writes {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
[Ops.Has Ops.CmpTst Tst] {M : Ops.Machine ℝ} {I : Ops.Interp Op Tst ℝ} (hS : Ops.IsScalar M I)
(hE : Ops.ExactModel id M) (hCmp : Ops.IsCmp id I) {τ : Ops.Tape ℝ} {m : Ops.Mem ℝ}
{n k a h e : ℕ} {b ss v f : ℕ × ℕ} {H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {shifts : List ℂ}
(hH : IsUpperHessenberg H) (hB : HoldsMatrix b H m.store)
(hSS : ShiftedQR.HoldsShifts ss shifts m.store) (hak : a + h ≤ k) (hal : a + h ≤ shifts.length)
(hSep : ShiftedQR.HalfSolveSeparate (n + 1) k b ss v f) (hl : m.Live [b, ss, v, f, v, f])
(hf : f.2 + 1 ≤ m.store.len f.1)
(hstate :
ShiftedQR.HalfVectorState v f H (ShiftedQR.halfSegment shifts a h) (Pi.single (Fin.last n) 1)
m.store) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.halfRounds
(Ops.Env.frame [n + 1, k, a, h, e] [b, ss, v, f, v, f])
(Ops.Store.inBlock v.1 v.2 (2 * (n + 1)) ⊔ Ops.Store.inBlock f.1 f.2 1)
(fun m' ↦
m'.pos = m.pos ∧
HoldsMatrix b H m'.store ∧
ShiftedQR.HoldsShifts ss shifts m'.store ∧
ShiftedQR.HalfVectorState v f H (ShiftedQR.halfSegment shifts a h)
(ShiftedQR.halfSolvePrefix H (ShiftedQR.halfSegment shifts a h) e) m'.store)
mImport NLAlib.Eigensolvers.ShiftedQR.RowSolveHalfLoops.