NLA-lib Explorer

NLAlib.Ops.Writes.then_

Library · theorem

The named step: after c, the proof goes on from a fresh memory m', with the frame and the postcondition of c as hypotheses.

NLAlib.Ops.Writes.then_ {Op Tst K : Type} {md : Ops.Mode} {I : Ops.Interp Op Tst K} {τ : Ops.Tape K}
  {ρ : Ops.Env} {c c' : Ops.Stmt Op Tst} {F : Ops.Fp} {P Q : Ops.Mem K → Prop} {m : Ops.Mem K}
  (h : Ops.Writes md I τ c ρ F P m)
  (k : ∀ (m' : Ops.Mem K), Ops.Store.EqOff F m.store m'.store → P m' → Ops.Wp md I τ c' ρ Q m') :
  Ops.Wp md I τ (c.seq c') ρ Q m

Full source on GitHub

Import NLAlib.Ops.Logic.Writes.