NLA-lib Explorer

NLAlib.ShiftedQR.roundedWorklistRound_terminates

Library · theorem

This statement changed in the recorded rename: 2026-11-schur, 2026-11-smalleig.

One round keeps the value-free state: under the conditions of NLAlib.ShiftedQR.roundedRange_terminates, from the state NLAlib.ShiftedQR.SchurStoredState of round j with a positive stack count, NLAlib.ShiftedQR.roundedWorklistRoundWith reaches the state of round j + 1.

NLAlib.ShiftedQR.roundedWorklistRound_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 ℝ} {j cnt : ℕ} {a t p uo f st wk ub r : ℕ × ℕ}
  {U : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ}
  (h : ShiftedQR.SchurStoredState n P U u εL m ps a t p uo f st wk ub r j μ)
  (hcount : μ.store.get st.1 st.2 = some ↑cnt) (hpos : 0 < cnt) :
  Ops.Writes Ops.Mode.total I tape (ShiftedQR.roundedWorklistRoundWith D L)
    (Ops.Env.frame [n + 1, k, ps.length, F, T, ns, w] [a, t, p, st, uo, wk, ub, r, f])
    (ShiftedQR.schurRoundFp (n + 1) a uo f st wk ub r)
    (ShiftedQR.SchurStoredState n P U u εL m ps a t p uo f st wk ub r (j + 1)) μ

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedSolveCompletion.