Lecture Slides 02
Lecture Slides 02
Relations
Equivalence relations
Lattices
Relations
Relations
Definition
A (binary) relation on a set M is a subset R of M × M.
Thereby M × M = {(a, b) : a, b ∈ M} means the cartesian
product of M by itself.
x, y ∈ M:
Watch order of x, y !
Always {x, y} = {y , x}, but (x, y) = (y , x) ⇔ x = y.
Relations
Example
x, y comparable ⇔xRy or y R x.
Equivalence relations
Equivalence relations
Definition
A relation R of a set M is called equivalence relation if it
is reflexive, symmetric, and transitive.
Examples of equivalence relations
Definition
A family P of non-empty subsets of a set M forms a
partition of M if holds:
S
(1) M = A∈P A,
(2) A, B ∈ P, A 6= B ⇒ A ∩ B = ∅.
The elements of P are called the blocks of the partition.
Definition
Let R be an equivalence relation on the set M.
For a ∈ M [a] = {x ∈ M : a R x} is called the
equivalence class of a (with respect to R).
Partitions
Lemma
Let R be an equivalence relation on the set M and
a, b ∈ M.
Then holds b ∈ [a] ⇔ [a] = [b].
Implication
Let R be an equivalence relation on a set M and
a, b ∈ M.
Then holds either [a] = [b] or [a] ∩ [b] = ∅.
Partitions and equivalence relations
Theorem
If R is an equivalence relation on the set M then the
associated equivalence classes form a partition of M.
Vice versa every partition Π of M yields an equivalence
relation of M whose equivalence classes are just the blocks
of Π if we define:
x <y ⇐⇒ x ≤y and x 6= y .
Partial order relations
Definition
Let (H, ≤) be a partial order relation and x, y ∈ H.
If x < y and there exists no z ∈ H with x < z < y
then x is called lower neighbor of y (resp. y upper
neighbor of x).
Definition
A subset K of a partially ordered set (H, ≤) is called
chain if each two elements of K are comparable.
The length of the chain K is |K |.
If (H, ≤) is a chain itself then (H, ≤) is also called
ordered or completely (totally) ordered.
Example
Example
Definition
Let S be a subset of the partially ordered set (H, ≤).
An element b ∈ H is called lower or upper bound (l. b. or
u. b.) of S, resp., if b ≤ s or s ≤ b, for all s ∈ S
holds.
Bounds of S do not have to exists;
even if they exist they do not have to belong to S.
E. g. has the subset {4, 10} of {1, 2, . . . , 12} with respect
to divisibility 1 and 2 as l. b. but no u. b.
If S is a finite chain in H then it has trivially l. b. and
u. b. in H.
Zorn’s lemma
Example
√
2 = sup x ∈ Q : x 2 < 2 .
(1) (R, ≤),
(2) H = {2, 4, 6, 8, 10, 12} with respect to divisibility,
inf H = 2, sup H does not exist.
(3) (N, |); a, b ∈ N.
Every common divisor of a, b is l. b. of {a, b}.
Every common multiple is u. b. of {a, b}.
inf {a, b} = gcd (a, b), sup {a, b} = lcm (a, b).
Lattices
Lattices
Definition
A partially ordered set (M, ≤) is called lattice if inf {a, b}
and sup {a, b} for each two elements a, b ∈ M always
exist.
Examples of lattices
(1) Every chain is a lattice with inf {a, b} = a,
sup {a, b} = b if a ≤ b.
(2) (N, |) with inf {a, b} = gcd (a, b) and
sup {a, b} = lcm (a, b).
(3) n ∈ N fixed,
Tn = {a ∈ N, a | n} lattice, lattice of divisors of n,
inf {a, b} = gcd (a, b), sup {a, b} = lcm (a, b).
(4) P (M) power set lattice with respect to set inclusion,
inf {A, B} = A ∩ B, sup {A, B} = A ∪ B.
Examples of lattices
◦
|
(5) There is exactly one 3-element lattice namely ◦ .
|
◦
(6) There are exactly two non-isomorphic 4-element lattices.
Partial orders (lattices) are called isomorphic if they are
represented by the same Hasse diagram.
(7) There are exactly five non-isomorphic 5-element lattices.
Partial order diagram turned upside down yields diagram of
the dual partial order (of the dual lattice).
Partial order (lattice) self-dual if the same diagram arises.
(8) There are exactly 15 non-isomorphic 6-element lattices
namely . . . (exercise).