Documentation

CslibFrontier.Probability.StochasticDomination.Stopping

Infinite-horizon stopping-time mean bounds #

Stopping-time finiteness, integrability, tail-sum expectation identity, and the infinite-horizon mean bound ∫ ω, ((σ ω).untopD 0 : ℝ) ∂P ≤ r / p for stopping times bounded by r successes of an adapted Bernoulli sequence with conditional success probability at least p > 0 while active.

Main definitions #

Main results #

Embed WithTop ℕ into ℝ≥0∞, sending ⊤ to ⊤ and (n : ℕ) to (n : ℝ≥0∞).

theorem Cslib.Probability.lintegral_withTopToENNReal {Ω : Type u_1} [MeasurableSpace Ω] (P : MeasureTheory.Measure Ω) {τ : Ω → WithTop ℕ} (hτ : Measurable τ) :
∫⁻ (ω : Ω), withTopToENNReal (τ ω) ∂P = ∑' (n : ℕ), P {ω : Ω | ↑n < τ ω}

Tail-sum identity for WithTop ℕ-valued measurable random variables: ∫⁻ ω, withTopToENNReal (τ ω) ∂P = ∑' n, P {ω | (n : WithTop ℕ) < τ ω}.

theorem Cslib.Probability.integral_untopD_eq_tsum_real_lt {Ω : Type u_1} [MeasurableSpace Ω] (P : MeasureTheory.Measure Ω) [MeasureTheory.IsFiniteMeasure P] {τ : Ω → WithTop ℕ} (hτ : Measurable τ) (hs : Summable fun (n : ℕ) => P.real {ω : Ω | ↑n < τ ω}) :
(∀ᵐ (ω : Ω) ∂P, τ ω ≠ ⊤) ∧ MeasureTheory.Integrable (fun (ω : Ω) => ↑(WithTop.untopD 0 (τ ω))) P ∧ ∫ (ω : Ω), ↑(WithTop.untopD 0 (τ ω)) ∂P = ∑' (n : ℕ), P.real {ω : Ω | ↑n < τ ω}

If the real survival series ∑' n, P.real {n < τ} converges under a finite measure P, then τ ≠ ⊤ a.e., (τ ·).untopD 0 is integrable, and ∫ ω, (τ ω).untopD 0 ∂P = ∑' n, P.real {n < τ}.

theorem Cslib.Probability.stoppingTime_mean_le_of_adaptedCount_le {Ω : Type u_1} [m : MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure P] (ℱ : MeasureTheory.Filtration ℕ m) {A : ℕ → Set Ω} (hA : ∀ (t : ℕ), MeasurableSet (A t)) {r : ℕ} {p : ↑unitInterval} (hp_pos : 0 < ↑p) {τ : Ω → WithTop ℕ} (hτ : MeasureTheory.IsStoppingTime ℱ τ) (hle : ∀ (n : ℕ) (ω : Ω), r ≤ adaptedCount A n ω → τ ω ≤ ↑n) (hp : ∀ (t : ℕ), (fun (x : Ω) => ↑p) ≤ᵐ[P.restrict {ω : Ω | ↑t < τ ω}] P[(A t).indicator fun (x : Ω) => 1 | ↑ℱ t]) :
(∀ᵐ (ω : Ω) ∂P, τ ω ≠ ⊤) ∧ MeasureTheory.Integrable (fun (ω : Ω) => ↑(WithTop.untopD 0 (τ ω))) P ∧ ∫ (ω : Ω), ↑(WithTop.untopD 0 (τ ω)) ∂P ≤ ↑r / ↑p

General stopping-time mean bound: if τ is a stopping time for ℱ that triggers whenever adaptedCount A n ω ≥ r, and P[A t | ℱ t] ≥ p (p > 0) a.e. on {t < τ}, then τ < ∞ a.e., ((τ ·).untopD 0 : ℝ) is integrable, and 𝔼[(τ ·).untopD 0] ≤ r / p.

noncomputable def Cslib.Probability.countHittingTime {Ω : Type u_1} (A : ℕ → Set Ω) (r : ℕ) :
Ω → WithTop ℕ

First time n : ℕ at which adaptedCount A n ω ≥ r.

theorem Cslib.Probability.countHittingTime_le_iff {Ω : Type u_1} (A : ℕ → Set Ω) (r n : ℕ) (ω : Ω) :
countHittingTime A r ω ≤ ↑n ↔ r ≤ adaptedCount A n ω
theorem Cslib.Probability.lt_countHittingTime_iff {Ω : Type u_1} (A : ℕ → Set Ω) (r n : ℕ) (ω : Ω) :
↑n < countHittingTime A r ω ↔ adaptedCount A n ω < r
theorem Cslib.Probability.countHittingTime_mean_le {Ω : Type u_1} [m : MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure P] (ℱ : MeasureTheory.Filtration ℕ m) {A : ℕ → Set Ω} (hA : ∀ (t : ℕ), MeasurableSet (A t)) {r : ℕ} {p : ↑unitInterval} (hp_pos : 0 < ↑p) (hp : ∀ (t : ℕ), (fun (x : Ω) => ↑p) ≤ᵐ[P.restrict {ω : Ω | adaptedCount A t ω < r}] P[(A t).indicator fun (x : Ω) => 1 | ↑ℱ t]) :
(∀ᵐ (ω : Ω) ∂P, countHittingTime A r ω ≠ ⊤) ∧ MeasureTheory.Integrable (fun (ω : Ω) => ↑(WithTop.untopD 0 (countHittingTime A r ω))) P ∧ ∫ (ω : Ω), ↑(WithTop.untopD 0 (countHittingTime A r ω)) ∂P ≤ ↑r / ↑p

Mean hitting-time bound: if P[A t | ℱ t] ≥ p (p > 0) a.e. on {adaptedCount A t < r}, then countHittingTime A r is a.s. finite, integrable, and has expectation at most r / p.

theorem Cslib.Probability.traj_countHittingTime_mean_le {X : ℕ → Type u_1} [(n : ℕ) → MeasurableSpace (X n)] (κ : (n : ℕ) → ProbabilityTheory.Kernel ((i : ↥(Finset.Iic n)) → X ↑i) (X (n + 1))) [∀ (n : ℕ), ProbabilityTheory.IsMarkovKernel (κ n)] {a : ℕ} (x₀ : (i : ↥(Finset.Iic a)) → X ↑i) {A : ℕ → Set ((n : ℕ) → X n)} (hA : ∀ (t : ℕ), MeasurableSet (A t)) {r : ℕ} {p : ↑unitInterval} (hp_pos : 0 < ↑p) (hp : ∀ (t : ℕ), ∀ᵐ (x : (i : ℕ) → X i) ∂((ProbabilityTheory.Kernel.traj κ a) x₀).restrict {x : (n : ℕ) → X n | adaptedCount A t x < r}, ↑p ≤ ((ProbabilityTheory.Kernel.traj κ (a + t)) (Preorder.frestrictLe (a + t) x)).real (A t)) :
(∀ᵐ (x : (n : ℕ) → X n) ∂(ProbabilityTheory.Kernel.traj κ a) x₀, countHittingTime A r x ≠ ⊤) ∧ MeasureTheory.Integrable (fun (x : (n : ℕ) → X n) => ↑(WithTop.untopD 0 (countHittingTime A r x))) ((ProbabilityTheory.Kernel.traj κ a) x₀) ∧ ∫ (x : (n : ℕ) → X n), ↑(WithTop.untopD 0 (countHittingTime A r x)) ∂(ProbabilityTheory.Kernel.traj κ a) x₀ ≤ ↑r / ↑p

Infinite-horizon mean hitting-time bound under ProbabilityTheory.Kernel.traj κ a x₀.

theorem Cslib.Probability.trajMeasure_countHittingTime_mean_le {X : ℕ → Type u_1} [(n : ℕ) → MeasurableSpace (X n)] (μ₀ : MeasureTheory.Measure (X 0)) [MeasureTheory.IsProbabilityMeasure μ₀] (κ : (n : ℕ) → ProbabilityTheory.Kernel ((i : ↥(Finset.Iic n)) → X ↑i) (X (n + 1))) [∀ (n : ℕ), ProbabilityTheory.IsMarkovKernel (κ n)] {A : ℕ → Set ((n : ℕ) → X n)} (hA : ∀ (t : ℕ), MeasurableSet (A t)) {r : ℕ} {p : ↑unitInterval} (hp_pos : 0 < ↑p) (hp : ∀ (t : ℕ), ∀ᵐ (x : (n : ℕ) → X n) ∂ProbabilityTheory.Kernel.trajMeasure μ₀ κ, adaptedCount A t x < r → ↑p ≤ ((ProbabilityTheory.Kernel.traj κ t) (Preorder.frestrictLe t x)).real (A t)) :

Infinite-horizon mean hitting-time bound under ProbabilityTheory.Kernel.trajMeasure μ₀ κ for events A t measurable at step t + 1.