NLA-lib Explorer

NLAlib.Ops.wp_call_fn

Library · theorem

Call of a functional operation: an equation.

NLAlib.Ops.wp_call_fn {Op Tst K : Type} {md : Ops.Mode} {I : Ops.Interp Op Tst K} {τ : Ops.Tape K}
  {ρ : Ops.Env} {Q : Ops.Mem K → Prop} {m : Ops.Mem K} {o : Op} {f : Ops.BlockFn K}
  {adm : List ℕ → List (ℕ × ℕ) → List (ℕ × ℕ) → Prop} (hI : I.IsFn Ops.Mode.total o f adm)
  {ds : List Ops.IExp} {ins outs : List Ops.Operand} {d : List ℕ} {a b : List (ℕ × ℕ)}
  (hd : Ops.IExp.evalList ρ.idx ds = some d) (ha : Ops.Operand.evalList ρ ins = some a)
  (hb : Ops.Operand.evalList ρ outs = some b) (hadm : adm d a b) {m' : Ops.Mem K}
  (hf : f.apply d a b τ m = some m') (hQ : Q m') : Ops.Wp md I τ (Ops.Stmt.call o ds ins outs) ρ Q m

Full source on GitHub

Import NLAlib.Ops.Rules.