NLA-lib Explorer

NLAlib.Ops.Tools.map_toSt_execProgramC

Library · theorem

The computable wrapper is the canonical counted execution, without count projection.

NLAlib.Ops.Tools.map_toSt_execProgramC {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.Tools.CSt.toSt (Ops.Tools.execProgramC p I R formats τ d m) =
    Ops.exec p I R formats τ d m

Full source on GitHub

Import NLAlib.Ops.Tools.Program.