Documentation

CslibFrontier.Foundations.Probability.UnionBound

The union bound as an existence statement #

The probabilistic method finds an outcome that avoids a family of bad events by checking that their probabilities sum to less than one. Under a probability measure, an event of probability below one misses some outcome (MeasureTheory.exists_notMem_of_measureReal_lt_one), so the union bound gives an outcome outside every event A i, i ∈ s, once ∑ i ∈ s, P(A i) < 1 (MeasureTheory.exists_forall_notMem_of_sum_le). Neither statement needs measurability.

Main results #

theorem MeasureTheory.exists_notMem_of_measureReal_lt_one {Ω : Type u_1} [MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P] {s : Set Ω} (h : P.real s < 1) :
∃ (ω : Ω), ω ∉ s

Under a probability measure, an event of probability below one misses some outcome.

theorem MeasureTheory.exists_forall_notMem_of_sum_le {Ω : Type u_1} {ι : Type u_2} [MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P] {s : Finset ι} {A : ι → Set Ω} {b : ι → ℝ} (hA : ∀ i ∈ s, P.real (A i) ≤ b i) (hb : ∑ i ∈ s, b i < 1) :
∃ (ω : Ω), ∀ i ∈ s, ω ∉ A i

The union bound. Under a probability measure, if the events A i, i ∈ s, have probabilities at most b i and ∑ i ∈ s, b i < 1, some outcome avoids all of them.