The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V04. Order and lattices

Mathlib.Order.BooleanGenerators

13 declarations and 2 deprecated aliases. Mathlib docs · Source

Generators for Boolean algebras

In this file, we provide an alternative constructor for Boolean algebras.

A set of Boolean generators in a compactly generated complete lattice is a subset S such that

  • the elements of S are all atoms, and
  • the set S satisfies an atomicity condition: any compact element below the supremum of a subset s of generators is equal to the supremum of a subset of s.

Main declarations

  • IsCompactlyGenerated.BooleanGenerators: the predicate described above.
  • IsCompactlyGenerated.BooleanGenerators.complementedLattice_of_sSup_eq_top: if S generates the entire lattice, then it is complemented.
  • IsCompactlyGenerated.BooleanGenerators.distribLatticeOfSSupEqTop: if S generates the entire lattice, then it is distributive.
  • IsCompactlyGenerated.BooleanGenerators.booleanAlgebraOfSSupEqTop: if S generates the entire lattice, then it is a Boolean algebra.

structure IsCompactlyGenerated.BooleanGenerators E3 #

{α : Type u_1} → [CompleteLattice α] → Set α → Prop

An alternative constructor for Boolean algebras.

A set of Boolean generators in a compactly generated complete lattice is a subset S such that

  • the elements of S are all atoms, and
  • the set S satisfies an atomicity condition: any compact element below the supremum of a finite subset s of generators is equal to the supremum of a subset of s.

If the supremum of S is the whole lattice, then the lattice is a Boolean algebra (see IsCompactlyGenerated.BooleanGenerators.booleanAlgebraOfSSupEqTop).

ctor IsCompactlyGenerated.BooleanGenerators.mk E0 #

∀ {α : Type u_1} [inst : CompleteLattice α] {S : Set α},
  (∀ I ∈ S, IsAtom I) →
    (∀ (s : Finset α) (a : α), ↑s ⊆ S → IsCompactElement a → a ≤ s.sup id → ∃ t ⊆ s, a = t.sup id) →
      IsCompactlyGenerated.BooleanGenerators S

theorem IsCompactlyGenerated.BooleanGenerators.isAtom E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {S : Set α}, IsCompactlyGenerated.BooleanGenerators S → ∀ I ∈ S, IsAtom I

The elements in a collection of Boolean generators are all atoms.

theorem IsCompactlyGenerated.BooleanGenerators.finitelyAtomistic E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {S : Set α},
  IsCompactlyGenerated.BooleanGenerators S →
    ∀ (s : Finset α) (a : α), ↑s ⊆ S → IsCompactElement a → a ≤ s.sup id → ∃ t ⊆ s, a = t.sup id

The elements in a collection of Boolean generators satisfy an atomicity condition: any compact element below the supremum of a finite subset s of generators is equal to the supremum of a subset of s.

theorem IsCompactlyGenerated.BooleanGenerators.mono E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {S : Set α},
  IsCompactlyGenerated.BooleanGenerators S → ∀ {T : Set α}, T ⊆ S → IsCompactlyGenerated.BooleanGenerators T

theorem IsCompactlyGenerated.BooleanGenerators.atomistic E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {S : Set α} [IsCompactlyGenerated α],
  IsCompactlyGenerated.BooleanGenerators S → ∀ a ≤ sSup S, ∃ T ⊆ S, a = sSup T

theorem IsCompactlyGenerated.BooleanGenerators.isAtomistic_of_sSup_eq_top E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {S : Set α} [IsCompactlyGenerated α],
  IsCompactlyGenerated.BooleanGenerators S → sSup S = ⊤ → IsAtomistic α

theorem IsCompactlyGenerated.BooleanGenerators.mem_of_isAtom_of_le_sSup_atoms E0 #

∀ {α : Type u_1} [inst : CompleteLattice α] {S : Set α} [IsCompactlyGenerated α],
  IsCompactlyGenerated.BooleanGenerators S → ∀ (a : α), IsAtom a → a ≤ sSup S → a ∈ S

theorem IsCompactlyGenerated.BooleanGenerators.sSup_inter E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {S : Set α} [IsCompactlyGenerated α],
  IsCompactlyGenerated.BooleanGenerators S → ∀ {T₁ T₂ : Set α}, T₁ ⊆ S → T₂ ⊆ S → sSup (T₁ ∩ T₂) = sSup T₁ ⊓ sSup T₂

def IsCompactlyGenerated.BooleanGenerators.distribLatticeOfSSupEqTop E3 #

{α : Type u_1} →
  [inst : CompleteLattice α] →
    {S : Set α} → [IsCompactlyGenerated α] → IsCompactlyGenerated.BooleanGenerators S → sSup S = ⊤ → DistribLattice α

A lattice generated by Boolean generators is a distributive lattice.

theorem IsCompactlyGenerated.BooleanGenerators.complementedLattice_of_sSup_eq_top E3 #

∀ {α : Type u_1} [inst : CompleteLattice α] {S : Set α} [IsCompactlyGenerated α],
  IsCompactlyGenerated.BooleanGenerators S → sSup S = ⊤ → ComplementedLattice α

def IsCompactlyGenerated.BooleanGenerators.booleanAlgebraOfSSupEqTop E3 #

{α : Type u_1} →
  [inst : CompleteLattice α] →
    {S : Set α} → [IsCompactlyGenerated α] → IsCompactlyGenerated.BooleanGenerators S → sSup S = ⊤ → BooleanAlgebra α

A compactly generated complete lattice generated by Boolean generators is a Boolean algebra.

theorem IsCompactlyGenerated.BooleanGenerators.sSup_le_sSup_iff_of_atoms E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {S : Set α} [IsCompactlyGenerated α],
  IsCompactlyGenerated.BooleanGenerators S → ∀ (X Y : Set α), X ⊆ S → Y ⊆ S → (sSup X ≤ sSup Y ↔ X ⊆ Y)

Deprecated aliases

NameNew nameSince
IsCompactlyGenerated.BooleanGenerators.booleanAlgebra_of_sSup_eq_topIsCompactlyGenerated.BooleanGenerators.booleanAlgebraOfSSupEqTop2026-07-18
IsCompactlyGenerated.BooleanGenerators.distribLattice_of_sSup_eq_topIsCompactlyGenerated.BooleanGenerators.distribLatticeOfSSupEqTop2026-07-18