NLA-lib Explorer

NLAlib.Ops.PWrites.nonneg

Library · theorem

Random tape

Failure bounds are nonnegative once a tape law exists and the precondition holds somewhere.

NLAlib.Ops.PWrites.nonneg {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} {φ : ℝ} (h : Ops.PWrites law I c ρ F Pre Post φ) {m : Ops.Mem K}
  (hm : Pre m) {Ω : Type} [MeasurableSpace Ω] {P : Measure Ω} {ξ : Ω → Ops.Tape K}
  (hξ : Ops.IsTapeLaw law P ξ) : 0 ≤ φ

Full source on GitHub

Import NLAlib.Ops.Logic.Probabilistic.