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.OuterMeasure.OfFunction

47 declarations. Mathlib docs · Source

Outer measures from functions

Given an arbitrary function m : Set α → ℝ≥0∞ that sends ∅ to 0 we can define an outer measure on α that on s is defined to be the infimum of ∑ᵢ, m (sᵢ) for all collections of sets sᵢ that cover s. This is the unique maximal outer measure that is at most the given function.

Given an outer measure m, the Carathéodory-measurable sets are the sets s such that for all sets t we have m t = m (t ∩ s) + m (t \ s). This forms a measurable space.

Main definitions and statements

  • OuterMeasure.boundedBy is the greatest outer measure that is at most the given function. If you know that the given function sends ∅ to 0, then OuterMeasure.ofFunction is a special case.
  • sInf_eq_boundedBy_sInfGen is a characterization of the infimum of outer measures.

References

Tags

outer measure, Carathéodory-measurable, Carathéodory's criterion

theorem MeasureTheory.OuterMeasure.ofFunction.congr_simp E1 #

∀ {α : Type u_1} (m m_1 : Set α → ENNReal) (e_m : m = m_1) (m_empty : m ∅ = 0),
  MeasureTheory.OuterMeasure.ofFunction m m_empty = MeasureTheory.OuterMeasure.ofFunction m_1 ⋯

def MeasureTheory.OuterMeasure.ofFunction E1 #

{α : Type u_1} → (m : Set α → ENNReal) → m ∅ = 0 → MeasureTheory.OuterMeasure α

Given any function m assigning measures to sets satisfying m ∅ = 0, there is a unique maximal outer measure μ satisfying μ s ≤ m s for all s : Set α.

theorem MeasureTheory.OuterMeasure.ofFunction_apply E0 #

∀ {α : Type u_1} (m : Set α → ENNReal) (m_empty : m ∅ = 0) (s : Set α),
  (MeasureTheory.OuterMeasure.ofFunction m m_empty) s = ⨅ t, ⨅ (_ : s ⊆ Set.iUnion t), ∑' (n : ℕ), m (t n)

ofFunction of a set s is the infimum of ∑ᵢ, m (tᵢ) for all collections of sets tᵢ that cover s.

theorem MeasureTheory.OuterMeasure.ofFunction_eq_iInf_mem E1 #

∀ {α : Type u_1} (m : Set α → ENNReal) (m_empty : m ∅ = 0) {P : Set α → Prop},
  (∀ (s : Set α), ¬P s → m s = ⊤) →
    ∀ (s : Set α),
      (MeasureTheory.OuterMeasure.ofFunction m m_empty) s =
        ⨅ t, ⨅ (_ : ∀ (i : ℕ), P (t i)), ⨅ (_ : s ⊆ ⋃ i, t i), ∑' (i : ℕ), m (t i)

ofFunction of a set s is the infimum of ∑ᵢ, m (tᵢ) for all collections of sets tᵢ that cover s, with all tᵢ satisfying a predicate P such that m is infinite for sets that don't satisfy P. This is similar to ofFunction_apply, except that the sets tᵢ satisfy P. The hypothesis m_top applies in particular to a function of the form extend m'.

theorem MeasureTheory.OuterMeasure.ofFunction_le E1 #

∀ {α : Type u_1} {m : Set α → ENNReal} {m_empty : m ∅ = 0} (s : Set α),
  (MeasureTheory.OuterMeasure.ofFunction m m_empty) s ≤ m s

theorem MeasureTheory.OuterMeasure.ofFunction_eq E0 #

∀ {α : Type u_1} {m : Set α → ENNReal} {m_empty : m ∅ = 0} (s : Set α),
  (∀ ⦃t : Set α⦄, s ⊆ t → m s ≤ m t) →
    (∀ (s : ℕ → Set α), m (⋃ i, s i) ≤ ∑' (i : ℕ), m (s i)) → (MeasureTheory.OuterMeasure.ofFunction m m_empty) s = m s

theorem MeasureTheory.OuterMeasure.le_ofFunction E1 #

∀ {α : Type u_1} {m : Set α → ENNReal} {m_empty : m ∅ = 0} {μ : MeasureTheory.OuterMeasure α},
  μ ≤ MeasureTheory.OuterMeasure.ofFunction m m_empty ↔ ∀ (s : Set α), μ s ≤ m s

theorem MeasureTheory.OuterMeasure.isGreatest_ofFunction E1 #

∀ {α : Type u_1} {m : Set α → ENNReal} {m_empty : m ∅ = 0},
  IsGreatest {μ | ∀ (s : Set α), μ s ≤ m s} (MeasureTheory.OuterMeasure.ofFunction m m_empty)

theorem MeasureTheory.OuterMeasure.ofFunction_eq_sSup E1 #

∀ {α : Type u_1} {m : Set α → ENNReal} {m_empty : m ∅ = 0},
  MeasureTheory.OuterMeasure.ofFunction m m_empty = sSup {μ | ∀ (s : Set α), μ s ≤ m s}

theorem MeasureTheory.OuterMeasure.ofFunction_union_of_top_of_nonempty_inter E1 #

∀ {α : Type u_1} {m : Set α → ENNReal} {m_empty : m ∅ = 0} {s t : Set α},
  (∀ (u : Set α), (s ∩ u).Nonempty → (t ∩ u).Nonempty → m u = ⊤) →
    (MeasureTheory.OuterMeasure.ofFunction m m_empty) (s ∪ t) =
      (MeasureTheory.OuterMeasure.ofFunction m m_empty) s + (MeasureTheory.OuterMeasure.ofFunction m m_empty) t

If m u = ∞ for any set u that has nonempty intersection both with s and t, then μ (s ∪ t) = μ s + μ t, where μ = MeasureTheory.OuterMeasure.ofFunction m m_empty.

E.g., if α is an (e)metric space and m u = ∞ on any set of diameter ≥ r, then this lemma implies that μ (s ∪ t) = μ s + μ t on any two sets such that r ≤ edist x y for all x ∈ s and y ∈ t.

theorem MeasureTheory.OuterMeasure.comap_ofFunction E1 #

∀ {α : Type u_1} {m : Set α → ENNReal} {m_empty : m ∅ = 0} {β : Type u_2} (f : β → α),
  Monotone m ∨ Function.Surjective f →
    (MeasureTheory.OuterMeasure.comap f) (MeasureTheory.OuterMeasure.ofFunction m m_empty) =
      MeasureTheory.OuterMeasure.ofFunction (fun s ↦ m (f '' s)) ⋯

theorem MeasureTheory.OuterMeasure.map_ofFunction_le E0 #

∀ {α : Type u_1} {m : Set α → ENNReal} {m_empty : m ∅ = 0} {β : Type u_2} (f : α → β),
  (MeasureTheory.OuterMeasure.map f) (MeasureTheory.OuterMeasure.ofFunction m m_empty) ≤
    MeasureTheory.OuterMeasure.ofFunction (fun s ↦ m (f ⁻¹' s)) m_empty

theorem MeasureTheory.OuterMeasure.map_ofFunction E0 #

∀ {α : Type u_1} {m : Set α → ENNReal} {m_empty : m ∅ = 0} {β : Type u_2} {f : α → β},
  Function.Injective f →
    (MeasureTheory.OuterMeasure.map f) (MeasureTheory.OuterMeasure.ofFunction m m_empty) =
      MeasureTheory.OuterMeasure.ofFunction (fun s ↦ m (f ⁻¹' s)) m_empty

theorem MeasureTheory.OuterMeasure.restrict_ofFunction E1 #

∀ {α : Type u_1} {m : Set α → ENNReal} {m_empty : m ∅ = 0} (s : Set α),
  Monotone m →
    (MeasureTheory.OuterMeasure.restrict s) (MeasureTheory.OuterMeasure.ofFunction m m_empty) =
      MeasureTheory.OuterMeasure.ofFunction (fun t ↦ m (t ∩ s)) ⋯

theorem MeasureTheory.OuterMeasure.smul_ofFunction E1 #

∀ {α : Type u_1} {m : Set α → ENNReal} {m_empty : m ∅ = 0} {c : ENNReal},
  c ≠ ⊤ → c • MeasureTheory.OuterMeasure.ofFunction m m_empty = MeasureTheory.OuterMeasure.ofFunction (c • m) ⋯

def MeasureTheory.OuterMeasure.boundedBy E1 #

{α : Type u_1} → (Set α → ENNReal) → MeasureTheory.OuterMeasure α

Given any function m assigning measures to sets, there is a unique maximal outer measure μ satisfying μ s ≤ m s for all s : Set α. This is the same as OuterMeasure.ofFunction, except that it doesn't require m ∅ = 0.

theorem MeasureTheory.OuterMeasure.boundedBy_le E1 #

∀ {α : Type u_1} {m : Set α → ENNReal} (s : Set α), (MeasureTheory.OuterMeasure.boundedBy m) s ≤ m s

theorem MeasureTheory.OuterMeasure.boundedBy_eq_ofFunction E1 #

∀ {α : Type u_1} {m : Set α → ENNReal} (m_empty : m ∅ = 0) (s : Set α),
  (MeasureTheory.OuterMeasure.boundedBy m) s = (MeasureTheory.OuterMeasure.ofFunction m m_empty) s

theorem MeasureTheory.OuterMeasure.boundedBy_apply E0 #

∀ {α : Type u_1} {m : Set α → ENNReal} (s : Set α),
  (MeasureTheory.OuterMeasure.boundedBy m) s =
    ⨅ t, ⨅ (_ : s ⊆ Set.iUnion t), ∑' (n : ℕ), ⨆ (_ : (t n).Nonempty), m (t n)

theorem MeasureTheory.OuterMeasure.boundedBy_eq E0 #

∀ {α : Type u_1} {m : Set α → ENNReal} (s : Set α),
  m ∅ = 0 →
    (∀ ⦃t : Set α⦄, s ⊆ t → m s ≤ m t) →
      (∀ (s : ℕ → Set α), m (⋃ i, s i) ≤ ∑' (i : ℕ), m (s i)) → (MeasureTheory.OuterMeasure.boundedBy m) s = m s

theorem MeasureTheory.OuterMeasure.boundedBy_eq_self E0 #

∀ {α : Type u_1} (m : MeasureTheory.OuterMeasure α), MeasureTheory.OuterMeasure.boundedBy ⇑m = m

theorem MeasureTheory.OuterMeasure.le_boundedBy E1 #

∀ {α : Type u_1} {m : Set α → ENNReal} {μ : MeasureTheory.OuterMeasure α},
  μ ≤ MeasureTheory.OuterMeasure.boundedBy m ↔ ∀ (s : Set α), μ s ≤ m s

theorem MeasureTheory.OuterMeasure.le_boundedBy' E1 #

∀ {α : Type u_1} {m : Set α → ENNReal} {μ : MeasureTheory.OuterMeasure α},
  μ ≤ MeasureTheory.OuterMeasure.boundedBy m ↔ ∀ (s : Set α), s.Nonempty → μ s ≤ m s

theorem MeasureTheory.OuterMeasure.boundedBy_top E0 #

∀ {α : Type u_1}, MeasureTheory.OuterMeasure.boundedBy ⊤ = ⊤

theorem MeasureTheory.OuterMeasure.boundedBy_zero E0 #

∀ {α : Type u_1}, MeasureTheory.OuterMeasure.boundedBy 0 = 0

theorem MeasureTheory.OuterMeasure.smul_boundedBy E1 #

∀ {α : Type u_1} {m : Set α → ENNReal} {c : ENNReal},
  c ≠ ⊤ → c • MeasureTheory.OuterMeasure.boundedBy m = MeasureTheory.OuterMeasure.boundedBy (c • m)

theorem MeasureTheory.OuterMeasure.comap_boundedBy E1 #

∀ {α : Type u_1} {m : Set α → ENNReal} {β : Type u_2} (f : β → α),
  (Monotone fun s ↦ m ↑s) ∨ Function.Surjective f →
    (MeasureTheory.OuterMeasure.comap f) (MeasureTheory.OuterMeasure.boundedBy m) =
      MeasureTheory.OuterMeasure.boundedBy fun s ↦ m (f '' s)

theorem MeasureTheory.OuterMeasure.boundedBy_union_of_top_of_nonempty_inter E1 #

∀ {α : Type u_1} {m : Set α → ENNReal} {s t : Set α},
  (∀ (u : Set α), (s ∩ u).Nonempty → (t ∩ u).Nonempty → m u = ⊤) →
    (MeasureTheory.OuterMeasure.boundedBy m) (s ∪ t) =
      (MeasureTheory.OuterMeasure.boundedBy m) s + (MeasureTheory.OuterMeasure.boundedBy m) t

If m u = ∞ for any set u that has nonempty intersection both with s and t, then μ (s ∪ t) = μ s + μ t, where μ = MeasureTheory.OuterMeasure.boundedBy m.

E.g., if α is an (e)metric space and m u = ∞ on any set of diameter ≥ r, then this lemma implies that μ (s ∪ t) = μ s + μ t on any two sets such that r ≤ edist x y for all x ∈ s and y ∈ t.

def MeasureTheory.OuterMeasure.sInfGen E1 #

{α : Type u_1} → Set (MeasureTheory.OuterMeasure α) → Set α → ENNReal

Given a set of outer measures, we define a new function that on a set s is defined to be the infimum of μ(s) for the outer measures μ in the collection. We ensure that this function is defined to be 0 on ∅, even if the collection of outer measures is empty. The outer measure generated by this function is the infimum of the given outer measures.

theorem MeasureTheory.OuterMeasure.sInfGen_def E0 #

∀ {α : Type u_1} (m : Set (MeasureTheory.OuterMeasure α)) (t : Set α),
  MeasureTheory.OuterMeasure.sInfGen m t = ⨅ μ ∈ m, μ t

theorem MeasureTheory.OuterMeasure.sInf_eq_boundedBy_sInfGen E1 #

∀ {α : Type u_1} (m : Set (MeasureTheory.OuterMeasure α)),
  sInf m = MeasureTheory.OuterMeasure.boundedBy (MeasureTheory.OuterMeasure.sInfGen m)

theorem MeasureTheory.OuterMeasure.iSup_sInfGen_nonempty E1 #

∀ {α : Type u_1} {m : Set (MeasureTheory.OuterMeasure α)},
  m.Nonempty → ∀ (t : Set α), ⨆ (_ : t.Nonempty), MeasureTheory.OuterMeasure.sInfGen m t = ⨅ μ ∈ m, μ t

theorem MeasureTheory.OuterMeasure.sInf_apply E0 #

∀ {α : Type u_1} {m : Set (MeasureTheory.OuterMeasure α)} {s : Set α},
  m.Nonempty → (sInf m) s = ⨅ t, ⨅ (_ : s ⊆ Set.iUnion t), ∑' (n : ℕ), ⨅ μ ∈ m, μ (t n)

The value of the Infimum of a nonempty set of outer measures on a set is not simply the minimum value of a measure on that set: it is the infimum sum of measures of countable set of sets that covers that set, where a different measure can be used for each set in the cover.

theorem MeasureTheory.OuterMeasure.sInf_apply' E1 #

∀ {α : Type u_1} {m : Set (MeasureTheory.OuterMeasure α)} {s : Set α},
  s.Nonempty → (sInf m) s = ⨅ t, ⨅ (_ : s ⊆ Set.iUnion t), ∑' (n : ℕ), ⨅ μ ∈ m, μ (t n)

The value of the Infimum of a set of outer measures on a nonempty set is not simply the minimum value of a measure on that set: it is the infimum sum of measures of countable set of sets that covers that set, where a different measure can be used for each set in the cover.

theorem MeasureTheory.OuterMeasure.iInf_apply E0 #

∀ {α : Type u_1} {ι : Sort u_2} [Nonempty ι] (m : ι → MeasureTheory.OuterMeasure α) (s : Set α),
  (⨅ i, m i) s = ⨅ t, ⨅ (_ : s ⊆ Set.iUnion t), ∑' (n : ℕ), ⨅ i, (m i) (t n)

The value of the Infimum of a nonempty family of outer measures on a set is not simply the minimum value of a measure on that set: it is the infimum sum of measures of countable set of sets that covers that set, where a different measure can be used for each set in the cover.

theorem MeasureTheory.OuterMeasure.iInf_apply' E1 #

∀ {α : Type u_1} {ι : Sort u_2} (m : ι → MeasureTheory.OuterMeasure α) {s : Set α},
  s.Nonempty → (⨅ i, m i) s = ⨅ t, ⨅ (_ : s ⊆ Set.iUnion t), ∑' (n : ℕ), ⨅ i, (m i) (t n)

The value of the Infimum of a family of outer measures on a nonempty set is not simply the minimum value of a measure on that set: it is the infimum sum of measures of countable set of sets that covers that set, where a different measure can be used for each set in the cover.

theorem MeasureTheory.OuterMeasure.biInf_apply E0 #

∀ {α : Type u_1} {ι : Type u_2} {I : Set ι},
  I.Nonempty →
    ∀ (m : ι → MeasureTheory.OuterMeasure α) (s : Set α),
      (⨅ i ∈ I, m i) s = ⨅ t, ⨅ (_ : s ⊆ Set.iUnion t), ∑' (n : ℕ), ⨅ i ∈ I, (m i) (t n)

The value of the Infimum of a nonempty family of outer measures on a set is not simply the minimum value of a measure on that set: it is the infimum sum of measures of countable set of sets that covers that set, where a different measure can be used for each set in the cover.

theorem MeasureTheory.OuterMeasure.biInf_apply' E1 #

∀ {α : Type u_1} {ι : Type u_2} (I : Set ι) (m : ι → MeasureTheory.OuterMeasure α) {s : Set α},
  s.Nonempty → (⨅ i ∈ I, m i) s = ⨅ t, ⨅ (_ : s ⊆ Set.iUnion t), ∑' (n : ℕ), ⨅ i ∈ I, (m i) (t n)

The value of the Infimum of a nonempty family of outer measures on a set is not simply the minimum value of a measure on that set: it is the infimum sum of measures of countable set of sets that covers that set, where a different measure can be used for each set in the cover.

theorem MeasureTheory.OuterMeasure.map_iInf_le E0 #

∀ {α : Type u_1} {ι : Sort u_2} {β : Type u_3} (f : α → β) (m : ι → MeasureTheory.OuterMeasure α),
  (MeasureTheory.OuterMeasure.map f) (⨅ i, m i) ≤ ⨅ i, (MeasureTheory.OuterMeasure.map f) (m i)

theorem MeasureTheory.OuterMeasure.comap_iInf E1 #

∀ {α : Type u_1} {ι : Sort u_2} {β : Type u_3} (f : α → β) (m : ι → MeasureTheory.OuterMeasure β),
  (MeasureTheory.OuterMeasure.comap f) (⨅ i, m i) = ⨅ i, (MeasureTheory.OuterMeasure.comap f) (m i)

theorem MeasureTheory.OuterMeasure.map_iInf E0 #

∀ {α : Type u_1} {ι : Sort u_2} {β : Type u_3} {f : α → β},
  Function.Injective f →
    ∀ (m : ι → MeasureTheory.OuterMeasure α),
      (MeasureTheory.OuterMeasure.map f) (⨅ i, m i) =
        (MeasureTheory.OuterMeasure.restrict (Set.range f)) (⨅ i, (MeasureTheory.OuterMeasure.map f) (m i))

theorem MeasureTheory.OuterMeasure.map_iInf_comap E0 #

∀ {α : Type u_1} {ι : Sort u_2} {β : Type u_3} [Nonempty ι] {f : α → β} (m : ι → MeasureTheory.OuterMeasure β),
  (MeasureTheory.OuterMeasure.map f) (⨅ i, (MeasureTheory.OuterMeasure.comap f) (m i)) =
    ⨅ i, (MeasureTheory.OuterMeasure.map f) ((MeasureTheory.OuterMeasure.comap f) (m i))

theorem MeasureTheory.OuterMeasure.map_biInf_comap E0 #

∀ {α : Type u_1} {ι : Type u_2} {β : Type u_3} {I : Set ι},
  I.Nonempty →
    ∀ {f : α → β} (m : ι → MeasureTheory.OuterMeasure β),
      (MeasureTheory.OuterMeasure.map f) (⨅ i ∈ I, (MeasureTheory.OuterMeasure.comap f) (m i)) =
        ⨅ i ∈ I, (MeasureTheory.OuterMeasure.map f) ((MeasureTheory.OuterMeasure.comap f) (m i))

theorem MeasureTheory.OuterMeasure.restrict_iInf_restrict E1 #

∀ {α : Type u_1} {ι : Sort u_2} (s : Set α) (m : ι → MeasureTheory.OuterMeasure α),
  (MeasureTheory.OuterMeasure.restrict s) (⨅ i, (MeasureTheory.OuterMeasure.restrict s) (m i)) =
    (MeasureTheory.OuterMeasure.restrict s) (⨅ i, m i)

theorem MeasureTheory.OuterMeasure.restrict_iInf E1 #

∀ {α : Type u_1} {ι : Sort u_2} [Nonempty ι] (s : Set α) (m : ι → MeasureTheory.OuterMeasure α),
  (MeasureTheory.OuterMeasure.restrict s) (⨅ i, m i) = ⨅ i, (MeasureTheory.OuterMeasure.restrict s) (m i)

theorem MeasureTheory.OuterMeasure.restrict_biInf E1 #

∀ {α : Type u_1} {ι : Type u_2} {I : Set ι},
  I.Nonempty →
    ∀ (s : Set α) (m : ι → MeasureTheory.OuterMeasure α),
      (MeasureTheory.OuterMeasure.restrict s) (⨅ i ∈ I, m i) = ⨅ i ∈ I, (MeasureTheory.OuterMeasure.restrict s) (m i)

theorem MeasureTheory.OuterMeasure.restrict_sInf_eq_sInf_restrict E1 #

∀ {α : Type u_1} (m : Set (MeasureTheory.OuterMeasure α)) {s : Set α},
  m.Nonempty → (MeasureTheory.OuterMeasure.restrict s) (sInf m) = sInf (⇑(MeasureTheory.OuterMeasure.restrict s) '' m)

This proves that Inf and restrict commute for outer measures, so long as the set of outer measures is nonempty.