In mathematics, a complete lattice is a partially ordered set in which all subsets have both a supremum (join) and an infimum (meet). A conditionally complete lattice satisfies at least one of these properties for bounded and nonempty subsets. For comparison, in a general lattice, only pairs of elements need to have a supremum and an infimum. Every non-empty finite lattice is complete, but infinite lattices may be incomplete. Complete lattices appear in many applications in mathematics and computer science. Both order theory and universal algebra study them as a special class of lattices. Complete lattices must not be confused with complete partial orders (CPOs), a more general class of partially ordered sets. More specific complete lattices are complete Boolean algebras and complete Heyting algebras (locales).
Formal definition A complete lattice is a partially ordered set (L, ≤) such that every subset A of L has both a greatest lower bound (the infimum, or meet) and a least upper bound (the supremum, or join) in (L, ≤). The meet is denoted by ⋀A, and the join by ⋁A. In the special case where A is the empty set, the meet of A is the greatest element of L. Likewise, the join of the empty set is the least element of L. Then, complete lattices form a special class of bounded lattices.
Complete sublattices A sublattice M of a complete lattice L is called a complete sublattice of L if for every subset A of M the elements ⋀A and ⋁A, as defined in L, are actually in M. If the above requirement is lessened to require only non-empty meet and joins to be in M, the sublattice M is called a closed sublattice of L.
Complete semilattices The terms complete meet-semilattice or complete join-semilattice is another way to refer to complete lattices since arbitrary meets can be expressed in terms of arbitrary joins and vice versa (for details, see completeness). Another usage of "complete meet-semilattice" refers to a meet-semilattice that is bounded complete and a complete partial order. This concept is arguably the "most complete" notion of a meet-semilattice that is not yet a lattice (in fact, only the top element may be missing). See semilattices for further discussion between both definitions.
Conditionally complete lattices A lattice is said to be "conditionally complete" if it satisfies either or both of the following properties:
Any nonempty subset bounded above has the least upper bound. Any nonempty subset bounded below has the greatest lower bound.
Examples Any non-empty finite lattice is trivially complete. The power set of a given set when ordered by inclusion. The supremum is given by the union and the infimum by the intersection of subsets. The non-negative integers ordered by divisibility. The least element of this lattice is the number 1 since it divides any other number. Perhaps surprisingly, the greatest element is 0, because it can be divided by any other number. The supremum of finite sets is given by the least common multiple and the infimum by the greatest common divisor. For infinite sets, the supremum will always be 0 while the infimum can well be greater than 1. For example, the set of all even numbers has 2 as the greatest common divisor. If 0 is removed from this structure it remains a lattice but ceases to be complete. The subgroups of any given group under inclusion. (While the infimum here is the usual set-theoretic intersection, the supremum of a set of subgroups is the subgroup generated by the set-theoretic union of the subgroups, not the set-theoretic union itself.) If e is the identity of G, then the trivial group {e} is the minimum subgroup of G, while the maximum subgroup is the group G itself. The ideals of a ring, when ordered by inclusion. The supremum is given by the sum of ideals and the infimum by the intersection. The open sets of a topological space, when ordered by inclusion. The supremum is given by the union of open sets and the infimum by the interior of the intersection. Bounded subsets of the real numbers with their usual order ≤ form a complete lattice. Real numbers with their usual order ≤ form a conditionally complete lattice but not a complete lattice, for sequences might get arbitrarily large or small. However, a complete lattice is formed by appending +∞ and −∞, forming the extended real number line. The natural numbers with their usual order ≤ form a conditionally complete lattice, and the extended natural numbers (which append +∞) form a complete lattice. The ordinal numbers and cardinal numbers form conditionally complete lattices.
Non-examples The empty set is not a complete lattice. If it were a complete lattice, then in particular the empty set would have an infimum and supremum in the empty set, a contradiction. The rational numbers ℚ with the usual order ≤ is not a complete lattice. It is a lattice with ⋀{x,y}=min{x,y} and ⋁{x,y}=max{x,y}. However, ℚ itself has no infimum or supremum, nor does {x∈ℚ|x2<2}.
Locally finite complete lattices A complete lattice L is said to be locally finite if the supremum of any infinite subset is equal to the supremal element. Denoting this supremal element "1", the condition is equivalently that the set {y∈L | y≤x} is finite for any 1≠x∈L. This notation may clash with other notation, as in the case of the lattice (N, |), i.e., the non-negative integers ordered by divisibility. In this locally finite lattice, the infimal element denoted "0" for the lattice theory is the number 1 in the set N and the supremal element denoted "1" for the lattice theory is the number 0 in the set N.
Morphisms of complete lattices The traditional morphisms between complete lattices, taking the complete lattices as the objects of a category, are the complete homomorphisms (or complete lattice homomorphisms). These are characterized as functions that preserve all joins and all meets. Explicitly, this means that a function f:L→M between two complete lattices L and M is a complete homomorphism if
… excerpt ends here. Continue reading the full article.

