NLAlib.ShiftedQR.roundedWorklist_terminates
Library · theorem
This statement changed in the recorded rename: 2026-11-schur, 2026-11-smalleig.
The capped loop of the worklist in Schur mode terminates: under the conditions of NLAlib.ShiftedQR.roundedRange_terminates, from the geometry of the worklist in Schur mode with any matrix \mathbf{H}, an accumulator \mathbf{U}, the threshold word and the parameter words stored, NLAlib.ShiftedQR.roundedWorklistWith runs to completion within the round footprint and leaves a matrix and an accumulator within ((1 + 24\boldsymbol{u})^{2(n+1)m}(1 + \varepsilon_L)^{n+1} - 1)\|\mathbf{U}\|_2 of \mathbf{U} times a unitary.
NLAlib.ShiftedQR.roundedWorklist_terminates {O Q : Type} [Ops.Has Ops.ScalarOp O]
[Ops.Has Ops.IndexOp O] [Ops.Has Ops.CmpTst Q] [Ops.Has Ops.IdxTst Q] {Mch : Ops.Machine ℝ}
{I : Ops.Interp O Q ℝ} {u : ℝ} (hS : Ops.IsScalar Mch I) {P : Prop}
(hP : P → Ops.StdModel u id Mch ∧ u ≤ 1 / 100) (hL : Ops.IsIndexLit Mch I) {n : ℕ}
(hNat : Ops.IsExactNatLit id Mch (n + 1)) (hQ : Ops.IsToNat id I) (hC : Ops.IsCmp id I)
{k F T ns w m : ℕ} (hm1 : ns * w ≤ m) (hm2 : 2 * k * (k + 2) ≤ m) {ps : List ℝ} {εL : ℝ}
(hεL : P → 0 ≤ εL) (D : Ops.Stmt O Q)
(hD : ShiftedQR.TerminatingDecouplerRoutine n k F T ps ns w D I) (L : Ops.Stmt O Q)
(hLeaf : ShiftedQR.TerminatingLeafRoutineIf P εL (min k (n + 1)) ps T L I) {tape : Ops.Tape ℝ}
{μ : Ops.Mem ℝ} {a t p uo f st wk ub r : ℕ × ℕ} {H U : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ}
{thr : ℝ} (hG : ShiftedQR.SchurGeometry (n + 1) ps.length a t p uo f st wk ub r μ)
(hA : HoldsMatrix a H μ.store) (hU : HoldsMatrix uo U μ.store)
(ht : μ.store.get t.1 t.2 = some thr) (hp : μ.store.readBlock p.1 p.2 ps.length = some ps) :
Ops.Writes Ops.Mode.total I tape (ShiftedQR.roundedWorklistWith D L)
(Ops.Env.frame [n + 1, k, ps.length, F, T, ns, w] [a, t, p, uo, st, wk, ub, r, f])
(ShiftedQR.schurRoundFp (n + 1) a uo f st wk ub r)
(fun μ' ↦
(∃ A, HoldsMatrix a A μ'.store) ∧
ShiftedQR.AccumIf P U ((1 + 24 * u) ^ (2 * (n + 1) * m) * (1 + εL) ^ (n + 1)) uo μ')
μImport NLAlib.Eigensolvers.ShiftedQR.RoundedSolveCompletion.