A set is called a partially ordered set or a poset with respect to a relation if for all :
- (reflexivity)
- (antisymmetry)
- (transitivity)
We write if and .
Let be some subset of a poset . Then we say is a chain or that is totally ordered if for all we have or . We say is an upper bound for if for all we have . We say is maximal if for all we have .
Suppose and there is no for which then we say covers .
A poset can be visualized using a Hasse Diagram.
This is a graph where each node represents an element and two distinct nodes are joined by an edge if and only if one covers the other. Usually the node being covered lies is drawn below the other one.
Example:
- are totally ordered with respect to the usual and none of them posess a maximal element.
-
Let be a set and set , the power set of . Then is a poset with respect to and is the maximal element.
Set . Then is a poset with respect to with many maximal elements in general, namely for all .
-
Let be a ring and set . Then is a poset with respect to and its maximal elements are precisely the maximal ideals of .
For example, for the Hasse diagram is a two node graph joined by one edge, where one node represents and the other represents .
If are rings then define their direct sum to be with coordinatewise operations. Note that its ideals must have the form for some .
Then if then the Hasse diagram representing resembles a diamond, where the four nodes represent the ideals . The maximal ideals are .
Now let . The Hasse diagram for now resembles a wireframe cube, and the maximal ideals are all isomorphic to .
A poset is called well-ordered if is totally ordered and each nonempty subset of has a least element. Note all finite totally ordered sets are well-ordered.
Example: are well-ordered and are not with respect to the usual .
Let be a finite nonempty alphabet with some total order . Define the lexicographic or dictionary order on by if for some we have for all that , and if then . This makes totally ordered. Then is well-ordered if and only if .
Zorn's Lemma: Let be a nonempty poset such that every chain has an upper bound in . Then has a maximal element.
This is equivalent to the Axiom of Choice, the Well-Ordering Principle and Transfinite Induction.
The Well-Ordering Principle states that every set can be well-ordered. This is nontrivial. For example, there is no known explicit well-ordering of .
Proof (Idea):
- Start with any .
- Build a chain unless a maximal element is reached.
- This chain has an upper bound .
- Build a chain unless a maximal element is reached.
- Repeat until a maximal element is reached.
- Suppose "every element of is examined" but the chain continues to be built without bound. Then for all , we either have for some or for all are not comparable.
- But this is a contradiction since has an upper bound , and we must have for all .
We can make the "examining every element" statement precise by assuming is well-ordered.
A lattice is a poset in which the greatest lower bound (g.l.b.) and least upper bound (l.u.b.) exist for any pair of elements. A lattice is complete if the g.l.b. and l.u.b. exist for any subset.