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 sets
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๐
.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 #
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.diff_mem
) and intersection
(see IsSetAlgebra.inter_mem
).
Instances For
An algebra of sets contains the whole set.
An algebra of sets is a ring of sets.
Definition and properties of the algebra of sets generated by some family #
generateSetAlgebra ๐
is the smallest algebra of sets containing ๐
.
- base: โ {ฮฑ : Type u_2} {๐ : Set (Set ฮฑ)}, โ s โ ๐, MeasureTheory.generateSetAlgebra ๐ s
- empty: โ {ฮฑ : Type u_2} {๐ : Set (Set ฮฑ)}, MeasureTheory.generateSetAlgebra ๐ โ
- compl: โ {ฮฑ : Type u_2} {๐ : Set (Set ฮฑ)} (s : Set ฮฑ), MeasureTheory.generateSetAlgebra ๐ s โ MeasureTheory.generateSetAlgebra ๐ sแถ
- union: โ {ฮฑ : Type u_2} {๐ : Set (Set ฮฑ)} (s t : Set ฮฑ), MeasureTheory.generateSetAlgebra ๐ s โ MeasureTheory.generateSetAlgebra ๐ t โ MeasureTheory.generateSetAlgebra ๐ (s โช t)
Instances For
The algebra of sets generated by a family of sets is an algebra of sets.
The algebra of sets generated by ๐
contains ๐
.
The measurable space generated by a family of sets ๐
is the same as the one generated
by the algebra of sets generated by ๐
.
If a family of sets ๐
is contained in โฌ
, then the algebra of sets generated by ๐
is contained in the one generated by โฌ
.
If a family of sets ๐
is contained in an algebra of sets โฌ
, then so is the algebra of sets
generated by ๐
.
If ๐
is an algebra of sets, then it contains the algebra generated by itself.
If ๐
is an algebra of sets, then it is equal to the algebra generated by itself.
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 ๐
.
If a family of sets is countable then so is the algebra of sets generated by it.