NLA-lib Explorer

NLAlib.Ops.writes_frame

Library · theorem

A procedure instance: the body runs in the environment of its dimensions and operands.

NLAlib.Ops.writes_frame {Op Tst K : Type} {md : Ops.Mode} {I : Ops.Interp Op Tst K} {τ : Ops.Tape K}
  {ρ : Ops.Env} {m : Ops.Mem K} {ds : List Ops.IExp} {args : List Ops.Operand}
  {body : Ops.Stmt Op Tst} {d : List ℕ} {a : List (ℕ × ℕ)} {F : Ops.Fp} {P : Ops.Mem K → Prop}
  (hd : Ops.IExp.evalList ρ.idx ds = some d) (ha : Ops.Operand.evalList ρ args = some a)
  (hl : m.Live a) (h : Ops.Writes md I τ body (Ops.Env.frame d a) F P m) :
  Ops.Writes md I τ (Ops.Stmt.frame ds args body) ρ F P m

Full source on GitHub

Import NLAlib.Ops.Logic.Writes.