Background material.

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
CSE 231 : Advanced Compilers Building Program Analyzers.
Worklist algorithm Initialize all d i to the empty set Store all nodes onto a worklist while worklist is not empty: –remove node n from worklist –apply.
From last time: Lattices A lattice is a tuple (S, v, ?, >, t, u ) such that: –(S, v ) is a poset – 8 a 2 S. ? v a – 8 a 2 S. a v > –Every two elements.
From last time: reaching definitions For each use of a variable, determine what assignments could have set the value being read from the variable Information.
FSM Decomposition using Partitions on States 290N: The Unknown Component Problem Lecture 24.
Administrative stuff Office hours: After class on Tuesday.
Course Outline Traditional Static Program Analysis –Theory Compiler Optimizations; Control Flow Graphs, Data-flow Analysis Data-flow Frameworks --- today’s.
San Diego October 4-7, 2006 Over 1,000 women in computing Events for undergraduates considering careers and graduate school Events for graduate students.
Recap: Reaching defns algorithm From last time: reaching defns worklist algo We want to avoid using structure of the domain outside of the flow functions.
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)
Sets, POSets, and Lattice © Marcelo d’Amorim 2010.
Abstract Interpretation (Cousot, Cousot 1977) also known as Data-Flow Analysis.
Lecture 4.5: POSets and Hasse Diagrams CS 250, Discrete Structures, Fall 2011 Nitesh Saxena *Adopted from previous lectures by Cinda Heeren.
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∩
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,
8.3 Representing Relations Directed Graphs –Vertex –Arc (directed edge) –Initial vertex –Terminal vertex.
1 IS 2150 / TEL 2810 Introduction to Security James Joshi Associate Professor, SIS Lecture 3 September 15, 2009 Mathematical Review Security Policies.
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)
1 RELATIONS Learning outcomes Students are able to: a. determine the properties of relations – reflexive, symmetric, transitive, and antisymmetric b. determine.
1 Partial Orderings Aaron Bloomfield CS 202 Epp, section ???
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.
Equivalence Relations
Certain elements have special importance in posets. The maximal element(s) is the greatest element(s). The minimal element (s) is the element (s) with.
Chap. 7 Relations: The Second Time Around
CSCI 115 Course Review.
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.
Lub and glb Given a poset (S, · ), and two elements a 2 S and b 2 S, then the: –least upper bound (lub) is an element c such that a · c, b · c, and 8 d.
Chapter 5 Relations and Operations
Partial Orderings: Selected Exercises
Chapter 6 Order Relations and Structures
Fixpoints and Reachability
CSE 2813 Discrete Structures
Partial Orders.
Partial Orderings CSE 2813 Discrete Structures.
Partial Orders (POSETs)
Equivalence Relations
Atmiya Institute of Technology & Science
Partial Orderings.
Relations and Digraphs
LATTICES AND BOOLEAN ALGEBRA
IS 2150 / TEL 2810 Information Security & Privacy
Introductory Material
Discrete Math & Fixed points
Discrete Math (2) Haiming Chen Associate Professor, PhD
Concurrent Models of Computation
Sungho Kang Yonsei University
IS 2150 / TEL 2810 Introduction to Security
Lecture 20: Dataflow Analysis Frameworks 11 Mar 02
CSE 321 Discrete Structures
교환 학생 프로그램 내년 1월 중순부터 6월 초 현재 학부 2,3 학년?
Background material.
IS 2150 / TEL 2810 Introduction to Security
Foundations of Discrete Mathematics
IS 2150 / TEL 2810 Information Security & Privacy
Introductory Material
Presentation transcript:

Background material

Relations A relation over a set S is a set R µ S £ S A relation R is: We write a R b for (a,b) 2 R A relation R is: reflexive iff 8 a 2 S . a R a transitive iff 8 a 2 S, b 2 S, c 2 S . a R b Æ b R c ) a R c symmetric iff 8 a, b 2 S . a R b ) b R a anti-symmetric iff 8 a, b, 2 S . a R b ) :(b R a)

Relations A relation over a set S is a set R µ S £ S A relation R is: We write a R b for (a,b) 2 R A relation R is: reflexive iff 8 a 2 S . a R a transitive iff 8 a 2 S, b 2 S, c 2 S . a R b Æ b R c ) a R c symmetric iff 8 a, b 2 S . a R b ) b R a anti-symmetric iff 8 a, b, 2 S . a R b ) :(b R a) 8 a, b, 2 S . a R b Æ b R a ) a = b

Partial orders An equivalence class is a relation that is: A partial order is a relation that is:

Partial orders An equivalence class is a relation that is: reflexive, transitive, symmetric A partial order is a relation that is: reflexive, transitive, anti-symmetric A partially ordered set (a poset) is a pair (S,·) of a set S and a partial order · over the set Examples of posets: (2S, µ), (Z, ·), (Z, divides)

Lub and glb Given a poset (S, ·), and two elements a 2 S and b 2 S, then the: least upper bound (lub) is an element c such that a · c, b · c, and 8 d 2 S . (a · d Æ b · d) ) c · d greatest lower bound (glb) is an element c such that c · a, c · b, and 8 d 2 S . (d · a Æ d · b) ) d · c

Lub and glb Given a poset (S, ·), and two elements a 2 S and b 2 S, then the: least upper bound (lub) is an element c such that a · c, b · c, and 8 d 2 S . (a · d Æ b · d) ) c · d greatest lower bound (glb) is an element c such that c · a, c · b, and 8 d 2 S . (d · a Æ d · b) ) d · c lub and glb don’t always exists:

Lub and glb Given a poset (S, ·), and two elements a 2 S and b 2 S, then the: least upper bound (lub) is an element c such that a · c, b · c, and 8 d 2 S . (a · d Æ b · d) ) c · d greatest lower bound (glb) is an element c such that c · a, c · b, and 8 d 2 S . (d · a Æ d · b) ) d · c lub and glb don’t always exists:

Lattices A lattice is a tuple (S, v, ?, >, t, u) such that: (S, v) is a poset 8 a 2 S . ? v a 8 a 2 S . a v > Every two elements from S have a lub and a glb t is the least upper bound operator, called a join u is the greatest lower bound operator, called a meet

Examples of lattices Powerset lattice

Examples of lattices Powerset lattice

Examples of lattices Booleans expressions

Examples of lattices Booleans expressions

Examples of lattices Booleans expressions

Examples of lattices Booleans expressions