NLA-lib Explorer

NLAlib.SmallEig.smallEigProg_terminates

Library · theorem

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

Standard rounding

The small-eigenvalue program in Schur mode terminates, with its accumulator near a unitary on every tape ([BanksGarzaVargasSrivastava2025, Theorem 1.1], every loop capped): under the conditions of NLAlib.SmallEig.smallEigProg_completes and the standard model at \boldsymbol{u} \le 1/100, NLAlib.SmallEig.smallEigProg is a terminating Schur leaf (NLAlib.ShiftedQR.TerminatingLeafRoutine) with the accumulator error (1 + 24\boldsymbol{u})^{k^2 + 2(k+1)((T + k)k + 6)} - 1 at k = k_{\max}: the replay of the reduction and the replays of the core's rounds (NLAlib.ShiftedQR.solveRoundedWith_terminates at the bottom width 1, whose leaf is exact).

NLAlib.SmallEig.smallEigProg_terminates {O Q : Type} [Ops.Has Ops.ScalarOp O]
  [Ops.Has Ops.IndexOp O] [Ops.Has Ops.SampleOp O] [Ops.Has ShiftedQR.DiskSampleOp O]
  [Ops.Has Ops.CmpTst Q] [Ops.Has Ops.IdxTst Q] {M : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} {u : ℝ}
  (hS : Ops.IsScalar M I) (hM : Ops.StdModel u id M) (hu : u ≤ 1 / 100) (hL : Ops.IsIndexLit M I)
  {kmax : ℕ} (hNat : Ops.IsExactNatLit id M kmax) (hC : Ops.IsCmp id I) (hQ : Ops.IsToNat id I)
  (hSmp : Ops.IsSample I) {sU sG : ℕ} (hDisk : ShiftedQR.IsPolarDiskSampler sU I) {T : ℕ}
  {qs : List ℝ} (hqs : SmallEig.SmallEigCaps T qs) (hlen : 12 ≤ qs.length) :
  ShiftedQR.TerminatingLeafRoutine
    ((1 + 24 * u) ^ (kmax * kmax + 2 * (kmax + 1) * ((T + kmax) * kmax + 6)) - 1) kmax qs T
    (SmallEig.smallEigProg sG) I

Full source on GitHub

Import NLAlib.Eigensolvers.SmallEig.Program.