Frames, completely distributive lattices and complete Boolean algebras #
In this file we define and provide API for (co)frames, completely distributive lattices and complete Boolean algebras.
We distinguish two different distributivity properties:
inf_iSup_eq : (a ⊓ ⨆ i, f i) = ⨆ i, a ⊓ f i(finite⊓distributes over infinite⨆). This is required byFrame,CompleteDistribLattice, andCompleteBooleanAlgebra(Coframe, etc., require the dual property).iInf_iSup_eq : (⨅ i, ⨆ j, f i j) = ⨆ s, ⨅ i, f i (s i)(infinite⨅distributes over infinite⨆). This stronger property is called "completely distributive", and is required byCompletelyDistribLatticeandCompleteAtomicBooleanAlgebra.
Typeclasses #
Order.Frame: Frame: A complete lattice whose⊓distributes over⨆.Order.Coframe: Coframe: A complete lattice whose⊔distributes over⨅.CompleteDistribLattice: Complete distributive lattices: A complete lattice whose⊓and⊔distribute over⨆and⨅respectively.CompleteBooleanAlgebra: Complete Boolean algebra: A Boolean algebra whose⊓and⊔distribute over⨆and⨅respectively.CompletelyDistribLattice: Completely distributive lattices: A complete lattice whose⨅and⨆satisfyiInf_iSup_eq.CompleteBooleanAlgebra: Complete Boolean algebra: A Boolean algebra whose⊓and⊔distribute over⨆and⨅respectively.CompleteAtomicBooleanAlgebra: Complete atomic Boolean algebra: A complete Boolean algebra which is additionally completely distributive. (This implies that it's (co)atom(ist)ic.)
A set of opens gives rise to a topological space precisely if it forms a frame. Such a frame is also
completely distributive, but not all frames are. Filter is a coframe but not a completely
distributive lattice.
References #
- Wikipedia, Complete Heyting algebra
- [Francis Borceux, Handbook of Categorical Algebra III][borceux-vol3]
⊓ distributes over ⨆.
⊔ distributes over ⨅.
⊔ distributes over ⨅.
Equations
- CompletelyDistribLattice.toCompleteDistribLattice = CompleteDistribLattice.mk ⋯
Equations
- CompleteLinearOrder.toCompletelyDistribLattice = CompletelyDistribLattice.mk ⋯
Equations
- OrderDual.instCoframe = let __spread.0 := OrderDual.instCompleteLattice; Order.Coframe.mk ⋯
Equations
- Frame.toDistribLattice = DistribLattice.ofInfSupLe ⋯
Equations
- Prod.instFrame = let __spread.0 := Prod.instCompleteLattice; Order.Frame.mk ⋯
Equations
- Pi.instFrame = let __spread.0 := Pi.instCompleteLattice; Order.Frame.mk ⋯
Equations
- OrderDual.instFrame = let __spread.0 := OrderDual.instCompleteLattice; Order.Frame.mk ⋯
Equations
- Coframe.toDistribLattice = let __spread.0 := inst; DistribLattice.mk ⋯
Equations
- Prod.instCoframe = let __spread.0 := Prod.instCompleteLattice; Order.Coframe.mk ⋯
Equations
- Pi.instCoframe = let __spread.0 := Pi.instCompleteLattice; Order.Coframe.mk ⋯
Equations
- OrderDual.instCompleteDistribLattice = let __spread.0 := OrderDual.instFrame; let __spread.1 := OrderDual.instCoframe; CompleteDistribLattice.mk ⋯
Equations
- Prod.instCompleteDistribLattice = let __spread.0 := Prod.instFrame; let __spread.1 := Prod.instCoframe; CompleteDistribLattice.mk ⋯
Equations
- Pi.instCompleteDistribLattice = let __spread.0 := Pi.instFrame; let __spread.1 := Pi.instCoframe; CompleteDistribLattice.mk ⋯
Equations
- OrderDual.instCompletelyDistribLattice = let __spread.0 := OrderDual.instFrame; CompletelyDistribLattice.mk ⋯
Equations
- Prod.instCompletelyDistribLattice = let __spread.0 := Prod.instFrame; CompletelyDistribLattice.mk ⋯
Equations
- Pi.instCompletelyDistribLattice = let __spread.0 := Pi.instFrame; CompletelyDistribLattice.mk ⋯
A complete Boolean algebra is a Boolean algebra that is also a complete distributive lattice.
It is only completely distributive if it is also atomic.
- sup : α → α → α
- le : α → α → Prop
- lt : α → α → Prop
- le_refl : ∀ (a : α), a ≤ a
- inf : α → α → α
- compl : α → α
- sdiff : α → α → α
- himp : α → α → α
- top : α
- bot : α
- sSup : Set α → α
Any element of a set is less than the set supremum.
Any upper bound is more than the set supremum.
- sInf : Set α → α
Any element of a set is more than the set infimum.
Any lower bound is less than the set infimum.
⊓distributes over⨆.In a complete distributive lattice,
⊔distributes over⨅.
Instances
Equations
- Prod.instCompleteBooleanAlgebra = let __spread.0 := Prod.instBooleanAlgebra; let __spread.1 := Prod.instCompleteDistribLattice; CompleteBooleanAlgebra.mk ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Equations
- Pi.instCompleteBooleanAlgebra = let __spread.0 := Pi.instBooleanAlgebra; let __spread.1 := Pi.instCompleteDistribLattice; CompleteBooleanAlgebra.mk ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Equations
- OrderDual.instCompleteBooleanAlgebra = let __spread.0 := OrderDual.instBooleanAlgebra; let __spread.1 := OrderDual.instCompleteDistribLattice; CompleteBooleanAlgebra.mk ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
The symmetric difference of two iSups is at most the iSup of the symmetric differences.
A biSup version of iSup_symmDiff_iSup_le.
A complete atomic Boolean algebra is a complete Boolean algebra that is also completely distributive.
We take iSup_iInf_eq as the definition here, and prove later on that this implies atomicity.
- sup : α → α → α
- le : α → α → Prop
- lt : α → α → Prop
- le_refl : ∀ (a : α), a ≤ a
- inf : α → α → α
- sSup : Set α → α
- sInf : Set α → α
- top : α
- bot : α
The infimum distributes over the supremum
- compl : α → α
- sdiff : α → α → α
- himp : α → α → α
The infimum of
xandxᶜis at most⊥The supremum of
xandxᶜis at least⊤x \ yis equal tox ⊓ yᶜx ⇨ yis equal toy ⊔ xᶜ⊓distributes over⨆.In a complete distributive lattice,
⊔distributes over⨅.
Instances
In a complete distributive lattice, ⊔ distributes over ⨅.
⊓ distributes over ⨆.
Equations
- Prod.instCompleteAtomicBooleanAlgebra = let __spread.0 := Prod.instBooleanAlgebra; let __spread.1 := Prod.instCompletelyDistribLattice; CompleteAtomicBooleanAlgebra.mk ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Equations
- Pi.instCompleteAtomicBooleanAlgebra = let __spread.0 := Pi.instCompleteBooleanAlgebra; CompleteAtomicBooleanAlgebra.mk ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- Prop.instCompleteBooleanAlgebra = inferInstance
Pullback an Order.Frame along an injection.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pullback an Order.Coframe along an injection.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pullback a CompleteDistribLattice along an injection.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pullback a CompletelyDistribLattice along an injection.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pullback a CompleteBooleanAlgebra along an injection.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pullback a CompleteAtomicBooleanAlgebra along an injection.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- PUnit.instCompleteBooleanAlgebra = inferInstance