NLA-lib Explorer

NLAlib.Ops.Tools.map_toSt_execC

Library · theorem

The computable counted run is the counted run of the core.

NLAlib.Ops.Tools.map_toSt_execC {Op Tst K : Type} (I : Ops.Interp Op Tst K) (W : Op → List ℕ → ℕ)
  (τ : Ops.Tape K) (s : Ops.Stmt Op Tst) (ρ : Ops.Env) (c : Ops.Tools.CSt Op Tst K) :
  Option.map Ops.Tools.CSt.toSt (Ops.Tools.execC I W τ s ρ c) = Ops.evalCounted I W τ s ρ c.toSt

Full source on GitHub

Import NLAlib.Ops.Tools.Exec.