NLA-lib Explorer

NLAlib.Ops.holds_testAt

Library · theorem

A test whose Boolean is known.

NLAlib.Ops.holds_testAt {Op Tst K : Type} {md : Ops.Mode} {I : Ops.Interp Op Tst K} {ρ : Ops.Env}
  {m : Ops.Mem K} {q : Tst} {ds : List Ops.IExp} {ins : List Ops.Operand} {d : List ℕ}
  {a : List (ℕ × ℕ)} {c : Bool} {P : Bool → Prop} (hd : Ops.IExp.evalList ρ.idx ds = some d)
  (ha : Ops.Operand.evalList ρ ins = some a) (hc : I.test q d a m = some c) (h : P c) :
  md.Holds (I.testAt q ds ins ρ m) P

Full source on GitHub

Import NLAlib.Ops.Logic.