Partial Orders.

Slides:



Advertisements
Similar presentations
Partial Orderings Section 8.6.
Advertisements

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.
Basic Properties of Relations
Chapter 7 Relations : the second time around
1 Representing Relations Part 2: directed graphs.
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,
Partial Orderings: Selected Exercises
Reflexive -- First sentence of proof is: (1) Let x  Z (2) Let (x,x)  R. (3) Let (x,x)  I (4) Let x  R.
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
Exam 2 Review 7.5, 7.6, |A1  A2  A3| =∑|Ai| - ∑|Ai ∩ Aj| + |A1∩ A2 ∩ A3| |A1  A2  A3  A4| =∑|Ai| - ∑|Ai ∩ Aj| + ∑ |Ai∩ Aj ∩ Ak| - |A1∩
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.
Discrete Math for CS Binary Relation: A binary relation between sets A and B is a subset of the Cartesian Product A x B. If A = B we say that the relation.
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.
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
8.3 Representing Relations Directed Graphs –Vertex –Arc (directed edge) –Initial vertex –Terminal vertex.
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Chapter 8 Relations 歐亞書局.
Lecture 4.4: Equivalence Classes and Partially Ordered Sets CS 250, Discrete Structures, Fall 2011 Nitesh Saxena *Adopted from previous lectures by Cinda.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Relations and their Properties
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
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)
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.
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.
Representing Relations Using Matrices A relation between finite sets can be represented using a zero-one matrix Suppose R is a relation from A = {a 1,
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.
Chap. 7 Relations: The Second Time Around
1 Partial Orderings Based on Slides by Chuck Allison from Rosen, Chapter 8.6 Modified by.
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 B = {a,b} {( 0, a), (
Section 9.3. Section Summary Representing Relations using Matrices Representing Relations using Digraphs.
1 Partial Orderings Epp, section Introduction An equivalence relation is a relation that is reflexive, symmetric, and transitive A partial ordering.
Binary Relation: A binary relation between sets A and B is a subset of the Cartesian Product A x B. If A = B we say that the relation is a relation on.
Partial Orderings: Selected Exercises
Chapter 6 Order Relations and Structures
CSE 2813 Discrete Structures
Partial Orderings CSE 2813 Discrete Structures.
Partial Orders (POSETs)
CSE15 Discrete Mathematics 05/03/17
Introduction to Relations
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 
Learn about relations and their basic properties
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 ???
Discrete Math (2) Haiming Chen Associate Professor, PhD
Partial Orders Section 9.6 of Rosen Spring 2018
Formal Definition and Examples
Definition 2. 20: Let R be an equivalence relation on a set A
교환 학생 프로그램 내년 1월 중순부터 6월 초 현재 학부 2,3 학년?
Relations: The Second Time Around
Ø Let the universe set U={1,2,3,...,10}.
Presentation transcript:

Partial Orders

Definition A relation R on a set S is a partial ordering if it is reflexive, antisymmetric, and transitive A set S with a partial ordering R is called a partially ordered set or a poset and is denoted (S,R) It is a partial ordering because pairs of elements may be incomparable!

Assume a poset (S,R) does have a cycle (a,b),(b,c),(c,a) A poset has no cycles Proof Assume a poset (S,R) does have a cycle (a,b),(b,c),(c,a) a b c A poset is reflexive, antisymmetric, and transitive (a,b) is in R and (b,c) is in R consequently (a,c) is in R, due to transitivity (c,a) is in R, by our assumption above (c,a) is in R and (a,c) is in R this is symmetric, and contradicts our assumption consequently the poset (S,R) cannot have a cycle What kind of proof was this?

Example show it is reflexive antisymmetric transitive

The equations editor has let me down

Definition

Example 3 and 9 are comparable 3 divides 9 5 and 7 are incomparable 5 does not divide 7 7 does not divide 5

Example

Definition

Example reflexive antisymmetric transitive totally ordered all pairs are comparable every subset has a least element note: Z+ rather than Z

Read … about lexicographic ordering pages 417 and 418

Hasse Diagrams A poset can be drawn as a digraph it has loops at nodes (reflexive) it has directed asymmetric edges it has transitive edges Draw this removing all redundant information a Hasse diagram remove all loops (x,x) remove all transitive edges if (x,y) and (y,z) remove (x,z) remove all direction draw pointing upwards

Example of a Hasse Diagram The digraph of the above poset (divides) has loops and an edge (x,y) if x divides y

Example of a Hasse Diagram 1 7 4 9 10 11 12 3 2 6 8 5

Exercise of a Hasse Diagram Draw the Hasse diagram for the above poset consider its digraph remove loops remove transitive edges remove direction point upwards

Exercise of a Hasse Diagram {(5,5),(5,4),(5,3),(5,2),(5,1),(5,1), (4,4),(4,3),(4,2),(4,1),(4,0), (3,3),(3,2),(3,1),(3,0), (2,2),(2,1),(2,0), (1,1),(1,0), (0,0)} 5 4 3 2 1 5 4 3 1 2

Maximal and Minimal Elements Maximal elements are at the top of the Hasse diagram Minimal elements are at the bottom of the Hasse diagram

Example of Maximal and Minimal Elements 1 7 4 9 10 11 12 3 2 6 8 5 Maximal set is {8,12,9,10,7,11} Minimal set is {1}

Greatest and Least Elements 1 7 4 9 10 11 12 3 2 6 8 5 There is no greatest Element The least element is 1 Note difference between maximal/minimal and greatest/least

Lattices Read pages 423-425

Topological Sorting Read pages 425-427

fin