GENERALISED IF-THEN-ELSE OPERATOR FOR COMPACT POLYNOMIAL REPRESENTATION OF MULTI OUTPUT FUNCTIONS

Size: px
Start display at page:

Download "GENERALISED IF-THEN-ELSE OPERATOR FOR COMPACT POLYNOMIAL REPRESENTATION OF MULTI OUTPUT FUNCTIONS"

Transcription

1 GENERALISED IF-THEN-ELSE OPERATOR FOR COMPACT POLYNOMIAL REPRESENTATION OF MULTI OUTPUT FUNCTIONS Ilya Levin, Osnat Keren Tel Aviv University, Bar Ilan University, Israel DSD 2011

2 Outline Logic functions vs. System of Logic functions Preliminaries Generalised ITE (GITE) operator EvP and ExP Partition algebra of EvP Boolean algebra of ExP Dichotomy property Decomposition Conclusions

3 Logic Function vs. System of Logic Functions b b 5 7 b d c 12 8 a c d c c d 9 a 11 d

4 Logic Function b 4 6 I. Single Logic 5 7 b function 0 2 c II. Two-block Partition of Boolean Cube d 9 8 a c d

5 System of Logic Functions 4 6 I. n Logic 5 7 b functions 0 2 c II. n-block Partition of Boolean Cube d 8 10 c 9 a 11 d

6 Two Domains Boolean Algebra of output vectors Partitions Algebra of input vectors

7 Partitions Definition. A partition on a set C is a collection of disjoint subsets of C whose set union is C, i.e. π = { B } α such that: B B = ( α β)and { B } = C. α β α Example: S = { 1,2,3,4,5,6,7,8 } { { }} = 1; 2; 3, 4, 7; 5,6,8 π = { 1}, { 2}, { 3,4,7}, 5,6,8 1 { }

8 Partitions A product π prd = π 1 iπ 2 of partitions π 1 and π 2 is a partition comprising intersections of blocks π 1 and π 2 : s t ( π iπ ) iff s t ( π ) & s t ( π ) A sum ( π + π )of the partitions π and π defined as follows: s t ( π + π ) iff a chain s,s,,s exists in C such as: n s = s,s,,s = t, for which either s s ( π ) or 0 1 n i i+1 1 s s ( π ), 0 i n 1. i i+1 2

9 Algebra of Partitions The algebraic structure of partitions is known as a lattice. This lattice has both Zero (the smallest partition π 0 ) and One (the biggest partition π 1 ) elements defined as follows: π 0 { = s ; ;s }; 1 m (π 1 +π 2 ) π 1 { = s,, s }. 1 m π 1 π 2 (π 1 π 2 )

10 Algebraic Decision Diagrams (ADD) ü Proposed in 1993 by R. Baher, E. Frohm, C. Gaona, G. Hachtel, E. Macii, A. Parvo, F. Somenzi ü Multi Output Functions as ADD ü Different forms of representation of ADDs ü Operations: Apply and If-Then-Else operation ü Used for: matrix multiplication, shortest path algorithms, and numerical linear algebra.

11 Algebraic Decision Diagram An ADD is a function: { } n S f : 0,1 where S is the finite carrier of the algebraic structure. ADD is a form for representation of Multi Output Functions (MOF).

12 Algebraic Decision Diagram ü ADDs representations MTBDD Matrix ü ADD operations Apply If-Then-Else (ITE)

13 Apply operation Apply( f,g,op) = f op g f = ; g = Apply( f, g, + ) =

14 If-Then-Else (ITE) operation ( ) = f ig + f ih ITE f,g, h f = ; g = ; h = ITE( f, g, h) = The ITE comprises a Boolean function operation as a binary condition being a two-block partition of the Boolean space

15 ITE vs. GITE ITE - two-block partition on the Boolean cube GITE - n-block partition on the Boolean cube

16 Generalised ITE operation Definition. Generalized ITE (GITE) is GITE( π,y ) where: π = B ; ; B 1 m is a partition on the Boolean space; Y = Y,,Y 1 m a set of operators - binary vectors. Y ( i =1,,m )corresponds to a certain block B of the partitionπ. i i Thus, GITE consists of a partition portion (Evolution Part) and an operator portion (Execution Part).

17 Multi Output Function as GITE Definition A Multi Output Function (MOF) is a mapping f : { 0,1} n Y, which is GITE( π,y ) defined on two sets: a) the partitions π and b) the set Y of operators.

18 Polynomial representation of GITE Example : D = B 1 Y 1 + B 2 Y 2 + B 0 Y 0 B 1 = x 1 ; B 2 = x 1 x 2 ; B 0 = B 1 + B 2

19 GITE D = AB( 11) + AB( 10) + AB( 01) + AB( 00) A X EvP B B ExP Y

20 GITE algebra is a product of two algebras EvP Partitions Algebra ExP Boolean Algebra

21 GITE algebra The GITE algebra is a product of two algebras: the algebra of partitions on the Evolution Part the Boolean algebra on the Execution Part

22 Partitions Algebra of GITE Evolution Part

23 GITE Apply operation Definition: GITE Apply operation ( ) = D a opd b = Apply D a, D b,op = GITE( π a iπ ;Y opy,y opy,y b a1 b1 a1 b2 am opy ), bm GITE Apply operation is performed by multiplying partitions π and by pair-wise op operation on operators Y.

24 GITE Apply operation Definition. Apply operation on GITE-polynomial we call Product of GITE-polynomials and define as follows: m Let D = Y 1 i +B 1 0 Y 0, D = Y 2 k +B 2 0 Y 0 i=1 l. k=1 D D = Apply( D 1 2 1, D 2,op)= B ij for each pair of terms from D 1 and D 2, 1 Bkl 2, Y i opy k { } B1 Bkl 2 is a logic product (AND) of B-functions; ij Y i opy j - is the Apply operation between Y i and Y k

25 GITE Apply operation The Apply operation between D 1 = GITE( π 1 ;Y 11,,Y ) 1m and D 2 = GITE( π 2 ;Y 21,,Y 2m ): D op = Apply( D 1, D ) 2 = D 1 op D 2 = GITE( π 1 iπ 2 ;Y 11 opy 21,,Y 1m opy 2m ). D1 D2 Dop op = π 1 π 2 π 1 π 2

26 Factorization of GITE expressions The product of GITE partitions corresponds to the Apply operation, The sum of GITE partitions corresponds to factorization of GITEs. Define the factorization of GITEs as follows: ( ), D = D i op D j = GITE π i + π j ; D 1,, D f ( ) where f is a number of blocks in π i + π j D 1,, D f stand for GITEs representing remaining functions.

27 Example Let D 1 = x 1 Y 1 + x 1 x 2 Y 2 + x 1 x 2 Y 3, D 2 = x 1 Y 4 + x 1 x 3 Y 5 + x 1 x 3 Y 6. D D = GITE π ;Y,Y,Y GITE π ;Y,Y,Y = GATEπ +π ; D, D D D = D D, D = x D + x D ; where: D =Y x Y + x Y D = x Y + x Y Y 4 ; =

28 Substitution Let D 1, D 2, D 3 be : ( ( D = GITE π ;Y,Y ), D = GITE π ;Y,,Y ), m ( ) D 3 = GITE π 3 ;Y 31,,Y 3m After substitution: Y 11 D 2 Y 12 D 3,we have: ( ) D 1 = GITE π 1 ;D 2, D 3

29 Boolean algebra of GITE Execution Part

30 Boolean algebra of GITE Execution Part A A B + = B B

31 Boolean algebra of GITE Execution Part Example 1: X + Y = ( X & Y ) A B A & = B B X & Y

32 Boolean algebra of GITE Execution Part Example 2 A X Y A B + = B B

33 Boolean algebra of GITE Execution Part Example 2 X A Y B A & = B B

34 Boolean algebra of GITE Execution Part Example 2: X + X & Y = X + Y A A + X & Y = B B

35 Decomposition Beginning from the initial implicant table to construct a network consisting of a number of component GITE Minimise component independently Each of the components have to be dichotomic

36 Dichotomic Fragment We say that a set of product terms forms a dichotomic fragment, if the set is straightforwardly mappable into an MTBDD. The dichotomic property guarantees that there exists a Shannon expansion that will not bring additional product terms to the initial GITE. The dichotomic property means that the paths of the MTBDD are in one-to-one correspondence with product terms of the GITE.

37 Dichotomy Property We study cases where GITE is represented by a MTBDD. Our hypothesis is that the GITE can be more efficiently represented by a set of dichotomic fragments. The whole GITE would be considered a set of sub-gite, functionally equal to the initial GITE. Any GITE can be decomposed into a network of dichotomic fragments connected by the Apply and the Substitution operations.

38 Algebraic Decomposition Method The proposed decomposition algorithm is based on grouping of the set of cubes representing the function to a set of blocks. The algorithm is algebraic decomposition method. Function F is represented as: F = D Q + R where D, Q and R, are the divisor, quotient and remainder.

39 Algebraic Decomposition Method Decomposition is performed simultaneously on the set of functions that are represented as a single GITE - polynomial. Our algebraic decomposition has the form: D = GITE ( π h, D 1,...D ) j R. Where: divisor π h is a block header, quotient ( D 1,...D j ), D i, i = 1,..., j, is a block fragment, Reminder R consists of the remaining cubes that were not included in the block. The partition π h together with the GITE-polynomials D i form a block.

40 Decomposition!

41 Two Algorithms of Decomposition ü Two algorithms have been developed and studied: a density algorithm and a dichotomy algorithm ü Both algorithms use one and the same general decomposition method ü The general method is the partitioning of the set of cubes into a number of components. This partitioning is performed recursively ü On each step of the recursive procedure, the corresponding component is partitioned into two subsets: a common header and a remainder ü Each common header is implemented as a conventional MTBDD ü The main concern of the general decomposition method is searching for optimal common headers, for obtaining optimal resulting MTBDD

42 Dichotomy Oriented Decomposition Begin stack<=pla stack<= 0 (PLA) PLA<=stack stack<= 1 (PLA Stack 1 End Shannon expansion Column without Decomposition

43 Density Block density corresponds to a number of literals in the block s cubes normalised by the maximal possible number of literal in this block. The success of the decomposition strongly depends on the density.

44 Experimental Results - Low Density

45 Experimental Results - High Density

46 Conclusions ü Generalised ITE (GITE) operation is introduced ü Multi output functions can be expressed by the GITE ü GITE comprises Evolution Part (EvP) and Execution Part (ExP) ü GITE algebra is a product of two algebras: Partition algebra of ExP and Boolean algebra of EvP ü The problem of GITE decomposition is formulated ü Mutual effect of the algebras are used as a base of the decomposition algorithm

Transforming FSMs for Synthesis by Fault Tolerant Nano-PLAs

Transforming FSMs for Synthesis by Fault Tolerant Nano-PLAs Transforming FSMs for Synthesis by Fault Tolerant Nano-PLAs Ilya Levin, Osnat Keren Tel Aviv University, Israel; Bar Ilan University, Israel ilia1@post.tau.ac.il, kereno@eng.biu.ac.il Abstract The paper

More information

LINEARIZATION OF FUNCTIONS REPRESENTED AS A SET OF DISJOINT CUBES AT THE AUTOCORRELATION DOMAIN

LINEARIZATION OF FUNCTIONS REPRESENTED AS A SET OF DISJOINT CUBES AT THE AUTOCORRELATION DOMAIN LINEARIZATION OF FUNCTIONS REPRESENTED AS A SET OF DISJOINT CUBES AT THE AUTOCORRELATION DOMAIN Osnat Keren, Ilya Levin and Radomir Stankovic The project is supported by BSF grant Optimization of BDD by

More information

Non-Deterministic Time

Non-Deterministic Time Non-Deterministic Time Master Informatique 2016 1 Non-Deterministic Time Complexity Classes Reminder on DTM vs NDTM [Turing 1936] (q 0, x 0 ) (q 1, x 1 ) Deterministic (q n, x n ) Non-Deterministic (q

More information

13th International Conference on Relational and Algebraic Methods in Computer Science (RAMiCS 13)

13th International Conference on Relational and Algebraic Methods in Computer Science (RAMiCS 13) 13th International Conference on Relational and Algebraic Methods in Computer Science (RAMiCS 13) Relation Algebras, Matrices, and Multi-Valued Decision Diagrams Francis Atampore and Dr. Michael Winter

More information

Multi-Level Logic Optimization. Technology Independent. Thanks to R. Rudell, S. Malik, R. Rutenbar. University of California, Berkeley, CA

Multi-Level Logic Optimization. Technology Independent. Thanks to R. Rudell, S. Malik, R. Rutenbar. University of California, Berkeley, CA Technology Independent Multi-Level Logic Optimization Prof. Kurt Keutzer Prof. Sanjit Seshia EECS University of California, Berkeley, CA Thanks to R. Rudell, S. Malik, R. Rutenbar 1 Logic Optimization

More information

Dynamic Programming( Weighted Interval Scheduling)

Dynamic Programming( Weighted Interval Scheduling) Dynamic Programming( Weighted Interval Scheduling) 17 November, 2016 Dynamic Programming 1 Dynamic programming algorithms are used for optimization (for example, finding the shortest path between two points,

More information

Basing Decisions on Sentences in Decision Diagrams

Basing Decisions on Sentences in Decision Diagrams Proceedings of the Twenty-Sixth AAAI Conference on Artificial Intelligence Basing Decisions on Sentences in Decision Diagrams Yexiang Xue Department of Computer Science Cornell University yexiang@cs.cornell.edu

More information

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations Page 1 Definitions Tuesday, May 8, 2018 12:23 AM Notations " " means "equals, by definition" the set of all real numbers the set of integers Denote a function from a set to a set by Denote the image of

More information

Multilevel Logic Synthesis Algebraic Methods

Multilevel Logic Synthesis Algebraic Methods Multilevel Logic Synthesis Algebraic Methods Logic Circuits Design Seminars WS2010/2011, Lecture 6 Ing. Petr Fišer, Ph.D. Department of Digital Design Faculty of Information Technology Czech Technical

More information

Division Algorithm B1 Introduction to the Division Algorithm (Procedure) quotient remainder

Division Algorithm B1 Introduction to the Division Algorithm (Procedure) quotient remainder A Survey of Divisibility Page 1 SECTION B Division Algorithm By the end of this section you will be able to apply the division algorithm or procedure Our aim in this section is to show that for any given

More information

3.3 Dividing Polynomials. Copyright Cengage Learning. All rights reserved.

3.3 Dividing Polynomials. Copyright Cengage Learning. All rights reserved. 3.3 Dividing Polynomials Copyright Cengage Learning. All rights reserved. Objectives Long Division of Polynomials Synthetic Division The Remainder and Factor Theorems 2 Dividing Polynomials In this section

More information

Binary Decision Diagrams

Binary Decision Diagrams Binary Decision Diagrams Logic Circuits Design Seminars WS2010/2011, Lecture 2 Ing. Petr Fišer, Ph.D. Department of Digital Design Faculty of Information Technology Czech Technical University in Prague

More information

Congruence Boolean Lifting Property

Congruence Boolean Lifting Property Congruence Boolean Lifting Property George GEORGESCU and Claudia MUREŞAN University of Bucharest Faculty of Mathematics and Computer Science Academiei 14, RO 010014, Bucharest, Romania Emails: georgescu.capreni@yahoo.com;

More information

Logic Synthesis and Verification

Logic Synthesis and Verification Logic Synthesis and Verification Boolean Algebra Jie-Hong Roland Jiang 江介宏 Department of Electrical Engineering National Taiwan University Fall 2014 1 2 Boolean Algebra Reading F. M. Brown. Boolean Reasoning:

More information

Sequential Logic Optimization. Optimization in Context. Algorithmic Approach to State Minimization. Finite State Machine Optimization

Sequential Logic Optimization. Optimization in Context. Algorithmic Approach to State Minimization. Finite State Machine Optimization Sequential Logic Optimization! State Minimization " Algorithms for State Minimization! State, Input, and Output Encodings " Minimize the Next State and Output logic Optimization in Context! Understand

More information

The Logic of Partitions

The Logic of Partitions The Logic of Partitions Introduction to the Dual of "Propositional" Logic David Ellerman Philosophy U. of California/Riverside U. of Ljubljana, Sept. 8, 2015 David Ellerman Philosophy U. of California/Riverside

More information

Lecture 22. m n c (k) i,j x i x j = c (k) k=1

Lecture 22. m n c (k) i,j x i x j = c (k) k=1 Notes on Complexity Theory Last updated: June, 2014 Jonathan Katz Lecture 22 1 N P PCP(poly, 1) We show here a probabilistically checkable proof for N P in which the verifier reads only a constant number

More information

Standard forms for writing numbers

Standard forms for writing numbers Standard forms for writing numbers In order to relate the abstract mathematical descriptions of familiar number systems to the everyday descriptions of numbers by decimal expansions and similar means,

More information

Cube Partitions and Nonrepeating Decision Trees

Cube Partitions and Nonrepeating Decision Trees Bob Sloan 1 Balázs Szörényi 2,3 György Turán 1,2 1 University of Illinois at Chicago 2 Hungarian Academy of Sciences, Szeged, Hungary 3 Ruhr-Universität Bochum, Germany January 2009 / Workshop on Boolean

More information

Review CHAPTER. 2.1 Definitions in Chapter Sample Exam Questions. 2.1 Set; Element; Member; Universal Set Partition. 2.

Review CHAPTER. 2.1 Definitions in Chapter Sample Exam Questions. 2.1 Set; Element; Member; Universal Set Partition. 2. CHAPTER 2 Review 2.1 Definitions in Chapter 2 2.1 Set; Element; Member; Universal Set 2.2 Subset 2.3 Proper Subset 2.4 The Empty Set, 2.5 Set Equality 2.6 Cardinality; Infinite Set 2.7 Complement 2.8 Intersection

More information

Logic Synthesis of EXOR Projected Sum of Products

Logic Synthesis of EXOR Projected Sum of Products Logic Synthesis of EXOR Projected Sum of Products Anna Bernasconi, Valentina Ciriani 2, and Roberto Cordone 2 Department of Computer Science, University of Pisa Italy, annab@di.unipi.it 2 DTI, University

More information

Estimates for probabilities of independent events and infinite series

Estimates for probabilities of independent events and infinite series Estimates for probabilities of independent events and infinite series Jürgen Grahl and Shahar evo September 9, 06 arxiv:609.0894v [math.pr] 8 Sep 06 Abstract This paper deals with finite or infinite sequences

More information

Introduction to Kleene Algebras

Introduction to Kleene Algebras Introduction to Kleene Algebras Riccardo Pucella Basic Notions Seminar December 1, 2005 Introduction to Kleene Algebras p.1 Idempotent Semirings An idempotent semiring is a structure S = (S, +,, 1, 0)

More information

MATH 556: PROBABILITY PRIMER

MATH 556: PROBABILITY PRIMER MATH 6: PROBABILITY PRIMER 1 DEFINITIONS, TERMINOLOGY, NOTATION 1.1 EVENTS AND THE SAMPLE SPACE Definition 1.1 An experiment is a one-off or repeatable process or procedure for which (a there is a well-defined

More information

Extended Index. 89f depth (of a prime ideal) 121f Artin-Rees Lemma. 107f descending chain condition 74f Artinian module

Extended Index. 89f depth (of a prime ideal) 121f Artin-Rees Lemma. 107f descending chain condition 74f Artinian module Extended Index cokernel 19f for Atiyah and MacDonald's Introduction to Commutative Algebra colon operator 8f Key: comaximal ideals 7f - listings ending in f give the page where the term is defined commutative

More information

Chapter 3. Rings. The basic commutative rings in mathematics are the integers Z, the. Examples

Chapter 3. Rings. The basic commutative rings in mathematics are the integers Z, the. Examples Chapter 3 Rings Rings are additive abelian groups with a second operation called multiplication. The connection between the two operations is provided by the distributive law. Assuming the results of Chapter

More information

BL-Functions and Free BL-Algebra

BL-Functions and Free BL-Algebra BL-Functions and Free BL-Algebra Simone Bova bova@unisi.it www.mat.unisi.it/ bova Department of Mathematics and Computer Science University of Siena (Italy) December 9, 008 Ph.D. Thesis Defense Outline

More information

Alebraic division: { Let f dividend = ac + ad + bc + bd + e and f divisor = a + b { Then f quotient = c + d f remainder = e { Because (a + b) (c + d)

Alebraic division: { Let f dividend = ac + ad + bc + bd + e and f divisor = a + b { Then f quotient = c + d f remainder = e { Because (a + b) (c + d) ALGEBRAIC METHODS Outline cgiovanni De Micheli Stanford University Alebraic model. Division and substitution. Kernel theory. { Kernel and cube extraction. Decomposition. Boolean alebra: { Complement. Alebraic

More information

AN ALGEBRAIC APPROACH TO GENERALIZED MEASURES OF INFORMATION

AN ALGEBRAIC APPROACH TO GENERALIZED MEASURES OF INFORMATION AN ALGEBRAIC APPROACH TO GENERALIZED MEASURES OF INFORMATION Daniel Halpern-Leistner 6/20/08 Abstract. I propose an algebraic framework in which to study measures of information. One immediate consequence

More information

Electrical Engineering and Computer Science Department The University of Toledo Toledo, OH 43606

Electrical Engineering and Computer Science Department The University of Toledo Toledo, OH 43606 Gursel Serpen and David L. Livingston Electrical Engineering and Computer Science Department The University of Toledo Toledo, OH 43606 ANNIE 98 PRESENTATION THE RESEARCH WORK A higher-order single-layer

More information

Chapter 9: Relations Relations

Chapter 9: Relations Relations Chapter 9: Relations 9.1 - Relations Definition 1 (Relation). Let A and B be sets. A binary relation from A to B is a subset R A B, i.e., R is a set of ordered pairs where the first element from each pair

More information

Irredundant Sum-of-Products Expressions - J. T. Butler

Irredundant Sum-of-Products Expressions - J. T. Butler On the minimization of SOP s for Bi-Decomposable Functions T. Sasao* & J. T. Butler *Kyushu Institute of Technology, Iizuka, JAPAN Naval Postgraduate School Monterey, CA -5 U.S.A. Outline Introduction

More information

Sets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth

Sets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth Sets We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth century. Most students have seen sets before. This is intended

More information

1 Primals and Duals: Zero Sum Games

1 Primals and Duals: Zero Sum Games CS 124 Section #11 Zero Sum Games; NP Completeness 4/15/17 1 Primals and Duals: Zero Sum Games We can represent various situations of conflict in life in terms of matrix games. For example, the game shown

More information

Dividing Polynomials

Dividing Polynomials 3-3 3-3 Dividing Polynomials Warm Up Lesson Presentation Lesson Quiz Algebra 2 Warm Up Divide using long division. 1. 161 7 2. 12.18 2.1 23 5.8 Divide. 3. 4. 6x + 15y 3 7a 2 ab a 2x + 5y 7a b Objective

More information

Solving Random Satisfiable 3CNF Formulas in Expected Polynomial Time

Solving Random Satisfiable 3CNF Formulas in Expected Polynomial Time Solving Random Satisfiable 3CNF Formulas in Expected Polynomial Time Michael Krivelevich and Dan Vilenchik Tel-Aviv University Solving Random Satisfiable 3CNF Formulas in Expected Polynomial Time p. 1/2

More information

A UNIVERSAL SEQUENCE OF CONTINUOUS FUNCTIONS

A UNIVERSAL SEQUENCE OF CONTINUOUS FUNCTIONS A UNIVERSAL SEQUENCE OF CONTINUOUS FUNCTIONS STEVO TODORCEVIC Abstract. We show that for each positive integer k there is a sequence F n : R k R of continuous functions which represents via point-wise

More information

Appendix: Synthetic Division

Appendix: Synthetic Division Appendix: Synthetic Division AP Learning Objectives In this section, we will learn how to: 1. Divide polynomials using synthetic division. Synthetic division is a short form of long division with polynomials.

More information

On minimal models of the Region Connection Calculus

On minimal models of the Region Connection Calculus Fundamenta Informaticae 69 (2006) 1 20 1 IOS Press On minimal models of the Region Connection Calculus Lirong Xia State Key Laboratory of Intelligent Technology and Systems Department of Computer Science

More information

Comp487/587 - Boolean Formulas

Comp487/587 - Boolean Formulas Comp487/587 - Boolean Formulas 1 Logic and SAT 1.1 What is a Boolean Formula Logic is a way through which we can analyze and reason about simple or complicated events. In particular, we are interested

More information

1 Predicates and Quantifiers

1 Predicates and Quantifiers 1 Predicates and Quantifiers We have seen how to represent properties of objects. For example, B(x) may represent that x is a student at Bryn Mawr College. Here B stands for is a student at Bryn Mawr College

More information

Section 2: Classes of Sets

Section 2: Classes of Sets Section 2: Classes of Sets Notation: If A, B are subsets of X, then A \ B denotes the set difference, A \ B = {x A : x B}. A B denotes the symmetric difference. A B = (A \ B) (B \ A) = (A B) \ (A B). Remarks

More information

The cocycle lattice of binary matroids

The cocycle lattice of binary matroids Published in: Europ. J. Comb. 14 (1993), 241 250. The cocycle lattice of binary matroids László Lovász Eötvös University, Budapest, Hungary, H-1088 Princeton University, Princeton, NJ 08544 Ákos Seress*

More information

Version January Please send comments and corrections to

Version January Please send comments and corrections to Mathematical Logic for Computer Science Second revised edition, Springer-Verlag London, 2001 Answers to Exercises Mordechai Ben-Ari Department of Science Teaching Weizmann Institute of Science Rehovot

More information

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c. Properties of the Integers The set of all integers is the set and the subset of Z given by Z = {, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, }, N = {0, 1, 2, 3, 4, }, is the set of nonnegative integers (also called

More information

Properties of the Integers

Properties of the Integers Properties of the Integers The set of all integers is the set and the subset of Z given by Z = {, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, }, N = {0, 1, 2, 3, 4, }, is the set of nonnegative integers (also called

More information

Chapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013

Chapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013 Chapter 2 Reductions and NP CS 573: Algorithms, Fall 2013 August 29, 2013 2.1 Reductions Continued 2.1.1 The Satisfiability Problem SAT 2.1.1.1 Propositional Formulas Definition 2.1.1. Consider a set of

More information

Part IA Numbers and Sets

Part IA Numbers and Sets Part IA Numbers and Sets Definitions Based on lectures by A. G. Thomason Notes taken by Dexter Chua Michaelmas 2014 These notes are not endorsed by the lecturers, and I have modified them (often significantly)

More information

( ) y 2! 4. ( )( y! 2)

( ) y 2! 4. ( )( y! 2) 1. Dividing: 4x3! 8x 2 + 6x 2x 5.7 Division of Polynomials = 4x3 2x! 8x2 2x + 6x 2x = 2x2! 4 3. Dividing: 1x4 + 15x 3! 2x 2!5x 2 = 1x4!5x 2 + 15x3!5x 2! 2x2!5x 2 =!2x2! 3x + 4 5. Dividing: 8y5 + 1y 3!

More information

MATH 3030, Abstract Algebra FALL 2012 Toby Kenney Midyear Examination Friday 7th December: 7:00-10:00 PM

MATH 3030, Abstract Algebra FALL 2012 Toby Kenney Midyear Examination Friday 7th December: 7:00-10:00 PM MATH 3030, Abstract Algebra FALL 2012 Toby Kenney Midyear Examination Friday 7th December: 7:00-10:00 PM Basic Questions 1. Compute the factor group Z 3 Z 9 / (1, 6). The subgroup generated by (1, 6) is

More information

List of topics for the preliminary exam in algebra

List of topics for the preliminary exam in algebra List of topics for the preliminary exam in algebra 1 Basic concepts 1. Binary relations. Reflexive, symmetric/antisymmetryc, and transitive relations. Order and equivalence relations. Equivalence classes.

More information

Heuristic Minimization of Two Level Circuits

Heuristic Minimization of Two Level Circuits Heuristic Minimization of Two Level Circuits Sungho Kang Yonsei University Outline Local Search Checking for Equivalence and Tautology Choosing the Right Direction Identifying Essential Implicants 2 Local

More information

Problem 1: Suppose A, B, C and D are finite sets such that A B = C D and C = D. Prove or disprove: A = B.

Problem 1: Suppose A, B, C and D are finite sets such that A B = C D and C = D. Prove or disprove: A = B. Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination III (Spring 2007) Problem 1: Suppose A, B, C and D are finite sets

More information

Sums of Products. Pasi Rastas November 15, 2005

Sums of Products. Pasi Rastas November 15, 2005 Sums of Products Pasi Rastas November 15, 2005 1 Introduction This presentation is mainly based on 1. Bacchus, Dalmao and Pitassi : Algorithms and Complexity results for #SAT and Bayesian inference 2.

More information

Temporal Constraint Networks

Temporal Constraint Networks Ch. 5b p.1/49 Temporal Constraint Networks Addition to Chapter 5 Ch. 5b p.2/49 Outline Temporal reasoning Qualitative networks The interval algebra The point algebra Quantitative temporal networks Reference:

More information

A brief introduction to Logic. (slides from

A brief introduction to Logic. (slides from A brief introduction to Logic (slides from http://www.decision-procedures.org/) 1 A Brief Introduction to Logic - Outline Propositional Logic :Syntax Propositional Logic :Semantics Satisfiability and validity

More information

(x + 1)(x 2) = 4. x

(x + 1)(x 2) = 4. x dvanced Integration Techniques: Partial Fractions The method of partial fractions can occasionally make it possible to find the integral of a quotient of rational functions. Partial fractions gives us

More information

Approximation Algorithms for Asymmetric TSP by Decomposing Directed Regular Multigraphs

Approximation Algorithms for Asymmetric TSP by Decomposing Directed Regular Multigraphs Approximation Algorithms for Asymmetric TSP by Decomposing Directed Regular Multigraphs Haim Kaplan Tel-Aviv University, Israel haimk@post.tau.ac.il Nira Shafrir Tel-Aviv University, Israel shafrirn@post.tau.ac.il

More information

Polynomials. Exponents. End Behavior. Writing. Solving Factoring. Graphing. End Behavior. Polynomial Notes. Synthetic Division.

Polynomials. Exponents. End Behavior. Writing. Solving Factoring. Graphing. End Behavior. Polynomial Notes. Synthetic Division. Polynomials Polynomials 1. P 1: Exponents 2. P 2: Factoring Polynomials 3. P 3: End Behavior 4. P 4: Fundamental Theorem of Algebra Writing real root x= 10 or (x+10) local maximum Exponents real root x=10

More information

Binary Decision Diagrams

Binary Decision Diagrams Binary Decision Diagrams Binary Decision Diagrams (BDDs) are a class of graphs that can be used as data structure for compactly representing boolean functions. BDDs were introduced by R. Bryant in 1986.

More information

Relations Graphical View

Relations Graphical View Introduction Relations Computer Science & Engineering 235: Discrete Mathematics Christopher M. Bourke cbourke@cse.unl.edu Recall that a relation between elements of two sets is a subset of their Cartesian

More information

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard

More information

The Zariski Spectrum of a ring

The Zariski Spectrum of a ring Thierry Coquand September 2010 Use of prime ideals Let R be a ring. We say that a 0,..., a n is unimodular iff a 0,..., a n = 1 We say that Σa i X i is primitive iff a 0,..., a n is unimodular Theorem:

More information

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181. Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität

More information

IBM Almaden Research Center, 650 Harry Road, School of Mathematical Sciences, Tel Aviv University, TelAviv, Israel

IBM Almaden Research Center, 650 Harry Road, School of Mathematical Sciences, Tel Aviv University, TelAviv, Israel On the Complexity of Some Geometric Problems in Unbounded Dimension NIMROD MEGIDDO IBM Almaden Research Center, 650 Harry Road, San Jose, California 95120-6099, and School of Mathematical Sciences, Tel

More information

The Cook-Levin Theorem

The Cook-Levin Theorem An Exposition Sandip Sinha Anamay Chaturvedi Indian Institute of Science, Bangalore 14th November 14 Introduction Deciding a Language Let L {0, 1} be a language, and let M be a Turing machine. We say M

More information

NP-Completeness. Algorithmique Fall semester 2011/12

NP-Completeness. Algorithmique Fall semester 2011/12 NP-Completeness Algorithmique Fall semester 2011/12 1 What is an Algorithm? We haven t really answered this question in this course. Informally, an algorithm is a step-by-step procedure for computing a

More information

Preliminaries and Complexity Theory

Preliminaries and Complexity Theory Preliminaries and Complexity Theory Oleksandr Romanko CAS 746 - Advanced Topics in Combinatorial Optimization McMaster University, January 16, 2006 Introduction Book structure: 2 Part I Linear Algebra

More information

MATH 1111 Section P.1 Bland. Algebraic Expressions - An algebraic expression is a combination of variables and numbers using operations.

MATH 1111 Section P.1 Bland. Algebraic Expressions - An algebraic expression is a combination of variables and numbers using operations. MATH 1111 Section P.1 Bland Variable A letter or symbol used to represent a number. Algebraic Expressions - An algebraic expression is a combination of variables and numbers using operations. Coefficient

More information

Two-level logic minimization: an overview

Two-level logic minimization: an overview Two-level logic minimization: an overview Olivier Coudert DEC, Paris Research Laboratory, 85 Avenue Victor Hugo, 92500 Rueil Malmaison, France INTEGRATION, the VLSI journal, 17-2, pp. 97 140, October 1994.

More information

Approximation Algorithms

Approximation Algorithms Approximation Algorithms Chapter 26 Semidefinite Programming Zacharias Pitouras 1 Introduction LP place a good lower bound on OPT for NP-hard problems Are there other ways of doing this? Vector programs

More information

Binary Decision Diagrams. Graphs. Boolean Functions

Binary Decision Diagrams. Graphs. Boolean Functions Binary Decision Diagrams Graphs Binary Decision Diagrams (BDDs) are a class of graphs that can be used as data structure for compactly representing boolean functions. BDDs were introduced by R. Bryant

More information

Proclaiming Dictators and Juntas or Testing Boolean Formulae

Proclaiming Dictators and Juntas or Testing Boolean Formulae Proclaiming Dictators and Juntas or Testing Boolean Formulae Michal Parnas The Academic College of Tel-Aviv-Yaffo Tel-Aviv, ISRAEL michalp@mta.ac.il Dana Ron Department of EE Systems Tel-Aviv University

More information

Inquiry Calculus and the Issue of Negative Higher Order Informations

Inquiry Calculus and the Issue of Negative Higher Order Informations Article Inquiry Calculus and the Issue of Negative Higher Order Informations H. R. Noel van Erp, *, Ronald O. Linger and Pieter H. A. J. M. van Gelder,2 ID Safety and Security Science Group, TU Delft,

More information

MODERN APPLIED ALGEBRA

MODERN APPLIED ALGEBRA Paper IV (Elective -) - Curriculum ACHARYA NAGARJUNA UNIVERSITY CURRICULUM - B.A / B.Sc MATHEMATICS - PAPER - IV (ELECTIVE - ) MODERN APPLIED ALGEBRA 90 hrs (3hrs / week) UNIT - (30 Hours). SETS AND FUNCTIONS

More information

ON IMPLICATIONAL BASES OF CLOSURE SYSTEMS WITH UNIQUE CRITICAL SETS

ON IMPLICATIONAL BASES OF CLOSURE SYSTEMS WITH UNIQUE CRITICAL SETS ON IMPLICATIONAL BASES OF CLOSURE SYSTEMS WITH UNIQUE CRITICAL SETS K. ADARICHEVA AND J. B. NATION Abstract. We show that every optimum basis of a finite closure system, in D. Maier s sense, is also right-side

More information

Computing the rank of configurations on Complete Graphs

Computing the rank of configurations on Complete Graphs Computing the rank of configurations on Complete Graphs Robert Cori November 2016 The paper by M. Baker and S. Norine [1] in 2007 introduced a new parameter in Graph Theory it was called the rank of configurations

More information

Introduction to finite fields

Introduction to finite fields Chapter 7 Introduction to finite fields This chapter provides an introduction to several kinds of abstract algebraic structures, particularly groups, fields, and polynomials. Our primary interest is in

More information

Efficient Approximation for Restricted Biclique Cover Problems

Efficient Approximation for Restricted Biclique Cover Problems algorithms Article Efficient Approximation for Restricted Biclique Cover Problems Alessandro Epasto 1, *, and Eli Upfal 2 ID 1 Google Research, New York, NY 10011, USA 2 Department of Computer Science,

More information

Boolean Algebras, Boolean Rings and Stone s Representation Theorem

Boolean Algebras, Boolean Rings and Stone s Representation Theorem Boolean Algebras, Boolean Rings and Stone s Representation Theorem Hongtaek Jung December 27, 2017 Abstract This is a part of a supplementary note for a Logic and Set Theory course. The main goal is to

More information

Index. Cambridge University Press Relational Knowledge Discovery M E Müller. Index. More information

Index. Cambridge University Press Relational Knowledge Discovery M E Müller. Index. More information s/r. See quotient, 93 R, 122 [x] R. See class, equivalence [[P Q]]s, 142 =, 173, 164 A α, 162, 178, 179 =, 163, 193 σ RES, 166, 22, 174 Ɣ, 178, 179, 175, 176, 179 i, 191, 172, 21, 26, 29 χ R. See rough

More information

arxiv: v3 [math.ds] 21 Jan 2018

arxiv: v3 [math.ds] 21 Jan 2018 ASYMPTOTIC BEHAVIOR OF CONJUNCTIVE BOOLEAN NETWORK OVER WEAKLY CONNECTED DIGRAPH XUDONG CHEN, ZUGUANG GAO, AND TAMER BAŞAR arxiv:1708.01975v3 [math.ds] 21 Jan 2018 Abstract. A conjunctive Boolean network

More information

A Readable Introduction to Real Mathematics

A Readable Introduction to Real Mathematics Solutions to selected problems in the book A Readable Introduction to Real Mathematics D. Rosenthal, D. Rosenthal, P. Rosenthal Chapter 10: Sizes of Infinite Sets 1. Show that the set of all polynomials

More information

Mathematical Induction

Mathematical Induction Mathematical Induction MAT231 Transition to Higher Mathematics Fall 2014 MAT231 (Transition to Higher Math) Mathematical Induction Fall 2014 1 / 21 Outline 1 Mathematical Induction 2 Strong Mathematical

More information

Vector fields and phase flows in the plane. Geometric and algebraic properties of linear systems. Existence, uniqueness, and continuity

Vector fields and phase flows in the plane. Geometric and algebraic properties of linear systems. Existence, uniqueness, and continuity Math Courses Approved for MSME (2015/16) Mth 511 - Introduction to Real Analysis I (3) elements of functional analysis. This is the first course in a sequence of three: Mth 511, Mth 512 and Mth 513 which

More information

Section 2.2 Set Operations. Propositional calculus and set theory are both instances of an algebraic system called a. Boolean Algebra.

Section 2.2 Set Operations. Propositional calculus and set theory are both instances of an algebraic system called a. Boolean Algebra. Section 2.2 Set Operations Propositional calculus and set theory are both instances of an algebraic system called a Boolean Algebra. The operators in set theory are defined in terms of the corresponding

More information

Algebra Homework, Edition 2 9 September 2010

Algebra Homework, Edition 2 9 September 2010 Algebra Homework, Edition 2 9 September 2010 Problem 6. (1) Let I and J be ideals of a commutative ring R with I + J = R. Prove that IJ = I J. (2) Let I, J, and K be ideals of a principal ideal domain.

More information

Simpler Functions for Decompositions

Simpler Functions for Decompositions Simpler Functions or Decompositions Bernd Steinbach Freiberg University o Mining and Technology, Institute o Computer Science, D-09596 Freiberg, Germany Abstract. This paper deals with the synthesis o

More information

A Generalized Framework for Reasoning with Angular Directions

A Generalized Framework for Reasoning with Angular Directions A Generalized Framework for Reasoning with Angular Directions Debasis Mitra Department of Computer Sciences Florida Institute of Technology Melbourne, FL 3901, USA Tel. 31-674-7737, Fax: -7046, E-mail:

More information

NP-Complete problems

NP-Complete problems NP-Complete problems NP-complete problems (NPC): A subset of NP. If any NP-complete problem can be solved in polynomial time, then every problem in NP has a polynomial time solution. NP-complete languages

More information

More Polynomial Equations Section 6.4

More Polynomial Equations Section 6.4 MATH 11009: More Polynomial Equations Section 6.4 Dividend: The number or expression you are dividing into. Divisor: The number or expression you are dividing by. Synthetic division: Synthetic division

More information

Definition 2.3. We define addition and multiplication of matrices as follows.

Definition 2.3. We define addition and multiplication of matrices as follows. 14 Chapter 2 Matrices In this chapter, we review matrix algebra from Linear Algebra I, consider row and column operations on matrices, and define the rank of a matrix. Along the way prove that the row

More information

3 Propositional Logic

3 Propositional Logic 3 Propositional Logic 3.1 Syntax 3.2 Semantics 3.3 Equivalence and Normal Forms 3.4 Proof Procedures 3.5 Properties Propositional Logic (25th October 2007) 1 3.1 Syntax Definition 3.0 An alphabet Σ consists

More information

Cylindrical Algebraic Decomposition in Coq

Cylindrical Algebraic Decomposition in Coq Cylindrical Algebraic Decomposition in Coq MAP 2010 - Logroño 13-16 November 2010 Assia Mahboubi INRIA Microsoft Research Joint Centre (France) INRIA Saclay Île-de-France École Polytechnique, Palaiseau

More information

0 Sets and Induction. Sets

0 Sets and Induction. Sets 0 Sets and Induction Sets A set is an unordered collection of objects, called elements or members of the set. A set is said to contain its elements. We write a A to denote that a is an element of the set

More information

Rings and Fields Theorems

Rings and Fields Theorems Rings and Fields Theorems Rajesh Kumar PMATH 334 Intro to Rings and Fields Fall 2009 October 25, 2009 12 Rings and Fields 12.1 Definition Groups and Abelian Groups Let R be a non-empty set. Let + and (multiplication)

More information

Notes on Measure Theory and Markov Processes

Notes on Measure Theory and Markov Processes Notes on Measure Theory and Markov Processes Diego Daruich March 28, 2014 1 Preliminaries 1.1 Motivation The objective of these notes will be to develop tools from measure theory and probability to allow

More information

Notes. Relations. Introduction. Notes. Relations. Notes. Definition. Example. Slides by Christopher M. Bourke Instructor: Berthe Y.

Notes. Relations. Introduction. Notes. Relations. Notes. Definition. Example. Slides by Christopher M. Bourke Instructor: Berthe Y. Relations Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Spring 2006 Computer Science & Engineering 235 Introduction to Discrete Mathematics Sections 7.1, 7.3 7.5 of Rosen cse235@cse.unl.edu

More information

Propositional Logic. What is discrete math? Tautology, equivalence, and inference. Applications

Propositional Logic. What is discrete math? Tautology, equivalence, and inference. Applications What is discrete math? Propositional Logic The real numbers are continuous in the senses that: between any two real numbers there is a real number The integers do not share this property. In this sense

More information

Qualifying Exam in Machine Learning

Qualifying Exam in Machine Learning Qualifying Exam in Machine Learning October 20, 2009 Instructions: Answer two out of the three questions in Part 1. In addition, answer two out of three questions in two additional parts (choose two parts

More information