Lecture 9 Illustrations Lattices. Fixpoints Abstract Interpretation.

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.
Tutorial on Widening (and Narrowing) Hongseok Yang Seoul National University.
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.
Copyright © Cengage Learning. All rights reserved. CHAPTER 1 SPEAKING MATHEMATICALLY SPEAKING MATHEMATICALLY.
1 Basic abstract interpretation theory. 2 The general idea §a semantics l any definition style, from a denotational definition to a detailed interpreter.
CSE 231 : Advanced Compilers Building Program Analyzers.
Denoting the beginning
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
Algebra Algebra – defined by the tuple:  A, o 1, …, o k ; R 1, …, R m ; c 1, …, c k  Where: A is a non-empty set o i is the function, o i : A p i  A.
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.
Chapter 6. Order Relations and Structure
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.
CSE 460: Switching Theory David M. Zar
Discrete Structures – CNS2300
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,
Lecture 10 Abstract Interpretation using Fixpoints.
Introduction to Real Analysis Dr. Weihu Hong Clayton State University 8/21/2008.
8.3 Representing Relations Directed Graphs –Vertex –Arc (directed edge) –Initial vertex –Terminal vertex.
 期中测验时间:  10 月 31 日上午 9 : 40—11 : 30  第一到第四章  即,集合,关系,函数,组合数学.
Real Number System You will be able to represent subsets of the real number system using set-builder and interval notation. HW: Set and Interval Notation.
CS 267: Automated Verification Lecture 3: Fixpoints and Temporal Properties Instructor: Tevfik Bultan.
Sets, Relations, and Lattices
Sets Goal: Introduce the basic terminology of set theory.
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)
Introduction to Real Analysis Dr. Weihu Hong Clayton State University 8/19/2008.
Rosen 1.6, 1.7. Basic Definitions Set - Collection of objects, usually denoted by capital letter Member, element - Object in a set, usually denoted by.
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.
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.
Set Theory Concepts Set – A collection of “elements” (objects, members) denoted by upper case letters A, B, etc. elements are lower case brackets are used.
SECTION 2 BINARY OPERATIONS Definition: A binary operation  on a set S is a function mapping S X S into S. For each (a, b)  S X S, we will denote the.
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.
Data Flow Analysis II AModel Checking and Abstract Interpretation Feb. 2, 2011.
Prepared By Meri Dedania (AITS) Discrete Mathematics by Meri Dedania Assistant Professor MCA department Atmiya Institute of Technology & Science Yogidham.
Infinite sets We say that a set A is infinite if a proper subset B exists of A such that there is a bijection It is easy to see that no set with a finite.
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.
Partial Orders (POSETs)
Equivalence Relations
Partial Orderings.
Introductory Material
Discrete Math (2) Haiming Chen Associate Professor, PhD
Lecture 20: Dataflow Analysis Frameworks 11 Mar 02
Formal Definition and Examples
Chapter 1: Linear Functions, Equations, and Inequalities
Background material.
교환 학생 프로그램 내년 1월 중순부터 6월 초 현재 학부 2,3 학년?
Background material.
Zeros of polynomial functions
Foundations of Discrete Mathematics
Introductory Material
Presentation transcript:

Lecture 9 Illustrations Lattices. Fixpoints Abstract Interpretation

Partially Ordered Set (A, ≤) x ≤ x x ≤ y /\ y ≤ x  x = y (else it is only pre-order) x ≤ y /\ y ≤ z  x ≤ z Typical example: (A,  ), where A  2 U for some U Hasse diagram

Key Terminology Let S  A. upper bound of S: bigger than all dual: lower bound maximal element of S: there’s no bigger dual: minimal element greatest element of S: upper bound on S, in S dual: least element

Least Upper Bound Denoted lub(S), least upper bound of S is an element M, if it exists, such that M is the least element of the set U = {x | x is upper bound on S} In other words: M is an upper bound on S For every other upper bound M’ on S, we have that M ≤ M’ Note: same definition as “inf” in real analysis – applies not only to total orders, but any partial order

Real Analysis Take as S the open interval of reals (0,1) = { x | 0 < x < 1 } Then – S has no maximal element – S thus has no greatest element – 2, 2.5, 3, … are all upper bounds on S – lub(S)=1 If we had rational numbers, there would be no lub(S’) in general.

Shorthand a 1 a 2 denotes lub({a 1,a 2 }) (…(a 1 a 2 ) ) a n is, in fact, lub({a 1,…, a n }) So the operation is ACU associative commutative idempotent

Consider sets of all subsets of U Do these exist, and if so, what are they? lub({s 1,s 2 }) lub(S)

Two More Examples

Does every pair of elements in this order have least upper bound? Dually, does it have greatest lower bound?

Approximation of Sets by Supersets

Domain of Intervals The domain elements, D, are pairs (L,U) where – L is an integer or minus infinity – U is an integer or plus infinity – if L and U are integers, then L ≤ U The special element  representing empty set The associated set of elements gamma : D  2 Z

Definition of gamma, ordering, lub