Semirings and rings of sets #
A semi-ring of sets C (in the sense of measure theory) is a family of sets containing ∅,
stable by intersection and such that for all s, t ∈ C, t \ s is equal to a disjoint union of
finitely many sets in C. Note that a semi-ring of sets may not contain unions.
An important example of a semi-ring of sets is intervals in ℝ. The intersection of two intervals
is an interval (possibly empty). The union of two intervals may not be an interval.
The set difference of two intervals may not be an interval, but it will be a disjoint union of
two intervals.
A ring of sets is a set of sets containing ∅, stable by union, set difference and intersection.
Main definitions #
- MeasureTheory.IsSetSemiring C: property of being a semi-ring of sets.
- MeasureTheory.IsSetSemiring.disjointOfDiff hs ht: for- s, tin a semi-ring- C(with- hC : IsSetSemiring C) with- hs : s ∈ C,- ht : t ∈ C, this is a- Finsetof pairwise disjoint sets such that- s \ t = ⋃₀ hC.disjointOfDiff hs ht.
- MeasureTheory.IsSetSemiring.disjointOfDiffUnion hs hI: for- hs : s ∈ Cand a finset- Iof sets in- C(with- hI : ↑I ⊆ C), this is a- Finsetof pairwise disjoint sets such that- s \ ⋃₀ I = ⋃₀ hC.disjointOfDiffUnion hs hI.
- MeasureTheory.IsSetSemiring.disjointOfUnion hJ: for- hJ ⊆ C, this is a- Finsetof pairwise disjoint sets such that- ⋃₀ J = ⋃₀ hC.disjointOfUnion hJ.
- MeasureTheory.IsSetRing: property of being a ring of sets.
Main statements #
- MeasureTheory.IsSetSemiring.exists_disjoint_finset_diff_eq: the existence of the- Finsetgiven by the definition- IsSetSemiring.disjointOfDiffUnion(see above).
- MeasureTheory.IsSetSemiring.disjointOfUnion_props: In a- hC : IsSetSemiring C, for a- J : Finset (Set α)with- J ⊆ C, there is for every- x in Jsome- K x ⊆ Cfinite, such that- ⋃ x ∈ J, K xare pairwise disjoint and do not contain ∅,
- ⋃ s ∈ K x, s ⊆ x,
- ⋃ x ∈ J, x = ⋃ x ∈ J, ⋃ s ∈ K x, s.
 
A semi-ring of sets C is a family of sets containing ∅, stable by intersection and such that
for all s, t ∈ C, s \ t is equal to a disjoint union of finitely many sets in C.
Instances For
In a semi-ring of sets C, for all sets s, t ∈ C, s \ t is equal to a disjoint union of
finitely many sets in C. The finite set of sets in the union is not unique, but this definition
gives an arbitrary Finset (Set α) that satisfies the equality.
We remove the empty set to ensure that t ∉ hC.disjointOfDiff hs ht even if t = ∅.
Instances For
Alias of MeasureTheory.IsSetSemiring.empty_notMem_disjointOfDiff.
In a semiring of sets C, for all set s ∈ C and finite set of sets I ⊆ C, there is a
finite set of sets in C whose union is s \ ⋃₀ I.
See IsSetSemiring.disjointOfDiffUnion for a definition that gives such a set.
In a semiring of sets C, for all set s ∈ C and finite set of sets I ⊆ C,
disjointOfDiffUnion is a finite set of sets in C such that
s \ ⋃₀ I = ⋃₀ (hC.disjointOfDiffUnion hs I hI).
disjointOfDiff is a special case of disjointOfDiffUnion where I is a
singleton.
Instances For
Alias of MeasureTheory.IsSetSemiring.empty_notMem_disjointOfDiffUnion.
For some hJ : J ⊆ C and j : Set α, where hC : IsSetSemiring C, this is
a Finset (Set α) such that K j := hC.disjointOfUnion hJ are disjoint
and ⋃₀ K j ⊆ j, for j ∈ J.
Using these we write ⋃₀ J as a disjoint union ⋃₀ J = ⋃₀ ⋃ x ∈ J, (K x).
See MeasureTheory.IsSetSemiring.disjointOfUnion_props.
Equations
- hC.disjointOfUnion hJ j = ⋯.choose j
Instances For
Alias of MeasureTheory.IsSetSemiring.empty_notMem_disjointOfUnion.
A ring of sets C is a family of sets containing ∅, stable by union and set difference.
It is then also stable by intersection (see IsSetRing.inter_mem).