Partial Orders (POSETs)

Slides:



Advertisements
Similar presentations
Partial Orderings Section 8.6.
Advertisements

CSE 211- Discrete Structures1 Relations Ch 2 schaums, Ch 7 Rosen.
CSCI 115 Chapter 6 Order Relations and Structures.
Relations Relations on a Set. Properties of Relations.
Equivalence, Order, and Inductive Proof
8.6 Partial Orderings. Definition Partial ordering– a relation R on a set S that is Reflexive, Antisymmetric, and Transitive Examples? R={(a,b)| a is.
Chapter 7 Relations : the second time around
1 Relations: The Second Time Around Chapter 7 Equivalence Classes.
Relations binary relations xRy on sets x  X y  Y R  X  Y Example: “less than” relation from A={0,1,2} to B={1,2,3} use traditional notation 0 < 1,
Orderings and Bounds Parallel FSM Decomposition Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 10 Update and modified by Marek.
Partial Orderings: Selected Exercises
Section 7.6: Partial Orderings Def: A relation R on a set S is called a partial ordering (or partial order) if it is reflexive, antisymmetric, and transitive.
1 Partial Orderings Based on Slides by Chuck Allison from Rosen, Chapter 8.6 Modified by.
Partially Ordered Sets (POSets)
Relations Chapter 9.
Chapter 9 1. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing.
Relations (3) Rosen 6th ed., ch fall.
Chapter 6. Order Relations and Structure
Lecture 4.5: POSets and Hasse Diagrams CS 250, Discrete Structures, Fall 2011 Nitesh Saxena *Adopted from previous lectures by Cinda Heeren.
1 Partial Orderings Aaron Bloomfield CS 202 Rosen, section 7.6.
Discrete Structures – CNS2300
Chapter 9. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations.
The Integers. The Division Algorithms A high-school question: Compute 58/17. We can write 58 as 58 = 3 (17) + 7 This forms illustrates the answer: “3.
2.6 Equivalence Relation §1.Equivalence relation §Definition 2.18: A relation R on a set A is called an equivalence relation if it is reflexive, symmetric,
Chapter 9. Section 9.1 Binary Relations Definition: A binary relation R from a set A to a set B is a subset R ⊆ A × B. Example: Let A = { 0, 1,2 } and.
8.3 Representing Relations Directed Graphs –Vertex –Arc (directed edge) –Initial vertex –Terminal vertex.
Relations and their Properties
Sets, Relations, and Lattices
Sets and Subsets Set A set is a collection of well-defined objects (elements/members). The elements of the set are said to belong to (or be contained in)
Discrete Mathematics Lecture # 15 Types of Relations (contd.)
1 Partial Orderings Aaron Bloomfield CS 202 Epp, section ???
Problem Statement How do we represent relationship between two related elements ?
Chapter 9. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations.
Unit II Discrete Structures Relations and Functions SE (Comp.Engg.)
1 Section 4.3 Order Relations A binary relation is an partial order if it transitive and antisymmetric. If R is a partial order over the set S, we also.
Chapter 8: Relations. 8.1 Relations and Their Properties Binary relations: Let A and B be any two sets. A binary relation R from A to B, written R : A.
1 Partial Orderings Based on Slides by Chuck Allison from Rosen, Chapter 8.6 Modified by.
Advanced Digital Designs Jung H. Kim. Chapter 1. Sets, Relations, and Lattices.
1 Partial Orderings Epp, section Introduction An equivalence relation is a relation that is reflexive, symmetric, and transitive A partial ordering.
Relations and Their Properties
Chapter 5 Relations and Operations
Partial Orderings: Selected Exercises
Chapter 6 Order Relations and Structures
Fixpoints and Reachability
CSE 2813 Discrete Structures
Unit-III Algebraic Structures
Partial Orders.
Partial Orderings CSE 2813 Discrete Structures.
CSE15 Discrete Mathematics 05/03/17
Relations Binary relations represent relationships between the elements of two sets. A binary relation R from set A to set B is defined by: R  A 
Equivalence Relations
Atmiya Institute of Technology & Science
6.1 Partially Ordered Sets
Relations Chapter 9.
Partial Orderings.
Relations and Digraphs
Representing Relations
Aaron Bloomfield CS 202 Epp, section ???
LATTICES AND BOOLEAN ALGEBRA
Discrete Math (2) Haiming Chen Associate Professor, PhD
Partial Orders Section 9.6 of Rosen Spring 2018
Sungho Kang Yonsei University
Definition 2. 20: Let R be an equivalence relation on a set A
Background material.
Relations.
Combining relations via relational composition
교환 학생 프로그램 내년 1월 중순부터 6월 초 현재 학부 2,3 학년?
Background material.
Relations: The Second Time Around
Foundations of Discrete Mathematics
Presentation transcript:

Partial Orders (POSETs)

Partial order or POSET Definitions: A relation R on a set A is called a partial order if it is Reflexive Antisymmetric Transitive set A together with a partial ordering R is called a partially ordered set (poset, for short) and is denote by [A;R] A is partially ordered by the relation R Week Partial Order If a transitive relation is irreflexive and asymmetric (a strong partial order),

Example The relation “less than or equal to” over the set of integers (Z; ) since for every a,bZ, it must be the case that ab or ba  is a Poset What happens if we replace  with <? Is < Poset? The relation < is not reflexive, and (Z,<) is not a poset

Total Order

Poset or Hasse Diagrams Like relations and functions, partial orders have a convenient graphical representation: Hasse Diagrams Consider the digraph representation of a partial order Because we are dealing with a partial order, we know that the relation must be reflexive and transitive Thus, we can simplify the graph as follows Remove all self loops Remove all transitive edges Remove directions on edges assuming that they are oriented upwards The resulting diagram is far simpler

Hasse Diagram: Example

Hasse Diagrams: Example (1) Of course, you need not always start with the complete relation in the partial order and then trim everything. Rather, you can build a Hasse Diagram directly from the partial order Example: Draw the Hasse Diagram for the following partial ordering: {(a,b) | a|b } on the set {1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60}

Hasse Diagram: Example (2) 60 12 20 30 4 6 10 15 5 2 3 1

Least & Greatest Elements An element b Î B is called the least element of B if b < x for all x Î B. The set B can have at most one least element. For if b and b’ were two least elements of B, then we would have b < b' and b' < b. Hence, by antisymmetry b = b‘. An element b Î B is called the greatest element of B if x < b for all x Î B. The set B can have at most one greatest element.

Least & Greatest Elements Then least element is 2 and greatest element is 27

Lower and Upper bounds An element b Î A is called a lower bound of B if b ≤ x for all x Î B. An element b Î A is called a upper bound of B if b ≥ x for all x Î B. If the set of lower bounds of B has a greatest element then this element is called the greatest lower bound (or glb) of B; similarly, if the set of upper bounds of B has a least element then this element is called the least upper bound (or lub) of B.

Examples The lower bounds of S = {{a, b, c}, {b, c}} are {b}, {c}, {b, c} and ∅. There are no others. Of the lower bounds of S, greatest lower bound is {b, c} In general, when A, B are sets, glb {A, B} = A ∩ B

Examples {a, b} In general, when A, B are sets, lub = {A, B} = A ∪ B Within the poset P{a, b, c}, the upper bounds of S = {{a}, {b}} are {a, b} and {a, b, c}. Of the upper bounds of S, the least upper bound is {a, b} In general, when A, B are sets, lub = {A, B} = A ∪ B

Extremal Elements: Example 1 Give lower/upper bounds & glb/lub of the sets: {d,e,f}, {a,c} and {b,d} {d,e,f} Lower bounds: , thus no glb Upper bounds: , thus no lub {a,c} g h i Lower bounds: , thus no glb Upper bounds: {h}, lub: h d e f {b,d} Lower bounds: {b}, glb: b a b c Upper bounds: {d,g}, lub: d because dpg

Extremal Elements: Example 2 i j f g h Bounds, glb, lub of {c,e}? Lower bounds: {a,c}, thus glb is c Upper bounds: {e,f,g,h,i,j}, thus lub is e e b c d Bounds, glb, lub of {b,i}? Lower bounds: {a}, thus glb is c Upper bounds: , thus lub DNE a

Poset Diagrams

Poset Diagrams

Lattice A lattice is a poset in which each pair of elements has a least upper bound and a greatest lower bound.

Lattices: Example 1 Is the example from before a lattice? j f g h No, because the pair {b,c} does not have a least upper bound e b c d a

Lattices: Example 2 What if we modified it as shown here? j i f g h Yes, because for any pair, there is an lub & a glb e b c d a

A Lattice Or Not a Lattice? To show that a partial order is not a lattice, it suffices to find a pair that does not have an lub or a glb (i.e., a counter-example) For a pair not to have an lub/glb, the elements of the pair must first be incomparable (Why?) You can then view the upper/lower bounds on a pair as a sub-Hasse diagram: If there is no minimum element in this sub-diagram, then it is not a lattice