Documentation

Mathlib.MeasureTheory.Measure.MeasureSpace

Measure spaces #

The definition of a measure and a measure space are in MeasureTheory.MeasureSpaceDef, with only a few basic properties. This file provides many more properties of these objects. This separation allows the measurability tactic to import only the file MeasureSpaceDef, and to be available in MeasureSpace (through MeasurableSpace).

Given a measurable space α, a measure on α is a function that sends measurable sets to the extended nonnegative reals that satisfies the following conditions:

  1. μ ∅ = 0;
  2. μ is countably additive. This means that the measure of a countable union of pairwise disjoint sets is equal to the measure of the individual sets.

Every measure can be canonically extended to an outer measure, so that it assigns values to all subsets, not just the measurable subsets. On the other hand, a measure that is countably additive on measurable sets can be restricted to measurable sets to obtain a measure. In this file a measure is defined to be an outer measure that is countably additive on measurable sets, with the additional assumption that the outer measure is the canonical extension of the restricted measure.

Measures on α form a complete lattice, and are closed under scalar multiplication with ℝ≥0∞.

Given a measure, the null sets are the sets where μ s = 0, where μ denotes the corresponding outer measure (so s might not be measurable). We can then define the completion of μ as the measure on the least σ-algebra that also contains all null sets, by defining the measure to be 0 on the null sets.

Main statements #

Implementation notes #

Given μ : Measure α, μ s is the value of the outer measure applied to s. This conveniently allows us to apply the measure to sets without proving that they are measurable. We get countable subadditivity for all sets, but only countable additivity for measurable sets.

You often don't want to define a measure via its constructor. Two ways that are sometimes more convenient:

To prove that two measures are equal, there are multiple options:

A MeasureSpace is a class that is a measurable space with a canonical measure. The measure is denoted volume.

References #

Tags #

measure, almost everywhere, measure space, completion, null set, null measurable set

theorem MeasureTheory.ae_uIoc_iff {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} [LinearOrder α] {a : α} {b : α} {P : αProp} :
(∀ᵐ (x : α) ∂μ, x Ι a bP x) (∀ᵐ (x : α) ∂μ, x Set.Ioc a bP x) ∀ᵐ (x : α) ∂μ, x Set.Ioc b aP x

See also MeasureTheory.ae_restrict_uIoc_iff.

theorem MeasureTheory.measure_union {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s₁ : Set α} {s₂ : Set α} (hd : Disjoint s₁ s₂) (h : MeasurableSet s₂) :
μ (s₁ s₂) = μ s₁ + μ s₂
theorem MeasureTheory.measure_union' {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s₁ : Set α} {s₂ : Set α} (hd : Disjoint s₁ s₂) (h : MeasurableSet s₁) :
μ (s₁ s₂) = μ s₁ + μ s₂
theorem MeasureTheory.measure_inter_add_diff {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {t : Set α} (s : Set α) (ht : MeasurableSet t) :
μ (s t) + μ (s \ t) = μ s
theorem MeasureTheory.measure_diff_add_inter {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {t : Set α} (s : Set α) (ht : MeasurableSet t) :
μ (s \ t) + μ (s t) = μ s
theorem MeasureTheory.measure_union_add_inter {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {t : Set α} (s : Set α) (ht : MeasurableSet t) :
μ (s t) + μ (s t) = μ s + μ t
theorem MeasureTheory.measure_union_add_inter' {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} (hs : MeasurableSet s) (t : Set α) :
μ (s t) + μ (s t) = μ s + μ t
theorem MeasureTheory.measure_symmDiff_eq {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} {t : Set α} (hs : MeasurableSet s) (ht : MeasurableSet t) :
μ (symmDiff s t) = μ (s \ t) + μ (t \ s)
theorem MeasureTheory.measure_symmDiff_le {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} (s : Set α) (t : Set α) (u : Set α) :
μ (symmDiff s u) μ (symmDiff s t) + μ (symmDiff t u)
theorem MeasureTheory.measure_add_measure_compl {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} (h : MeasurableSet s) :
μ s + μ s = μ Set.univ
theorem MeasureTheory.measure_biUnion₀ {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set β} {f : βSet α} (hs : Set.Countable s) (hd : Set.Pairwise s (MeasureTheory.AEDisjoint μ on f)) (h : bs, MeasureTheory.NullMeasurableSet (f b) μ) :
μ (⋃ b ∈ s, f b) = ∑' (p : s), μ (f p)
theorem MeasureTheory.measure_biUnion {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set β} {f : βSet α} (hs : Set.Countable s) (hd : Set.PairwiseDisjoint s f) (h : bs, MeasurableSet (f b)) :
μ (⋃ b ∈ s, f b) = ∑' (p : s), μ (f p)
theorem MeasureTheory.measure_sUnion₀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {S : Set (Set α)} (hs : Set.Countable S) (hd : Set.Pairwise S (MeasureTheory.AEDisjoint μ)) (h : sS, MeasureTheory.NullMeasurableSet s μ) :
μ (⋃₀ S) = ∑' (s : S), μ s
theorem MeasureTheory.measure_sUnion {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {S : Set (Set α)} (hs : Set.Countable S) (hd : Set.Pairwise S Disjoint) (h : sS, MeasurableSet s) :
μ (⋃₀ S) = ∑' (s : S), μ s
theorem MeasureTheory.measure_biUnion_finset₀ {α : Type u_1} {ι : Type u_5} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Finset ι} {f : ιSet α} (hd : Set.Pairwise (s) (MeasureTheory.AEDisjoint μ on f)) (hm : bs, MeasureTheory.NullMeasurableSet (f b) μ) :
μ (⋃ b ∈ s, f b) = Finset.sum s fun (p : ι) => μ (f p)
theorem MeasureTheory.measure_biUnion_finset {α : Type u_1} {ι : Type u_5} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Finset ι} {f : ιSet α} (hd : Set.PairwiseDisjoint (s) f) (hm : bs, MeasurableSet (f b)) :
μ (⋃ b ∈ s, f b) = Finset.sum s fun (p : ι) => μ (f p)
theorem MeasureTheory.tsum_meas_le_meas_iUnion_of_disjoint₀ {α : Type u_1} {ι : Type u_8} [MeasurableSpace α] (μ : MeasureTheory.Measure α) {As : ιSet α} (As_mble : ∀ (i : ι), MeasureTheory.NullMeasurableSet (As i) μ) (As_disj : Pairwise (MeasureTheory.AEDisjoint μ on As)) :
∑' (i : ι), μ (As i) μ (⋃ (i : ι), As i)

The measure of an a.e. disjoint union (even uncountable) of null-measurable sets is at least the sum of the measures of the sets.

theorem MeasureTheory.tsum_meas_le_meas_iUnion_of_disjoint {α : Type u_1} {ι : Type u_8} [MeasurableSpace α] (μ : MeasureTheory.Measure α) {As : ιSet α} (As_mble : ∀ (i : ι), MeasurableSet (As i)) (As_disj : Pairwise (Disjoint on As)) :
∑' (i : ι), μ (As i) μ (⋃ (i : ι), As i)

The measure of a disjoint union (even uncountable) of measurable sets is at least the sum of the measures of the sets.

theorem MeasureTheory.tsum_measure_preimage_singleton {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set β} (hs : Set.Countable s) {f : αβ} (hf : ys, MeasurableSet (f ⁻¹' {y})) :
∑' (b : s), μ (f ⁻¹' {b}) = μ (f ⁻¹' s)

If s is a countable set, then the measure of its preimage can be found as the sum of measures of the fibers f ⁻¹' {y}.

theorem MeasureTheory.measure_preimage_eq_zero_iff_of_countable {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set β} {f : αβ} (hs : Set.Countable s) :
μ (f ⁻¹' s) = 0 xs, μ (f ⁻¹' {x}) = 0
theorem MeasureTheory.sum_measure_preimage_singleton {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} (s : Finset β) {f : αβ} (hf : ys, MeasurableSet (f ⁻¹' {y})) :
(Finset.sum s fun (b : β) => μ (f ⁻¹' {b})) = μ (f ⁻¹' s)

If s is a Finset, then the measure of its preimage can be found as the sum of measures of the fibers f ⁻¹' {y}.

theorem MeasureTheory.measure_diff_null' {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s₁ : Set α} {s₂ : Set α} (h : μ (s₁ s₂) = 0) :
μ (s₁ \ s₂) = μ s₁
theorem MeasureTheory.measure_diff_null {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s₁ : Set α} {s₂ : Set α} (h : μ s₂ = 0) :
μ (s₁ \ s₂) = μ s₁
theorem MeasureTheory.measure_add_diff {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} (hs : MeasurableSet s) (t : Set α) :
μ s + μ (t \ s) = μ (s t)
theorem MeasureTheory.measure_diff' {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {t : Set α} (s : Set α) (hm : MeasurableSet t) (h_fin : μ t ) :
μ (s \ t) = μ (s t) - μ t
theorem MeasureTheory.measure_diff {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s₁ : Set α} {s₂ : Set α} (h : s₂ s₁) (h₂ : MeasurableSet s₂) (h_fin : μ s₂ ) :
μ (s₁ \ s₂) = μ s₁ - μ s₂
theorem MeasureTheory.le_measure_diff {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s₁ : Set α} {s₂ : Set α} :
μ s₁ - μ s₂ μ (s₁ \ s₂)
theorem MeasureTheory.measure_diff_lt_of_lt_add {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} {t : Set α} (hs : MeasurableSet s) (hst : s t) (hs' : μ s ) {ε : ENNReal} (h : μ t < μ s + ε) :
μ (t \ s) < ε
theorem MeasureTheory.measure_diff_le_iff_le_add {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} {t : Set α} (hs : MeasurableSet s) (hst : s t) (hs' : μ s ) {ε : ENNReal} :
μ (t \ s) ε μ t μ s + ε
theorem MeasureTheory.measure_eq_measure_of_null_diff {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} {t : Set α} (hst : s t) (h_nulldiff : μ (t \ s) = 0) :
μ s = μ t
theorem MeasureTheory.measure_eq_measure_of_between_null_diff {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s₁ : Set α} {s₂ : Set α} {s₃ : Set α} (h12 : s₁ s₂) (h23 : s₂ s₃) (h_nulldiff : μ (s₃ \ s₁) = 0) :
μ s₁ = μ s₂ μ s₂ = μ s₃
theorem MeasureTheory.measure_eq_measure_smaller_of_between_null_diff {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s₁ : Set α} {s₂ : Set α} {s₃ : Set α} (h12 : s₁ s₂) (h23 : s₂ s₃) (h_nulldiff : μ (s₃ \ s₁) = 0) :
μ s₁ = μ s₂
theorem MeasureTheory.measure_eq_measure_larger_of_between_null_diff {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s₁ : Set α} {s₂ : Set α} {s₃ : Set α} (h12 : s₁ s₂) (h23 : s₂ s₃) (h_nulldiff : μ (s₃ \ s₁) = 0) :
μ s₂ = μ s₃
theorem MeasureTheory.measure_compl₀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} (h : MeasureTheory.NullMeasurableSet s μ) (hs : μ s ) :
μ s = μ Set.univ - μ s
theorem MeasureTheory.measure_compl {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} (h₁ : MeasurableSet s) (h_fin : μ s ) :
μ s = μ Set.univ - μ s
theorem MeasureTheory.measure_inter_conull' {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} {t : Set α} (ht : μ (s \ t) = 0) :
μ (s t) = μ s
theorem MeasureTheory.measure_inter_conull {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} {t : Set α} (ht : μ t = 0) :
μ (s t) = μ s
theorem MeasureTheory.ae_eq_of_ae_subset_of_measure_ge {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} {t : Set α} (h₁ : s ≤ᶠ[MeasureTheory.Measure.ae μ] t) (h₂ : μ t μ s) (hsm : MeasurableSet s) (ht : μ t ) :
theorem MeasureTheory.ae_eq_of_subset_of_measure_ge {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} {t : Set α} (h₁ : s t) (h₂ : μ t μ s) (hsm : MeasurableSet s) (ht : μ t ) :

If s ⊆ t, μ t ≤ μ s, μ t ≠ ∞, and s is measurable, then s =ᵐ[μ] t.

theorem MeasureTheory.measure_iUnion_congr_of_subset {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} [Countable β] {s : βSet α} {t : βSet α} (hsub : ∀ (b : β), s b t b) (h_le : ∀ (b : β), μ (t b) μ (s b)) :
μ (⋃ (b : β), s b) = μ (⋃ (b : β), t b)
theorem MeasureTheory.measure_union_congr_of_subset {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s₁ : Set α} {s₂ : Set α} {t₁ : Set α} {t₂ : Set α} (hs : s₁ s₂) (hsμ : μ s₂ μ s₁) (ht : t₁ t₂) (htμ : μ t₂ μ t₁) :
μ (s₁ t₁) = μ (s₂ t₂)
@[simp]
theorem MeasureTheory.measure_iUnion_toMeasurable {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} [Countable β] (s : βSet α) :
μ (⋃ (b : β), MeasureTheory.toMeasurable μ (s b)) = μ (⋃ (b : β), s b)
theorem MeasureTheory.measure_biUnion_toMeasurable {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {I : Set β} (hc : Set.Countable I) (s : βSet α) :
μ (⋃ b ∈ I, MeasureTheory.toMeasurable μ (s b)) = μ (⋃ b ∈ I, s b)
@[simp]
theorem MeasureTheory.measure_toMeasurable_union {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} {t : Set α} :
μ (MeasureTheory.toMeasurable μ s t) = μ (s t)
@[simp]
theorem MeasureTheory.measure_union_toMeasurable {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} {t : Set α} :
μ (s MeasureTheory.toMeasurable μ t) = μ (s t)
theorem MeasureTheory.sum_measure_le_measure_univ {α : Type u_1} {ι : Type u_5} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Finset ι} {t : ιSet α} (h : is, MeasurableSet (t i)) (H : Set.PairwiseDisjoint (s) t) :
(Finset.sum s fun (i : ι) => μ (t i)) μ Set.univ
theorem MeasureTheory.tsum_measure_le_measure_univ {α : Type u_1} {ι : Type u_5} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : ιSet α} (hs : ∀ (i : ι), MeasurableSet (s i)) (H : Pairwise (Disjoint on s)) :
∑' (i : ι), μ (s i) μ Set.univ
theorem MeasureTheory.exists_nonempty_inter_of_measure_univ_lt_tsum_measure {α : Type u_1} {ι : Type u_5} {m : MeasurableSpace α} (μ : MeasureTheory.Measure α) {s : ιSet α} (hs : ∀ (i : ι), MeasurableSet (s i)) (H : μ Set.univ < ∑' (i : ι), μ (s i)) :
∃ (i : ι) (j : ι), i j Set.Nonempty (s i s j)

Pigeonhole principle for measure spaces: if ∑' i, μ (s i) > μ univ, then one of the intersections s i ∩ s j is not empty.

theorem MeasureTheory.exists_nonempty_inter_of_measure_univ_lt_sum_measure {α : Type u_1} {ι : Type u_5} {m : MeasurableSpace α} (μ : MeasureTheory.Measure α) {s : Finset ι} {t : ιSet α} (h : is, MeasurableSet (t i)) (H : μ Set.univ < Finset.sum s fun (i : ι) => μ (t i)) :
∃ i ∈ s, ∃ j ∈ s, ∃ (_ : i j), Set.Nonempty (t i t j)

Pigeonhole principle for measure spaces: if s is a Finset and ∑ i in s, μ (t i) > μ univ, then one of the intersections t i ∩ t j is not empty.

theorem MeasureTheory.nonempty_inter_of_measure_lt_add {α : Type u_1} {m : MeasurableSpace α} (μ : MeasureTheory.Measure α) {s : Set α} {t : Set α} {u : Set α} (ht : MeasurableSet t) (h's : s u) (h't : t u) (h : μ u < μ s + μ t) :

If two sets s and t are included in a set u, and μ s + μ t > μ u, then s intersects t. Version assuming that t is measurable.

theorem MeasureTheory.nonempty_inter_of_measure_lt_add' {α : Type u_1} {m : MeasurableSpace α} (μ : MeasureTheory.Measure α) {s : Set α} {t : Set α} {u : Set α} (hs : MeasurableSet s) (h's : s u) (h't : t u) (h : μ u < μ s + μ t) :

If two sets s and t are included in a set u, and μ s + μ t > μ u, then s intersects t. Version assuming that s is measurable.

theorem MeasureTheory.measure_iUnion_eq_iSup {α : Type u_1} {ι : Type u_5} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} [Countable ι] {s : ιSet α} (hd : Directed (fun (x x_1 : Set α) => x x_1) s) :
μ (⋃ (i : ι), s i) = ⨆ (i : ι), μ (s i)

Continuity from below: the measure of the union of a directed sequence of (not necessarily -measurable) sets is the supremum of the measures.

theorem MeasureTheory.measure_biUnion_eq_iSup {α : Type u_1} {ι : Type u_5} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : ιSet α} {t : Set ι} (ht : Set.Countable t) (hd : DirectedOn ((fun (x x_1 : Set α) => x x_1) on s) t) :
μ (⋃ i ∈ t, s i) = ⨆ i ∈ t, μ (s i)
theorem MeasureTheory.measure_iInter_eq_iInf {α : Type u_1} {ι : Type u_5} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} [Countable ι] {s : ιSet α} (h : ∀ (i : ι), MeasurableSet (s i)) (hd : Directed (fun (x x_1 : Set α) => x x_1) s) (hfin : ∃ (i : ι), μ (s i) ) :
μ (⋂ (i : ι), s i) = ⨅ (i : ι), μ (s i)

Continuity from above: the measure of the intersection of a decreasing sequence of measurable sets is the infimum of the measures.

theorem MeasureTheory.tendsto_measure_iUnion {α : Type u_1} {ι : Type u_5} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} [Preorder ι] [IsDirected ι fun (x x_1 : ι) => x x_1] [Countable ι] {s : ιSet α} (hm : Monotone s) :
Filter.Tendsto (μ s) Filter.atTop (nhds (μ (⋃ (n : ι), s n)))

Continuity from below: the measure of the union of an increasing sequence of measurable sets is the limit of the measures.

theorem MeasureTheory.tendsto_measure_iInter {α : Type u_1} {ι : Type u_5} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} [Countable ι] [Preorder ι] [IsDirected ι fun (x x_1 : ι) => x x_1] {s : ιSet α} (hs : ∀ (n : ι), MeasurableSet (s n)) (hm : Antitone s) (hf : ∃ (i : ι), μ (s i) ) :
Filter.Tendsto (μ s) Filter.atTop (nhds (μ (⋂ (n : ι), s n)))

Continuity from above: the measure of the intersection of a decreasing sequence of measurable sets is the limit of the measures.

theorem MeasureTheory.tendsto_measure_biInter_gt {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {ι : Type u_8} [LinearOrder ι] [TopologicalSpace ι] [OrderTopology ι] [DenselyOrdered ι] [FirstCountableTopology ι] {s : ιSet α} {a : ι} (hs : r > a, MeasurableSet (s r)) (hm : ∀ (i j : ι), a < ii js i s j) (hf : ∃ r > a, μ (s r) ) :
Filter.Tendsto (μ s) (nhdsWithin a (Set.Ioi a)) (nhds (μ (⋂ (r : ι), ⋂ (_ : r > a), s r)))

The measure of the intersection of a decreasing sequence of measurable sets indexed by a linear order with first countable topology is the limit of the measures.

theorem MeasureTheory.measure_limsup_eq_zero {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} (hs : ∑' (i : ), μ (s i) ) :
μ (Filter.limsup s Filter.atTop) = 0

One direction of the Borel-Cantelli lemma (sometimes called the "first Borel-Cantelli lemma"): if (sᵢ) is a sequence of sets such that ∑ μ sᵢ is finite, then the limit superior of the sᵢ is a null set.

Note: for the second Borel-Cantelli lemma (applying to independent sets in a probability space), see ProbabilityTheory.measure_limsup_eq_one.

theorem MeasureTheory.measure_liminf_eq_zero {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} (h : ∑' (i : ), μ (s i) ) :
μ (Filter.liminf s Filter.atTop) = 0
theorem MeasureTheory.limsup_ae_eq_of_forall_ae_eq {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} (s : Set α) {t : Set α} (h : ∀ (n : ), s n =ᶠ[MeasureTheory.Measure.ae μ] t) :
theorem MeasureTheory.liminf_ae_eq_of_forall_ae_eq {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} (s : Set α) {t : Set α} (h : ∀ (n : ), s n =ᶠ[MeasureTheory.Measure.ae μ] t) :
theorem MeasureTheory.measure_if {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {x : β} {t : Set β} {s : Set α} :
μ (if x t then s else ) = Set.indicator t (fun (x : β) => μ s) x

Obtain a measure by giving an outer measure where all sets in the σ-algebra are Carathéodory measurable.

Equations
Instances For
    theorem MeasureTheory.Measure.measure_inter_eq_of_measure_eq {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} {t : Set α} {u : Set α} (hs : MeasurableSet s) (h : μ t = μ u) (htu : t u) (ht_ne_top : μ t ) :
    μ (t s) = μ (u s)

    If u is a superset of t with the same (finite) measure (both sets possibly non-measurable), then for any measurable set s one also has μ (t ∩ s) = μ (u ∩ s).

    theorem MeasureTheory.Measure.measure_toMeasurable_inter {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} {t : Set α} (hs : MeasurableSet s) (ht : μ t ) :
    μ (MeasureTheory.toMeasurable μ t s) = μ (t s)

    The measurable superset toMeasurable μ t of t (which has the same measure as t) satisfies, for any measurable set s, the equality μ (toMeasurable μ t ∩ s) = μ (u ∩ s). Here, we require that the measure of t is finite. The conclusion holds without this assumption when the measure is s-finite (for example when it is σ-finite), see measure_toMeasurable_inter_of_sFinite.

    The ℝ≥0∞-module of measures #

    Equations
    • MeasureTheory.Measure.instZero = { zero := { toOuterMeasure := 0, m_iUnion := , trimmed := } }
    @[simp]
    @[simp]
    theorem MeasureTheory.Measure.coe_zero {α : Type u_1} {_m : MeasurableSpace α} :
    0 = 0
    theorem MeasureTheory.Measure.apply_eq_zero_of_isEmpty {α : Type u_1} [IsEmpty α] :
    ∀ {x : MeasurableSpace α} (μ : MeasureTheory.Measure α) (s : Set α), μ s = 0
    Equations
    • MeasureTheory.Measure.instInhabited = { default := 0 }
    Equations
    • MeasureTheory.Measure.instAdd = { add := fun (μ₁ μ₂ : MeasureTheory.Measure α) => { toOuterMeasure := μ₁ + μ₂, m_iUnion := , trimmed := } }
    @[simp]
    theorem MeasureTheory.Measure.add_toOuterMeasure {α : Type u_1} {_m : MeasurableSpace α} (μ₁ : MeasureTheory.Measure α) (μ₂ : MeasureTheory.Measure α) :
    (μ₁ + μ₂) = μ₁ + μ₂
    @[simp]
    theorem MeasureTheory.Measure.coe_add {α : Type u_1} {_m : MeasurableSpace α} (μ₁ : MeasureTheory.Measure α) (μ₂ : MeasureTheory.Measure α) :
    (μ₁ + μ₂) = μ₁ + μ₂
    theorem MeasureTheory.Measure.add_apply {α : Type u_1} {_m : MeasurableSpace α} (μ₁ : MeasureTheory.Measure α) (μ₂ : MeasureTheory.Measure α) (s : Set α) :
    (μ₁ + μ₂) s = μ₁ s + μ₂ s
    Equations
    • MeasureTheory.Measure.instSMul = { smul := fun (c : R) (μ : MeasureTheory.Measure α) => { toOuterMeasure := c μ, m_iUnion := , trimmed := } }
    @[simp]
    theorem MeasureTheory.Measure.smul_toOuterMeasure {α : Type u_1} {R : Type u_6} [SMul R ENNReal] [IsScalarTower R ENNReal ENNReal] {_m : MeasurableSpace α} (c : R) (μ : MeasureTheory.Measure α) :
    (c μ) = c μ
    @[simp]
    theorem MeasureTheory.Measure.coe_smul {α : Type u_1} {R : Type u_6} [SMul R ENNReal] [IsScalarTower R ENNReal ENNReal] {_m : MeasurableSpace α} (c : R) (μ : MeasureTheory.Measure α) :
    (c μ) = c μ
    @[simp]
    theorem MeasureTheory.Measure.smul_apply {α : Type u_1} {R : Type u_6} [SMul R ENNReal] [IsScalarTower R ENNReal ENNReal] {_m : MeasurableSpace α} (c : R) (μ : MeasureTheory.Measure α) (s : Set α) :
    (c μ) s = c μ s
    Equations
    Equations

    Coercion to function as an additive monoid homomorphism.

    Equations
    • MeasureTheory.Measure.coeAddHom = { toZeroHom := { toFun := fun (x_1 : MeasureTheory.Measure α) => x_1, map_zero' := }, map_add' := }
    Instances For
      @[simp]
      theorem MeasureTheory.Measure.coe_finset_sum {α : Type u_1} {ι : Type u_5} {_m : MeasurableSpace α} (I : Finset ι) (μ : ιMeasureTheory.Measure α) :
      (Finset.sum I fun (i : ι) => μ i) = Finset.sum I fun (i : ι) => (μ i)
      theorem MeasureTheory.Measure.finset_sum_apply {α : Type u_1} {ι : Type u_5} {m : MeasurableSpace α} (I : Finset ι) (μ : ιMeasureTheory.Measure α) (s : Set α) :
      (Finset.sum I fun (i : ι) => μ i) s = Finset.sum I fun (i : ι) => (μ i) s
      Equations
      • MeasureTheory.Measure.instDistribMulAction = Function.Injective.distribMulAction { toZeroHom := { toFun := MeasureTheory.Measure.toOuterMeasure, map_zero' := }, map_add' := }
      Equations
      • MeasureTheory.Measure.instModule = Function.Injective.module R { toZeroHom := { toFun := MeasureTheory.Measure.toOuterMeasure, map_zero' := }, map_add' := }
      theorem MeasureTheory.Measure.coe_nnreal_smul_apply {α : Type u_1} {_m : MeasurableSpace α} (c : NNReal) (μ : MeasureTheory.Measure α) (s : Set α) :
      (c μ) s = c * μ s
      @[simp]
      theorem MeasureTheory.Measure.nnreal_smul_coe_apply {α : Type u_1} {_m : MeasurableSpace α} (c : NNReal) (μ : MeasureTheory.Measure α) (s : Set α) :
      c μ s = c * μ s
      theorem MeasureTheory.Measure.ae_smul_measure_iff {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {p : αProp} {c : ENNReal} (hc : c 0) :
      (∀ᵐ (x : α) ∂c μ, p x) ∀ᵐ (x : α) ∂μ, p x
      theorem MeasureTheory.Measure.measure_eq_left_of_subset_of_measure_add_eq {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {ν : MeasureTheory.Measure α} {s : Set α} {t : Set α} (h : (μ + ν) t ) (h' : s t) (h'' : (μ + ν) s = (μ + ν) t) :
      μ s = μ t
      theorem MeasureTheory.Measure.measure_eq_right_of_subset_of_measure_add_eq {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {ν : MeasureTheory.Measure α} {s : Set α} {t : Set α} (h : (μ + ν) t ) (h' : s t) (h'' : (μ + ν) s = (μ + ν) t) :
      ν s = ν t
      theorem MeasureTheory.Measure.measure_toMeasurable_add_inter_left {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {ν : MeasureTheory.Measure α} {s : Set α} {t : Set α} (hs : MeasurableSet s) (ht : (μ + ν) t ) :
      μ (MeasureTheory.toMeasurable (μ + ν) t s) = μ (t s)
      theorem MeasureTheory.Measure.measure_toMeasurable_add_inter_right {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {ν : MeasureTheory.Measure α} {s : Set α} {t : Set α} (hs : MeasurableSet s) (ht : (μ + ν) t ) :
      ν (MeasureTheory.toMeasurable (μ + ν) t s) = ν (t s)

      The complete lattice of measures #

      Measures are partially ordered.

      Equations
      theorem MeasureTheory.Measure.toOuterMeasure_le {α : Type u_1} {m0 : MeasurableSpace α} {μ₁ : MeasureTheory.Measure α} {μ₂ : MeasureTheory.Measure α} :
      μ₁ μ₂ μ₁ μ₂
      theorem MeasureTheory.Measure.le_iff {α : Type u_1} {m0 : MeasurableSpace α} {μ₁ : MeasureTheory.Measure α} {μ₂ : MeasureTheory.Measure α} :
      μ₁ μ₂ ∀ (s : Set α), MeasurableSet sμ₁ s μ₂ s
      theorem MeasureTheory.Measure.le_intro {α : Type u_1} {m0 : MeasurableSpace α} {μ₁ : MeasureTheory.Measure α} {μ₂ : MeasureTheory.Measure α} (h : ∀ (s : Set α), MeasurableSet sSet.Nonempty sμ₁ s μ₂ s) :
      μ₁ μ₂
      theorem MeasureTheory.Measure.le_iff' {α : Type u_1} {m0 : MeasurableSpace α} {μ₁ : MeasureTheory.Measure α} {μ₂ : MeasureTheory.Measure α} :
      μ₁ μ₂ ∀ (s : Set α), μ₁ s μ₂ s
      theorem MeasureTheory.Measure.lt_iff {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {ν : MeasureTheory.Measure α} :
      μ < ν μ ν ∃ (s : Set α), MeasurableSet s μ s < ν s
      theorem MeasureTheory.Measure.lt_iff' {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {ν : MeasureTheory.Measure α} :
      μ < ν μ ν ∃ (s : Set α), μ s < ν s
      Equations
      • =
      theorem MeasureTheory.Measure.le_add_left {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {ν : MeasureTheory.Measure α} {ν' : MeasureTheory.Measure α} (h : μ ν) :
      μ ν' + ν
      theorem MeasureTheory.Measure.le_add_right {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {ν : MeasureTheory.Measure α} {ν' : MeasureTheory.Measure α} (h : μ ν) :
      μ ν + ν'
      Equations
      • One or more equations did not get rendered due to their size.
      theorem MeasureTheory.Measure.sInf_apply {α : Type u_1} {m0 : MeasurableSpace α} {s : Set α} {m : Set (MeasureTheory.Measure α)} (hs : MeasurableSet s) :
      (sInf m) s = (sInf (MeasureTheory.Measure.toOuterMeasure '' m)) s
      Equations
      • MeasureTheory.Measure.instCompleteSemilatticeInf = let __src := inferInstance; let __src_1 := inferInstance; CompleteSemilatticeInf.mk
      Equations
      @[simp]
      @[simp]
      @[simp]
      theorem MeasureTheory.Measure.measure_univ_eq_zero {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} :
      μ Set.univ = 0 μ = 0
      theorem MeasureTheory.Measure.measure_univ_ne_zero {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} :
      μ Set.univ 0 μ 0
      @[simp]
      theorem MeasureTheory.Measure.measure_univ_pos {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} :
      0 < μ Set.univ μ 0

      Pushforward and pullback #

      Lift a linear map between OuterMeasure spaces such that for each measure μ every measurable set is caratheodory-measurable w.r.t. f μ to a linear map between Measure spaces.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        The pushforward of a measure as a linear map. It is defined to be 0 if f is not a measurable function.

        Equations
        Instances For
          theorem MeasureTheory.Measure.mapₗ_congr {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} {g : αβ} (hf : Measurable f) (hg : Measurable g) (h : f =ᶠ[MeasureTheory.Measure.ae μ] g) :
          theorem MeasureTheory.Measure.map_def {α : Type u_8} {β : Type u_9} [MeasurableSpace β] [MeasurableSpace α] (f : αβ) (μ : MeasureTheory.Measure α) :
          @[irreducible]
          def MeasureTheory.Measure.map {α : Type u_8} {β : Type u_9} [MeasurableSpace β] [MeasurableSpace α] (f : αβ) (μ : MeasureTheory.Measure α) :

          The pushforward of a measure. It is defined to be 0 if f is not an almost everywhere measurable function.

          Equations
          Instances For
            @[simp]
            theorem MeasureTheory.Measure.map_zero {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] (f : αβ) :
            @[simp]
            theorem MeasureTheory.Measure.map_of_not_aemeasurable {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {f : αβ} {μ : MeasureTheory.Measure α} (hf : ¬AEMeasurable f μ) :
            theorem MeasureTheory.Measure.map_congr {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} {g : αβ} (h : f =ᶠ[MeasureTheory.Measure.ae μ] g) :
            @[simp]
            theorem MeasureTheory.Measure.map_smul {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] (c : ENNReal) (μ : MeasureTheory.Measure α) (f : αβ) :
            @[simp]
            theorem MeasureTheory.Measure.map_apply₀ {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} (hf : AEMeasurable f μ) {s : Set β} (hs : MeasureTheory.NullMeasurableSet s (MeasureTheory.Measure.map f μ)) :
            (MeasureTheory.Measure.map f μ) s = μ (f ⁻¹' s)
            @[simp]
            theorem MeasureTheory.Measure.map_apply_of_aemeasurable {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} (hf : AEMeasurable f μ) {s : Set β} (hs : MeasurableSet s) :
            (MeasureTheory.Measure.map f μ) s = μ (f ⁻¹' s)

            We can evaluate the pushforward on measurable sets. For non-measurable sets, see MeasureTheory.Measure.le_map_apply and MeasurableEquiv.map_apply.

            @[simp]
            theorem MeasureTheory.Measure.map_apply {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} (hf : Measurable f) {s : Set β} (hs : MeasurableSet s) :
            (MeasureTheory.Measure.map f μ) s = μ (f ⁻¹' s)
            @[simp]
            theorem MeasureTheory.Measure.map_eq_zero_iff {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} (hf : AEMeasurable f μ) :
            @[simp]
            theorem MeasureTheory.Measure.mapₗ_eq_zero_iff {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} (hf : Measurable f) :
            theorem MeasureTheory.Measure.map_ne_zero_iff {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} (hf : AEMeasurable f μ) :
            theorem MeasureTheory.Measure.mapₗ_ne_zero_iff {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} (hf : Measurable f) :
            @[simp]
            theorem MeasureTheory.Measure.map_id' {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} :
            MeasureTheory.Measure.map (fun (x : α) => x) μ = μ
            theorem MeasureTheory.Measure.map_map {α : Type u_1} {β : Type u_2} {γ : Type u_3} {m0 : MeasurableSpace α} [MeasurableSpace β] [MeasurableSpace γ] {μ : MeasureTheory.Measure α} {g : βγ} {f : αβ} (hg : Measurable g) (hf : Measurable f) :
            theorem MeasureTheory.Measure.map_mono {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {ν : MeasureTheory.Measure α} {f : αβ} (h : μ ν) (hf : Measurable f) :
            theorem MeasureTheory.Measure.le_map_apply {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} (hf : AEMeasurable f μ) (s : Set β) :
            μ (f ⁻¹' s) (MeasureTheory.Measure.map f μ) s

            Even if s is not measurable, we can bound map f μ s from below. See also MeasurableEquiv.map_apply.

            theorem MeasureTheory.Measure.le_map_apply_image {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} (hf : AEMeasurable f μ) (s : Set α) :
            μ s (MeasureTheory.Measure.map f μ) (f '' s)
            theorem MeasureTheory.Measure.preimage_null_of_map_null {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} (hf : AEMeasurable f μ) {s : Set β} (hs : (MeasureTheory.Measure.map f μ) s = 0) :
            μ (f ⁻¹' s) = 0

            Even if s is not measurable, map f μ s = 0 implies that μ (f ⁻¹' s) = 0.

            Pullback of a Measure as a linear map. If f sends each measurable set to a measurable set, then for each measurable set s we have comapₗ f μ s = μ (f '' s).

            If the linearity is not needed, please use comap instead, which works for a larger class of functions.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem MeasureTheory.Measure.comapₗ_apply {α : Type u_1} {s : Set α} {β : Type u_8} [MeasurableSpace α] {mβ : MeasurableSpace β} (f : αβ) (hfi : Function.Injective f) (hf : ∀ (s : Set α), MeasurableSet sMeasurableSet (f '' s)) (μ : MeasureTheory.Measure β) (hs : MeasurableSet s) :
              ((MeasureTheory.Measure.comapₗ f) μ) s = μ (f '' s)
              def MeasureTheory.Measure.comap {α : Type u_1} {β : Type u_2} [MeasurableSpace β] [MeasurableSpace α] (f : αβ) (μ : MeasureTheory.Measure β) :

              Pullback of a Measure. If f sends each measurable set to a null-measurable set, then for each measurable set s we have comap f μ s = μ (f '' s).

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem MeasureTheory.Measure.comap_apply₀ {α : Type u_1} {β : Type u_2} [MeasurableSpace β] {s : Set α} [MeasurableSpace α] (f : αβ) (μ : MeasureTheory.Measure β) (hfi : Function.Injective f) (hf : ∀ (s : Set α), MeasurableSet sMeasureTheory.NullMeasurableSet (f '' s) μ) (hs : MeasureTheory.NullMeasurableSet s (MeasureTheory.Measure.comap f μ)) :
                (MeasureTheory.Measure.comap f μ) s = μ (f '' s)
                theorem MeasureTheory.Measure.le_comap_apply {α : Type u_1} {β : Type u_8} [MeasurableSpace α] {mβ : MeasurableSpace β} (f : αβ) (μ : MeasureTheory.Measure β) (hfi : Function.Injective f) (hf : ∀ (s : Set α), MeasurableSet sMeasureTheory.NullMeasurableSet (f '' s) μ) (s : Set α) :
                μ (f '' s) (MeasureTheory.Measure.comap f μ) s
                theorem MeasureTheory.Measure.comap_apply {α : Type u_1} {s : Set α} {β : Type u_8} [MeasurableSpace α] {_mβ : MeasurableSpace β} (f : αβ) (hfi : Function.Injective f) (hf : ∀ (s : Set α), MeasurableSet sMeasurableSet (f '' s)) (μ : MeasureTheory.Measure β) (hs : MeasurableSet s) :
                (MeasureTheory.Measure.comap f μ) s = μ (f '' s)
                theorem MeasureTheory.Measure.comapₗ_eq_comap {α : Type u_1} {s : Set α} {β : Type u_8} [MeasurableSpace α] {_mβ : MeasurableSpace β} (f : αβ) (hfi : Function.Injective f) (hf : ∀ (s : Set α), MeasurableSet sMeasurableSet (f '' s)) (μ : MeasureTheory.Measure β) (hs : MeasurableSet s) :
                theorem MeasureTheory.Measure.measure_image_eq_zero_of_comap_eq_zero {α : Type u_1} {β : Type u_8} [MeasurableSpace α] {_mβ : MeasurableSpace β} (f : αβ) (μ : MeasureTheory.Measure β) (hfi : Function.Injective f) (hf : ∀ (s : Set α), MeasurableSet sMeasureTheory.NullMeasurableSet (f '' s) μ) {s : Set α} (hs : (MeasureTheory.Measure.comap f μ) s = 0) :
                μ (f '' s) = 0
                theorem MeasureTheory.Measure.comap_preimage {α : Type u_1} {β : Type u_8} [MeasurableSpace α] {mβ : MeasurableSpace β} (f : αβ) (μ : MeasureTheory.Measure β) {s : Set β} (hf : Function.Injective f) (hf' : Measurable f) (h : ∀ (t : Set α), MeasurableSet tMeasureTheory.NullMeasurableSet (f '' t) μ) (hs : MeasurableSet s) :
                (MeasureTheory.Measure.comap f μ) (f ⁻¹' s) = μ (s Set.range f)
                noncomputable def MeasureTheory.Measure.sum {α : Type u_1} {ι : Type u_5} {m0 : MeasurableSpace α} (f : ιMeasureTheory.Measure α) :

                Sum of an indexed family of measures.

                Equations
                Instances For
                  theorem MeasureTheory.Measure.le_sum_apply {α : Type u_1} {ι : Type u_5} {m0 : MeasurableSpace α} (f : ιMeasureTheory.Measure α) (s : Set α) :
                  ∑' (i : ι), (f i) s (MeasureTheory.Measure.sum f) s
                  @[simp]
                  theorem MeasureTheory.Measure.sum_apply {α : Type u_1} {ι : Type u_5} {m0 : MeasurableSpace α} (f : ιMeasureTheory.Measure α) {s : Set α} (hs : MeasurableSet s) :
                  (MeasureTheory.Measure.sum f) s = ∑' (i : ι), (f i) s
                  theorem MeasureTheory.Measure.sum_apply₀ {α : Type u_1} {ι : Type u_5} {m0 : MeasurableSpace α} (f : ιMeasureTheory.Measure α) {s : Set α} (hs : MeasureTheory.NullMeasurableSet s (MeasureTheory.Measure.sum f)) :
                  (MeasureTheory.Measure.sum f) s = ∑' (i : ι), (f i) s

                  For the next theorem, the countability assumption is necessary. For a counterexample, consider an uncountable space, with a distinguished point x₀, and the sigma-algebra made of countable sets not containing x₀, and their complements. All points but x₀ are measurable. Consider the sum of the Dirac masses at points different from x₀, and s = x₀. For any Dirac mass δ_x, we have δ_x (x₀) = 0, so ∑' x, δ_x (x₀) = 0. On the other hand, the measure sum δ_x gives mass one to each point different from x₀, so it gives infinite mass to any measurable set containing x₀ (as such a set is uncountable), and by outer regularity one get sum δ_x {x₀} = ∞.

                  theorem MeasureTheory.Measure.sum_apply_of_countable {α : Type u_1} {ι : Type u_5} {m0 : MeasurableSpace α} [Countable ι] (f : ιMeasureTheory.Measure α) (s : Set α) :
                  (MeasureTheory.Measure.sum f) s = ∑' (i : ι), (f i) s
                  theorem MeasureTheory.Measure.le_sum {α : Type u_1} {ι : Type u_5} {m0 : MeasurableSpace α} (μ : ιMeasureTheory.Measure α) (i : ι) :
                  @[simp]
                  theorem MeasureTheory.Measure.sum_apply_eq_zero {α : Type u_1} {ι : Type u_5} {m0 : MeasurableSpace α} [Countable ι] {μ : ιMeasureTheory.Measure α} {s : Set α} :
                  (MeasureTheory.Measure.sum μ) s = 0 ∀ (i : ι), (μ i) s = 0
                  theorem MeasureTheory.Measure.sum_apply_eq_zero' {α : Type u_1} {ι : Type u_5} {m0 : MeasurableSpace α} {μ : ιMeasureTheory.Measure α} {s : Set α} (hs : MeasurableSet s) :
                  (MeasureTheory.Measure.sum μ) s = 0 ∀ (i : ι), (μ i) s = 0
                  theorem MeasureTheory.Measure.sum_sum {α : Type u_1} {ι : Type u_5} {m0 : MeasurableSpace α} {ι' : Type u_8} (μ : ιι'MeasureTheory.Measure α) :
                  (MeasureTheory.Measure.sum fun (n : ι) => MeasureTheory.Measure.sum (μ n)) = MeasureTheory.Measure.sum fun (p : ι × ι') => μ p.1 p.2
                  theorem MeasureTheory.Measure.sum_comm {α : Type u_1} {ι : Type u_5} {m0 : MeasurableSpace α} {ι' : Type u_8} (μ : ιι'MeasureTheory.Measure α) :
                  (MeasureTheory.Measure.sum fun (n : ι) => MeasureTheory.Measure.sum (μ n)) = MeasureTheory.Measure.sum fun (m : ι') => MeasureTheory.Measure.sum fun (n : ι) => μ n m
                  theorem MeasureTheory.Measure.ae_sum_iff {α : Type u_1} {ι : Type u_5} {m0 : MeasurableSpace α} [Countable ι] {μ : ιMeasureTheory.Measure α} {p : αProp} :
                  (∀ᵐ (x : α) ∂MeasureTheory.Measure.sum μ, p x) ∀ (i : ι), ∀ᵐ (x : α) ∂μ i, p x
                  theorem MeasureTheory.Measure.ae_sum_iff' {α : Type u_1} {ι : Type u_5} {m0 : MeasurableSpace α} {μ : ιMeasureTheory.Measure α} {p : αProp} (h : MeasurableSet {x : α | p x}) :
                  (∀ᵐ (x : α) ∂MeasureTheory.Measure.sum μ, p x) ∀ (i : ι), ∀ᵐ (x : α) ∂μ i, p x
                  @[simp]
                  theorem MeasureTheory.Measure.sum_fintype {α : Type u_1} {ι : Type u_5} {m0 : MeasurableSpace α} [Fintype ι] (μ : ιMeasureTheory.Measure α) :
                  MeasureTheory.Measure.sum μ = Finset.sum Finset.univ fun (i : ι) => μ i
                  @[simp]
                  theorem MeasureTheory.Measure.sum_coe_finset {α : Type u_1} {ι : Type u_5} {m0 : MeasurableSpace α} (s : Finset ι) (μ : ιMeasureTheory.Measure α) :
                  (MeasureTheory.Measure.sum fun (i : { x : ι // x s }) => μ i) = Finset.sum s fun (i : ι) => μ i
                  theorem MeasureTheory.Measure.sum_cond {α : Type u_1} {m0 : MeasurableSpace α} (μ : MeasureTheory.Measure α) (ν : MeasureTheory.Measure α) :
                  (MeasureTheory.Measure.sum fun (b : Bool) => bif b then μ else ν) = μ + ν
                  theorem MeasureTheory.Measure.sum_add_sum_compl {α : Type u_1} {ι : Type u_5} {m0 : MeasurableSpace α} (s : Set ι) (μ : ιMeasureTheory.Measure α) :
                  ((MeasureTheory.Measure.sum fun (i : s) => μ i) + MeasureTheory.Measure.sum fun (i : s) => μ i) = MeasureTheory.Measure.sum μ
                  @[simp]
                  theorem MeasureTheory.Measure.sum_comp_equiv {α : Type u_1} {m0 : MeasurableSpace α} {ι : Type u_8} {ι' : Type u_9} (e : ι' ι) (m : ιMeasureTheory.Measure α) :
                  @[simp]
                  theorem MeasureTheory.Measure.sum_extend_zero {α : Type u_1} {m0 : MeasurableSpace α} {ι : Type u_8} {ι' : Type u_9} {f : ιι'} (hf : Function.Injective f) (m : ιMeasureTheory.Measure α) :

                  Absolute continuity #

                  We say that μ is absolutely continuous with respect to ν, or that μ is dominated by ν, if ν(A) = 0 implies that μ(A) = 0.

                  Equations
                  Instances For

                    We say that μ is absolutely continuous with respect to ν, or that μ is dominated by ν, if ν(A) = 0 implies that μ(A) = 0.

                    Equations
                    Instances For
                      theorem MeasureTheory.Measure.AbsolutelyContinuous.mk {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {ν : MeasureTheory.Measure α} (h : ∀ ⦃s : Set α⦄, MeasurableSet sν s = 0μ s = 0) :
                      theorem MeasureTheory.AEDisjoint.of_le {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} {t : Set α} (h : MeasureTheory.AEDisjoint μ s t) {ν : MeasureTheory.Measure α} (h' : ν μ) :

                      Quasi measure preserving maps (a.k.a. non-singular maps) #

                      A map f : α → β is said to be quasi measure preserving (a.k.a. non-singular) w.r.t. measures μa and μb if it is measurable and μb s = 0 implies μa (f ⁻¹' s) = 0.

                      Instances For
                        theorem MeasureTheory.Measure.QuasiMeasurePreserving.ae {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μa : MeasureTheory.Measure α} {μb : MeasureTheory.Measure β} {f : αβ} (h : MeasureTheory.Measure.QuasiMeasurePreserving f μa μb) {p : βProp} (hg : ∀ᵐ (x : β) ∂μb, p x) :
                        ∀ᵐ (x : α) ∂μa, p (f x)
                        theorem MeasureTheory.Measure.QuasiMeasurePreserving.ae_eq {α : Type u_1} {β : Type u_2} {δ : Type u_4} {m0 : MeasurableSpace α} [MeasurableSpace β] {μa : MeasureTheory.Measure α} {μb : MeasureTheory.Measure β} {f : αβ} (h : MeasureTheory.Measure.QuasiMeasurePreserving f μa μb) {g₁ : βδ} {g₂ : βδ} (hg : g₁ =ᶠ[MeasureTheory.Measure.ae μb] g₂) :
                        theorem MeasureTheory.Measure.QuasiMeasurePreserving.preimage_null {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μa : MeasureTheory.Measure α} {μb : MeasureTheory.Measure β} {f : αβ} (h : MeasureTheory.Measure.QuasiMeasurePreserving f μa μb) {s : Set β} (hs : μb s = 0) :
                        μa (f ⁻¹' s) = 0

                        By replacing a measurable set that is almost invariant with the limsup of its preimages, we obtain a measurable set that is almost equal and strictly invariant.

                        (The liminf would work just as well.)

                        theorem MeasureTheory.Measure.pairwise_aedisjoint_of_aedisjoint_forall_ne_zero {G : Type u_8} {α : Type u_9} [AddGroup G] [AddAction G α] [MeasurableSpace α] {μ : MeasureTheory.Measure α} {s : Set α} (h_ae_disjoint : ∀ (g : G), g 0MeasureTheory.AEDisjoint μ (g +ᵥ s) s) (h_qmp : ∀ (g : G), MeasureTheory.Measure.QuasiMeasurePreserving (fun (x : α) => g +ᵥ x) μ μ) :
                        Pairwise (MeasureTheory.AEDisjoint μ on fun (g : G) => g +ᵥ s)
                        theorem MeasureTheory.Measure.pairwise_aedisjoint_of_aedisjoint_forall_ne_one {G : Type u_8} {α : Type u_9} [Group G] [MulAction G α] [MeasurableSpace α] {μ : MeasureTheory.Measure α} {s : Set α} (h_ae_disjoint : ∀ (g : G), g 1MeasureTheory.AEDisjoint μ (g s) s) (h_qmp : ∀ (g : G), MeasureTheory.Measure.QuasiMeasurePreserving (fun (x : α) => g x) μ μ) :
                        Pairwise (MeasureTheory.AEDisjoint μ on fun (g : G) => g s)

                        The cofinite filter #

                        The filter of sets s such that sᶜ has finite measure.

                        Equations
                        Instances For
                          theorem MeasureTheory.Measure.eventually_cofinite {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {p : αProp} :
                          (∀ᶠ (x : α) in MeasureTheory.Measure.cofinite μ, p x) μ {x : α | ¬p x} <
                          theorem AEMeasurable.nullMeasurable {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} (h : AEMeasurable f μ) :
                          theorem AEMeasurable.nullMeasurableSet_preimage {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} {s : Set β} (hf : AEMeasurable f μ) (hs : MeasurableSet s) :

                          The preimage of a null measurable set under a (quasi) measure preserving map is a null measurable set.

                          theorem MeasureTheory.AEDisjoint.preimage {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {ν : MeasureTheory.Measure β} {f : αβ} {s : Set β} {t : Set β} (ht : MeasureTheory.AEDisjoint ν s t) (hf : MeasureTheory.Measure.QuasiMeasurePreserving f μ ν) :
                          theorem MeasureTheory.ae_map_iff {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} (hf : AEMeasurable f μ) {p : βProp} (hp : MeasurableSet {x : β | p x}) :
                          (∀ᵐ (y : β) ∂MeasureTheory.Measure.map f μ, p y) ∀ᵐ (x : α) ∂μ, p (f x)
                          theorem MeasureTheory.ae_of_ae_map {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} [MeasurableSpace β] {μ : MeasureTheory.Measure α} {f : αβ} (hf : AEMeasurable f μ) {p : βProp} (h : ∀ᵐ (y : β) ∂MeasureTheory.Measure.map f μ, p y) :
                          ∀ᵐ (x : α) ∂μ, p (f x)
                          theorem MeasureTheory.ae_map_mem_range {α : Type u_1} {β : Type u_2} [MeasurableSpace β] {m0 : MeasurableSpace α} (f : αβ) (hf : MeasurableSet (Set.range f)) (μ : MeasureTheory.Measure α) :
                          ∀ᵐ (x : β) ∂MeasureTheory.Measure.map f μ, x Set.range f
                          theorem MeasureTheory.biSup_measure_Iic {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} [Preorder α] {s : Set α} (hsc : Set.Countable s) (hst : ∀ (x : α), ∃ y ∈ s, x y) (hdir : DirectedOn (fun (x x_1 : α) => x x_1) s) :
                          ⨆ x ∈ s, μ (Set.Iic x) = μ Set.univ
                          theorem MeasureTheory.tendsto_measure_Ico_atTop {α : Type u_1} {m0 : MeasurableSpace α} [SemilatticeSup α] [NoMaxOrder α] [Filter.IsCountablyGenerated Filter.atTop] (μ : MeasureTheory.Measure α) (a : α) :
                          Filter.Tendsto (fun (x : α) => μ (Set.Ico a x)) Filter.atTop (nhds (μ (Set.Ici a)))
                          theorem MeasureTheory.tendsto_measure_Ioc_atBot {α : Type u_1} {m0 : MeasurableSpace α} [SemilatticeInf α] [NoMinOrder α] [Filter.IsCountablyGenerated Filter.atBot] (μ : MeasureTheory.Measure α) (a : α) :
                          Filter.Tendsto (fun (x : α) => μ (Set.Ioc x a)) Filter.atBot (nhds (μ (Set.Iic a)))
                          theorem MeasureTheory.tendsto_measure_Iic_atTop {α : Type u_1} {m0 : MeasurableSpace α} [SemilatticeSup α] [Filter.IsCountablyGenerated Filter.atTop] (μ : MeasureTheory.Measure α) :
                          Filter.Tendsto (fun (x : α) => μ (Set.Iic x)) Filter.atTop (nhds (μ Set.univ))
                          theorem MeasureTheory.tendsto_measure_Ici_atBot {α : Type u_1} {m0 : MeasurableSpace α} [SemilatticeInf α] [h : Filter.IsCountablyGenerated Filter.atBot] (μ : MeasureTheory.Measure α) :
                          Filter.Tendsto (fun (x : α) => μ (Set.Ici x)) Filter.atBot (nhds (μ Set.univ))
                          theorem MeasureTheory.Iio_ae_eq_Iic' {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} [PartialOrder α] {a : α} (ha : μ {a} = 0) :
                          theorem MeasureTheory.Ioi_ae_eq_Ici' {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} [PartialOrder α] {a : α} (ha : μ {a} = 0) :
                          theorem MeasureTheory.Ioo_ae_eq_Ioc' {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} [PartialOrder α] {a : α} {b : α} (hb : μ {b} = 0) :
                          theorem MeasureTheory.Ioc_ae_eq_Icc' {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} [PartialOrder α] {a : α} {b : α} (ha : μ {a} = 0) :
                          theorem MeasureTheory.Ioo_ae_eq_Ico' {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} [PartialOrder α] {a : α} {b : α} (ha : μ {a} = 0) :
                          theorem MeasureTheory.Ioo_ae_eq_Icc' {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} [PartialOrder α] {a : α} {b : α} (ha : μ {a} = 0) (hb : μ {b} = 0) :
                          theorem MeasureTheory.Ico_ae_eq_Icc' {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} [PartialOrder α] {a : α} {b : α} (hb : μ {b} = 0) :
                          theorem MeasureTheory.Ico_ae_eq_Ioc' {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} [PartialOrder α] {a : α} {b : α} (ha : μ {a} = 0) (hb : μ {b} = 0) :
                          theorem MeasurableEmbedding.map_apply {α : Type u_1} {β : Type u_2} {m0 : MeasurableSpace α} {m1 : MeasurableSpace β} {f : αβ} (hf : MeasurableEmbedding f) (μ : MeasureTheory.Measure α) (s : Set β) :
                          (MeasureTheory.Measure.map f μ) s = μ (f ⁻¹' s)

                          Interactions of measurable equivalences and measures

                          theorem MeasurableEquiv.map_apply {α : Type u_1} {β : Type u_2} [MeasurableSpace α] [MeasurableSpace β] {μ : MeasureTheory.Measure α} (f : α ≃ᵐ β) (s : Set β) :
                          (MeasureTheory.Measure.map (f) μ) s = μ (f ⁻¹' s)

                          If we map a measure along a measurable equivalence, we can compute the measure on all sets (not just the measurable ones).

                          @[simp]
                          theorem MeasurableEquiv.map_symm_map {α : Type u_1} {β : Type u_2} [MeasurableSpace α] [MeasurableSpace β] {μ : MeasureTheory.Measure α} (e : α ≃ᵐ β) :
                          @[simp]
                          theorem MeasurableEquiv.map_map_symm {α : Type u_1} {β : Type u_2} [MeasurableSpace α] [MeasurableSpace β] {ν : MeasureTheory.Measure β} (e : α ≃ᵐ β) :