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
: fors, t
in a semi-ringC
(withhC : IsSetSemiring C
) withhs : s ∈ C
,ht : t ∈ C
, this is aFinset
of pairwise disjoint sets such thats \ t = ⋃₀ hC.disjointOfDiff hs ht
.MeasureTheory.IsSetSemiring.disjointOfDiffUnion hs hI
: forhs : s ∈ C
and a finsetI
of sets inC
(withhI : ↑I ⊆ C
), this is aFinset
of pairwise disjoint sets such thats \ ⋃₀ I = ⋃₀ hC.disjointOfDiffUnion hs hI
.MeasureTheory.IsSetSemiring.disjointOfUnion hJ
: forhJ ⊆ C
, this is aFinset
of 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 theFinset
given by the definitionIsSetSemiring.disjointOfDiffUnion
(see above).MeasureTheory.IsSetSemiring.disjointOfUnion_props
: In ahC : IsSetSemiring C
, for aJ : Finset (Set α)
withJ ⊆ C
, there is for everyx in J
someK x ⊆ C
finite, such that⋃ x ∈ J, K x
are 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
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
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
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
).