The areas / V18. Measure and integration
Mathlib.MeasureTheory.SetAlgebra
22 declarations and 1 deprecated aliases. Mathlib docs · Source
Algebra of sets
In this file we define the notion of algebra of sets and give its basic properties. An algebra
of sets is a family of sets containing the empty set and closed by complement and binary union.
It is therefore similar to a σ-algebra, except that it is not necessarily closed
by countable unions.
We also define the algebra of sets generated by a family of sets and give its basic properties,
and we prove that it is countable when it is generated by a countable family. We prove that
the σ-algebra generated by a family of sets 𝒜 is the same as the one generated by the algebra
of sets generated by 𝒜.
Main definitions
MeasureTheory.IsSetAlgebra: property of being an algebra of sets.MeasureTheory.generateSetAlgebra: the algebra of sets generated by a family of sets.
Main statements
MeasureTheory.mem_generateSetAlgebra_elim: If a setsbelongs to the algebra of sets generated by𝒜, then it can be written as a finite union of finite intersections of sets which are in𝒜or have their complement in𝒜.MeasureTheory.countable_generateSetAlgebra: If a family of sets is countable then so is the algebra of sets generated by it.
References
Tags
algebra of sets, generated algebra of sets
Definition and basic properties of an algebra of sets
Definition and properties of the algebra of sets generated by some family
structure MeasureTheory.IsSetAlgebra E3 #
{α : Type u_1} → Set (Set α) → Prop
An algebra of sets is a family of sets containing the empty set and closed by complement and
union. Consequently it is also closed by difference (see IsSetAlgebra.sdiff_mem) and intersection
(see IsSetAlgebra.inter_mem).
ctor MeasureTheory.IsSetAlgebra.mk E0 #
∀ {α : Type u_1} {𝒜 : Set (Set α)},
∅ ∈ 𝒜 → (∀ ⦃s : Set α⦄, s ∈ 𝒜 → sᶜ ∈ 𝒜) → (∀ ⦃s t : Set α⦄, s ∈ 𝒜 → t ∈ 𝒜 → s ∪ t ∈ 𝒜) → MeasureTheory.IsSetAlgebra 𝒜
theorem MeasureTheory.IsSetAlgebra.empty_mem E1 #
∀ {α : Type u_1} {𝒜 : Set (Set α)}, MeasureTheory.IsSetAlgebra 𝒜 → ∅ ∈ 𝒜
theorem MeasureTheory.IsSetAlgebra.compl_mem E1 #
∀ {α : Type u_1} {𝒜 : Set (Set α)}, MeasureTheory.IsSetAlgebra 𝒜 → ∀ ⦃s : Set α⦄, s ∈ 𝒜 → sᶜ ∈ 𝒜
theorem MeasureTheory.IsSetAlgebra.union_mem E1 #
∀ {α : Type u_1} {𝒜 : Set (Set α)}, MeasureTheory.IsSetAlgebra 𝒜 → ∀ ⦃s t : Set α⦄, s ∈ 𝒜 → t ∈ 𝒜 → s ∪ t ∈ 𝒜
theorem MeasureTheory.IsSetAlgebra.univ_mem E1 #
∀ {α : Type u_1} {𝒜 : Set (Set α)}, MeasureTheory.IsSetAlgebra 𝒜 → Set.univ ∈ 𝒜
An algebra of sets contains the whole set.
theorem MeasureTheory.IsSetAlgebra.inter_mem E1 #
∀ {α : Type u_1} {𝒜 : Set (Set α)} {s t : Set α}, MeasureTheory.IsSetAlgebra 𝒜 → s ∈ 𝒜 → t ∈ 𝒜 → s ∩ t ∈ 𝒜
An algebra of sets is closed by intersection.
theorem MeasureTheory.IsSetAlgebra.sdiff_mem E1 #
∀ {α : Type u_1} {𝒜 : Set (Set α)} {s t : Set α}, MeasureTheory.IsSetAlgebra 𝒜 → s ∈ 𝒜 → t ∈ 𝒜 → s \ t ∈ 𝒜
An algebra of sets is closed by difference.
theorem MeasureTheory.IsSetAlgebra.isSetRing E1 #
∀ {α : Type u_1} {𝒜 : Set (Set α)}, MeasureTheory.IsSetAlgebra 𝒜 → MeasureTheory.IsSetRing 𝒜
An algebra of sets is a ring of sets.
theorem MeasureTheory.IsSetAlgebra.biUnion_mem E1 #
∀ {α : Type u_1} {𝒜 : Set (Set α)} {ι : Type u_2},
MeasureTheory.IsSetAlgebra 𝒜 → ∀ {s : ι → Set α} (S : Finset ι), (∀ i ∈ S, s i ∈ 𝒜) → ⋃ i ∈ S, s i ∈ 𝒜
An algebra of sets is closed by finite unions.
theorem MeasureTheory.IsSetAlgebra.biInter_mem E1 #
∀ {α : Type u_1} {𝒜 : Set (Set α)} {ι : Type u_2},
MeasureTheory.IsSetAlgebra 𝒜 → ∀ {s : ι → Set α} (S : Finset ι), (∀ i ∈ S, s i ∈ 𝒜) → ⋂ i ∈ S, s i ∈ 𝒜
An algebra of sets is closed by finite intersections.
def MeasureTheory.generateSetAlgebra E3 #
{α : Type u_2} → Set (Set α) → Set (Set α)
generateSetAlgebra 𝒜 is the smallest algebra of sets containing 𝒜.
theorem MeasureTheory.isSetAlgebra_generateSetAlgebra E1 #
∀ {α : Type u_1} {𝒜 : Set (Set α)}, MeasureTheory.IsSetAlgebra (MeasureTheory.generateSetAlgebra 𝒜)
The algebra of sets generated by a family of sets is an algebra of sets.
theorem MeasureTheory.self_subset_generateSetAlgebra E1 #
∀ {α : Type u_1} {𝒜 : Set (Set α)}, 𝒜 ⊆ MeasureTheory.generateSetAlgebra 𝒜
The algebra of sets generated by 𝒜 contains 𝒜.
theorem MeasureTheory.generateSetAlgebra_induction E1 #
∀ {α : Type u_1} {𝒜 : Set (Set α)} {s : Set α} {motive : (s : Set α) → s ∈ MeasureTheory.generateSetAlgebra 𝒜 → Prop},
(∀ (u : Set α) (hu : u ∈ 𝒜), motive u ⋯) →
motive ∅ ⋯ →
(∀ (u : Set α) (hu : u ∈ MeasureTheory.generateSetAlgebra 𝒜), motive u hu → motive uᶜ ⋯) →
(∀ (u v : Set α) (hu : u ∈ MeasureTheory.generateSetAlgebra 𝒜) (hv : v ∈ MeasureTheory.generateSetAlgebra 𝒜),
motive u hu → motive v hv → motive (u ∪ v) ⋯) →
∀ (hs : s ∈ MeasureTheory.generateSetAlgebra 𝒜), motive s hs
An induction principle for membership of generateSetAlgebra 𝒜. If motive holds of all
elements of 𝒜 and of ∅, and is preserved under complement and binary union, then it holds of all
elements of generateSetAlgebra 𝒜.
theorem MeasureTheory.IsSetAlgebra.generateSetAlgebra_subset E1 #
∀ {α : Type u_1} {𝒜 ℬ : Set (Set α)}, 𝒜 ⊆ ℬ → MeasureTheory.IsSetAlgebra ℬ → MeasureTheory.generateSetAlgebra 𝒜 ⊆ ℬ
generateSetAlgebra 𝒜 is the smallest algebra of sets containing 𝒜: if a family of sets 𝒜
is contained in an algebra of sets ℬ, then so is the algebra of sets generated by 𝒜.
theorem MeasureTheory.generateFrom_generateSetAlgebra_eq E0 #
∀ {α : Type u_1} {𝒜 : Set (Set α)},
MeasurableSpace.generateFrom (MeasureTheory.generateSetAlgebra 𝒜) = MeasurableSpace.generateFrom 𝒜
The measurable space generated by a family of sets 𝒜 is the same as the one generated
by the algebra of sets generated by 𝒜.
theorem MeasureTheory.generateSetAlgebra_mono E1 #
∀ {α : Type u_1} {𝒜 ℬ : Set (Set α)}, 𝒜 ⊆ ℬ → MeasureTheory.generateSetAlgebra 𝒜 ⊆ MeasureTheory.generateSetAlgebra ℬ
If a family of sets 𝒜 is contained in ℬ, then the algebra of sets generated by 𝒜
is contained in the one generated by ℬ.
theorem MeasureTheory.IsSetAlgebra.generateSetAlgebra_subset_self E1 #
∀ {α : Type u_1} {𝒜 : Set (Set α)}, MeasureTheory.IsSetAlgebra 𝒜 → MeasureTheory.generateSetAlgebra 𝒜 ⊆ 𝒜
If 𝒜 is an algebra of sets, then it contains the algebra generated by itself.
theorem MeasureTheory.IsSetAlgebra.generateSetAlgebra_eq E0 #
∀ {α : Type u_1} {𝒜 : Set (Set α)}, MeasureTheory.IsSetAlgebra 𝒜 → MeasureTheory.generateSetAlgebra 𝒜 = 𝒜
If 𝒜 is an algebra of sets, then it is equal to the algebra generated by itself.
theorem MeasureTheory.mem_generateSetAlgebra_elim E3 #
∀ {α : Type u_1} {𝒜 : Set (Set α)} {s : Set α},
s ∈ MeasureTheory.generateSetAlgebra 𝒜 →
∃ A, A.Finite ∧ (∀ a ∈ A, a.Finite) ∧ (∀ a ∈ A, ∀ t ∈ a, t ∈ 𝒜 ∨ tᶜ ∈ 𝒜) ∧ s = ⋃ a ∈ A, ⋂ t ∈ a, t
If a set belongs to the algebra of sets generated by 𝒜 then it can be written as a finite
union of finite intersections of sets which are in 𝒜 or have their complement in 𝒜.
theorem MeasureTheory.countable_generateSetAlgebra E3 #
∀ {α : Type u_1} {𝒜 : Set (Set α)}, 𝒜.Countable → (MeasureTheory.generateSetAlgebra 𝒜).Countable
If a family of sets is countable then so is the algebra of sets generated by it.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
MeasureTheory.IsSetAlgebra.diff_mem | MeasureTheory.IsSetAlgebra.sdiff_mem | 2026-06-03 |