NLA-lib Explorer

NLAlib.Ops.Interp.IsFn.apply_of_callS

Library · theorem

In liberal mode: a successful call of a functional operation is apply.

NLAlib.Ops.Interp.IsFn.apply_of_callS {Op Tst K : Type} {I : Ops.Interp Op Tst K} {o : Op}
  {f : Ops.BlockFn K} {adm : List ℕ → List (ℕ × ℕ) → List (ℕ × ℕ) → Prop}
  (h : I.IsFn Ops.Mode.liberal o f adm) {d : List ℕ} {ins outs : List (ℕ × ℕ)} {τ : Ops.Tape K}
  {m m' : Ops.Mem K} (hnd : d.length = f.nd) (hadm : adm d ins outs)
  (hc : I.callS o d ins outs τ m = some m') : f.apply d ins outs τ m = some m'

Full source on GitHub

Import NLAlib.Ops.Blocks.