NLA-lib Explorer

NLAlib.Ops.exec_mem

Library · theorem

Canonical execution agrees with the checked memory semantics, including failures.

NLAlib.Ops.exec_mem {Op Tst K : Type} {r b : ℕ} (p : Ops.Program Op Tst r b)
  (I : Ops.Interp Op Tst K) (R : Ops.ResourceModel Op Tst) (formats : Fin b → Ops.StorageFormat)
  (τ : Ops.Tape K) (d : Fin r → ℕ) (m : Ops.Mem K) :
  Option.map Ops.St.mem (Ops.exec p I R formats τ d m) = Ops.run p I R formats τ d m

Full source on GitHub

Import NLAlib.Ops.Exec.