Partially ordered sets (posets) and lattices form the mathematical bedrock for modeling hierarchical relationships, structured data, and algebraic logic. This guide details the transition from general ordered structures to the algebraic specifications of lattices, culminating in the formulation of Boolean algebra and canonical Boolean functions.
A partially ordered set (poset) is a mathematical structure defined by a set combined with a binary relation that is reflexive, antisymmetric, and transitive.
A lattice is a specialized poset in which every pair of elements has a unique greatest lower bound (GLB) and a unique least upper bound (LUB).
Lattice Example Non-Lattice Poset Example
1 (LUB) d e
/ \ \ /
/ \ \ /
a b c
\ / / \
\ / / \
0 (GLB) a b
(Every pair has a unique (The pair {a, b} has upper bound c,
GLB and unique LUB) but the pair {d, e} has multiple
lower bounds with no unique GLB)For a poset to be a lattice, these bounds must exist and be unique for every single pair of elements within the set.
For any lattice , there exists an associated dual lattice obtained by reversing the partial order relation.
The Duality Principle states:
If any statement (theorem or identity) is true for all lattices, then its dual statement—obtained by swapping all meet () and join () operators, and reversing all order relations ( to and vice versa)—is also true for all lattices.
For example, if the identity holds, its dual identity is:
This symmetry halves the effort required to prove general lattice properties, as proving one identity automatically validates its dual.
Lattices can be defined purely algebraically as a algebraic structure containing a set and two binary operations satisfying the following four foundational postulates for all :
| Postulate | Meet Operation () | Join Operation () | | :--- | :--- | :--- | | Idempotence | | | | Commutativity | | | | | | | | | | |
The algebraic definition is equivalent to the poset definition. If we have an algebraic lattice, we can define the partial order relation using either operation:
We can prove that the relation induced by the algebraic operations is a valid partial order:
The partial order relation in any lattice is preserved under both meet and join operations. This property is called isotonicity.
A non-empty subset is a sublattice of if and only if it is closed under the operations of .
Lattice L Subset S (Not a Sublattice)
1 1
/ \ /
b c b
/ \ / / \
d e d e
\ / \ /
0 0
(S is a poset under the same order,
but LUB(d, e) in L is e, whereas in
the subset S, the join is b. S is not
closed under L's join operation.)Given two lattices and , their is the lattice where operations are executed component-wise:
An important application is the -cube lattice , formed by the Cartesian product of two-element lattices .
A function between two lattices and is a homomorphism if it preserves both algebraic operations:
Every lattice homomorphism is inherently order-preserving:
[ Posets ]
|
[ General Lattices ]
|
[ Bounded Lattices ]
/ \
/ \
[ Complemented ] [ Distributive ]
\ /
\ /
[ Boolean Algebras ]A lattice is complete if every non-empty subset (finite or infinite) has both a greatest lower bound (GLB) and a least upper bound (LUB).
A lattice is bounded if it contains a lower bound and an upper bound such that for all :
These elements satisfy the boundary conditions:
In a bounded lattice , an element is a complement of if:
A lattice is complemented if it is bounded and every element has at least one complement .
A lattice is distributive if the meet and join operations distribute over each other:
The most common non-distributive structures are the Pentagon lattice () and the Diamond lattice ():
Pentagon Lattice (N5) Diamond Lattice (M5)
1 1
/ \ /|\
b \ / | \
/ c a b c
a / \ | /
\ / \|/
0 0Formally, a Boolean algebra is defined as a complemented distributive lattice. It is written as a 6-tuple structure:
Where:
In any finite Boolean algebra:
A Boolean function of variables is a mapping , where .
For input variables, there are distinct valuation states, leading to possible unique Boolean functions.
Every Boolean function can be expressed uniquely as a sum (join) of distinct product terms (minterms). Each minterm contains every variable exactly once, in either its complemented or uncomplemented form.
Conversely, every Boolean function can be expressed uniquely as a product (meet) of distinct sum terms (maxterms).
Let us convert the Boolean expression into canonical Sum-of-Products (SOP) form.
The expression contains two variables and .
Multiply each term by a expression of the form for its missing variable:
Now combine the terms back into the original sum expression:
By associativity and commutativity:
Applying the Idempotence Law ():
This is the completed canonical SOP expression of the function.
A partially ordered set (poset) in which every pair of elements has a unique greatest lower bound (meet) and a unique least upper bound (join).
A structural symmetry in lattices stating that if a theorem is true, its dual (obtained by swapping meet/join operations and reversing the order relation) is also true.
A lattice in which the meet operation distributes over join, and the join operation distributes over meet.
A lattice containing unique minimum (0) and maximum (1) elements, where every element has a corresponding complement element.
An algebraic structure defined as a complemented distributive lattice, serving as the basis for digital logic and modern computing architecture.
Test your understanding with 5 questions
Which of the following conditions must be satisfied for a partially ordered set (poset) to be classified as a lattice?
In the lattice of positive integers under the divisibility relation, what are the meet (GLB) and join (LUB) operations for any two elements a and b?
If a lattice is distributive, what is a fundamental property of the complements of its elements?
Which of the following Hasse diagram configurations represents a forbidden sublattice that prevents a lattice from being distributive?
Given a Boolean algebra with n variables, how many distinct Boolean functions can be constructed?
6 Modules
6 Modules