NLA-lib Explorer

NLAlib.ShiftedQR.roundedShQRSmallEig_work_le

Library · theorem

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

The operation count of the algorithm with the small-eigenvalue program ([BanksGarzaVargasSrivastava2022, Theorem 6.3] and [BanksGarzaVargasSrivastava2025, Theorem 1.1], running times, on every tape): the instrumented static count (NLAlib.Ops.stmtCost of NLAlib.Ops.Stmt.instrument) of NLAlib.ShiftedQR.roundedShQRSmallEig at the order n + 1, the shift degree k, n_p words, the iteration cap F, the cap T, the log of F(k + 1 + n_p) slots of k(n + 1) entries (NLAlib.ShiftedQR.shqrSmallEigDims) and the zero offsets of its seven operands is at most 369224(n + 1)^3(k + 1)^4(n_p + 1)(F + 1)(T + 1)^2: the cost of SmallEig is counted.

NLAlib.ShiftedQR.roundedShQRSmallEig_work_le {O Q : Type} [Ops.Has Ops.ScalarOp O]
  [Ops.Has Ops.IndexOp O] [Ops.Has ShiftedQR.DiskSampleOp O] [Ops.Has Ops.SampleOp O]
  [Ops.Has Ops.CmpTst Q] [Ops.Has Ops.IdxTst Q] (sG n k np F T : ℕ) :
  Ops.Count.size
      (Ops.stmtCost (ShiftedQR.roundedShQRSmallEig sG).instrument
        [n + 1, k, np, F, T, F * (k + 1 + np), k * (n + 1), 0, 0, 0, 0, 0, 0, 0]) ≤
    369224 * (n + 1) ^ 3 * (k + 1) ^ 4 * (np + 1) * (F + 1) * (T + 1) ^ 2

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedSmallEig.