NLA-lib Explorer

NLAlib.Ops.Wp.named

Library · theorem

Checkpoint: generalise the current memory, a chain of updates, into a fresh memory with the facts P proved about the chain. The tactic checkpoint proves P (frame by frame, reads by store_simp) and introduces the name.

NLAlib.Ops.Wp.named {Op Tst K : Type} {md : Ops.Mode} {I : Ops.Interp Op Tst K} {τ : Ops.Tape K}
  {ρ : Ops.Env} {m : Ops.Mem K} {c : Ops.Stmt Op Tst} {Q : Ops.Mem K → Prop} (P : Ops.Mem K → Prop)
  (hP : P m) (h : ∀ (m' : Ops.Mem K), P m' → Ops.Wp md I τ c ρ Q m') : Ops.Wp md I τ c ρ Q m

Full source on GitHub

Import NLAlib.Ops.Logic.Writes.