NLA-lib Explorer

NLAlib.Ops.RunsFromWL

Library · def

A counted run from a state, partial correctness: if the counted run of s from st succeeds, it stays within the workspace p above the live payload bytes, and Q holds of the counts that the run added and of the final memory. It says nothing of success: a target never rests on it alone.

NLAlib.Ops.RunsFromWL {Op Tst K : Type} (I : Ops.Interp Op Tst K) (W : Op → List ℕ → ℕ)
  (τ : Ops.Tape K) (s : Ops.Stmt Op Tst) (ρ : Ops.Env) (st : Ops.St Op Tst K) (p : ℕ)
  (Q : Ops.Count Op Tst → Ops.Mem K → Prop) : Prop

Full source on GitHub

Import NLAlib.Ops.Counted.