NLA-lib Explorer

NLAlib.SmallEig.smallEig_work_le

Library · theorem

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

The operation count of the small-eigenvalue program ([BanksGarzaVargasSrivastava2025, Theorem 1.1], running time, on every tape): the instrumented static count (NLAlib.Ops.stmtCost of NLAlib.Ops.Stmt.instrument, every structural instruction counted) of NLAlib.SmallEig.smallEigProg at the order n + 1, n_q words, the cap T and the zero offsets of its four operands is at most 80390(n + 1)^4(T + 1)^2. The count holds on every tape: the loops are capped by T (m, t, m_2 \le T, q \le m). The paper's count has the factor n in its last term (its erratum N5). The constant is the monomial bound of the instrumented tree (NLAlib.Ops.size_stmtCost_le_stmtWorkMono); the certificate's NLAlib.SmallEig.smallEigWork also counts the frame of the program.

NLAlib.SmallEig.smallEig_work_le {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] (sG n nq T : ℕ) :
  Ops.Count.size (Ops.stmtCost (SmallEig.smallEigProg sG).instrument [n + 1, nq, T, 0, 0, 0, 0]) ≤
    80390 * (n + 1) ^ 4 * (T + 1) ^ 2

Full source on GitHub

Import NLAlib.Eigensolvers.SmallEig.Theorems.