NLAlib.Ops.wp_call
Library · theorem
Call by contract. The contract is given the window of the tape at the position.
NLAlib.Ops.wp_call {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} {C : Ops.Contract K}
(hI : I.Satisfies md o C) {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)
(hpre : (C.on md d a b τ m).pre m)
(hQ : ∀ (m' : Ops.Mem K), (C.on md d a b τ m).post m m' → Q m') :
Ops.Wp md I τ (Ops.Stmt.call o ds ins outs) ρ Q mImport NLAlib.Ops.Logic.