Documentation

Mathlib.MeasureTheory.SetAlgebra

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 #

Main statements #

References #

Tags #

algebra of sets, generated algebra of sets

Definition and basic properties of an algebra of sets #

structure MeasureTheory.IsSetAlgebra {α : Type u_1} (𝒜 : Set (Set α)) :

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
    theorem MeasureTheory.IsSetAlgebra.univ_mem {α : Type u_1} {𝒜 : Set (Set α)} (h𝒜 : IsSetAlgebra 𝒜) :

    An algebra of sets contains the whole set.

    theorem MeasureTheory.IsSetAlgebra.inter_mem {α : Type u_1} {𝒜 : Set (Set α)} {s t : Set α} (h𝒜 : IsSetAlgebra 𝒜) (s_mem : s 𝒜) (t_mem : t 𝒜) :
    s t 𝒜

    An algebra of sets is closed by intersection.

    theorem MeasureTheory.IsSetAlgebra.diff_mem {α : Type u_1} {𝒜 : Set (Set α)} {s t : Set α} (h𝒜 : IsSetAlgebra 𝒜) (s_mem : s 𝒜) (t_mem : t 𝒜) :
    s \ t 𝒜

    An algebra of sets is closed by difference.

    theorem MeasureTheory.IsSetAlgebra.isSetRing {α : Type u_1} {𝒜 : Set (Set α)} (h𝒜 : IsSetAlgebra 𝒜) :

    An algebra of sets is a ring of sets.

    theorem MeasureTheory.IsSetAlgebra.biUnion_mem {α : Type u_1} {𝒜 : Set (Set α)} {ι : Type u_2} (h𝒜 : IsSetAlgebra 𝒜) {s : ιSet α} (S : Finset ι) (hs : iS, s i 𝒜) :
    iS, s i 𝒜

    An algebra of sets is closed by finite unions.

    theorem MeasureTheory.IsSetAlgebra.biInter_mem {α : Type u_1} {𝒜 : Set (Set α)} {ι : Type u_2} (h𝒜 : IsSetAlgebra 𝒜) {s : ιSet α} (S : Finset ι) (hs : iS, s i 𝒜) :
    iS, s i 𝒜

    An algebra of sets is closed by finite intersections.

    Definition and properties of the algebra of sets generated by some family #

    inductive MeasureTheory.generateSetAlgebra {α : Type u_2} (𝒜 : Set (Set α)) :
    Set (Set α)

    generateSetAlgebra 𝒜 is the smallest algebra of sets containing 𝒜.

    Instances For

      The algebra of sets generated by a family of sets is an algebra of sets.

      The algebra of sets generated by 𝒜 contains 𝒜.

      @[simp]

      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 {α : Type u_1} {𝒜 : Set (Set α)} (h : 𝒜 ) :

      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 {α : Type u_1} {𝒜 : Set (Set α)} (h : 𝒜 ) (hℬ : IsSetAlgebra ) :

      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.

      theorem MeasureTheory.IsSetAlgebra.generateSetAlgebra_eq {α : Type u_1} {𝒜 : Set (Set α)} (h𝒜 : IsSetAlgebra 𝒜) :

      If 𝒜 is an algebra of sets, then it is equal to the algebra generated by itself.

      theorem MeasureTheory.mem_generateSetAlgebra_elim {α : Type u_1} {𝒜 : Set (Set α)} {s : Set α} (s_mem : s generateSetAlgebra 𝒜) :
      ∃ (A : Set (Set (Set α))), A.Finite (∀ aA, a.Finite) (∀ aA, ta, t 𝒜 t 𝒜) s = aA, ta, 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 𝒜.

      If a family of sets is countable then so is the algebra of sets generated by it.