NLA-lib Explorer

NLAlib.Ops.Algorithm.measureReal_failure_le

Library · theorem

For finite measures, a real-valued reference failure bound controls the complete actual failure event of the same canonical run. Finiteness rules out converting infinity to real zero.

NLAlib.Ops.Algorithm.measureReal_failure_le {Op Tst K : Type} {r b : ℕ} {P : Ops.Problem K r b}
  {model : Ops.AccessModel Op Tst P} {S : Ops.Specification Op Tst P} (A : Ops.Algorithm model S)
  {d : Fin r → ℕ} (hd : P.valid d) (x : P.Input d) (I : Ops.Interp Op Tst K)
  (hI : model.contracts d x I) {Omega : Type} (tape : Omega → Ops.Tape K) (R : Omega → Prop)
  (Q : Omega → Ops.Count (Op ⊕ Ops.Bookkeeping) Tst → Ops.Mem K → Prop)
  (hPost :
    ∀ (omega : Omega) (c : Ops.Count (Op ⊕ Ops.Bookkeeping) Tst) (m : Ops.Mem K),
      S.good d x (tape omega) c m → R omega → Q omega c m)
  [MeasurableSpace Omega] (mu : Measure Omega) [IsFiniteMeasure mu] {delta : ℝ}
  (hBound : mu.real {omega | ¬R omega} ≤ delta) :
  mu.real {omega | ¬S.Accepts A.program I model.resources (tape omega) d x (Q omega)} ≤ delta

Full source on GitHub

Import NLAlib.Ops.Probability.