NLA-lib Explorer

NLAlib.Ops.PStep.measure_exists_bind_bad_le

Library · theorem

Random tape

The probability of the bad set of the second step, at the memory after a first step that reads the tape only up to its end position: it is at most \varphi_2 \ge 0. The union bound over the end positions q uses NLAlib.Ops.IsTapeLaw.measure_past_shift_mem at each q.

NLAlib.Ops.PStep.measure_exists_bind_bad_le {K : Type} [Inhabited K] [MeasurableSpace K]
  {law : ℕ → Measure K} {f : Ops.Tape K → Ops.Mem K → Option (Ops.Mem K)}
  (hfm : Ops.MeasurableRun f) (hff : ∀ (τ τ' : Ops.Tape K), Ops.Follows τ τ' (f τ) (f τ'))
  {G₂ : Ops.Mem K → Set (Ops.Tape K)} (hG₂m : MeasurableSet {x | x.2 ∈ G₂ x.1})
  (hG₂d : ∀ (m : Ops.Mem K), Ops.Tape.DeterminedFrom m.pos (G₂ m)) {Mid : Ops.Mem K → Prop} {φ₂ : ℝ}
  (hφ₂ : 0 ≤ φ₂) {Ω : Type} [MeasurableSpace Ω] {P : Measure Ω} {ξ : Ω → Ops.Tape K}
  (hξ : Ops.IsTapeLaw law P ξ) (hG₂ : ∀ (m' : Ops.Mem K), Mid m' → P.real {ω | ξ ω ∉ G₂ m'} ≤ φ₂)
  (m : Ops.Mem K) : P {ω | ∃ m', f (ξ ω) m = some m' ∧ Mid m' ∧ ξ ω ∉ G₂ m'} ≤ ENNReal.ofReal φ₂

Full source on GitHub

Import NLAlib.Ops.Logic.Probabilistic.