A lattice is a universal algebra such that
is a nonempty set and
and
are binary operations
on
that are commutative
and associative. Every element
is idempotent under both operations,
and the two operations satisfy the absorption
law. The study of lattices is called lattice theory.
Note that this type of lattice is distinct from the regular array of points known as a point lattice (or informally as a mesh
or grid). A point lattice can be identified with
and then ordered componentwise. This
ordering depends on the chosen identification.
Lattices offer a natural way to formalize and study the ordering of objects using a general concept known as the partially ordered set. A lattice as a universal algebra is equivalent to a lattice as a partially ordered set (Grätzer 1971, p. 6) since
1. Let the partially ordered set be a lattice. Set
and
. Then the universal
algebra
is a lattice.
2. Let the universal algebra be a lattice. Set
iff
. Then
is a partially
ordered set, and the partially ordered set
is a lattice.
3. Let the partially ordered set be a lattice. Then
.
4. Let the universal algebra be a lattice. Then
.
The following inequalities hold for any lattice:
|
(1)
| |
|
(2)
| |
|
(3)
| |
|
(4)
|
(Grätzer 1971, p. 35). The first three are the distributive inequalities, and the last is the modular inequality.
The associated lattice-ordered set can equivalently be defined by setting
iff
. In particular, for any two elements
, the identity
holds iff
.