NLAlib.Schur.denseSchur_work_le
Library · theorem
The operation count of the dense Schur solver (on every tape): the instrumented static count of NLAlib.Schur.denseSchur at the order n + 1, n_r regularizer words, n_q core words, the shift degree k, the iteration cap F, the leaf cap T and zero offsets, every primitive, test and structural instruction counted, is at most 384547(n + 1)^3(k + 1)^4(n_r + n_q + 1)(F + 1)(T + 1)^2: the core's 380748 (NLAlib.ShiftedQR.size_stmtCost_roundedShQRSchur_le), the reducer's 2998, the norm's 120, the regularizer's 201 and the glue's 4 \cdot 120 (NLAlib.Schur.size_stmtCost_schurPipelineWith_le). The power of k is that of the eigenvalue solver: the replays on the couplings and on the accumulator cost no more than a step.
NLAlib.Schur.denseSchur_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 nr nq k F T : ℕ) :
Ops.Count.size
(Ops.stmtCost (Schur.denseSchur sG).instrument [n + 1, nr, nq, k, F, T, 0, 0, 0, 0, 0]) ≤
384547 * (n + 1) ^ 3 * (k + 1) ^ 4 * (nr + nq + 1) * (F + 1) * (T + 1) ^ 2Import NLAlib.Eigensolvers.Schur.Dense.