NLA-lib Explorer

NLAlib.Ops.RunsFromWL.frame

Library · theorem

Procedure instance: the body, when the arguments are live.

NLAlib.Ops.RunsFromWL.frame {Op Tst K : Type} {I : Ops.Interp Op Tst K} {W : Op → List ℕ → ℕ}
  {τ : Ops.Tape K} {ρ : Ops.Env} {st : Ops.St Op Tst K} {p : ℕ}
  {Q : Ops.Count Op Tst → Ops.Mem K → Prop} {ds : List Ops.IExp} {args : List Ops.Operand}
  {body : Ops.Stmt Op Tst} {d : List ℕ} {a : List (ℕ × ℕ)}
  (hd : Ops.IExp.evalList ρ.idx ds = some d) (ha : Ops.Operand.evalList ρ args = some a)
  (h : st.mem.Live a → Ops.RunsFromWL I W τ body (Ops.Env.frame d a) st p Q) :
  Ops.RunsFromWL I W τ (Ops.Stmt.frame ds args body) ρ st p Q

Full source on GitHub

Import NLAlib.Ops.Counted.