NLA-lib Explorer

NLAlib.Ops.Tools.map_toSt_execC_init

Library · theorem

The computable counted run from the start state is evalCounted from St.init.

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

Full source on GitHub

Import NLAlib.Ops.Tools.Exec.