NLAlib.ShiftedQR.roundedRange_terminates
Library · theorem
This statement changed in the recorded rename: 2026-11-schur, 2026-11-smalleig.
Processing a popped range keeps the core: under the conditions of NLAlib.ShiftedQR.roundedLarge_terminates and NLAlib.ShiftedQR.roundedLeafBranch_terminates (n_s w \le m, 2k(k + 2) \le m), from the geometry of the worklist in Schur mode with the threshold and parameter words and the failure word stored, a matrix \mathbf{A}, a stack whose ranges after the popped (lo, d) fit with a leaf count \ell, and the accumulator within its factor at round j, NLAlib.ShiftedQR.roundedProcessRangeWith reaches the core of round j + 1.
NLAlib.ShiftedQR.roundedRange_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 ℝ} {lo d j ℓ : ℕ} {a t p uo f st wk ub r : ℕ × ℕ} {rs : List (ℕ × ℕ)}
{A U : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {thr x : ℝ}
(hG : ShiftedQR.SchurGeometry (n + 1) ps.length a t p uo f st wk ub r μ)
(ht : μ.store.get t.1 t.2 = some thr) (hp : μ.store.readBlock p.1 p.2 ps.length = some ps)
(hf : μ.store.get f.1 f.2 = some x) (hA : HoldsMatrix a A μ.store)
(hSt : ShiftedQR.StackHolds st rs μ.store) (hfit : ShiftedQR.RangesFit (n + 1) ((lo, d) :: rs))
(hℓ : ℓ + d + (List.map Prod.snd rs).sum ≤ n + 1)
(hacc : ShiftedQR.AccumIf P U ((1 + 24 * u) ^ (j * m) * (1 + εL) ^ ℓ) uo μ) :
Ops.Writes Ops.Mode.total I tape (ShiftedQR.roundedProcessRangeWith D L)
(Ops.Env.frame [n + 1, k, ps.length, F, T, ns, w, lo, d] [a, t, p, st, uo, wk, ub, r, f])
(ShiftedQR.schurRoundFp (n + 1) a uo f st wk ub r)
(ShiftedQR.SchurStoredCore n P U u εL m a uo f st (j + 1)) μImport NLAlib.Eigensolvers.ShiftedQR.RoundedSolveCompletion.