NLA-lib Explorer

NLAlib.Ops.PWrites.mono

Library · theorem

Consequence: a stronger precondition, a weaker postcondition, a larger footprint and a larger failure bound.

NLAlib.Ops.PWrites.mono {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} {φ : ℝ} {F' : Ops.Fp} {Pre' Post' : Ops.Mem K → Prop} {φ' : ℝ}
  (h : Ops.PWrites law I c ρ F Pre Post φ) (hPre : ∀ (m : Ops.Mem K), Pre' m → Pre m) (hF : F ≤ F')
  (hPost : ∀ (m : Ops.Mem K), Post m → Post' m) (hφ : φ ≤ φ') :
  Ops.PWrites law I c ρ F' Pre' Post' φ'

Full source on GitHub

Import NLAlib.Ops.Logic.Probabilistic.