NLA-lib Explorer

NLAlib.Ops.PWrites.mono_eqOff

Library · theorem

Consequence through the frame: a stronger precondition, and a postcondition that may use the initial memory and the frame of the run.

NLAlib.Ops.PWrites.mono_eqOff {Op Tst K : Type} [Inhabited K] [MeasurableSpace K]
  {law : ℕ → Measure K} {I : Ops.Interp Op Tst K} {c : Ops.Stmt Op Tst} {ρ : Ops.Env} {F : Ops.Fp}
  {Pre Post : Ops.Mem K → Prop} {φ : ℝ} {Pre' Post' : Ops.Mem K → Prop}
  (h : Ops.PWrites law I c ρ F Pre Post φ) (hPre : ∀ (m : Ops.Mem K), Pre' m → Pre m)
  (hPost : ∀ (m m' : Ops.Mem K), Pre' m → Ops.Store.EqOff F m.store m'.store → Post m' → Post' m') :
  Ops.PWrites law I c ρ F Pre' Post' φ

Full source on GitHub

Import NLAlib.Ops.Logic.ProbabilisticFamily.