NLA-lib Explorer

NLAlib.Schur.size_staticCost_schurPipelineProgram_le

Library · theorem

The static count of the pipeline program, its structural instructions included, is at most the work NLAlib.Schur.schurPipelineWork of bounds on the stages' instrumented static counts at the offsets the pipeline passes to them: zero, and n_r = d 1 for the core's parameter words (NLAlib.Schur.size_stmtCost_schurPipelineWith_le).

NLAlib.Schur.size_staticCost_schurPipelineProgram_le
  {Nm Reg Red Core : Ops.Stmt SmallEig.SmallEigOp ShiftedQR.Tst}
  {WNm WReg WRed WCore : (Fin 6 → ℕ) → ℕ}
  (hNm : ∀ (d : Fin 6 → ℕ), Ops.Count.size (Ops.stmtCost Nm.instrument [d 0 + 1, 0, 0]) ≤ WNm d)
  (hReg :
    ∀ (d : Fin 6 → ℕ),
      Ops.Count.size (Ops.stmtCost Reg.instrument [d 0 + 1, d 1, 0, 0, 0]) ≤ WReg d)
  (hRed :
    ∀ (d : Fin 6 → ℕ), Ops.Count.size (Ops.stmtCost Red.instrument [d 0 + 1, 0, 0, 0, 0]) ≤ WRed d)
  (hCore :
    ∀ (d : Fin 6 → ℕ),
      Ops.Count.size
          (Ops.stmtCost Core.instrument [d 0 + 1, d 2, d 3, d 4, d 5, 0, d 1, 0, 0, 0, 0]) ≤
        WCore d)
  (d : Fin 6 → ℕ) :
  Ops.Count.size (Ops.staticCost (Schur.schurPipelineProgram Nm Reg Red Core) d) ≤
    Schur.schurPipelineWork WNm WReg WRed WCore d

Full source on GitHub

Import NLAlib.Eigensolvers.Schur.Certification.