NLAlib.Ops.Profile.Refines.measureReal_not_runs_le
Library · theorem
Failure probabilities transfer: the event that the linked program fails, exceeds its budget or misses the postcondition is contained in that event for the algorithm under the induced interpretation.
NLAlib.Ops.Profile.Refines.measureReal_not_runs_le {Op Lo Tst K Ω : Type}
{P : Ops.Profile Op Lo Tst} {Base : Ops.Interp Lo Tst K → Prop} {Ck : Ops.Interp Op Tst K → Prop}
{ξ : Ω → Ops.Tape K} {s : Ops.Stmt Op Tst} {ρ : Ops.Env} {m : Ops.Mem K} {B : Ops.Count Op Tst}
{M : ℕ} (h : P.Refines Base Ck) {mΩ : MeasurableSpace Ω} (μ : Measure Ω) [IsFiniteMeasure μ]
(I : Ops.Interp Lo Tst K) (Q : Ω → Ops.Mem K → Prop) :
μ.real
{ω |
¬Ops.ConditionalRuns I P.wsLo (ξ ω) (Ops.Stmt.link P.table s) ρ m
((Ops.Count.push P.cost) B) M (Q ω)} ≤
μ.real {ω | ¬Ops.ConditionalRuns (I.link P.table) P.ws (ξ ω) s ρ m B M (Q ω)}Import NLAlib.Ops.Law.