CSC208 Poset - Lattices
CSC208 Poset - Lattices
We shall consider some properties of partially ordered sets (called posets) and the
properties that qualifies a poset to be called a lattice.
We shall also discuss chains, antichains and the decomposition theorem.
Definition:
A partially ordered set (A, ≼) is reflexive, antisymmetric and transitive.
i.e.,
A poset (or partially ordered set) is a set A with a binary relation that is reflexive,
antisymmetric and transitive.
6
4
2 3 5
1
[Note: All the self-loops and transitive arcs are removed]
Note:
The maximal and minimal elements are different from the maximum and minimum
elements. An element is a maximum if it is larger than every single element in the set,
whereas an element is maximal if it is not smaller than any other element in the set.
(The terms “smaller” and “larger” are determined by the partial order ≼).
If the maximum (greatest) element of a poset exists, then it is unique, i.e., a poset can
have at most one maximum element. The maximum of a poset is the greatest element
in the entire poset or subset under consideration. The minimum (least) element is also
defined dually.
The maximal element is the highest element in a chain of a poset. There can be more
than one maximal element in a poset. The minimal element is defined dually.
6 9
4
2 3 5 7
The minimum is 1
The maximum is 8
The minimal is 1
The maximal is 8
4, 6 and 9 are equal [antichains]
2, 3, 5 and 7 are equal [they form another antichain]
〈1, 2, 4, 8〉 is the longest chain with a length of 4 because it has 4
nodes/elements
The length of a chain is the number of elements in that chain / subset
6 9
4
2 3 5 7
The minimum is 1
The maximum does not exist
The minimal is 1
The maximal are 4, 6 and 9
Definition:
Let [P, ≦] be any poset, and let 𝑎, 𝑏 ∈ P be given. Then an element 𝑑 ∈ P is called the
greatest lower bound (or meet) of 𝑎 and 𝑏 (symbolized as d = 𝑎 ˄ 𝑏) when
𝑑 ≦ 𝑎, 𝑑 ≦ 𝑏
and
𝑥 ≦ 𝑎, 𝑥 ≦ 𝑏
imply 𝑥 ≦ 𝑑
Dually, the element s ∈ P is called the least upper bound (or join) of 𝑎 and 𝑏 (symbolized
as s = 𝑎 ˅ 𝑏) when
𝑎 ≦ 𝑠, 𝑏 ≦ 𝑠
and
𝑎 ≦ 𝑥, 𝑏 ≦ 𝑥
imply 𝑠 ≦ 𝑥
Note:
The symbols ≦ and ≼ are used interchangeably.
Note:
It is not necessary that the meet and join should exist however if each of them exists, it
must be unique.
In the same vein, if you consider a poset and its subset, the meet and join of any pair of
elements may not belong to the subset.
THEOREM:
○ In any poset P, if the meets and joins exist, then they must satisfy the following lemma
(or dual laws):
1. 𝑥˄𝑥=𝑥 and 𝑥˅𝑥=𝑥 Idempotent law
3. (𝑥 ˄ 𝑦) ˄ 𝑧 = 𝑥 ˄ (𝑦 ˄ 𝑧) Associative law
and (𝑥 ˅ 𝑦) ˅ 𝑧 = 𝑥 ˅ (𝑦 ˅ 𝑧)
Definition:
Let S be an arbitrary subset of a poset [P ≦].
Then 𝑎 = glb S means that
(i) 𝑎 ≦ 𝑥 for all 𝑥 ∈ S
(ii) µ ≦ 𝑥 for all 𝑥 ∈ S
both imply µ ≦ 𝑎
Read as: “any other lower bound is lesser than the glb, which is 𝑎.
Note:
Glb stands for “greatest lower bound” or “meet”, denoted by ˄
Lub stands for “least upper bound” or “join”, denoted by ˅
𝑎 = glb S is read as “𝑎 is the greatest lower bound of the set S”.
𝑎 ˅ 𝑏 is read as “the join of element a and b”.
Definition:
A lattice is a poset in which any two elements 𝑎 and 𝑏 have a greatest lower bound
called the meet 𝑎 ˄ 𝑏 and a least upper bound called the join 𝑎 ˅ 𝑏.
In other words, if you consider any pair of elements of a poset, it will have a meet and
join.
EXAMPLE: From the following Hasse diagrams, state if each is or isn’t a lattice and
justify your answer.
(a)
2 3 5
1
Answer: This is not a lattice because some pairs have no join or meet. For
instance, 〈3, 5〉 has no join. Also, 〈4, 6〉, has join.
(b)
M5
Answer: M5 is a lattice because any pair of elements has a meet and a join.
(c)
N5
Answer: It is a lattice because any pair of elements has a meet and a join.
(d) e
a b
c d
P6
(e)
23
Answer: It is a lattice because any pair of elements has a unique
meet and a join. This is a power set of a set, which consists of three
elements.
Later, we shall see that 23 is a distributive lattice while N5 and P6 are non-distributive
lattices.
EXAMPLE: Consider the power set of a set A = {a, b, c}. The poset diagram is
represented below.
{a,b,c}
{b,c}
{a,b} {a,c}
{b} {c}
{a}
Distributive Lattices
In the five-element lattices M5 and N5, it is easy to find triples of elements, which do not
satisfy the dual law of distributivity:
𝑥 ˄ (𝑦 ˅ 𝑧) = (𝑥 ˄ 𝑦) ˅ (𝑥 ˄ 𝑧) and Distributive law
𝑥 ˅ (𝑦 ˄ 𝑧) = (𝑥 ˅ 𝑦) ˄ (𝑥 ˅ 𝑧)
Note:
• The distributive laws are satisfied by any sets under intersection and union;
hence the distributive laws hold [or are identities] in the lattice 2 3.
• However, these distributive laws do not hold as identities in the lattices N5 and M5
in example above.
• It is not necessary that the law of distributivity should be satisfied in a lattice but it
is necessary that a lattice must satisfy the four laws of idempotence,
commutativity, associativity and absorption.
• A lattice which satisfies the dual law of distributivity is called a distributive lattice,
otherwise, it is called a non-distributive lattice.
• Clearly, the distributive laws are inherited from a lattice to a sublattice moreover,
these laws hold in the power set P(U) of all subsets of any set U.
• In a given lattice, the minimum (or least element) is denoted with O while the
maximum (or greatest element) is denoted with I.
a b c
b a
c
O
g
w f
b m
n
Check:
Considering the triple 𝑛, 𝑏, 𝑚
𝑛 ˄ (𝑏 ˅ 𝑚) = (𝑛 ˄ 𝑏) ˅ (𝑛 ˄ 𝑚)
𝑛˄I O˅O
O O
O = O
l.h.s = r.h.s
Therefore, the distributive law holds
(d)
I
a b
c d
Solution:
This not even a lattice.
Note:
If the (original) lattice is distributive, its sub-lattice will also be distributive.
LEMMA:
In any distributive lattice,
𝑎˄𝑥=𝑎˄𝑦 and 𝑎˅𝑥=𝑎˅𝑦
both imply 𝑥 = 𝑦
Explanation:
If there exists a distributive lattice such that the meet of 𝑎 and 𝑥 equals the meet
of 𝑎 and 𝑦; and the join of 𝑎 and 𝑥 equals the join of 𝑎 and 𝑦, it implies that 𝑥 = 𝑦.
Proof:
To prove that “if 𝑎 ˄ 𝑥 = 𝑎 ˄ 𝑦 and 𝑎 ˅ 𝑥 = 𝑎 ˅ 𝑦 then imply 𝑥 = 𝑦”
Complement
Corollary:
In a distributive lattice, L, a given element 𝑎 can have at most one complement.
Explanation:
What is a complement?
If you have an element 𝑎 and another element 𝑎’, 𝑎’ is the complement of 𝑎 if the meet
of both of them is the minimum element and the join of both of them is the maximum
element.
i.e.,
𝑎’ is the complement of 𝑎 if
𝑎 ˄ 𝑎’ = O and
𝑎 ˅ 𝑎’ = I
EXAMPLE: Consider the power set of a set with two elements {a, b}.
{a,b} I
{a} {b}
Ø O
{a,b,c}
{b,c}
{a,b} {a,c}
{b} {c}
{a}
Ø
• The complement of {a} = {b, c} because their meet is O and their join is I
Note:
Complement only occurs in a distributive lattice.
EXAMPLE: Identify the chain(s) in the poset below, where 𝑎 is the least element and 𝑒
is the greatest element.
d c
b
a
Solution:
𝑎𝑏𝑐𝑒 is a chain
𝑎𝑑𝑒 is another chain
In the chain 𝑎𝑏𝑐𝑒,
element 𝑎 is smaller than every other element;
element 𝑏 is smaller than every other element except 𝑎;
element 𝑐 is smaller than every other element except 𝑎 and 𝑏.
The result for 𝑎𝑑𝑒 follows in the same manner.
Convention:
We shall use the notation
a1 ≤ a2 ≤ a3 … ≤ ak
as an observation for the list of ordered pairs
𝑎𝑖1 ≤ 𝑎𝑖2 , 𝑎𝑖1 ≤ 𝑎𝑖3 , …, 𝑎𝑖1 ≤ 𝑎𝑖𝑘 , 𝑎𝑖2 ≤ 𝑎𝑖3 , 𝑎𝑖2 ≤ 𝑎𝑖4 , …, 𝑎𝑖2 ≤ 𝑎𝑖𝑘 , …
Length of a Chain:
The number of elements in a chain is the length of the chain.
In the example above, the length of chain 𝑎𝑏𝑐𝑒 is 4, while the length of chain 𝑎𝑑𝑒 is 3.
Definition:
A subset of A is called an antichain if no two distinct elements in the sunset are related.
EXAMPLE: Identify the chain(s) and antichain(s) in the poset below.
d c
b
a
Solution:
The chains are {a, b, c, e}, {a, b, c}, {a, d, e}, and {a}.
The antichains are {b, d}, {c, d}, and {a}
Now, we have a small result about decomposition, which is stated in the next theorem.
Theorem:
○ Let (P, ≼) be a partially ordered set. Suppose the length of the longest chain(s) in P is
n, then the elements in P can be partitioned into n disjoint antichains.
EXAMPLE: Consider the poset diagram below.
g
c
b t
n w
k
u
m
In this poset,
The maximal elements are 𝑐 and 𝑔
The minimal elements are 𝑎, 𝑚 and 𝑢
The chains are 𝑎𝑘𝑏𝑐, 𝑚𝑡𝑔, 𝑚𝑛𝑏𝑐, etc.
The length of the longest chain is four (4)
Therefore, the elements in this poset can be partitioned into four disjoint
antichains
o [𝑐, 𝑔] in one block/antichain
o [𝑏, 𝑡] in one block
o [𝑘, 𝑛, 𝑤] in one block
o [𝑎, 𝑚, 𝑢] in another block