Unit 2 - Notes
Unit 2: Ordered Sets and Lattices
1. Introduction
In discrete mathematics, relations are used to describe associations between elements of sets. Among the most important types of relations are those that formalize the concept of "ordering" elements, such as comparing numbers by size, sets by inclusion, or tasks by prerequisites. This unit explores the mathematical structures that arise from these ordering relations, progressing from basic partially ordered sets to highly structured systems known as lattices.
2. Ordered Sets (Partially Ordered Sets / Posets)
An ordered set, or more formally a Partially Ordered Set (Poset), is a set combined with a specific binary relation that dictates the arrangement of the elements.
A relation on a set is called a partial order if it satisfies three properties for all :
- Reflexivity: (Every element is related to itself).
- Antisymmetry: If and , then (Two distinct elements cannot precede each other).
- Transitivity: If and , then (Order is passed down a chain).
A poset is denoted by the pair . The word "partially" indicates that not every pair of elements needs to be comparable. If neither nor , then and are incomparable (denoted ).
Examples of Posets:
- : The integers under the standard "less than or equal to" relation. (This is actually a total order, a specific type of partial order).
- : The power set of under set inclusion. E.g., , but and are incomparable.
- : Positive integers under the "divides" relation ( means divides without a remainder).
3. Hasse Diagrams of Partially Ordered Sets
A Hasse Diagram is a graphical representation of a finite poset that eliminates redundant information, making the order structure easy to visualize.
Rules for Constructing a Hasse Diagram:
- Represent elements as vertices (dots).
- Draw upwards: If (meaning and ), place the vertex for higher than the vertex for .
- Remove self-loops: Because all partial orders are reflexive (), loops at every vertex are assumed and omitted.
- Remove transitive edges: If and , the edge from to is omitted because it is implied by transitivity.
- Draw lines (edges): Connect and with a line if covers . ( covers if and there is no element such that ).
Example:
For the poset , where (the divisors of 12):
- 1 is at the bottom (it divides everything).
- 2 and 3 cover 1.
- 4 covers 2; 6 covers 2 and 3.
- 12 covers 4 and 6.
4. Consistent Enumeration (Topological Sorting)
A consistent enumeration (also known as a topological sort) of a finite poset is a way of assigning a unique integer to each element of the set such that the assignment respects the partial order.
- Definition: A consistent enumeration is a bijective function such that if in , then in standard integer ordering.
- Significance: It proves that every partial order can be embedded into a total order (a sequence). This is crucial in scheduling tasks where prerequisites exist (e.g., compiling software dependencies or university course prerequisites).
- Algorithm:
- Find a minimal element in the Hasse diagram (an element with no predecessors).
- Assign it the next available integer (starting from 1).
- Remove this element and its edges from the diagram.
- Repeat until all elements are enumerated.
5. Supremum and Infimum
In a poset , we often look at subsets to find bounds. Let be a subset of .
- Upper Bound: An element is an upper bound of if for all .
- Lower Bound: An element is a lower bound of if for all .
Supremum (Least Upper Bound / LUB / Join):
An element is the supremum of , denoted or for a two-element set, if:
- is an upper bound of .
- For any other upper bound of , .
Infimum (Greatest Lower Bound / GLB / Meet):
An element is the infimum of , denoted or for a two-element set, if:
- is a lower bound of .
- For any other lower bound of , .
Note: The supremum and infimum of a subset, if they exist, are unique due to the antisymmetry property.
6. Isomorphic (Similar) Ordered Sets
Two posets and are order-isomorphic if they share the exact same structural properties, merely differing by the names of their elements.
- Definition: An order isomorphism is a bijective function such that for any :
- Properties: If two posets are isomorphic, their Hasse diagrams can be drawn to look identical. Isomorphisms preserve all order-theoretic properties, such as maximal/minimal elements, bounds, supremums, and infimums.
7. Well-Ordered Sets
A poset is a well-ordered set if every non-empty subset of has a least (minimum) element.
Key Implications:
- Total Order: Every well-ordered set is totally ordered (a chain). For any , the subset must have a least element, meaning either or .
- No Infinite Descending Chains: A well-ordered set cannot contain an infinite strictly decreasing sequence ().
- Mathematical Induction: The principle of mathematical induction is fundamentally based on the fact that the set of natural numbers is well-ordered.
- Example: is well-ordered.
- Non-Example: is not well-ordered because the subset of negative integers has no least element.
8. Lattices and Bounded Lattices
Lattices
A lattice is a poset in which every pair of elements has both a unique supremum (Join, ) and a unique infimum (Meet, ).
Lattices can also be defined algebraically. An algebraic structure is a lattice if it satisfies the following axioms for all :
- Commutative: and
- Associative: and
- Absorption: and
- Idempotent: and
Bounded Lattices
A lattice is bounded if it has a greatest element (universal upper bound) and a least element (universal lower bound).
- The greatest element is usually denoted by $1$ (or ). For all , .
- The least element is usually denoted by $0$ (or ). For all , .
- In a bounded lattice: , , , and .
- Note: Every finite lattice is bounded.
9. Distributive Lattices
A lattice is called a distributive lattice if the operations of join and meet distribute over each other. For all :
(Note: In a lattice, if one of these distributive laws holds, the other necessarily holds as well).
Examples:
- Any chain (totally ordered set) is a distributive lattice.
- The power set under union () and intersection () is a distributive lattice.
Non-Examples (Birkhoff's Theorem):
A lattice is distributive if and only if it does not contain a sublattice isomorphic to:
- (The Diamond Lattice): Five elements where three elements are incomparable to each other, all sharing the same upper and lower bound.
- (The Pentagon Lattice): Five elements forming a pentagon shape in the Hasse diagram.
10. Complements and Complemented Lattices
Complements
Let be a bounded lattice. An element is called a complement of an element if it satisfies two conditions:
- (Their join is the universal upper bound)
- (Their meet is the universal lower bound)
Important Property: In a distributive bounded lattice, if an element has a complement, that complement is unique.
Complemented Lattices
A bounded lattice is called a complemented lattice if every element in has at least one complement.
Connection to Boolean Algebra:
A lattice that is both distributive and complemented is called a Boolean Algebra (or Boolean Lattice).
- Example: The power set lattice is a complemented distributive lattice (Boolean Algebra). The complement of any subset is its set-theoretic complement .
- Non-Example: In the divisor lattice , the element 2 does not have a complement, so is not a complemented lattice.