NLA-lib Explorer

NLAlib.Ops.Routine.specification

Library · def

What the counted certificate of a routine states: from tape position zero the run advances by the declared number of draws, and the reported buffers hold blocks satisfying the postcondition for the tape and the supplied input blocks; the work and the span of the run are at most work; the resident payload is at most bytes plus the static scratch of the tree.

NLAlib.Ops.Routine.specification {Op Tst K : Type} {r b : ℕ} (R : Ops.Routine Op Tst)
  {P : Ops.Problem K r b} (S : (d : Fin r → ℕ) → P.Input d → Ops.Routine.Spec K)
  (W : Ops.ResourceModel Op Tst) (input : (d : Fin r → ℕ) → P.Input d → List (List K))
  (bytes work : (Fin r → ℕ) → ℕ) : Ops.Specification Op Tst P

Full source on GitHub

Import NLAlib.Ops.Routine.