Sets closed under join/meet #
This file defines predicates for sets closed under ⊔ and shows that each set in a join-semilattice
generates a join-closed set and that a semilattice where every directed set has a least upper bound
is automatically complete. All dually for ⊓.
Main declarations #
SupClosed: Predicate for a set to be closed under join (a ∈ sandb ∈ simplya ⊔ b ∈ s).InfClosed: Predicate for a set to be closed under meet (a ∈ sandb ∈ simplya ⊓ b ∈ s).IsSublattice: Predicate for a set to be closed under meet and join.supClosure: Sup-closure. Smallest sup-closed set containing a given set.infClosure: Inf-closure. Smallest inf-closed set containing a given set.latticeClosure: Smallest sublattice containing a given set.SemilatticeSup.toCompleteSemilatticeSup: A join-semilattice where every sup-closed set has a least upper bound is automatically complete.SemilatticeInf.toCompleteSemilatticeInf: A meet-semilattice where every inf-closed set has a greatest lower bound is automatically complete.
A set s is a sublattice if a ⊔ b ∈ s and a ⊓ b ∈ s for all a ∈ s, b ∈ s.
Note: This is not the preferred way to declare a sublattice. One should instead use Sublattice.
TODO: Define Sublattice.
Instances For
Alias of the reverse direction of supClosed_preimage_ofDual.
Alias of the reverse direction of infClosed_preimage_ofDual.
Alias of the reverse direction of isSublattice_preimage_ofDual.
Alias of the reverse direction of isSublattice_preimage_toDual.
Closure #
Every set in a join-semilattice generates a set closed under join.
Equations
Instances For
Alias of the reverse direction of supClosure_eq_self.
The semilatice generated by a finite set is finite.
Every set in a join-semilattice generates a set closed under join.
Equations
Instances For
Alias of the reverse direction of infClosure_eq_self.
The semilatice generated by a finite set is finite.
Every set in a join-semilattice generates a set closed under join.
Instances For
Alias of the reverse direction of latticeClosure_eq_self.
A join-semilattice where every sup-closed set has a least upper bound is automatically complete.
Equations
- SemilatticeSup.toCompleteSemilatticeSup sSup h = { toPartialOrder := inst✝.toPartialOrder, sSup := fun (s : Set α) => sSup (supClosure s), le_sSup := ⋯, sSup_le := ⋯ }
Instances For
A meet-semilattice where every inf-closed set has a greatest lower bound is automatically complete.
Equations
- SemilatticeInf.toCompleteSemilatticeInf sInf h = { toPartialOrder := inst✝.toPartialOrder, sInf := fun (s : Set α) => sInf (infClosure s), sInf_le := ⋯, le_sInf := ⋯ }