Definition of partial orders
A partial order is a way of arranging elements in a set so that some elements can be ranked relative to each other, but not necessarily all of them. Think of course prerequisites at a university: Calculus I must come before Calculus II, but Calculus I and Introduction to Psychology have no required ordering between them.
More formally, a partial order is a relation on a set that satisfies three properties. A set paired with a partial order relation is called a partially ordered set (or poset).
Properties of partial orders
Every partial order must satisfy all three of these:
- Reflexivity: Every element relates to itself. For any , we have .
- Antisymmetry: If two elements each relate to the other, they must be the same element. If and , then .
- Transitivity: Relationships chain together. If and , then .
The symbol used depends on context: for numbers, for sets, for divisibility, or a generic .
The key feature that makes a partial order partial is that some pairs of elements may be incomparable, meaning neither nor holds. This is what distinguishes partial orders from total orders.
Examples of partial orders
- Subset relation (): On the power set of , we have , but and are incomparable since neither is a subset of the other.
- Divisibility (): Among positive integers, and , but 2 and 3 are incomparable since neither divides the other.
- Course prerequisites: "Intro to Programming must come before Data Structures" defines a partial order on courses, since many courses have no prerequisite relationship at all.
- File directory structures: Folders are partially ordered by containment. A parent folder contains its child, but two sibling folders are incomparable.
Hasse diagrams
A Hasse diagram is a visual representation of a poset that strips away redundant information to show only the essential structure. Instead of drawing every single relationship (including those implied by reflexivity and transitivity), you draw only the "direct" or "covering" relationships.
Construction of Hasse diagrams
To build a Hasse diagram from a partial order:
- Draw each element as a node.
- Identify covering relations: is covered by (written ) if , , and there's no element strictly between them.
- Position elements vertically so that if , then appears lower than .
- Draw edges only for covering relations. Omit edges that can be inferred by transitivity.
- Omit arrows and self-loops. The upward direction already indicates the ordering, and reflexive loops are understood.
For example, the divisibility poset on has edges from 1 to 2, 1 to 3, 2 to 6, and 3 to 6. You would not draw an edge from 1 to 6 because that relationship is already implied by the paths 1→2→6 and 1→3→6.
Interpretation of Hasse diagrams
- Read relationships bottom to top: if you can trace an upward path from to , then .
- Two elements with no connecting upward path between them are incomparable.
- Chains appear as vertical sequences of connected nodes.
- Antichains appear as elements at the same "level" with no edges between them.
Comparability and incomparability
Comparable elements
Two elements and in a poset are comparable if either or . In the divisibility poset, 3 and 12 are comparable because .
A subset of a poset where every pair of elements is comparable forms a chain (also called a totally ordered subset or linear suborder). For instance, under divisibility is a chain because each element divides the next.
Incomparable elements
Elements and are incomparable if neither nor holds. In the divisibility poset, 4 and 9 are incomparable since neither divides the other.
A subset where no two elements are comparable forms an antichain. For example, under divisibility is an antichain (verify: 4 doesn't divide 6, 6 doesn't divide 9, and 4 doesn't divide 9, and none of the reverses hold either).
The existence of incomparable elements is exactly what makes a partial order "partial" rather than total.
Minimal and maximal elements
Definitions and distinctions
A minimal element is one with nothing below it: there is no element in the poset with (meaning and ). A maximal element is one with nothing above it: no exists with .
A poset can have multiple minimal or maximal elements. In the divisibility poset on , both 2 and 3 are minimal elements.
Don't confuse these with least and greatest elements:
- A least element (or minimum) is an element such that for every in the poset. It must be comparable to everything.
- A greatest element (or maximum) is an element such that for every .
A least element, if it exists, is the unique minimal element. But a poset can have minimal elements without having a least element (as in the example above, where 2 and 3 are both minimal but neither is below the other).

Finding minimal and maximal elements
On a Hasse diagram, minimal elements sit at the bottom with no edges going downward, and maximal elements sit at the top with no edges going upward.
Without a diagram, check each element: if no other element in the set is strictly below it, it's minimal. If no other element is strictly above it, it's maximal.
Least upper bounds
Supremum concept
Given a subset of a poset, the least upper bound (or supremum, written ) is an element such that:
- is an upper bound of : for every , .
- is the least such upper bound: if is any other upper bound of , then .
When it exists, the supremum is unique (antisymmetry guarantees this). The supremum generalizes the idea of a maximum: if has a maximum element, that element is its supremum. But a supremum can exist even when the maximum doesn't belong to .
Existence of least upper bounds
A supremum is not guaranteed to exist for every subset. It depends on the structure of the poset.
- If every pair of elements has a supremum, the poset is called a join-semilattice.
- If every non-empty subset (and the empty set) has a supremum, the poset is a complete lattice.
Greatest lower bounds
Infimum concept
The greatest lower bound (or infimum, written ) is the dual concept. For a subset , the infimum satisfies:
- is a lower bound of : for every , .
- is the greatest such lower bound: if is any other lower bound, then .
Like the supremum, the infimum is unique when it exists, and it generalizes the concept of minimum.
Existence of greatest lower bounds
- Not guaranteed for all subsets in a general poset.
- If every pair of elements has an infimum, the poset is a meet-semilattice.
- If every non-empty subset has both a supremum and an infimum, you're looking at a complete lattice.
Lattices
Definition of lattices
A lattice is a poset where every pair of elements has both a least upper bound and a greatest lower bound. These two operations get their own names and symbols:
- The join of and , written , is their least upper bound (supremum).
- The meet of and , written , is their greatest lower bound (infimum).
These operations satisfy several algebraic properties: they are associative, commutative, and obey the absorption laws ( and ). Because of this, lattices can be studied either through order theory or through algebra.
Types of lattices
- Complete lattice: Every subset (not just every pair) has a join and a meet. The power set of any set under is a complete lattice.
- Bounded lattice: Has a greatest element (called top, ) and a least element (called bottom, ).
- Distributive lattice: Join distributes over meet and vice versa: .
- Boolean lattice: A distributive lattice where every element has a complement. The power set lattice under is the classic example.
- Modular lattice: Satisfies a weakened version of the distributive law. Every distributive lattice is modular, but not vice versa.

Applications of partial orders
Computer science applications
- Task scheduling: Dependencies between tasks form a partial order. A build system, for example, must compile source files in an order consistent with their dependencies.
- Version control: Git commits form a partial order where branches create incomparable elements that may later be merged.
- Database query optimization: Query execution plans are partially ordered by cost and dependency.
- Partial order reduction: Used in formal verification to reduce the state space when checking concurrent systems.
Mathematics applications
- Set theory: The inclusion relation on a collection of sets is one of the most natural partial orders.
- Number theory: Divisibility among integers gives a rich partial order structure studied through lattice theory.
- Topology: Partial orders on open sets help define topological spaces.
- Category theory: Posets are a special case of categories (with at most one morphism between any two objects), so results about posets often generalize.
Partial orders vs total orders
Key differences
| Property | Partial Order | Total Order |
|---|---|---|
| All pairs comparable? | No | Yes |
| Multiple minimal/maximal elements? | Possible | No (unique min and max if the set is finite) |
| Incomparable elements? | Allowed | None |
| Hasse diagram shape | Can branch | Always a single chain |
Total orders are the special case of partial orders where every pair of elements is comparable. The integers under form a total order. The subsets of under do not.
Conversion between partial and total orders
A linear extension of a partial order is a total order that is consistent with it: if in the partial order, then in the total order as well.
Topological sorting is the algorithmic process of finding a linear extension. Given a directed acyclic graph representing a partial order, topological sort produces a total ordering of the elements.
A single partial order can have multiple valid linear extensions. For the divisibility poset on , both and are valid linear extensions.
Chains and antichains
Definitions and properties
- A chain is a subset of a poset in which every two elements are comparable. It's a totally ordered subset.
- An antichain is a subset in which no two elements are comparable.
- The height of a poset is the size of its longest chain (minus 1, in some conventions).
- The width of a poset is the size of its largest antichain.
These two concepts are dual to each other and together capture how "tall" versus "wide" a poset is.
Dilworth's theorem
Dilworth's theorem states: in any finite poset, the width (size of the largest antichain) equals the minimum number of chains needed to partition the entire set.
This is a powerful result. If the largest antichain has 3 elements, then you need at least 3 chains to cover every element, and Dilworth's theorem guarantees that 3 chains will suffice.
The dual result (Mirsky's theorem) states that the height (length of the longest chain) equals the minimum number of antichains needed to partition the set.
Both theorems have applications in combinatorics, scheduling, and graph coloring.
Order isomorphisms
Definition of order isomorphisms
An order isomorphism between two posets and is a bijection that preserves order in both directions:
If such a function exists, the two posets are order-isomorphic, meaning they have identical structure even if their elements look different. Their Hasse diagrams will have the same shape.
Preservation of order structure
Order isomorphisms preserve every structural property: chains, antichains, minimal and maximal elements, height, width, lattice structure, and the existence of suprema and infima. If you prove a theorem about one poset, it automatically holds for any isomorphic poset.
This makes order isomorphism the right notion of "sameness" for posets, just as graph isomorphism is for graphs or group isomorphism is for groups.