NLA-lib Explorer

NLAlib.SmallEig.smallEigDecoupler_terminatingDecouplerRoutine

Library · theorem

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

The decoupler terminates: on a scalar machine with index literals, exact natural literals up to n_{\max} + 1, exact comparisons and conversion, draws that store the tape entry and an exact polar sampler, for words qs with valid cap words for the cap T (NLAlib.SmallEig.SmallEigCaps), at least twelve words and a log of n_s \ge n_{\max} + T slots of w_s \ge n_{\max} entries, NLAlib.SmallEig.smallEigDecoupler is a terminating decoupling routine (NLAlib.ShiftedQR.TerminatingDecouplerRoutine) at the bottom width 1, any iteration cap and orders up to n_{\max} + 1.

NLAlib.SmallEig.smallEigDecoupler_terminatingDecouplerRoutine {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 ℝ}
  (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)
  (hSmp : Ops.IsSample I) {sU sG : ℕ} (hDisk : ShiftedQR.IsPolarDiskSampler sU I) {T F : ℕ}
  {qs : List ℝ} (hqs : SmallEig.SmallEigCaps T qs) (hlen : 12 ≤ qs.length) {ns ws : ℕ}
  (hns : nmax + T ≤ ns) (hws : nmax ≤ ws) :
  ShiftedQR.TerminatingDecouplerRoutine nmax 1 F T qs ns ws (SmallEig.smallEigDecoupler sG) I

Full source on GitHub

Import NLAlib.Eigensolvers.SmallEig.Decoupler.