NLAlib.Ops.PWrites.pstep_of_forall
Library · theorem
A family of probabilistic block specifications is one probabilistic step: under a measurable interpretation whose operations read the tape only in their windows, if for every input x the run from the memories of P x writes only F and ends in Q x except with probability at most \varphi, and every such outcome lies in a measurable set T of pairs of memories (before, after), then from every memory of some P x the run ends in T except with probability at most \varphi. The good set is the largest one, "the run ends in T"; it does not depend on the input, so T carries whatever the caller needs to know about the input.
NLAlib.Ops.PWrites.pstep_of_forall.{u_1} {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}
{φ : ℝ} (hI : I.IsMeasurable) {win : Op → List ℕ → ℕ} (hloc : ∀ (o : Op), I.TapeLocal o (win o))
{ι : Type u_1} {P Q : ι → Ops.Mem K → Prop} (h : ∀ (x : ι), Ops.PWrites law I c ρ F (P x) (Q x) φ)
{T : Set (Ops.Mem K × Ops.Mem K)} (hT : MeasurableSet T)
(hPT :
∀ (x : ι) (m m' : Ops.Mem K),
P x m → Ops.Store.EqOff F m.store m'.store → Q x m' → (m, m') ∈ T) :
Ops.PStep law (fun τ m ↦ Ops.eval I τ c ρ m) (fun m ↦ ∃ x, P x m) (fun m m' ↦ (m, m') ∈ T) φImport NLAlib.Ops.Logic.ProbabilisticFamily.