The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V20. Probability

Mathlib.Probability.BorelCantelli

5 declarations. Mathlib docs · Source

The second Borel-Cantelli lemma

This file contains the second Borel-Cantelli lemma which states that, given a sequence of independent sets (sₙ) in a probability space, if ∑ n, μ sₙ = ∞, then the limsup of sₙ has measure 1. We employ a proof using Lévy's generalized Borel-Cantelli by choosing an appropriate filtration.

Main result

  • ProbabilityTheory.measure_limsup_eq_one: the second Borel-Cantelli lemma.

Note: for the first Borel-Cantelli lemma, which holds in general measure spaces (not only in probability spaces), see MeasureTheory.measure_limsup_atTop_eq_zero.

theorem MeasureTheory.filtrationOfSet.congr_simp E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {m : MeasurableSpace Ω} [inst : Preorder ι] {s s_1 : ι → Set Ω} (e_s : s = s_1)
  (hsm : ∀ (i : ι), MeasurableSet (s i)), MeasureTheory.filtrationOfSet hsm = MeasureTheory.filtrationOfSet ⋯

theorem ProbabilityTheory.iIndepFun.indep_comap_natural_of_lt E1 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ι : Type u_2} {β : Type u_3}
  [inst : LinearOrder ι] [mβ : MeasurableSpace β] [inst_1 : NormedAddCommGroup β] [inst_2 : BorelSpace β]
  {f : ι → Ω → β} {i j : ι} (hf : ∀ (i : ι), MeasureTheory.StronglyMeasurable (f i)),
  ProbabilityTheory.iIndepFun f μ →
    i < j → ProbabilityTheory.Indep (MeasurableSpace.comap (f j) mβ) (↑(MeasureTheory.Filtration.natural f hf) i) μ

theorem ProbabilityTheory.iIndepFun.condExp_natural_ae_eq_of_lt E1 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ι : Type u_2} {β : Type u_3}
  [inst : LinearOrder ι] [mβ : MeasurableSpace β] [inst_1 : NormedAddCommGroup β] [inst_2 : BorelSpace β]
  {f : ι → Ω → β} {i j : ι} [SecondCountableTopology β] [CompleteSpace β] [inst_5 : NormedSpace ℝ β]
  (hf : ∀ (i : ι), MeasureTheory.StronglyMeasurable (f i)),
  ProbabilityTheory.iIndepFun f μ →
    i < j → μ[f j | ↑(MeasureTheory.Filtration.natural f hf) i] =ᵐ[μ] fun x ↦ ∫ (x : Ω), f j x ∂μ

theorem ProbabilityTheory.iIndepSet.condExp_indicator_filtrationOfSet_ae_eq E0 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ι : Type u_2} [inst : LinearOrder ι] {i j : ι}
  {s : ι → Set Ω} (hsm : ∀ (n : ι), MeasurableSet (s n)),
  ProbabilityTheory.iIndepSet s μ →
    i < j → μ[(s j).indicator fun x ↦ 1 | ↑(MeasureTheory.filtrationOfSet hsm) i] =ᵐ[μ] fun x ↦ μ.real (s j)

theorem ProbabilityTheory.measure_limsup_eq_one E3 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ℕ → Set Ω},
  (∀ (n : ℕ), MeasurableSet (s n)) →
    ProbabilityTheory.iIndepSet s μ → ∑' (n : ℕ), μ (s n) = ⊤ → μ (Filter.limsup s Filter.atTop) = 1

The second Borel-Cantelli lemma: Given a sequence of independent sets (sₙ) such that ∑ n, μ sₙ = ∞, limsup sₙ has measure 1.