NLA-lib Explorer

NLAlib.Krylov.GolubKahan.Band.Certification.staticPeak_solveProgram_le

Library · theorem

The scratch of the fixed program at the sizes (m, n, \mathbf{b}, q) is at most the block of \max(m, n)\,\mathbf{b} words that holds the drawn block and the products, plus a common bound w of the workspace of every primitive and the reservation of the queries.

NLAlib.Krylov.GolubKahan.Band.Certification.staticPeak_solveProgram_le
  (R : Ops.ResourceModel Krylov.GolubKahan.Band.Certification.Operation Ops.CmpTst) (w : ℕ)
  (hW : ∀ (o : Krylov.GolubKahan.Band.Certification.Operation) (ds : List ℕ), R.workspace o ds ≤ w)
  (stream : ℕ) (d : Fin 4 → ℕ) :
  Ops.staticPeak R (Krylov.GolubKahan.Band.solveProgram stream) d ≤
    (d 0 + (d 1 - d 0)) * d 2 + w +
      R.queryReserve (Krylov.GolubKahan.Band.Certification.staticBudget stream d)

Full source on GitHub

Import NLAlib.Krylov.GolubKahan.Band.Certification.