Unit 3 Notes
Unit 3 Notes
Definition
Example
Let S = {1, 2, 3} and consider the "divides" relation |. The set (S,
Transitive: If a|b and b|c, then a|c. For example, 1|2 and 2|6,
so 1|6.
Hasse Diagrams
Definition
c unless c covers a.
Example
/\
2 3
\/
Explanation:
2 is above 1; 3 is above 1.
Elements in a Poset
Maximal Element
Example: In the poset ({2, 4, 5, 10, 12, 20, 25}, /), the maximal
elements are 12, 20, and 25.
Minimal Element
Example: In the poset ({2, 4, 5, 10, 12, 20, 25}, /), the minimal
elements are 2 and 5.
Greatest Element
Least Element
Upper bounds of A: {6, 30}. (Since 2|6, 3|6 and 2|30, 3|30)
b (join).
Example: For A = {2,3} in D30, the upper bounds are {6, 30}.
Since 6|30, 6 is the LUB. So, LUB({2,3}) = 6.
b (meet).
Example: For A = {2,3} in D30, the lower bounds are {1}. Thus,
1 is the GLB. So, GLB({2,3}) = 1.
For A = {6,10} in D30, lower bounds are {1,2}. Since 1|2,
GLB({6,10}) = 2.
Lattices
Definition
Example
The power set of a set S, P(S), with the subset relation (⊆) is
a lattice. For any two subsets A, B ⊆ S, their LUB is A∪B and
their GLB is A ∩ B. For example, P({a,b}) = {∅, {a}, {b},
a⪯b is equivalent to a ∨ b = b.
a⪯b is equivalent to a ∧ b = a.
Properties of Lattices
1. Idempotent Laws:
o a∨a=a
o a∧a=a
Proof (for a ∨ a = a): a ∨ a = LUB(a, a). The set of upper bounds
for {a, a} is simply the set of upper bounds for a, which
are all elements x such that a ⪯ x. The least among these
is a itself. Hence, a ∨ a = a. Similarly for a ∧ a = a.
2. Commutative Laws:
o a∨b=b∨a
o a∧b=b∧a
3. Associative Laws:
o a ∨ (b ∨ c) = (a ∨ b) ∨ c
o a ∧ (b ∧ c) = (a ∧ b) ∧ c
4. Absorption Laws:
o a ∨ (a ∧ b) = a
o a ∧ (a ∨ b) = a
Types of Lattices
Bounded Lattice
For any a ∈ L: 0 ⪯ a ⪯ 1.
Also, a ∨ 0 = a, a ∧ 1 = a, a ∨ 1 = 1, a ∧ 0 = 0.
Distributive Lattice
1. a ∨ (b ∧ c) = (a ∨ b) ∧ (a ∨ c)
2. a ∧ (b ∨ c) = (a ∧ b) ∨ (a ∧ c)
(2 ∧ 3) ∨ (2 ∧ 5) = GLB(2,3) ∨ GLB(2,5) = 1 ∨ 1 = 1.
Complemented Lattice
2 ∨ 15 = LUB(2,15) = 30.
Practice Questions
Hasse diagram.
4. Advanced Concepts
1. Can a poset have three maximal elements and two
minimal elements? Can such a poset have a greatest
element? Explain.
1. Is (ℤ, ≤) a poset?
3. Is it bounded?