# mathlibdocumentation

measure_theory.measure.content

# Contents #

In this file we work with contents. A content λ is a function from a certain class of subsets (such as the compact subsets) to ℝ≥0 that is

• additive: If K₁ and K₂ are disjoint sets in the domain of λ, then λ(K₁ ∪ K₂) = λ(K₁) + λ(K₂);
• subadditive: If K₁ and K₂ are in the domain of λ, then λ(K₁ ∪ K₂) ≤ λ(K₁) + λ(K₂);
• monotone: If K₁ ⊆ K₂ are in the domain of λ, then λ(K₁) ≤ λ(K₂).

We show that:

• Given a content λ on compact sets, let us define a function λ* on open sets, by letting λ* U be the supremum of λ K for K included in U. This is a countably subadditive map that vanishes at ∅. In Halmos (1950) this is called the inner content λ* of λ, and formalized as inner_content.
• Given an inner content, we define an outer measure μ*, by letting μ* E be the infimum of λ* U over the open sets U containing E. This is indeed an outer measure. It is formalized as outer_measure.
• Restricting this outer measure to Borel sets gives a regular measure μ.

We define bundled contents as content. In this file we only work on contents on compact sets, and inner contents on open sets, and both contents and inner contents map into the extended nonnegative reals. However, in other applications other choices can be made, and it is not a priori clear what the best interface should be.

## Main definitions #

For μ : content G, we define

• μ.inner_content : the inner content associated to μ.
• μ.outer_measure : the outer measure associated to μ.
• μ.measure : the Borel measure associated to μ.

We prove that, on a locally compact space, the measure μ.measure is regular.

## References #

structure measure_theory.content (G : Type w)  :
Type w

A content is an additive function on compact sets taking values in ℝ≥0. It is a device from which one can define a measure.

@[instance]
def measure_theory.content.inhabited {G : Type w}  :
Equations
@[instance]
def measure_theory.content.has_coe_to_fun {G : Type w}  :
(λ (_x : ,

Although the to_fun field of a content takes values in ℝ≥0, we register a coercion to functions taking values in ℝ≥0∞ as most constructions below rely on taking suprs and infs, which is more convenient in a complete lattice, and aim at constructing a measure.

Equations
theorem measure_theory.content.mono {G : Type w} (μ : measure_theory.content G) (K₁ K₂ : topological_space.compacts G) (h : K₁.val K₂.val) :
μ K₁ μ K₂
theorem measure_theory.content.sup_disjoint {G : Type w} (μ : measure_theory.content G) (K₁ K₂ : topological_space.compacts G) (h : disjoint K₁.val K₂.val) :
μ (K₁ K₂) = μ K₁ + μ K₂
theorem measure_theory.content.sup_le {G : Type w} (μ : measure_theory.content G) (K₁ K₂ : topological_space.compacts G) :
μ (K₁ K₂) μ K₁ + μ K₂
theorem measure_theory.content.lt_top {G : Type w} (μ : measure_theory.content G)  :
μ K <
theorem measure_theory.content.empty {G : Type w} (μ : measure_theory.content G) :
μ = 0

Constructing the inner content of a content. From a content defined on the compact sets, we obtain a function defined on all open sets, by taking the supremum of the content of all compact subsets.

Equations
theorem measure_theory.content.inner_content_of_is_compact {G : Type w} (μ : measure_theory.content G) {K : set G} (h1K : is_compact K) (h2K : is_open K) :
μ.inner_content K, h2K⟩ = μ K, h1K⟩
theorem measure_theory.content.inner_content_mono {G : Type w} (μ : measure_theory.content G) ⦃U V : set G⦄ (hU : is_open U) (hV : is_open V) (h2 : U V) :
μ.inner_content U, hU⟩ μ.inner_content V, hV⟩

This is "unbundled", because that it required for the API of induced_outer_measure.

theorem measure_theory.content.inner_content_exists_compact {G : Type w} (μ : measure_theory.content G) {U : topological_space.opens G} (hU : ) {ε : ℝ≥0} (hε : ε 0) :
∃ (K : , K.val U μ K + ε
theorem measure_theory.content.inner_content_Sup_nat {G : Type w} (μ : measure_theory.content G) [t2_space G] (U : ) :
μ.inner_content (⨆ (i : ), U i) ∑' (i : ), μ.inner_content (U i)

The inner content of a supremum of opens is at most the sum of the individual inner contents.

theorem measure_theory.content.inner_content_Union_nat {G : Type w} (μ : measure_theory.content G) [t2_space G] ⦃U : set G (hU : ∀ (i : ), is_open (U i)) :
μ.inner_content ⋃ (i : ), U i, _⟩ ∑' (i : ), μ.inner_content U i, _⟩

The inner content of a union of sets is at most the sum of the individual inner contents. This is the "unbundled" version of inner_content_Sup_nat. It required for the API of induced_outer_measure.

theorem measure_theory.content.inner_content_comap {G : Type w} (μ : measure_theory.content G) (f : G ≃ₜ G) (h : ∀ ⦃K : ⦄, μ = μ K) (U : topological_space.opens G) :
theorem measure_theory.content.is_mul_left_invariant_inner_content {G : Type w} (μ : measure_theory.content G) [group G] (h : ∀ (g : G) {K : , μ (topological_space.compacts.map (λ (b : G), g * b) _ K) = μ K) (g : G) (U : topological_space.opens G) :
theorem measure_theory.content.is_add_left_invariant_inner_content {G : Type w} (μ : measure_theory.content G) [add_group G] (h : ∀ (g : G) {K : , μ (topological_space.compacts.map (λ (b : G), g + b) _ K) = μ K) (g : G) (U : topological_space.opens G) :
theorem measure_theory.content.inner_content_pos_of_is_mul_left_invariant {G : Type w} (μ : measure_theory.content G) [t2_space G] [group G] (h3 : ∀ (g : G) {K : , μ (topological_space.compacts.map (λ (b : G), g * b) _ K) = μ K) (hK : μ K 0) (U : topological_space.opens G) (hU : U.nonempty) :
0 <
theorem measure_theory.content.inner_content_pos_of_is_add_left_invariant {G : Type w} (μ : measure_theory.content G) [t2_space G] [add_group G] (h3 : ∀ (g : G) {K : , μ (topological_space.compacts.map (λ (b : G), g + b) _ K) = μ K) (hK : μ K 0) (U : topological_space.opens G) (hU : U.nonempty) :
0 <
theorem measure_theory.content.inner_content_mono' {G : Type w} (μ : measure_theory.content G) ⦃U V : set G⦄ (hU : is_open U) (hV : is_open V) (h2 : U V) :
μ.inner_content U, hU⟩ μ.inner_content V, hV⟩

Extending a content on compact sets to an outer measure on all sets.

Equations
theorem measure_theory.content.outer_measure_eq_infi {G : Type w} (μ : measure_theory.content G) [t2_space G] (A : set G) :
(μ.outer_measure) A = ⨅ (U : set G) (hU : is_open U) (h : A U), μ.inner_content U, hU⟩
theorem measure_theory.content.outer_measure_exists_open {G : Type w} (μ : measure_theory.content G) [t2_space G] {A : set G} (hA : (μ.outer_measure) A ) {ε : ℝ≥0} (hε : ε 0) :
∃ (U : , A U (μ.outer_measure) U (μ.outer_measure) A + ε
theorem measure_theory.content.outer_measure_preimage {G : Type w} (μ : measure_theory.content G) [t2_space G] (f : G ≃ₜ G) (h : ∀ ⦃K : ⦄, μ = μ K) (A : set G) :
theorem measure_theory.content.is_mul_left_invariant_outer_measure {G : Type w} (μ : measure_theory.content G) [t2_space G] [group G] (h : ∀ (g : G) {K : , μ (topological_space.compacts.map (λ (b : G), g * b) _ K) = μ K) (g : G) (A : set G) :
(μ.outer_measure) ((λ (h : G), g * h) ⁻¹' A) = (μ.outer_measure) A
theorem measure_theory.content.is_add_left_invariant_outer_measure {G : Type w} (μ : measure_theory.content G) [t2_space G] [add_group G] (h : ∀ (g : G) {K : , μ (topological_space.compacts.map (λ (b : G), g + b) _ K) = μ K) (g : G) (A : set G) :
(μ.outer_measure) ((λ (h : G), g + h) ⁻¹' A) = (μ.outer_measure) A
theorem measure_theory.content.outer_measure_pos_of_is_add_left_invariant {G : Type w} (μ : measure_theory.content G) [t2_space G] [add_group G] (h3 : ∀ (g : G) {K : , μ (topological_space.compacts.map (λ (b : G), g + b) _ K) = μ K) (hK : μ K 0) {U : set G} (h1U : is_open U) (h2U : U.nonempty) :
theorem measure_theory.content.outer_measure_pos_of_is_mul_left_invariant {G : Type w} (μ : measure_theory.content G) [t2_space G] [group G] (h3 : ∀ (g : G) {K : , μ (topological_space.compacts.map (λ (b : G), g * b) _ K) = μ K) (hK : μ K 0) {U : set G} (h1U : is_open U) (h2U : U.nonempty) :

For the outer measure coming from a content, all Borel sets are measurable.

The measure induced by the outer measure coming from a content, on the Borel sigma-algebra.

Equations
@[instance]

In a locally compact space, any measure constructed from a content is regular.