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 / V03. Sets, finite structures and big operators

Mathlib.Data.Set.BooleanAlgebra

2 declarations. Mathlib docs · Source

Sets are a complete atomic Boolean algebra.

This file contains only the definition of the complete atomic Boolean algebra structure on Set. Indexed union/intersection are defined in Mathlib.Order.SetNotation; lemmas are available in Mathlib/Data/Set/Lattice.lean.

Main declarations

  • Set.completeAtomicBooleanAlgebra: Set α is a CompleteAtomicBooleanAlgebra with ≤ = ⊆, < = ⊂, ⊓ = ∩, ⊔ = ∪, ⨅ = ⋂, ⨆ = ⋃ and \ as the set difference. See Set.instBooleanAlgebra.

Complete lattice and complete Boolean algebra instances

instance Set.instCompleteAtomicBooleanAlgebra E0 #

{α : Type u_1} → CompleteAtomicBooleanAlgebra (Set α)

instance Set.instOrderTop E0 #

{α : Type u_1} → OrderTop (Set α)