lattice package:lattices
In mathematics, a lattice is a partially ordered set in which every
two elements have a unique supremum (also called a least upper bound
or join) and a unique infimum (also called a greatest lower
bound or meet).
In this module lattices are defined using meet and
join operators, as it's constructive one.
Fine-grained library for constructing and manipulating lattices
In mathematics, a lattice is a partially ordered set in which every
two elements x and y have a unique supremum (also
called a least upper bound, join, or x /\ y) and a unique
infimum (also called a greatest lower bound, meet, or x \/
y).
This package provide type-classes for different lattice types, as well
as a class for the partial order.
A meet-semilattice with an identity element
top for
/\.
Laws
x /\ top ≡ x
Corollary
x \/ top
≡⟨ identity ⟩
(x \/ top) /\ top
≡⟨ absorption ⟩
top