NLAlib.ShiftedQR.roundedDecoupleWith_terminatingDecouplerRoutine
Library · theorem
This statement changed in the recorded rename: 2026-11-schur.
The rounded decoupling loop with a terminating small-eigenvalue routine terminates on every tape and every matrix ([BanksGarzaVargasSrivastava2022, Lemma 6.4], termination only): on a scalar machine with exact comparisons, index literals, index conversion and exact natural literals up to n_{\max} + 1, an exact polar sampler and a routine SE that terminates on orders at most k with the cap T and 12 words qs, NLAlib.ShiftedQR.roundedDecoupleWith with the words NLAlib.ShiftedQR.roundedDecoupleParams followed by qs and k = 2^q is a NLAlib.ShiftedQR.TerminatingDecouplerRoutine for orders up to n_{\max} + 1, with any iteration cap F.
NLAlib.ShiftedQR.roundedDecoupleWith_terminatingDecouplerRoutine {O Q : Type}
[Ops.Has Ops.ScalarOp O] [Ops.Has Ops.IndexOp O] [Ops.Has ShiftedQR.DiskSampleOp O]
[Ops.Has Ops.CmpTst Q] [Ops.Has Ops.IdxTst Q] {M : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ}
(hS : Ops.IsScalar M I) (hL : Ops.IsIndexLit M I) {nmax : ℕ}
(hNat : Ops.IsExactNatLit id M (nmax + 1)) (hC : Ops.IsCmp id I) (hQ : Ops.IsToNat id I) {s₀ : ℕ}
(hD : ShiftedQR.IsPolarDiskSampler s₀ I) {k q F : ℕ} (hkq : k = 2 ^ q) (tL R tv γ B α ε : ℝ)
{T : ℕ} {qs : List ℝ} {SE : Ops.Stmt O Q} (hSE : ShiftedQR.TerminatingSmallEig k T qs SE I)
(hqs : qs.length = 12) {ns ws : ℕ} (hns : F * (k + 1 + (ShiftedQR.excNet ε).length) ≤ ns)
(hws : k * nmax ≤ ws) :
ShiftedQR.TerminatingDecouplerRoutine nmax k F T
(ShiftedQR.roundedDecoupleParams tL R tv γ B α ε k q ++ qs) ns ws
(ShiftedQR.roundedDecoupleWith SE) IImport NLAlib.Eigensolvers.ShiftedQR.RoundedDecoupleRoutine.