NLAlib.Ops.PWrites.of_forall_eq
Library · theorem
A probabilistic block from its runs at each memory: if from every memory of the precondition the block, started at that memory, writes only F and ends in Post except with probability \varphi, and the outcomes (the frame and Post) form a measurable set, the block fails with probability at most \varphi from the precondition (NLAlib.Ops.PWrites.pstep_of_forall over the memories).
NLAlib.Ops.PWrites.of_forall_eq {Op Tst : Type} {I : Ops.Interp Op Tst ℝ} (hI : I.IsMeasurable)
{win : Op → List ℕ → ℕ} (hloc : ∀ (o : Op), I.TapeLocal o (win o)) {law : ℕ → Measure ℝ}
{c : Ops.Stmt Op Tst} {ρ : Ops.Env} {F : Ops.Fp} {Pre Post : Ops.Mem ℝ → Prop} {φ : ℝ}
(h : ∀ (m : Ops.Mem ℝ), Pre m → Ops.PWrites law I c ρ F (fun x ↦ x = m) Post φ)
(hT : MeasurableSet {x | Ops.Store.EqOff F x.1.store x.2.store ∧ Post x.2}) :
Ops.PWrites law I c ρ F Pre Post φImport NLAlib.Ops.Logic.ProbabilisticFamily.