NLA-lib Explorer

NLAlib.Ops.Algorithm.run

Library · theorem

Successful execution and the specified output of the same format-checked program.

NLAlib.Ops.Algorithm.run {Op Tst K : Type} {r b : ℕ} {P : Ops.Problem K r b}
  {M : Ops.AccessModel Op Tst P} {S : Ops.Specification Op Tst P} (A : Ops.Algorithm M S)
  {d : Fin r → ℕ} (hd : P.valid d) (x : P.Input d) (I : Ops.Interp Op Tst K)
  (hI : M.contracts d x I) (τ : Ops.Tape K) :
  ∃ c m',
    A.program.run I M.resources P.formats τ d (P.initial d x) = some m' ∧
      c ≤ S.budget d ∧ S.good d x τ c m'

Full source on GitHub

Import NLAlib.Ops.Cert.