NLA-lib Explorer

NLAlib.ShiftedQR.comptauHalf_terminatingHalfTau

Library · theorem

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

The comparison routine of Find terminates on any matrix: on a scalar machine with exact comparisons, the literal 0 and natural literals up to n_{\max} exact, NLAlib.ShiftedQR.comptauHalf meets NLAlib.ShiftedQR.TerminatingHalfTau for every order n + 1 with n \le n_{\max} and every number of shifts.

NLAlib.ShiftedQR.comptauHalf_terminatingHalfTau {O Q : Type} [Ops.Has Ops.ScalarOp O]
  [Ops.Has Ops.IndexOp O] [Ops.Has Ops.CmpTst Q] {M : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ}
  (hS : Ops.IsScalar M I) (hzero : M.lit 0 = 0) (hCmp : Ops.IsCmp id I) (hL : Ops.IsIndexLit M I)
  {nmax : ℕ} (hNat : Ops.IsExactNatLit id M nmax) {n : ℕ} (hn : n ≤ nmax) (k : ℕ) :
  ShiftedQR.TerminatingHalfTau n k ShiftedQR.comptauHalf I

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedFindTermination.