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 / V18. Measure and integration

Mathlib.MeasureTheory.Measure.Prokhorov

12 declarations and 6 deprecated aliases. Mathlib docs · Source

Prokhorov theorem

We prove statements about the compactness of sets of finite measures or probability measures, notably several versions of Prokhorov theorem on tight sets of probability measures.

Main statements

  • instCompactSpaceProbabilityMeasure proves that the space of probability measures on a compact space is itself compact
  • isCompact_setOfPred_probabilityMeasure_mass_eq_compl_isCompact_le: Given a sequence of compact sets Kₙ and a sequence uₙ tending to zero, the probability measures giving mass at most uₙ to the complement of Kₙ form a compact set.
  • isCompact_closure_of_isTightMeasureSet: Given a tight set of probability measures, its closure is compact.
  • isTightMeasureSet_of_isCompact_closure: In a second countable complete metric space, a set of probability measures with compact closure is tight.

Versions are also given for finite measures.

Implementation

We do not assume second-countability or metrizability.

For the compactness of the space of probability measures in a compact space, we argue that every ultrafilter converges, using the Riesz-Markov-Kakutani theorem to construct the limiting measure in terms of its integrals against continuous functions.

For Prokhorov theorem isCompact_setOfPred_probabilityMeasure_mass_eq_compl_isCompact_le, we rely on the compactness of the space of measures inside each compact set to get convergence of the restriction there, and argue that the full measure converges to the sum of the individual limits of the disjointed components. There is a subtlety that the space of finite measures giving mass uₙ to Kₙᶜ doesn't have to be closed in our general setting, but we only need to find a limit satisfying this condition. To ensure this, we need a technical condition (monotonicity of K or normality of the space). In the first case, the bound follows readily from the construction. In the second case, we modify the individual limits (again using Riesz-Markov-Kakutani) to make sure that they are inner-regular, and then one can check the condition.

theorem isCompact_setOfPred_finiteMeasure_le_of_compactSpace E1 #

∀ (E : Type u_1) [inst : MeasurableSpace E] [inst_1 : TopologicalSpace E] [T2Space E] [inst_3 : BorelSpace E]
  [CompactSpace E] (C : NNReal), IsCompact {μ | μ.mass ≤ C}

In a compact space, the set of finite measures with mass at most C is compact.

theorem isCompact_setOfPred_finiteMeasure_eq_of_compactSpace E1 #

∀ (E : Type u_1) [inst : MeasurableSpace E] [inst_1 : TopologicalSpace E] [T2Space E] [inst_3 : BorelSpace E]
  [CompactSpace E] (C : NNReal), IsCompact {μ | μ.mass = C}

In a compact space, the set of finite measures with mass C is compact.

instance instCompactSpaceProbabilityMeasure E3 #

∀ {E : Type u_1} [inst : MeasurableSpace E] [inst_1 : TopologicalSpace E] [T2Space E] [inst_3 : BorelSpace E]
  [CompactSpace E], CompactSpace (MeasureTheory.ProbabilityMeasure E)

In a compact space, the space of probability measures is also compact.

theorem isCompact_setOfPred_finiteMeasure_le_of_isCompact E1 #

∀ {E : Type u_1} [inst : MeasurableSpace E] [inst_1 : TopologicalSpace E] [T2Space E] [inst_3 : BorelSpace E]
  (C : NNReal) {K : Set E}, IsCompact K → IsCompact {μ | μ.mass ≤ C ∧ μ Kᶜ = 0}

The set of finite measures of mass at most C supported on a given compact set K is compact.

theorem MeasureTheory.FiniteMeasure.tendsto_of_tendsto_restrict_disjointed E2 #

∀ {E : Type u_1} [inst : MeasurableSpace E] [inst_1 : TopologicalSpace E] [inst_2 : BorelSpace E]
  {f : Filter (MeasureTheory.FiniteMeasure E)} {K : ℕ → Set E} {u : ℕ → NNReal} {ν : ℕ → MeasureTheory.FiniteMeasure E}
  {μ : MeasureTheory.FiniteMeasure E},
  (∀ (n : ℕ), MeasurableSet (K n)) →
    Filter.Tendsto u Filter.atTop (nhds 0) →
      (∀ (n : ℕ), ∀ᶠ (ρ : MeasureTheory.FiniteMeasure E) in f, ρ (K n)ᶜ ≤ u n) →
        (∀ (n : ℕ), Filter.Tendsto (fun ρ ↦ ρ.restrict (disjointed K n)) f (nhds (ν n))) →
          (↑μ = MeasureTheory.Measure.sum fun n ↦ ↑(ν n)) → Filter.Tendsto id f (nhds μ)

Let f be a filter on the space FiniteMeasure E, and K a sequence of measurable sets. Suppose that, as the finite measure ρ varies along f, its restriction to each piece disjointed K n converges weakly to a finite measure ν n. Suppose also that, for each n, the mass ρ (K n)ᶜ is eventually bounded by u n, where u n → 0.

Under these hypotheses, if the sum of the measures ν n is a finite measure μ, then f converges weakly to μ.

(This is used in the proof of Prokhorov's theorem, isCompact_setOfPred_finiteMeasure_mass_le_compl_isCompact_le. In that application, f is an ultrafilter, the ambient space E is Hausdorff, and the sets K n are compact; but these assumptions are not needed for this particular step.)

theorem MeasureTheory.FiniteMeasure.apply_le_of_tendsto_of_isOpen E1 #

∀ {E : Type u_1} [inst : MeasurableSpace E] [inst_1 : TopologicalSpace E] [T2Space E] [inst_3 : BorelSpace E]
  [NormalSpace E] {α : Type u_2} {f : Filter α} [f.NeBot] {ρ : α → MeasureTheory.FiniteMeasure E}
  {μ : MeasureTheory.FiniteMeasure E} [(↑μ).InnerRegularCompactLTTop] {s : Set E} {c : NNReal},
  Filter.Tendsto ρ f (nhds μ) → IsOpen s → (∀ᶠ (a : α) in f, (ρ a) s ≤ c) → μ s ≤ c

On a normal space, an eventual upper bound on the mass of an open set passes to an inner-regular weak limit of finite measures.

theorem isCompact_setOfPred_finiteMeasure_mass_le_compl_isCompact_le E3 #

∀ {E : Type u_1} [inst : MeasurableSpace E] [inst_1 : TopologicalSpace E] [T2Space E] [inst_3 : BorelSpace E]
  {u : ℕ → NNReal} {K : ℕ → Set E} (C : NNReal),
  Filter.Tendsto u Filter.atTop (nhds 0) →
    (∀ (n : ℕ), IsCompact (K n)) → NormalSpace E ∨ Monotone K → IsCompact {μ | μ.mass ≤ C ∧ ∀ (n : ℕ), μ (K n)ᶜ ≤ u n}

Prokhorov theorem: Given a sequence of compact sets Kₙ and a sequence uₙ tending to zero, the finite measures of mass at most C giving mass at most uₙ to the complement of Kₙ form a compact set.

theorem isCompact_setOfPred_finiteMeasure_mass_eq_compl_isCompact_le E3 #

∀ {E : Type u_1} [inst : MeasurableSpace E] [inst_1 : TopologicalSpace E] [T2Space E] [inst_3 : BorelSpace E]
  {u : ℕ → NNReal} {K : ℕ → Set E} (C : NNReal),
  Filter.Tendsto u Filter.atTop (nhds 0) →
    (∀ (n : ℕ), IsCompact (K n)) → NormalSpace E ∨ Monotone K → IsCompact {μ | μ.mass = C ∧ ∀ (n : ℕ), μ (K n)ᶜ ≤ u n}

Prokhorov theorem: Given a sequence of compact sets Kₙ and a sequence uₙ tending to zero, the finite measures of mass C giving mass at most uₙ to the complement of Kₙ form a compact set.

theorem isCompact_setOfPred_probabilityMeasure_mass_eq_compl_isCompact_le E3 #

∀ {E : Type u_1} [inst : MeasurableSpace E] [inst_1 : TopologicalSpace E] [T2Space E] [inst_3 : BorelSpace E]
  {u : ℕ → NNReal} {K : ℕ → Set E},
  Filter.Tendsto u Filter.atTop (nhds 0) →
    (∀ (n : ℕ), IsCompact (K n)) → NormalSpace E ∨ Monotone K → IsCompact {μ | ∀ (n : ℕ), μ (K n)ᶜ ≤ u n}

Prokhorov theorem: Given a sequence of compact sets Kₙ and a sequence uₙ tending to zero, the probability measures giving mass at most uₙ to the complement of Kₙ form a compact set.

theorem isCompact_closure_of_isTightMeasureSet E3 #

∀ {E : Type u_1} [inst : MeasurableSpace E] [inst_1 : TopologicalSpace E] [T2Space E] [inst_3 : BorelSpace E]
  {S : Set (MeasureTheory.ProbabilityMeasure E)},
  MeasureTheory.IsTightMeasureSet {x | ∃ μ ∈ S, ↑μ = x} → IsCompact (closure S)

Prokhorov theorem: the closure of a tight set of probability measures is compact. We only require the space to be T2.

theorem MeasureTheory.exists_measure_iUnion_gt_of_isCompact_closure E1 #

∀ {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} [inst : PseudoMetricSpace 𝓧] [inst_1 : OpensMeasurableSpace 𝓧]
  [SecondCountableTopology 𝓧] {S : Set (MeasureTheory.ProbabilityMeasure 𝓧)} (U : ℕ → Set 𝓧),
  (∀ (i : ℕ), IsOpen (U i)) →
    ⋃ i, U i = Set.univ →
      IsCompact (closure S) → ∀ (ε : ENNReal), 0 < ε → ε ≤ 1 → ∃ k, ∀ μ ∈ S, 1 - ε < ↑(μ (⋃ i, ⋃ (_ : i ≤ k), U i))

theorem MeasureTheory.isTightMeasureSet_of_isCompact_closure E3 #

∀ {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} [inst : PseudoMetricSpace 𝓧] [inst_1 : OpensMeasurableSpace 𝓧]
  [SecondCountableTopology 𝓧] {S : Set (MeasureTheory.ProbabilityMeasure 𝓧)} [CompleteSpace 𝓧],
  IsCompact (closure S) → MeasureTheory.IsTightMeasureSet {x | ∃ μ ∈ S, ↑μ = x}

In a second countable complete metric space, a set of probability measures with compact closure is tight.

Deprecated aliases

NameNew nameSince
isCompact_setOf_finiteMeasure_eq_of_compactSpaceisCompact_setOfPred_finiteMeasure_eq_of_compactSpace2026-07-09
isCompact_setOf_finiteMeasure_le_of_compactSpaceisCompact_setOfPred_finiteMeasure_le_of_compactSpace2026-07-09
isCompact_setOf_finiteMeasure_le_of_isCompactisCompact_setOfPred_finiteMeasure_le_of_isCompact2026-07-09
isCompact_setOf_finiteMeasure_mass_eq_compl_isCompact_leisCompact_setOfPred_finiteMeasure_mass_eq_compl_isCompact_le2026-07-09
isCompact_setOf_finiteMeasure_mass_le_compl_isCompact_leisCompact_setOfPred_finiteMeasure_mass_le_compl_isCompact_le2026-07-09
isCompact_setOf_probabilityMeasure_mass_eq_compl_isCompact_leisCompact_setOfPred_probabilityMeasure_mass_eq_compl_isCompact_le2026-07-09