Lattice Theory
Lattice Theory
Department of Mathematics
Manipal Institute of Technology
Manipal Academy of Higher Education Manipal
Manipal
1 / 36
Contents
1 Binary relations
2 Lattice
6 Reference
2 / 36
Binary relations
3 / 36
Binary relations
Types of relations:
1 Reflexive relation: A binary relation R on a A is said to be a
reflexive relation if (a, a) ∈ R for all a ∈ A.
Ex: Let A be the set of positive integers and R be the binary relation
on A defined by (a, b) ∈ R if and only if a divides b. Then R is
reflexive as every integer divides itself.
2 Symmetric relation: A binary relation R on a A is said to be
symmetric if (a, b) ∈ R =⇒ (b, a) ∈ R for all a, b ∈ A.
Ex: The relations “is parallel to ”and “is perpendicular to ”are
symmetric relations on the set of all straight lines.
4 / 36
Binary relations
5 / 36
Binary relations
6 / 36
Binary relations
7 / 36
Binary relations
Hasse diagram
A poset (A, ≤) is graphically represented by Hasse diagram. The following
steps are to be followed to draw Hasse diagram corresonding to a given
poset (A, ≤).
Each element of A is represented by a small circle or a dot.
The circle for x ∈ A is drawn below the circle for y ∈ A if x ≤ y . A
line is drawn if y covers x.
If x ≤ y but y doesn’t cover x, then x and y are not connected
directly by a single line.
8 / 36
Binary relations
Example 1.1.
6 30
4
10 3
6 15
2 3 2
2 5 1
3
1 The poset (C, )
where C={1,2,3,4}
The poset (A, |) where
A={1,2,3,6} 1
Here | is the relation “divides ”and ≤ is the relation “less than or equal to
”.
9 / 36
Binary relations
10 / 36
Binary relations
11 / 36
Lattice
Lattice:
A partially ordered set is said to be a lattice if every two elements in the
set have a unique glb and unique lub. Let (L, ≤) be a lattice. For any two
elements a, b, let
a ∨ b : lub of a and b and a ∧ b : glb of a and b.
Then (L, ≤, ∨, ∧) is an algebraic system defined by the lattice (L, ≤).
Example 2.1.
Let P(S) be the power set of a nonempty set S. Then (P(S), ⊆) is a
lattice where A ∨ B = A ∪ B and A ∧ B = A ∩ B. This defines the
algebraic system (P(S), ⊆, ∪, ∩).
Example 2.2.
Let N + be the set of all positive integers. Then (N + , |) (a|b if a divides b)
is a lattice where a ∨ b = lcm(a, b) and a ∧ b = gcd(a, b).
12 / 36
Lattice
Theorem 2.3.
For any elements a, b in a lattice (A, ≤),
a ≤ a ∨ b and b ≤ a ∨ b
a ∧ b ≤ a and a ∧ b ≤ b
Theorem 2.4.
For any elements a, b, c, d in a lattice (A, ≤), if a ≤ b and c ≤ d
a∨c ≤b∨d
a∧c ≤b∧c
13 / 36
Lattice
Duality Principle
Let (A, ≤) be a poset. Let ≥ be a binary relation on A such that for any
a, b in A, a ≥ b if and only if b ≤ a. We note that (A, ≥) is a poset.
If (A, ≤) is a lattice, then so is (A, ≥)
The join operation of the algebraic system defined by the lattice
(A, ≤) is the meet operation of the algebraic system defined by (A, ≥)
and vice versa.
Consequenntly, given any valid statement concerning the general
properties of the lattices, we can obtain another valid statement by
replacing the relation ≤ with ≥, the meet operation with the join
operation and the join operation with the meet operation. This is
known as principle of duality for lattices.
If the statement remains the same after dualism, then such a
statement is called self dual.
14 / 36
Lattice
15 / 36
Distributive and complemented lattice
Example 3.1.
Let S = {a, b, c}. Then (P(S), ⊆) is a distributive lattice.
S={a,b,c}
{a,c}
{a,b} {b,c}
{a} {c}
{b}
{}
16 / 36
Distributive and complemented lattice
Theorem 3.2.
If the meet operation is distributive over the join operation in a lattice,
then the join operation is also distributive over the meet operation. If the
join operation is distributive over the meet operation in a lattice, then the
meet operation is also distributive over the join operation.
Proof.
Given that a ∧ (b ∨ c) = (a ∧ b) ∨ (a ∧ c) − − − − − − − − − − − − − (1)
To prove a ∨ (b ∧ c) = (a ∨ b) ∧ (a ∨ c),
Consider (a ∨ b) ∧ (a ∨ c) = [(a ∨ b) ∧ a] ∨ [(a ∨ b) ∧ c] from (1)
= a ∨ [(a ∨ b) ∧ c] (absorption law)
= a ∨ [c ∧ (a ∨ b)] (commutative law)
= a ∨ [(c ∧ a) ∨ (c ∧ b)] from (1)
= [a ∨ (c ∧ a)] ∨ (c ∧ b) (associative law)
= a ∨ (c ∧ b) (absorption law)
= a ∨ (b ∧ c) (commutative law)
Second part follows from the principle of duality.
17 / 36
Distributive and complemented lattice
Problems:
Q1. Let a and b be two elements in a lattice (A, ≤). Show that a ∧ b = b
if and only if a ∨ b = a.
Sol.
Let
a ∧ b = b − − − − − − − − − − − − − − − − − − − − − − − − − −(2)
Consider a ∨ (a ∧ b) = a (absorption law)
a∨b =a from (2)
Conversely, let a ∨ b = a − − − − − − − − − − − − − − − − − − − (3)
Consider b ∧ (a ∨ b) = b (absorption law)
a∧b =b
Q2. Let a, b, c be elements in a lattice (A, ≤). Show that
i. a ∨ (b ∧ c) ≤ (a ∨ b) ∧ (a ∨ c)
ii. (a ∧ b) ∨ (a ∧ c) ≤ a ∧ (b ∨ c)
18 / 36
Distributive and complemented lattice
Sol.
i. a ≤ a ∨ b and a ≤ a ∨ c =⇒ a ≤ (a ∨ b) ∧ (a ∨ c) − − − − − − − − (4)
b ≤ a ∨ b and c ≤ a ∨ c =⇒ b ∧ c ≤ (a ∨ b) ∧ (a ∨ c) − − − − − − − (5)
From (4) and (5), a ∨ (b ∧ c) ≤ (a ∨ b) ∧ (a ∨ c). (By Theorem 2.4)
ii. (a ∧ b) ≤ a and (a ∧ c) ≤ a =⇒ (a ∧ b) ∨ (a ∧ c) ≤ a − − − − − (6)
(a ∧ b) ≤ b and (a ∧ c) ≤ c =⇒ (a ∧ b) ∨ (a ∧ c) ≤ (b ∨ c) − − − − − (7)
From (6) and (7), (a ∧ b) ∨ (a ∧ c) ≤ a ∧ (b ∨ c). (By Theorem 2.4)
19 / 36
Distributive and complemented lattice
20 / 36
Distributive and complemented lattice
21 / 36
Distributive and complemented lattice
An element in a lattice may have more than one complement. Not all the
elements in a lattice have complements. It’s evident that ‘0’is the unque
complement of ‘0’and vice versa.
Complemented lattice: A lattice is said to be a complemented lattice if
every element in the lattice has a complement. Clearly, a complemented
lattice has a universal lower and upper bounds.
Example 3.4.
1
c
a
22 / 36
Distributive and complemented lattice
Theorem 3.5.
In a distributive lattice, if an element has a complement, it is unique.
Proof.
Suppose an element a has two complements b and c. i.e.
a ∨ b = a ∨ c = 1 and a ∧ b = a ∧ c = 0.
Consider b = b ∧ 1
= b ∧ (a ∨ c)
= (b ∧ a) ∨ (b ∨ c)
= 0 ∨ (b ∨ c)
= (a ∧ c) ∨ (b ∨ c)
= c ∧ (a ∨ b)
=c ∧1
=c
Thus b = c
23 / 36
Boolean lattice and boolean algebra
24 / 36
Boolean lattice and boolean algebra
Proof.
We have to prove that (a ∨ b) ∨ (ā ∧ b̄) = 1 and (a ∨ b) ∧ (ā ∧ b̄) = 0.
Consider (a ∨ b) ∨ (ā ∧ b̄) = [(a ∨ b) ∨ ā] ∧ [(a ∨ b) ∨ b̄] (distributive law)
= [ā ∨ (a ∨ b)] ∧ [a ∨ (b ∨ b̄)] (associative law)
= [(ā ∨ a) ∨ b] ∧ [a ∨ 1] (associative law)
= [1 ∨ b] ∧ [a ∨ 1]
=1∧1=1
Similarly, (a ∨ b) ∧ (ā ∧ b̄) = (ā ∧ b̄) ∧ (a ∨ b) (commutative law)
= [(ā ∧ b̄) ∧ a] ∨ [(ā ∧ b̄) ∧ b] (distributive law)
= [a ∧ (ā ∧ b̄)] ∨ [(ā ∨ b̄) ∧ b] (commutative law)
= [(a ∧ ā) ∧ b̄] ∨ [ā ∨ (b̄ ∧ b)] (associative law)
= [0 ∧ b̄] ∨ [(ā ∧ 0]
=0∨0=0
The second part follows from principle of duality.
25 / 36
Boolean lattice and boolean algebra
Proof.
We know that 0 ∨ c = c
(b ∧ c̄) ∨ c = c (given)
c ∨ (b ∧ c̄) = c (commutative law)
(c ∨ b) ∧ (c ∨ c̄) = c (distributive law)
(c ∨ b) ∧ 1 = c
(c ∨ b) = c
(b ∨ c) = c
Thus b ≤ b ∨ c =⇒ b ≤ c.
26 / 36
Boolean lattice and boolean algebra
Lemma 4.4.
Let (A, ≤, ∨, ∧,− ) be a finite boolean algebra. Let b be any nonzero
element in A and a1 , a2 , . . . , ak be all the atoms of A such that ai ≤ b.
Then b = a1 ∨ a2 ∨ . . . ak .
Proof.
Since a1 ≤ b, a2 ≤ b, . . . , ak ≤ b, it follows that
a1 ∨ a2 ∨ . . . ak ≤ b − − − − − − − − − − − − − − − − − − − − − −(8)
For notational convinience, let c = a1 ∨ a2 ∨ . . . ak . Suppose b ∧ c̄ 6= 0,
then there exists an atom a such that a ≤ b ∧ c̄.
Now a ≤ b ∧ c̄ and b ∧ c̄ ≤ b =⇒ a ≤ b − − − − − − − − − − − − − (9)
a ≤ b ∧ c̄ and b ∧ c̄ ≤ c̄ =⇒ a ≤ c̄
From (9), a is equal to one of the atoms a1 , a2 , . . . , ak . Also a ≤ c.
Combining a ≤ c and a ≤ c̄, we get a ≤ c ∧ c =⇒ a ≤ o, which is
impossible. Thus b ∧ c = 0 =⇒ b ≤ c. That is
b ≤ a1 ∨ a2 ∨ . . . ak . − − − − − − − − − − − − − − − − − − − − − −(10)
Form (8) and (10) and antisymmetric property, a1 ∨ a2 ∨ . . . ak = b.
27 / 36
Boolean lattice and boolean algebra
Lemma 4.5.
Let (A, ≤, ∨, ∧,− ) be a finite boolean algebra. Let b be any nonzero
element in A and a1 , a2 , . . . , ak be all the atoms of A such that ai ≤ b.
Then b = a1 ∨ a2 ∨ . . . ak is the unique way to represent b as a join of
atoms.
Proof.
Suppose that we have alternatinve representation b = aj1 ∨ aj2 ∨ . . . ajt .
Since b is the lub of aj1 , aj2 , . . . ajt , it is true that
aj1 ≤ b, aj2 ≤ b, . . . , ajt ≤ b. Consider an atom aju (1 ≤ u ≤ t). Since
aju ≤ b.
we have aj ∧ b = aju
aju ∧ (a1 ∨ a2 ∨ . . . ak = aju )
(aju ∧ a1 ) ∨ (aju ∧ a2 ) ∨ . . . (aju ∧ ak ) = aju
Then for some ai (1 ≤ i ≤ k), aju ∧ ai 6= 0.
Since aju and ai are atoms, we must have aju = a1 . Thus each atom in the
alternative representation is an atom in the original one, and the lemma
follows.
28 / 36
Boolean lattice and boolean algebra
From the above lemmas, it is clear that there is one to one correspondence
between the elements of a boolean lattice and subset of atoms. As a
matter of fact, there is one to one correspondence from (A, ≤) to
(P(S), ⊆), where S is the set of all atoms.
Theorem 4.6.
Let (A, ∨, ∧,− ) be a finite boolean algebra. Let S be the set of all atoms.
Then (A, ∨, ∧,− ) is isomorphic to the algebraic system defined by the
lattice (P(S), ⊆).
It follows from the above lemmas that there exists a finite boolean
algebra of 2n elements for any n > 0.
29 / 36
Boolean functions and boolean expressions
Example 5.1.
0 ∨ x, (x1 ∨ x2 ) ∧ (2 ∨ 3)
30 / 36
Boolean functions and boolean expressions
31 / 36
Boolean functions and boolean expressions
32 / 36
Boolean functions and boolean expressions
DNF: Given a function {0, 1}n → {0, 1}, we can obtain a boolean
expression in DNF corresponding to this function by having a minterm
corresponding to each ordered n tuple of 00 s and 10 s for which the value of
the function is 1. For each n tuple with the(functional value is 1, we have
xi if i th componet is 1
the minterm x˜1 ∨ x˜2 ∨ · · · ∨ x˜n where x˜i = .
x¯i if i th componet is 0
CNF: We can obtain a boolean expression in CNF corresponding to this
function by having a maxterm corresponding to each ordered n tuple of 00 s
and 10 s for which the value of the function is 1. For each n tuple with the
functional
( value is 0, we have the minterm x˜1 ∨ x˜2 ∨ · · · ∨ x˜n where
xi if i th componet is 0
x˜i =
x¯i if i th componet is 1
33 / 36
Boolean functions and boolean expressions
34 / 36
Reference
References
35 / 36
Reference
THANK YOU
36 / 36