NLA-lib Explorer

NLAlib.Ops.Examples.idle_wp

Library · theorem

A call of an idle kernel.

NLAlib.Ops.Examples.idle_wp {K Op : Type} {J : Ops.Interp Op Ops.IdxTst K} {o : Op}
  (hK : J.Satisfies Ops.Mode.total o (Ops.Examples.idleRel.spec Ops.AnyOperands)) {τ : Ops.Tape K}
  {ρ : Ops.Env} {e : Ops.IExp} {n : ℕ} (he : Ops.IExp.eval ρ.idx e = some n) {m : Ops.Mem K} :
  Ops.Wp Ops.Mode.total J τ (Ops.Stmt.call o [e] [] []) ρ (fun x ↦ x = m) m

Full source on GitHub

Import NLAlib.Ops.Examples.Split.