NLA-lib Explorer

NLAlib.Ops.ConditionalRuns.of_run

Library · theorem

A successful run with Q is a run within the static count and workspace.

NLAlib.Ops.ConditionalRuns.of_run {Op Tst K : Type} {I : Ops.Interp Op Tst K} {τ : Ops.Tape K}
  {s : Ops.Stmt Op Tst} {ρ : Ops.Env} {m m' : Ops.Mem K} {Q : Ops.Mem K → Prop}
  (h : Ops.eval I τ s ρ m = some m') (hQ : Q m') (W : Op → List ℕ → ℕ) :
  Ops.ConditionalRuns I W τ s ρ m (Ops.stmtCost s ρ.idx) (Ops.stmtPeak W s ρ.idx) Q

Full source on GitHub

Import NLAlib.Ops.Static.