NLA-lib Explorer

NLAlib.Ops.Impl.Satisfies.runsL

Library · theorem

The bridge, partial correctness: liberal satisfaction gives a refinement statement, which says nothing of success.

NLAlib.Ops.Impl.Satisfies.runsL {Op Tst K : Type} {E : Ops.Impl Op Tst} {I : Ops.Interp Op Tst K}
  {C : Ops.Contract K} (h : E.Satisfies I Ops.Mode.liberal C) {d : List ℕ} {ins outs : List (ℕ × ℕ)}
  {τ : Ops.Tape K} {m : Ops.Mem K} (hpre : (C.on Ops.Mode.liberal d ins outs τ m).pre m)
  (hl : m.Live (ins ++ outs)) :
  Ops.ConditionalRunsL I τ E.body (Ops.Env.frame d (ins ++ outs)) m
    ((C.on Ops.Mode.liberal d ins outs τ m).post m)

Full source on GitHub

Import NLAlib.Ops.Cert.