NLAlib.Schur.size_stmtCost_schurPipelineWith_le
Library · theorem
The static count of the pipeline with its structural instructions, at zero offsets of the matrix, the parameter words, the accumulator and the flag, is at most the sum of the stages' instrumented counts, each at the offsets the pipeline passes to it (zero, and n_r for the core's parameter words), plus 120(N + 1)^2 for the glue (the scaling loops, the identity, the branch and the frames).
NLAlib.Schur.size_stmtCost_schurPipelineWith_le {O Q : Type} [Ops.Has Ops.ScalarOp O]
[Ops.Has Ops.IndexOp O] [Ops.Has Ops.CmpTst Q] (Nm Reg Red Core : Ops.Stmt O Q)
(N nr nq k F T : ℕ) :
Ops.Count.size
(Ops.stmtCost (Schur.schurPipelineWith Nm Reg Red Core).instrument
[N, nr, nq, k, F, T, 0, 0, 0, 0, 0]) ≤
Ops.Count.size (Ops.stmtCost Nm.instrument [N, 0, 0]) +
Ops.Count.size (Ops.stmtCost Reg.instrument [N, nr, 0, 0, 0]) +
Ops.Count.size (Ops.stmtCost Red.instrument [N, 0, 0, 0, 0]) +
Ops.Count.size (Ops.stmtCost Core.instrument [N, nq, k, F, T, 0, nr, 0, 0, 0, 0]) +
120 * (N + 1) ^ 2Import NLAlib.Eigensolvers.Schur.Composition.