NLAlib.Ops.wp_ite
Library · theorem
Branch, on the Boolean of the test.
NLAlib.Ops.wp_ite {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 : Tst} {ds : List Ops.IExp}
{ins : List Ops.Operand} {t e : Ops.Stmt Op Tst} {d : List ℕ} {a : List (ℕ × ℕ)} {c : Bool}
(hd : Ops.IExp.evalList ρ.idx ds = some d) (ha : Ops.Operand.evalList ρ ins = some a)
(hc : I.test o d a m = some c) (h : Ops.Wp md I τ (if c = true then t else e) ρ Q m) :
Ops.Wp md I τ (Ops.Stmt.ite o ds ins t e) ρ Q mImport NLAlib.Ops.Logic.