NLA-lib Explorer

NLAlib.Ops.Writes.keep

Library · theorem

Frame-carry: a fact about the store that reads only cells off the footprint is kept.

NLAlib.Ops.Writes.keep {Op Tst K : Type} {md : Ops.Mode} {I : Ops.Interp Op Tst K} {τ : Ops.Tape K}
  {ρ : Ops.Env} {c : Ops.Stmt Op Tst} {F : Ops.Fp} {P : Ops.Mem K → Prop} {m : Ops.Mem K}
  (h : Ops.Writes md I τ c ρ F P m) {G : Ops.Fp} {P₀ : Ops.Store K → Prop}
  (hP : Ops.Store.ReadsOnly G P₀) (hD : F.Disj G) (hp : P₀ m.store) :
  Ops.Writes md I τ c ρ F (fun m' ↦ P m' ∧ P₀ m'.store) m

Full source on GitHub

Import NLAlib.Ops.Logic.Writes.