The set lattice #
This file is a collection of results on the complete atomic Boolean algebra structure of Set α.
Notation for the complete lattice operations can be found in Mathlib/Order/SetNotation.lean.
Main declarations #
- Set.sInter_eq_biInter,- Set.sUnion_eq_biInter: Shows that- ⋂₀ s = ⋂ x ∈ s, xand- ⋃₀ s = ⋃ x ∈ s, x.
- Set.completeAtomicBooleanAlgebra:- Set αis a- CompleteAtomicBooleanAlgebrawith- ≤ = ⊆,- < = ⊂,- ⊓ = ∩,- ⊔ = ∪,- ⨅ = ⋂,- ⨆ = ⋃and- \as the set difference. See- Set.instBooleanAlgebra.
- Set.unionEqSigmaOfDisjoint: Equivalence between- ⋃ i, t iand- Σ i, t i, where- tis an indexed family of disjoint sets.
Naming convention #
In lemma names,
- ⋃ i, s iis called- iUnion
- ⋂ i, s iis called- iInter
- ⋃ i j, s i jis called- iUnion₂. This is an- iUnioninside an- iUnion.
- ⋂ i j, s i jis called- iInter₂. This is an- iInterinside an- iInter.
- ⋃ i ∈ s, t iis called- biUnionfor "bounded- iUnion". This is the special case of- iUnion₂where- j : i ∈ s.
- ⋂ i ∈ s, t iis called- biInterfor "bounded- iInter". This is the special case of- iInter₂where- j : i ∈ s.
Notation #
- ⋃:- Set.iUnion
- ⋂:- Set.iInter
- ⋃₀:- Set.sUnion
- ⋂₀:- Set.sInter
Complete lattice and complete Boolean algebra instances #
Union and intersection over an indexed family of sets #
This rather trivial consequence of subset_iUnionis convenient with apply, and has i
explicit for this purpose.
This rather trivial consequence of iInter_subsetis convenient with apply, and has i
explicit for this purpose.
This rather trivial consequence of subset_iUnion₂ is convenient with apply, and has i and
j explicit for this purpose.
This rather trivial consequence of iInter₂_subset is convenient with apply, and has i and
j explicit for this purpose.
Unions and intersections indexed by Prop #
Bounded unions and intersections #
A specialization of mem_iUnion₂.
A specialization of mem_iInter₂.
A specialization of subset_iUnion₂.
A specialization of iInter₂_subset.
Alias of Set.notMem_of_notMem_sUnion.
⋃₀ and 𝒫 form a Galois connection.
Alias of Set.sUnion_subset_sUnion.
Alias of Set.sInter_subset_sInter.
Disjoint sets #
Intervals #
If t is an indexed family of sets, then there is a natural map from Σ i, t i to ⋃ i, t i
sending ⟨i, x⟩ to x.
Equations
- Set.sigmaToiUnion t x = ⟨↑x.snd, ⋯⟩
Instances For
Equivalence between a disjoint union and a dependent sum.