NLAlib.Ops.map_mem_exec
Library · theorem
The counted run and the run end in the same memory, or both fail.
NLAlib.Ops.map_mem_exec {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) :
Option.map (fun x ↦ x.mem) (Ops.evalCounted I W τ s ρ st) = Ops.eval I τ s ρ st.memImport NLAlib.Ops.Exec.