STGs may contain redundant states, i.e. states whose. State minimization is the transformation of a given

Size: px
Start display at page:

Download "STGs may contain redundant states, i.e. states whose. State minimization is the transformation of a given"

Transcription

1 Completely Specied Machines STGs may contain redundant states, i.e. states whose function can be accomplished by other states. State minimization is the transformation of a given machine into an equivalent machine with no redundant states.

2 Completely Specied Machines Two states, s i and s j of machine M are distinguishable if and only if there exists a nite input sequence which when applied to M causes dierent output sequences depending on whether M started in s i or s j. Such a sequence is called a distinguishing sequence for (s i s j ). If there exists a distinguishing sequence of length k for (s i s j ), they are said to be k- distinguishable. Example: PS NS, z x =0 x = A E, 0 D, B F, 0 D, 0 C E, 0 B, D F, 0 B, 0 E C, 0 F, F B, 0 C, 0 states A and B are -distinguishable, since a input applied to A yields an output, versus an output 0 from B. states A and E are 3-distinguishable, since input sequence applied to A yields output 00, versus an output 0 from B. 2

3 Completely Specied Machines States s i and s j are said to be equivalent i no distinguishing sequence exists for (s i s j ). If s i is equivalent to s j and s j is equivalent to s k, then s i is equivalent to s k. So state equivalence is an equivalence relation (i.e. it is a reexive, symmetric and transitive relation). An equivalence relation partitions the elements of a set into equivalence classes. Property. If s i and s j are equivalent states, their corresponding X-successors, for all inputs X, are also equivalent. Procedure: Partition states of M so that two states are in the same equivalence class i they are equivalent. 3

4 Completely Specied Machines PS NS, z x =0 x = A E, 0 D, B F, 0 D, 0 C E, 0 B, D F, 0 B, 0 E C, 0 F, F B, 0 C, 0 P i : partition using distinguishing sequences of length i. Partition Distinguishing Sequence P 0 =(ABCDEF) P =(ACE)(BDF) x = P 2 =(ACE)(BD)(F) x = x = P 3 = (A C) (E) (B D) (F) x = x = x = P 4 = (A C) (E) (B D) (F) Algorithm terminates when P k = P k+. 4

5 Completely Specied Machines Outline of state minimization procedure: All states equivalent to each other form an equivalence class. All the states in an equivalence class may be combined into one state in the reduced (quotient) machine. These equivalence classes form a partition of the setofstates. Start with all states in a partition of a single block. Iteratively rene this partition by separating the - distinguishable states, 2-distinguishable states and so on. In general, when obtaining P k+ from P k, place in the same block of P k+ the states that are (k+)- equivalent, and in dierent blocks states that are (k + )-distinguishable. 5

6 Completely Specied Machines Theorem. The equivalence partition is unique. Theorem. If two states, s i and s j, of machine M are distinguishable, then they are distinguishable by a sequence of length n; or less, where n is the number of states in M. Denition: Two machines, M and M 2,are said to be equivalent i, for every state in M there is a corresponding equivalent state in M 2 and vice versa. Theorem. For every machine M there is a minimal machine M red that is equivalent to M and is unique up to isomorphism. Reduced machine obtained from previous example: PS NS, z x =0 x =, 0,, 0,, 0, 0, 0, 0 6

7 State Minimization of CSMs: Complexity Algorithm DFA DFA min Input: A nite automaton M =(Q q 0 F) with no unreachable states. Output: A minimal nite automaton M 0 =(Q 0 0 q 0 0 F0 ). Method:. t := 2 Q 0 := f undened g Q := F Q 2 := Q n F. 2. while there is 0 <i t, a 2 with(q i a) 6 Q j, for allj t do (a) Choose such an i, a 2, and j t with (Q i a) \ Q j 6=. (b) Q t+ := fq 2 Q i j (q a) 2 Q j g Q i := Q i n Q t+ t := t +. do. 3. (* Let [q] denote the equivalence class the state q is in and fq i g denote the set of all equivalence classes. *) Q 0 := fq Q 2 ::: Q t g: q 0 0 := [q 0]: F 0 := f[q] 2 Q 0 jq 2 F g: 0 ([q] a):=[(q a)] for allq 2 Q, a 2. 7

8 State Minimization of CSMs: Complexity Standard Implementation: O(kn 2 ), where n = jqj and k = jj Modication of the body of the while loop:. Choose such an i, a 2, and choose j j2 t with j 6= j 2, (Q i a) \ Q j 6=, and(q i a) \ Q j2 6=. 2. If jfq 2 Q i j (q a) 2 Q j gj jfq 2 Q i j (q a) 2 Q j2 gj then Q t+ := fq 2 Q i j (q a) 2 Q j g else Q t+ := fq 2 Q i j (q a) 2 Q j2 g Q i := Q i n Q t+ t := t +. Note: jq t+ j=2jq i j. Therefore, for all q 2 Q the name of the class which q contains changes at most logn times. Goal: Develop an implementation such that all work can be assigned to transitions containing a state for whcih the name of the corresponding class is changed. Suitable data structures achieve an O(kn log n) implementation Details in N. Blum IPL '96 [Original O(kn log n) algorithm in Hopcroft 97] 8

9 BDD Im- State Minimization of CSMs: plementation E 0 (x y) = YjSj i= (x i y i ) E j+ (x y) = E j (x y) ^ 8i9(o z w)[t (x i z o) ^ T (y i w o) ^ E j (z w)] 9

10 Incompletely Speci- ed Machines Statement of the problem: given an incompletely specied machine M, nd a machine M 0 such that: on any input sequence, M 0 produces the same outputs as M, whenever M is specied. no machine M 00 with fewer states than M 0 does the job. 0

11 Incompletely Speci- ed Machines Machine M: PS NS, z x =0 x = s s3, 0 s2, 0 s2 s2, - s3, 0 s3 s3, s2, 0 Attempt to reduce this case to usual state minimization of completely specied machines. Force the don't cares to all their possible values and choose the smallest of the completely speci- ed machines so obtained. In our case it means to state minimize two completely specied machines obtained from M, by setting the don't care to either 0 or.

12 Incompletely Speci- ed Machines Suppose that the ; is set to be a 0. Machine M 0 : PS NS, z x =0 x = s s3, 0 s2, 0 s2 s2, 0 s3, 0 s3 s3, s2, 0 States s and s2 are equivalent if s3 and s2 are equivalent, but s3 and s2 assert dierent outputs under input 0, so s and s2 are not equivalent. States s and s3 are not equivalent either. So this completely specied machine cannot be reduced further. 2

13 Incompletely Speci- ed Machines Suppose that the ; is set to be a. Machine M 00 : PS NS, z x =0 x = s s3, 0 s2, 0 s2 s2, s3, 0 s3 s3, s2, 0 States s is incompatible with both s2 and s3. States s3 and s2 are equivalent. So number of states is reduced from 3 to 2. Machine M 00 red : PS NS, z x =0 x = A A, A, 0 B A, 0 A, 0 3

14 Can this always be done? Machine M: PS NS, z x =0 x = s s3, 0 s2, 0 s2 s2, - s, 0 s3 s, s2, 0 4

15 Machine M 2 : Machine M 3 : PS NS, z x =0 x = s s3, 0 s2, 0 s2 s2, 0 s, 0 s3 s, s2, 0 PS NS, z x =0 x = s s3, 0 s2, 0 s2 s2, s, 0 s3 s, s2, 0 Machines M 2 and M 3 are formed by lling in the unspecied entry in M with 0 and, respectively. Both machines M 2 and M 3 cannot be reduced. Conclusion: M cannot be minimized further! But is it a correct conclusion? 5

16 Notice that we want to 'merge' two states when, for any input sequence, they generate the same output sequence, but only where both outputs are specied. This suggests the notion of a compatible set of states: a set of states that agree on the outputs where they are all specied. Machine M: PS NS, z x =0 x = s s3, 0 s2, 0 s2 s2, - s, 0 s3 s, s2, 0 In this case we have two compatible sets: A = (s,s2) and B = (s3,s2). A reduced machine M red can be built as follows. Machine M red : PS NS, z x =0 x = A B, 0 A, 0 B A, A, 0 6

17 Can we simply look for a set of compatibles of minimum cardinality, such that any original state is in at least one compatible? (This would be nice since it would lead to a simple unate covering problem.) No. To build a reduced machine we must be able to send compatibles into compatibles. So choosing a given compatible may imply that some other compatibles must be chosen too. PS NS, z s I s3,0 I 2 s,- I 3 - I 4 - s2 s6, - s2, 0 s, - - s3 -, -, - s4, 0 - s4 s,0 -, - - s5, s5 -, - s5, - s2, s, s6 -, - s2, s6, - s4, A set of compatibles that cover all states is: (s3s6), (s4s6), (ss6), (s4s5),(s2s5). But (s3s6) requires (s4s6), (s4s6) requires (s4s5), (s4s5) requires (ss5), (ss6) requires (ss2), (ss2) requires (s3s6), (s2s5) requires (ss2). So, this selection of compatibles requires too many other compatibles... 7

18 PS NS, z s I s3,0 I 2 s,- I 3 - I 4 - s2 s6, - s2, 0 s, - - s3 -, -, - s4, 0 - s4 s,0 -, - - s5, s5 -, - s5, - s2, s, s6 -, - s2, s6, - s4, Another set of compatibles that covers all states is (ss2s5), (s3s6), (s4s5). But compatible (ss2s5) requires (s3s6), (s3s6) requires (s4s6) (which requires (s4s5)) and (s4s5) requires (ss5). So must select also compatible (s4s6). Selection of minimum set of compatibles closed with respect to next state implication is a binate covering problem!!! 8

19 More formally: When a next state in unspecied, the future behaviour of the machine is unpredictable. This suggests the denition of admissible input sequence. Denition. An input sequence is admissible, or applicable, for a starting state of a machine if no unspecied next state is encountered, except possibly at the nal step. Denition. State s i of machine M is said to cover, or contain, state s j of M 2 provided every input sequence applicable to s j is also applicable to s i, and its application to both M and M 2 when they are initially ins i and s j, results in identical output sequences whenever the outputs of M 2 are specied. Denition. Machine M is said to cover machine M 2 i, for every state s j in M 2, there is a corresponding state s i in M such that s i covers s j. The problem of state minimization for an incompletely specied machine M is to nd a machine M 0 which covers M such that for any other machine M 00 which covers M, the number of states of M 0 does not exceed the number of states of M 00. 9

20 Machine M: Machine M 0 : PS NS, z x =0 x = s s3, 0 s2, 0 s2 s2, - s, 0 s3 s, s2, 0 PS NS, z x =0 x = A B, 0 A, 0 B A, A, 0 State A of M 0 covers states s and s2 ofm and state B of M 0 covers states s2 and s3 ofm. Therefore M 0 covers M. Note that M started in s under input sequence 0 0 generates 0 - -, while M 0 started in A under input sequence 0 0 generates 0 0. The output generated by M 0 corresponding to the don't care entry in M is not always the same!!! 20

21 Machine M 2 : Machine M 3 : PS NS, z x =0 x = s s3, 0 s2, 0 s2 s2, 0 s, 0 s3 s, s2, 0 PS NS, z x =0 x = s s3, 0 s2, 0 s2 s2, s, 0 s3 s, s2, 0 M 2 and M 3 are formed by lling in the unspecied entry in M with 0 and, respectively. Neither state A nor B of M 0 covers state s2 ofm 2 or M 3 and hence M 0 would not cover M 2 or M 3. 2

22 If machine M can be covered by M 0 containing fewer states than M, then some state of M 0 must cover more than one state of M. If a set of states of M can be covered by the same state of M 0, this set is called a compatible set. Intuitively: the states in a compatible set can be combined into a single state in the reduced machine. Denition: States s i and s j are compatible i they never generate dierent specied output sequences for any admissible input sequence. Example: PS NS, z A I - I 2 - I 3 E, I 4 - B C, 0 A, B, 0 - C C, 0 D, - A, 0 D E - B, 0 E, - B, - C, - - B, 0 (AC) is a compatible pair, (AD) is a compatible pair if and only if (BE) is a compatible pair. (ACD) is a compatible set. 22

23 A set of states is compatible if and only if every pair of states in that set is compatible. (BC) is a compatible pair, (AC) is a compatible pair, but (AB) is not compatible pair, so (ABC) is not a compatible set. The compatibility relation is not an equivalence relation! 23

24 Compatible sets are computed as those sets of states that do not contain any incompatible pair of states. States s i and s j are incompatible i they are not compatible. Denition: States s i and s j are output incompatible i 9i k such that (i k s i ) 6= (i k s j ), if both are specied. The set of all pairs of incompatible states can be computed as follows:. Compute output incompatible pairs. 2. Add any pair of states (s i s j ) if 9i k such that ((i k s i ) (i k s j )) is a previously determined incompatible pair of states. 3. Repeat 2. until no new pairs can be added to the incompatible state pairs set. 24

25 Example: PS Compatibles of example: C = (BE), C 2 = (AD), C 3 = (CD), C 4 = (BC), C 5 =(ACD), C 6 = (DE), C 7 =(AC), C 8 = (A), C 9 = (B), C 0 = (C), C = (D), C 2 =(E). NS, z I I 2 I 3 I 4 A - - E, - B C, 0 A, B, 0 - C C, 0 D, - A, 0 D - E, B, - - E B, 0 - C, - B, 0 25

26 A class of compatibles is of special interest: maximal compatibles. Sets of compatible states which are not subsets of any other compatible set of states are called maximal compatibles. In the case of completely specied machines, each equivalence class is a maximal compatible. Maximal compatibles of previous example: (BE), (BC), (ACD), (DE). If machine M is to be reduced to M 0, the states of M 0 must correspond to compatible sets of states of M. If a state of M 0 corresponds to a compatible set C i, then the next state of M 0 under input I j must correspond to some compatible set C m such that the next state entries in M under I j of all states in C j are contained in C m. (Why is this?) 26

27 Denition: If C i is a set of compatible states and C ij = fs k js k = (I j s i ),ands i 2 C i g i.e. C ij is the set of next states of the states in C i for input I j, then C ij is said to be implied by the set C i for inputi j. Denition: Let C i be a compatible set of states and C ij be the set of next states implied by C i for inputi j. C ij = fs k j s k = (I j s l ) s l 2 C i g The sets C ij implied by C i for all inputs I j are the implied classes of C i. Denition: A set of compatible sets C = fc C 2 :::g is closed if for everyc i 2 C all the implied sets C ij are contained in some element of C for all inputs I j. 27

28 The problem of minimizing the number of states reduces to nding a closed set C of compatible states, of minimum cardinality, which covers every state of the original machine, i.e. a minimum closed cover. Note that:. The set of all maximal compatibles of a completely specied FSM is the unique minimum closed cover. 2. For an incompletely specied FSM, a closed cover consisting of maximal compatibles only, may be a larger cover than a closed cover in which some or all of the compatibles are not maximal. This is because each compatible has a dierent set of implied compatibles, and removing a state from a compatible may result in an implied compatible that is already there, rather than a new one. This means that we may have to search over the set of all compatibles to nd the minimum cover. 28

29 But the set of all compatibles is a very large set. Is there a smaller set of compatibles (larger than the set of all maximal compatibles) that guarantees nding a minimum closed cover? Yes. Prime compatibles (Grasselli and Luccio, 965) Denition: A compatible set of states that is not \dominated" by any other compatible set is called a prime compatible set. Denition similar tothatforprime implicants of logic functions. Of course here one must specify what is meant by dominance of a compatible. 29

30 Let C i be a compatible set of states, and C ij be the set of next states implied by C i for inputi j. Denition: The class set P i implied by C i is the set of all C ij implied by C i for all inputs I j such that:. C ij has more than one element 2. C ij 6 C i 3. C ij 6 C ik if C ik 2 P i Denition: A compatible C i dominates a compatible C j if. C i C j, and 2. P i P j i.e. C i dominates C j if C i covers all states covered by C j and the conditions on the closure of C i are a subset of the conditions on the closure of C j. Denition: A compatible set of states that is not dominated by any other compatible set is called a prime compatible set. 30

31 Example: PS NS, z I I 2 I 3 I 4 A - - E, - B C, 0 A, B, 0 - C C, 0 D, - A, 0 D - E, B, - - E B, 0 - C, - B, 0 Prime compatibles and respective class sets: p =(BE) p 2 =(AD) p 3 =(CD) p 4 =(BC) p 5 =(ACD) p 6 =(DE) p 7 =(AC) p 9 =(B) p =(D) p 2 =(E) f(cb)g f(be)g f(ed)g f(da)g f(ed)(be)g f(bc)g fg fg fg fg: 3

32 The following procedure computes all prime compatibles. At the beginning, the set of prime compatibles is empty.. Order the maximal compatibles by decreasing size, say n is the size of the largest. 2. Add to the set of prime compatibles the maximal compatibles of size n. 3. For i =ton ; : (a) Generate all compatibles of size n;i and compute their implied classes. The compatibles of size n ; i are generated starting from the maximal compatibles of size n to n ; i + (only those that do not have a void class set). (b) Add to the set of primes the compatibles of size n ; i not dominated by any prime already in the set. (c) Add to the set of primes all maximal compatibles of size n ; i. 32

33 The following facts are true: A compatible already added to the set of primes, cannot be excluded by a newly generated compatible. In the previous algorithm, the same compatible can be generated more than once by dierent maximal compatibles. The question arises of nding the most ecient algorithm to generate the compatibles. Only the compatibles generated from maximal compatibles with non-empty class set need be considered, because a maximal compatible with an empty class set dominates any compatible that it generates. A single state s i can be a prime compatible if every compatible set C i with more than one state and containing s i implies a set with more than one state. Theorem For any FSM M there is a minimum equivalent FSM M red whose states all correspond to prime compatible sets of M. 33

34 A minimum closed cover can be determined by rst constructing a conjunctive form expression and then nding a satisfying assignment to it which has the fewest variables assigned TRUE. This is a binate covering problem. The table of the problem has columns that correspond to prime compatibles and rows that correspond to covering and closure conditions. It can be solved by branch and bound. At each step the table is reduced, by eliminating rows and columns, according to dominance criteria. These generalize the row and column dominance used for solving unate covering problems. 34

35 p =(BE) p 2 =(AD) p 3 =(CD) p 4 =(BC) p 5 =(ACD) p 6 =(DE) p 7 =(AC) p 9 =(B) p =(D) p 2 =(E) f(cb)g f(be)g f(ed)g f(da)g f(ed)(be)g f(bc)g fg fg fg fg: Computation of clauses in previous example. Clauses due to coverage: A: (p 5 + p 2 + p 7 ) B: (p + p 4 + p 9 ) C: (p 3 + p 4 + p 5 + p 7 ) D: (p 2 + p 3 + p 5 + p 6 + p ) E: (p + p 6 + p 2 ) Clauses due to closure: p ) p 4 : (p + p 4 ) p 2 ) p : (p 2 + p ) p 3 ) p 6 : (p 3 + p 6 ) p 4 ) (p 2 + p 5 ): (p 4 + p 2 + p 5 ) p 5 ) (p p 6 ): (p 5 + p )( p 5 + p 6 ) p 6 ) p 4 : (p 6 + p 4 ) 35

36 Need to nd a satisfying assignment for the following expression with the fewest TRUE assignments. C = (p 5 + p 2 + p 7 )(p + p 4 + p 9 )(p 3 + p 4 + p 5 + p 7 ) (p 2 + p 3 + p 5 + p 6 + p )(p + p 6 + p 2 ) (p + p 4 )( p 2 + p )( p 3 + p 6 )( p 4 + p 2 + p 5 ) (p 5 + p )( p 5 + p 6 )( p 6 + p 4 ): The assignment p = p 2 = p 4 = TRUE and all other p j = FALSE is a satisfying assignment with the fewest TRUE assignments. 36

37 This corresponds to M red = f(b E), (A D), (B C)g giving the following reduced machine. Note: PS NS, z I I 2 I 3 I 4 (A D)! -,, - (B C)!, 0,, 0, 0 (B E)!, 0,, 0, 0. Minimum form not unique. 2. A state in the original machine may be split between two states in the reduced machine. 3. resulting machine may still be incompletely speci- ed. 37

38 A A B B C C D D E E C E C E B A D E D A B C D E C, D E, A C, D B, D A, E A B C D (a) (b) An incompletely-specied machine and its implication table (A, B) (A, B) C C D D E E C E (A, B) (A, B) D E D (A, B) (A, E) (A, E) (B, C, D) (B, C, D) (B, C, D) (A, E) (B, C, D) (A, E) 0 0 (a) (b) Twominimal realizations of an incompletely-specied machine 38

39 Problem: An implied class can be contained by more than one compatible. Choose as next state in the reduced machine the compatible that optimizes some cost function, for instance the number of rows of the state transition table of the reduced machine. In general, dene a mapping problem: given a closed set of compatibles which covers all the states of the original machine, nd a mapping of the implied classes into the compatibles, so as to minimize the cost of the resulting machine. The problem can be modeled as the one of determining the set of unique representatives which minimizes row count after minimization of a symbolic relation (analogous to a boolean relation with symbolic input and output elds). 39

40 Complexity oftheproblem: Problem is NP-hard [Peeger 973] Exact solution requires computing prime compatibles (in the worst-case, order of 3 n=3 ) and then a binate covering step. Existing tools perform well on examples with few prime compatibles. Are inadequate for examples with many prime compatibles. Newly developed tools use BDD's and implicitmethods (Kam and Villa). They have been shown to be able to handle some problems with trillions of prime compatibles. [Kam and Villa have developed a package called SILK] 40

Optimizing Finite Automata

Optimizing Finite Automata Optimizing Finite Automata We can improve the DFA created by MakeDeterministic. Sometimes a DFA will have more states than necessary. For every DFA there is a unique smallest equivalent DFA (fewest states

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

Boolean cubes EECS150. Mapping truth tables onto cubes. Simplification. The Uniting Theorem. Three variable example

Boolean cubes EECS150. Mapping truth tables onto cubes. Simplification. The Uniting Theorem. Three variable example EES5 Section 5 Simplification and State Minimization Fall 2 -cube X oolean cubes Visual technique for indentifying when the uniting theorem can be applied n input variables = n-dimensional "cube" Y 2-cube

More information

On Controllability and Normality of Discrete Event. Dynamical Systems. Ratnesh Kumar Vijay Garg Steven I. Marcus

On Controllability and Normality of Discrete Event. Dynamical Systems. Ratnesh Kumar Vijay Garg Steven I. Marcus On Controllability and Normality of Discrete Event Dynamical Systems Ratnesh Kumar Vijay Garg Steven I. Marcus Department of Electrical and Computer Engineering, The University of Texas at Austin, Austin,

More information

Olivier Coudert Jean Christophe Madre Henri Fraisse. Bull Corporate Research Center. Rue Jean Jaures Les Clayes-sous-bois, FRANCE

Olivier Coudert Jean Christophe Madre Henri Fraisse. Bull Corporate Research Center. Rue Jean Jaures Les Clayes-sous-bois, FRANCE A New Viewpoint on Two-Level Logic Minimization Olivier Coudert Jean Christophe Madre Henri Fraisse Bull Corporate Research Center Rue Jean Jaures 78340 Les Clayes-sous-bois, FRANCE Abstract This paper

More information

Models of Sequential Systems

Models of Sequential Systems Models of Sequential Systems Sungho Kang Yonsei University Outline Introduction to Finite State Machines Synthesis of Finite State Machines FSMs : Definition, Notation, and Examples FSM Minimization of

More information

Decidability of Existence and Construction of a Complement of a given function

Decidability of Existence and Construction of a Complement of a given function Decidability of Existence and Construction of a Complement of a given function Ka.Shrinivaasan, Chennai Mathematical Institute (CMI) (shrinivas@cmi.ac.in) April 28, 2011 Abstract This article denes a complement

More information

Computability and Complexity

Computability and Complexity Computability and Complexity Non-determinism, Regular Expressions CAS 705 Ryszard Janicki Department of Computing and Software McMaster University Hamilton, Ontario, Canada janicki@mcmaster.ca Ryszard

More information

Quality of Minimal Sets of Prime Implicants of Boolean Functions

Quality of Minimal Sets of Prime Implicants of Boolean Functions INTL JOURNAL OF ELECTRONICS AND TELECOMMUNICATIONS, 2017, VOL. 63, NO. 2, PP. 165-169 Manuscript received October 9, 2016; revised April, 2017. DOI: 10.1515/eletel-2017-0022 Quality of Minimal Sets of

More information

INDEPENDENCE OF THE CONTINUUM HYPOTHESIS

INDEPENDENCE OF THE CONTINUUM HYPOTHESIS INDEPENDENCE OF THE CONTINUUM HYPOTHESIS CAPSTONE MATT LUTHER 1 INDEPENDENCE OF THE CONTINUUM HYPOTHESIS 2 1. Introduction This paper will summarize many of the ideas from logic and set theory that are

More information

Sequential Equivalence Checking - I

Sequential Equivalence Checking - I Sequential Equivalence Checking - I Virendra Singh Associate Professor Computer Architecture and Dependable Systems Lab. Dept. of Electrical Engineering Indian Institute of Technology Bombay viren@ee.iitb.ac.in

More information

Computability and Complexity

Computability and Complexity Computability and Complexity Push-Down Automata CAS 705 Ryszard Janicki Department of Computing and Software McMaster University Hamilton, Ontario, Canada janicki@mcmaster.ca Ryszard Janicki Computability

More information

Chapter 9 Asynchronous Sequential Logic

Chapter 9 Asynchronous Sequential Logic 9.1 Introduction EEA051 - Digital Logic 數位邏輯 Chapter 9 Asynchronous Sequential Logic 吳俊興高雄大學資訊工程學系 December 2004 Two major types of sequential circuits: depending on timing of their signals Asynchronous

More information

Logic Minimization. Two-Level. University of California. Prof. Srinivas Devadas. Prof. Richard Newton Prof. Sanjit Seshia. Prof.

Logic Minimization. Two-Level. University of California. Prof. Srinivas Devadas. Prof. Richard Newton Prof. Sanjit Seshia. Prof. Two-Level Logic Minimization Prof. Srinivas Devadas MIT Prof. Kurt Keutzer Prof. Richard Newton Prof. Sanjit Seshia University of California Berkeley, CA 1 Topics Motivation Boolean functions & notation

More information

Logic Synthesis and Verification

Logic Synthesis and Verification Logic Synthesis and Verification Jie-Hong Roland Jiang 江介宏 Department of Electrical Engineering National Taiwan University Fall 24 Two-Level Logic Minimization (/2) Reading: Logic Synthesis in a Nutshell

More information

L6: Two-level minimization. Reading material

L6: Two-level minimization. Reading material L6: Two-level minimization Reading material de Micheli pp. 269-343 p. 2 - Advanced Logic Design L6 - Elena Dubrova Formulation of the two-level minimization problem input: a Boolean function f(x,x 2,...,x

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

Logic and Inferences

Logic and Inferences Artificial Intelligence Logic and Inferences Readings: Chapter 7 of Russell & Norvig. Artificial Intelligence p.1/34 Components of Propositional Logic Logic constants: True (1), and False (0) Propositional

More information

ON THE COMPLEXITY OF SOLVING THE GENERALIZED SET PACKING PROBLEM APPROXIMATELY. Nimrod Megiddoy

ON THE COMPLEXITY OF SOLVING THE GENERALIZED SET PACKING PROBLEM APPROXIMATELY. Nimrod Megiddoy ON THE COMPLEXITY OF SOLVING THE GENERALIZED SET PACKING PROBLEM APPROXIMATELY Nimrod Megiddoy Abstract. The generalized set packing problem (GSP ) is as follows. Given a family F of subsets of M = f mg

More information

Extremal problems in logic programming and stable model computation Pawe l Cholewinski and Miros law Truszczynski Computer Science Department Universi

Extremal problems in logic programming and stable model computation Pawe l Cholewinski and Miros law Truszczynski Computer Science Department Universi Extremal problems in logic programming and stable model computation Pawe l Cholewinski and Miros law Truszczynski Computer Science Department University of Kentucky Lexington, KY 40506-0046 fpaweljmirekg@cs.engr.uky.edu

More information

Let s now begin to formalize our analysis of sequential machines Powerful methods for designing machines for System control Pattern recognition Etc.

Let s now begin to formalize our analysis of sequential machines Powerful methods for designing machines for System control Pattern recognition Etc. Finite State Machines Introduction Let s now begin to formalize our analysis of sequential machines Powerful methods for designing machines for System control Pattern recognition Etc. Such devices form

More information

Computing the acceptability semantics. London SW7 2BZ, UK, Nicosia P.O. Box 537, Cyprus,

Computing the acceptability semantics. London SW7 2BZ, UK, Nicosia P.O. Box 537, Cyprus, Computing the acceptability semantics Francesca Toni 1 and Antonios C. Kakas 2 1 Department of Computing, Imperial College, 180 Queen's Gate, London SW7 2BZ, UK, ft@doc.ic.ac.uk 2 Department of Computer

More information

Lecture 11: Measuring the Complexity of Proofs

Lecture 11: Measuring the Complexity of Proofs IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 11: Measuring the Complexity of Proofs David Mix Barrington and Alexis Maciel July

More information

Upper and Lower Bounds on the Number of Faults. a System Can Withstand Without Repairs. Cambridge, MA 02139

Upper and Lower Bounds on the Number of Faults. a System Can Withstand Without Repairs. Cambridge, MA 02139 Upper and Lower Bounds on the Number of Faults a System Can Withstand Without Repairs Michel Goemans y Nancy Lynch z Isaac Saias x Laboratory for Computer Science Massachusetts Institute of Technology

More information

Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5)

Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5) B.Y. Choueiry 1 Instructor s notes #12 Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5) Introduction to Artificial Intelligence CSCE 476-876, Fall 2018 URL: www.cse.unl.edu/ choueiry/f18-476-876

More information

MODULAR CIRCUITS CHAPTER 7

MODULAR CIRCUITS CHAPTER 7 CHAPTER 7 MODULAR CIRCUITS A modular circuit is a digital circuit that performs a specific function or has certain usage. The modular circuits to be introduced in this chapter are decoders, encoders, multiplexers,

More information

[3] R.M. Colomb and C.Y.C. Chung. Very fast decision table execution of propositional

[3] R.M. Colomb and C.Y.C. Chung. Very fast decision table execution of propositional - 14 - [3] R.M. Colomb and C.Y.C. Chung. Very fast decision table execution of propositional expert systems. Proceedings of the 8th National Conference on Articial Intelligence (AAAI-9), 199, 671{676.

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

Lexical Analysis: DFA Minimization & Wrap Up

Lexical Analysis: DFA Minimization & Wrap Up Lexical Analysis: DFA Minimization & Wrap Up Automating Scanner Construction PREVIOUSLY RE NFA (Thompson s construction) Build an NFA for each term Combine them with -moves NFA DFA (subset construction)

More information

Discrete Mathematcs and Logic II.

Discrete Mathematcs and Logic II. Discrete Mathematcs and Logic II. SFWR ENG 2FA3 Ryszard Janicki Winter 2014 Acknowledgments: Material based the paper Computing Properties of Numerical Imperative Programs by Symbolic Computation by Jacques

More information

Propositional Logic: Models and Proofs

Propositional Logic: Models and Proofs Propositional Logic: Models and Proofs C. R. Ramakrishnan CSE 505 1 Syntax 2 Model Theory 3 Proof Theory and Resolution Compiled at 11:51 on 2016/11/02 Computing with Logic Propositional Logic CSE 505

More information

A version of for which ZFC can not predict a single bit Robert M. Solovay May 16, Introduction In [2], Chaitin introd

A version of for which ZFC can not predict a single bit Robert M. Solovay May 16, Introduction In [2], Chaitin introd CDMTCS Research Report Series A Version of for which ZFC can not Predict a Single Bit Robert M. Solovay University of California at Berkeley CDMTCS-104 May 1999 Centre for Discrete Mathematics and Theoretical

More information

Regular expressions and Kleene s theorem

Regular expressions and Kleene s theorem Regular expressions and Kleene s theorem Informatics 2A: Lecture 5 Mary Cryan School of Informatics University of Edinburgh mcryan@inf.ed.ac.uk 26 September 2018 1 / 18 Finishing DFA minimization An algorithm

More information

form, but that fails as soon as one has an object greater than every natural number. Induction in the < form frequently goes under the fancy name \tra

form, but that fails as soon as one has an object greater than every natural number. Induction in the < form frequently goes under the fancy name \tra Transnite Ordinals and Their Notations: For The Uninitiated Version 1.1 Hilbert Levitz Department of Computer Science Florida State University levitz@cs.fsu.edu Intoduction This is supposed to be a primer

More information

Extending temporal logic with!-automata Thesis for the M.Sc. Degree by Nir Piterman Under the Supervision of Prof. Amir Pnueli Department of Computer

Extending temporal logic with!-automata Thesis for the M.Sc. Degree by Nir Piterman Under the Supervision of Prof. Amir Pnueli Department of Computer Extending temporal logic with!-automata Thesis for the M.Sc. Degree by Nir Piterman Under the Supervision of Prof. Amir Pnueli Department of Computer Science The Weizmann Institute of Science Prof. Moshe

More information

the subset partial order Paul Pritchard Technical Report CIT School of Computing and Information Technology

the subset partial order Paul Pritchard Technical Report CIT School of Computing and Information Technology A simple sub-quadratic algorithm for computing the subset partial order Paul Pritchard P.Pritchard@cit.gu.edu.au Technical Report CIT-95-04 School of Computing and Information Technology Grith University

More information

Computation and Logic Definitions

Computation and Logic Definitions Computation and Logic Definitions True and False Also called Boolean truth values, True and False represent the two values or states an atom can assume. We can use any two distinct objects to represent

More information

{},{a},{a,c} {},{c} {c,d}

{},{a},{a,c} {},{c} {c,d} Modular verication of Argos Programs Agathe Merceron 1 and G. Michele Pinna 2 1 Basser Department of Computer Science, University of Sydney Madsen Building F09, NSW 2006, Australia agathe@staff.cs.su.oz.au

More information

Foundations of Informatics: a Bridging Course

Foundations of Informatics: a Bridging Course Foundations of Informatics: a Bridging Course Week 3: Formal Languages and Semantics Thomas Noll Lehrstuhl für Informatik 2 RWTH Aachen University noll@cs.rwth-aachen.de http://www.b-it-center.de/wob/en/view/class211_id948.html

More information

A Collection of Problems in Propositional Logic

A Collection of Problems in Propositional Logic A Collection of Problems in Propositional Logic Hans Kleine Büning SS 2016 Problem 1: SAT (respectively SAT) Instance: A propositional formula α (for SAT in CNF). Question: Is α satisfiable? The problems

More information

Ch 2. Combinational Logic. II - Combinational Logic Contemporary Logic Design 1

Ch 2. Combinational Logic. II - Combinational Logic Contemporary Logic Design 1 Ch 2. Combinational Logic II - Combinational Logic Contemporary Logic Design 1 Combinational logic Define The kind of digital system whose output behavior depends only on the current inputs memoryless:

More information

G METHOD IN ACTION: FROM EXACT SAMPLING TO APPROXIMATE ONE

G METHOD IN ACTION: FROM EXACT SAMPLING TO APPROXIMATE ONE G METHOD IN ACTION: FROM EXACT SAMPLING TO APPROXIMATE ONE UDREA PÄUN Communicated by Marius Iosifescu The main contribution of this work is the unication, by G method using Markov chains, therefore, a

More information

for Propositional Temporal Logic with Since and Until Y. S. Ramakrishna, L. E. Moser, L. K. Dillon, P. M. Melliar-Smith, G. Kutty

for Propositional Temporal Logic with Since and Until Y. S. Ramakrishna, L. E. Moser, L. K. Dillon, P. M. Melliar-Smith, G. Kutty An Automata-Theoretic Decision Procedure for Propositional Temporal Logic with Since and Until Y. S. Ramakrishna, L. E. Moser, L. K. Dillon, P. M. Melliar-Smith, G. Kutty Department of Electrical and Computer

More information

1 Algebraic Methods. 1.1 Gröbner Bases Applied to SAT

1 Algebraic Methods. 1.1 Gröbner Bases Applied to SAT 1 Algebraic Methods In an algebraic system Boolean constraints are expressed as a system of algebraic equations or inequalities which has a solution if and only if the constraints are satisfiable. Equations

More information

Predicates and Predicate Transformers for. Systems 1. Ratnesh Kumar. Department of Electrical Engineering. University of Kentucky

Predicates and Predicate Transformers for. Systems 1. Ratnesh Kumar. Department of Electrical Engineering. University of Kentucky Predicates and Predicate Transformers for Supervisory Control of Discrete Event Dynamical Systems 1 Ratnesh Kumar Department of Electrical Engineering University of Kentucy Lexington, KY 40506-0046 Vijay

More information

1 The Well Ordering Principle, Induction, and Equivalence Relations

1 The Well Ordering Principle, Induction, and Equivalence Relations 1 The Well Ordering Principle, Induction, and Equivalence Relations The set of natural numbers is the set N = f1; 2; 3; : : :g. (Some authors also include the number 0 in the natural numbers, but number

More information

arxiv:cs/ v1 [cs.cc] 9 Feb 2007

arxiv:cs/ v1 [cs.cc] 9 Feb 2007 The DFAs of Finitely Different Languages Andrew Badr Ian Shipman February 1, 2008 arxiv:cs/0702053v1 [cs.cc] 9 Feb 2007 Abstract Two languages are finitely different if their symmetric difference is finite.

More information

Computational Models - Lecture 4

Computational Models - Lecture 4 Computational Models - Lecture 4 Regular languages: The Myhill-Nerode Theorem Context-free Grammars Chomsky Normal Form Pumping Lemma for context free languages Non context-free languages: Examples Push

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

An exploration of matrix equilibration

An exploration of matrix equilibration An exploration of matrix equilibration Paul Liu Abstract We review three algorithms that scale the innity-norm of each row and column in a matrix to. The rst algorithm applies to unsymmetric matrices,

More information

Theoretical Foundations of the UML

Theoretical Foundations of the UML Theoretical Foundations of the UML Lecture 17+18: A Logic for MSCs Joost-Pieter Katoen Lehrstuhl für Informatik 2 Software Modeling and Verification Group moves.rwth-aachen.de/teaching/ws-1718/fuml/ 5.

More information

Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS

Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS 1) Given the two binary numbers X = 1010100 and Y = 1000011, perform the subtraction (a) X -Y and (b) Y - X using 2's complements. a) X = 1010100

More information

Lecture 14 - P v.s. NP 1

Lecture 14 - P v.s. NP 1 CME 305: Discrete Mathematics and Algorithms Instructor: Professor Aaron Sidford (sidford@stanford.edu) February 27, 2018 Lecture 14 - P v.s. NP 1 In this lecture we start Unit 3 on NP-hardness and approximation

More information

Boolean Algebra and Propositional Logic

Boolean Algebra and Propositional Logic Boolean Algebra and Propositional Logic Takahiro Kato June 23, 2015 This article provides yet another characterization of Boolean algebras and, using this characterization, establishes a more direct connection

More information

Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) 1.1 The Formal Denition of a Vector Space

Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) 1.1 The Formal Denition of a Vector Space Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) Contents 1 Vector Spaces 1 1.1 The Formal Denition of a Vector Space.................................. 1 1.2 Subspaces...................................................

More information

Closure Properties of Regular Languages. Union, Intersection, Difference, Concatenation, Kleene Closure, Reversal, Homomorphism, Inverse Homomorphism

Closure Properties of Regular Languages. Union, Intersection, Difference, Concatenation, Kleene Closure, Reversal, Homomorphism, Inverse Homomorphism Closure Properties of Regular Languages Union, Intersection, Difference, Concatenation, Kleene Closure, Reversal, Homomorphism, Inverse Homomorphism Closure Properties Recall a closure property is a statement

More information

Riemann Hypotheses. Alex J. Best 4/2/2014. WMS Talks

Riemann Hypotheses. Alex J. Best 4/2/2014. WMS Talks Riemann Hypotheses Alex J. Best WMS Talks 4/2/2014 In this talk: 1 Introduction 2 The original hypothesis 3 Zeta functions for graphs 4 More assorted zetas 5 Back to number theory 6 Conclusion The Riemann

More information

Week-I. Combinational Logic & Circuits

Week-I. Combinational Logic & Circuits Week-I Combinational Logic & Circuits Overview Binary logic operations and gates Switching algebra Algebraic Minimization Standard forms Karnaugh Map Minimization Other logic operators IC families and

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

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

Reduced Ordered Binary Decision Diagrams

Reduced Ordered Binary Decision Diagrams Reduced Ordered Binary Decision Diagrams Lecture #12 of Advanced Model Checking Joost-Pieter Katoen Lehrstuhl 2: Software Modeling & Verification E-mail: katoen@cs.rwth-aachen.de December 13, 2016 c JPK

More information

Chapter 4 Optimized Implementation of Logic Functions

Chapter 4 Optimized Implementation of Logic Functions Chapter 4 Optimized Implementation of Logic Functions Logic Minimization Karnaugh Maps Systematic Approach for Logic Minimization Minimization of Incompletely Specified Functions Tabular Method for Minimization

More information

This is logically equivalent to the conjunction of the positive assertion Minimal Arithmetic and Representability

This is logically equivalent to the conjunction of the positive assertion Minimal Arithmetic and Representability 16.2. MINIMAL ARITHMETIC AND REPRESENTABILITY 207 If T is a consistent theory in the language of arithmetic, we say a set S is defined in T by D(x) if for all n, if n is in S, then D(n) is a theorem of

More information

6.045 Final Exam Solutions

6.045 Final Exam Solutions 6.045J/18.400J: Automata, Computability and Complexity Prof. Nancy Lynch, Nati Srebro 6.045 Final Exam Solutions May 18, 2004 Susan Hohenberger Name: Please write your name on each page. This exam is open

More information

Midterm1 Review. Jan 24 Armita

Midterm1 Review. Jan 24 Armita Midterm1 Review Jan 24 Armita Outline Boolean Algebra Axioms closure, Identity elements, complements, commutativity, distributivity theorems Associativity, Duality, De Morgan, Consensus theorem Shannon

More information

CPSC 320 Sample Solution, Reductions and Resident Matching: A Residentectomy

CPSC 320 Sample Solution, Reductions and Resident Matching: A Residentectomy CPSC 320 Sample Solution, Reductions and Resident Matching: A Residentectomy August 25, 2017 A group of residents each needs a residency in some hospital. A group of hospitals each need some number (one

More information

An Alternative To The Iteration Operator Of. Propositional Dynamic Logic. Marcos Alexandre Castilho 1. IRIT - Universite Paul Sabatier and

An Alternative To The Iteration Operator Of. Propositional Dynamic Logic. Marcos Alexandre Castilho 1. IRIT - Universite Paul Sabatier and An Alternative To The Iteration Operator Of Propositional Dynamic Logic Marcos Alexandre Castilho 1 IRIT - Universite Paul abatier and UFPR - Universidade Federal do Parana (Brazil) Andreas Herzig IRIT

More information

Karnaugh Maps Objectives

Karnaugh Maps Objectives Karnaugh Maps Objectives For Karnaugh Maps of up to 5 variables Plot a function from algebraic, minterm or maxterm form Obtain minimum Sum of Products and Product of Sums Understand the relationship between

More information

Denotational Semantics

Denotational Semantics 5 Denotational Semantics In the operational approach, we were interested in how a program is executed. This is contrary to the denotational approach, where we are merely interested in the effect of executing

More information

Calculus and linear algebra for biomedical engineering Week 3: Matrices, linear systems of equations, and the Gauss algorithm

Calculus and linear algebra for biomedical engineering Week 3: Matrices, linear systems of equations, and the Gauss algorithm Calculus and linear algebra for biomedical engineering Week 3: Matrices, linear systems of equations, and the Gauss algorithm Hartmut Führ fuehr@matha.rwth-aachen.de Lehrstuhl A für Mathematik, RWTH Aachen

More information

Weighted Activity Selection

Weighted Activity Selection Weighted Activity Selection Problem This problem is a generalization of the activity selection problem that we solvd with a greedy algorithm. Given a set of activities A = {[l, r ], [l, r ],..., [l n,

More information

Equivalence of Regular Expressions and FSMs

Equivalence of Regular Expressions and FSMs Equivalence of Regular Expressions and FSMs Greg Plaxton Theory in Programming Practice, Spring 2005 Department of Computer Science University of Texas at Austin Regular Language Recall that a language

More information

Multitape Ordinal Machines and Primitive Recursion

Multitape Ordinal Machines and Primitive Recursion Multitape Ordinal Machines and Primitive Recursion Bernhard Irrgang and Benjamin Seyerth University of Bonn, Mathematical Institute Beringstraÿe 1, D-53115 Bonn, Germany irrgang@math.uni-bonn.de, benjamin.seyfferth@gmx.de

More information

Different encodings generate different circuits

Different encodings generate different circuits FSM State Encoding Different encodings generate different circuits no easy way to find best encoding with fewest logic gates or shortest propagation delay. Binary encoding: K states need log 2 K bits i.e.,

More information

same literal in a formula), and useful equivalence-preserving operations based on anti-links are

same literal in a formula), and useful equivalence-preserving operations based on anti-links are Fast Subsumption Checks Using Anti-Links Anavai Ramesh y Intel Corporation, MS CH6-418, 5000 W. Chandler Blvd., Chandler, AZ 85226. Email: agramesh@sedona.intel.com Bernhard Beckert and Reiner Hahnle University

More information

5 State Minimisation. university of applied sciences hamburg. Digital Systems. Prof. Dr. J. Reichardt Prof. Dr. B. Schwarz

5 State Minimisation. university of applied sciences hamburg. Digital Systems. Prof. Dr. J. Reichardt Prof. Dr. B. Schwarz 5 State Minimisation In an early design phase when a word description of a sequential circuit's function is transformed into a FSM state diagram or state table redundant states may arise. State minimisation

More information

1.1 P, NP, and NP-complete

1.1 P, NP, and NP-complete CSC5160: Combinatorial Optimization and Approximation Algorithms Topic: Introduction to NP-complete Problems Date: 11/01/2008 Lecturer: Lap Chi Lau Scribe: Jerry Jilin Le This lecture gives a general introduction

More information

Regular Language Equivalence and DFA Minimization. Equivalence of Two Regular Languages DFA Minimization

Regular Language Equivalence and DFA Minimization. Equivalence of Two Regular Languages DFA Minimization Regular Language Equivalence and DFA Minimization Equivalence of Two Regular Languages DFA Minimization Decision Property: Equivalence Given regular languages L and M, is L = M? Algorithm involves constructing

More information

Constructions on Finite Automata

Constructions on Finite Automata Constructions on Finite Automata Informatics 2A: Lecture 4 Alex Simpson School of Informatics University of Edinburgh als@inf.ed.ac.uk 23rd September, 2014 1 / 29 1 Closure properties of regular languages

More information

V Honors Theory of Computation

V Honors Theory of Computation V22.0453-001 Honors Theory of Computation Problem Set 3 Solutions Problem 1 Solution: The class of languages recognized by these machines is the exactly the class of regular languages, thus this TM variant

More information

Solving Extensive Form Games

Solving Extensive Form Games Chapter 8 Solving Extensive Form Games 8.1 The Extensive Form of a Game The extensive form of a game contains the following information: (1) the set of players (2) the order of moves (that is, who moves

More information

Lean clause-sets: Generalizations of minimally. unsatisable clause-sets. Oliver Kullmann. University of Toronto. Toronto, Ontario M5S 3G4

Lean clause-sets: Generalizations of minimally. unsatisable clause-sets. Oliver Kullmann. University of Toronto. Toronto, Ontario M5S 3G4 Lean clause-sets: Generalizations of minimally unsatisable clause-sets Oliver Kullmann Department of Computer Science University of Toronto Toronto, Ontario M5S 3G4 e-mail: kullmann@cs.toronto.edu http://www.cs.utoronto.ca/kullmann/

More information

A fast algorithm to generate necklaces with xed content

A fast algorithm to generate necklaces with xed content Theoretical Computer Science 301 (003) 477 489 www.elsevier.com/locate/tcs Note A fast algorithm to generate necklaces with xed content Joe Sawada 1 Department of Computer Science, University of Toronto,

More information

Methods of Partial Logic for Knowledge Representation and Deductive Reasoning in Incompletely Specified Domains

Methods of Partial Logic for Knowledge Representation and Deductive Reasoning in Incompletely Specified Domains Methods of Partial Logic for Knowledge Representation and Deductive Reasoning in Incompletely Specified Domains Anatoly Prihozhy and Liudmila Prihozhaya Information Technologies and Robotics Department,

More information

Chapter 3: Homology Groups Topics in Computational Topology: An Algorithmic View

Chapter 3: Homology Groups Topics in Computational Topology: An Algorithmic View Chapter 3: Homology Groups Topics in Computational Topology: An Algorithmic View As discussed in Chapter 2, we have complete topological information about 2-manifolds. How about higher dimensional manifolds?

More information

Contents 1 Introduction A historical note : : : : : : : : : : : : : : : : : : : : : : : : : Modal logic : : : : : : : : : : : : : : : : :

Contents 1 Introduction A historical note : : : : : : : : : : : : : : : : : : : : : : : : : Modal logic : : : : : : : : : : : : : : : : : On Axiomatizations for Propositional Logics of Programs P.M.W. Knijnenburg RUU-CS-88-34 November 1988 Contents 1 Introduction 3 1.1 A historical note : : : : : : : : : : : : : : : : : : : : : : : : : 3

More information

A Lower Bound of 2 n Conditional Jumps for Boolean Satisfiability on A Random Access Machine

A Lower Bound of 2 n Conditional Jumps for Boolean Satisfiability on A Random Access Machine A Lower Bound of 2 n Conditional Jumps for Boolean Satisfiability on A Random Access Machine Samuel C. Hsieh Computer Science Department, Ball State University July 3, 2014 Abstract We establish a lower

More information

NP-Completeness. Andreas Klappenecker. [based on slides by Prof. Welch]

NP-Completeness. Andreas Klappenecker. [based on slides by Prof. Welch] NP-Completeness Andreas Klappenecker [based on slides by Prof. Welch] 1 Prelude: Informal Discussion (Incidentally, we will never get very formal in this course) 2 Polynomial Time Algorithms Most of the

More information

Functional Database Query Languages as. Typed Lambda Calculi of Fixed Order. Gerd G. Hillebrand and Paris C. Kanellakis

Functional Database Query Languages as. Typed Lambda Calculi of Fixed Order. Gerd G. Hillebrand and Paris C. Kanellakis Functional Database Query Languages as Typed Lambda Calculi of Fixed Order Gerd G. Hillebrand and Paris C. Kanellakis Department of Computer Science Brown University Providence, Rhode Island 02912 CS-94-26

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

Decision Procedures for Satisfiability and Validity in Propositional Logic

Decision Procedures for Satisfiability and Validity in Propositional Logic Decision Procedures for Satisfiability and Validity in Propositional Logic Meghdad Ghari Institute for Research in Fundamental Sciences (IPM) School of Mathematics-Isfahan Branch Logic Group http://math.ipm.ac.ir/isfahan/logic-group.htm

More information

Characters and triangle generation of the simple Mathieu group M 11

Characters and triangle generation of the simple Mathieu group M 11 SEMESTER PROJECT Characters and triangle generation of the simple Mathieu group M 11 Under the supervision of Prof. Donna Testerman Dr. Claude Marion Student: Mikaël Cavallin September 11, 2010 Contents

More information

Written Qualifying Exam. Spring, Friday, May 22, This is nominally a three hour examination, however you will be

Written Qualifying Exam. Spring, Friday, May 22, This is nominally a three hour examination, however you will be Written Qualifying Exam Theory of Computation Spring, 1998 Friday, May 22, 1998 This is nominally a three hour examination, however you will be allowed up to four hours. All questions carry the same weight.

More information

Reduced Ordered Binary Decision Diagram with Implied Literals: A New knowledge Compilation Approach

Reduced Ordered Binary Decision Diagram with Implied Literals: A New knowledge Compilation Approach Reduced Ordered Binary Decision Diagram with Implied Literals: A New knowledge Compilation Approach Yong Lai, Dayou Liu, Shengsheng Wang College of Computer Science and Technology Jilin University, Changchun

More information

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering TIMING ANALYSIS Overview Circuits do not respond instantaneously to input changes

More information

16 Chapter 3. Separation Properties, Principal Pivot Transforms, Classes... for all j 2 J is said to be a subcomplementary vector of variables for (3.

16 Chapter 3. Separation Properties, Principal Pivot Transforms, Classes... for all j 2 J is said to be a subcomplementary vector of variables for (3. Chapter 3 SEPARATION PROPERTIES, PRINCIPAL PIVOT TRANSFORMS, CLASSES OF MATRICES In this chapter we present the basic mathematical results on the LCP. Many of these results are used in later chapters to

More information

1 CHAPTER 1 INTRODUCTION 1.1 Background One branch of the study of descriptive complexity aims at characterizing complexity classes according to the l

1 CHAPTER 1 INTRODUCTION 1.1 Background One branch of the study of descriptive complexity aims at characterizing complexity classes according to the l viii CONTENTS ABSTRACT IN ENGLISH ABSTRACT IN TAMIL LIST OF TABLES LIST OF FIGURES iii v ix x 1 INTRODUCTION 1 1.1 Background : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1 1.2 Preliminaries

More information

is a model, supported model or stable model, respectively, of P. The check can be implemented to run in linear time in the size of the program. Since

is a model, supported model or stable model, respectively, of P. The check can be implemented to run in linear time in the size of the program. Since Fixed-parameter complexity of semantics for logic programs Zbigniew Lonc? and Miros law Truszczynski?? Department of Computer Science, University of Kentucky Lexington KY 40506-0046, USA flonc, mirekg@cs.engr.uky.edu

More information

Inadmissible Class of Boolean Functions under Stuck-at Faults

Inadmissible Class of Boolean Functions under Stuck-at Faults Inadmissible Class of Boolean Functions under Stuck-at Faults Debesh K. Das 1, Debabani Chowdhury 1, Bhargab B. Bhattacharya 2, Tsutomu Sasao 3 1 Computer Sc. & Engg. Dept., Jadavpur University, Kolkata

More information