Watson-Crick ω-automata. Elena Petre. Turku Centre for Computer Science. TUCS Technical Reports

Size: px
Start display at page:

Download "Watson-Crick ω-automata. Elena Petre. Turku Centre for Computer Science. TUCS Technical Reports"

Transcription

1 Watson-Crick ω-automata Elena Petre Turku Centre for Computer Science TUCS Technical Reports No 475, December 2002

2

3 Watson-Crick ω-automata Elena Petre Department of Mathematics, University of Turku and Turku Center for Computer Science Lemminkäisenkatu 14, FIN Turku, Finland Turku Centre for Computer Science TUCS Technical Report No 475 December 2002 ISBN ISSN

4 Abstract Watson-Crick ω-automata are finite automata working with infinite doublestranded words, where the two strands relate to each other through a complementary relation inspired by the DNA complementarity. There are several natural possibilities to define such automata, in particular to define the acceptance condition for such infinite double-stranded words. We present here several results on the equivalence of Büchi, Rabin, Street, and Mullerlike acceptance conditions. We prove that these acceptance conditions are equivalent for nondeterministic Watson-Crick ω-automata. For deterministic automata, we prove that the four conditions are equivalent for non-empty stateless automata, while the general case remains open. We also investigate the relationship between the classes of languages accepted by several types of Watson-Crick ω-automata. Keywords: Watson-Crick, finite automata, ω-automata, decidability TUCS Laboratory Discrete Mathematics for Information Technology

5 1 Introduction Adleman s celebrated experiment [1] on the potential use of biomolecules for computations gave rise and motivation to a large number of studies dealing with DNA computing. Among many others, several models based on Automata Theory and Formal Languages were introduced in this area, see [10]. An important type of automata, inspired by the work on DNA computing is the Watson-Crick finite automata introduced in [4] and then investigated in [6], [8], [9], [12], see also [3] and [5] for surveys. They work on double stranded sequences of letters related by a complementary relation - such a data structure is called a Watson-Crick tape. The automata scan separately each of the two strands, in a correlated manner. They may have a finite number of states controlling the moves and they may have an auxiliary memory which is also a Watson-Crick tape, used in a FIFO-like manner. Combining these possibilities, several types of Watson-Crick automata can be obtained, see [10] (Chapter 5. The notion of ω-automata, i.e., automata working on infinite words, was introduced in the sixties by Büchi [2], McNaughton [7], and Rabin [11]. They made some connections between Automata Theory and other fields, such as Logics and set-theoretical Topology; for some surveys see [13], [14], [15]. In this paper we combine for the first time the notion of Watson-Crick automata and that of ω-automata, defining the notion of Watson-Crick ω- automata. These are automata working on double-stranded words in the same way usual Watson-Crick automata do, except that the input words are now infinite. We prove that several results known for either Watson- Crick automata, or ω-automata hold also for Watson-Crick ω-automata. In particular, this gives a new useful insight on those classical results. In Section 3 we prove that the four acceptance conditions for ω-automata, those of Büchi, Muller, Rabin, and Streett, are equivalent for nondeterministic Watson-Crick ω-automata. In the deterministic case, they are not equivalent in general, except for a special type of automata: the non-empty stateless Watson-Crick ω-automata. We then prove that some relations between the families of languages recognized by classical Watson-Crick finite automata are also valid when working with double-stranded ω-words. In Section 4 we prove that the language accepted by an automaton does not depend on the number of characters read at each step. By modifying the transitions of the automaton, we can recognize the same language regardless of whether we read from the tapes just one character, or a finite word. In Section 5 we extend an undecidability result known for usual Watson-Crick automata, see [6], regarding the position of the two read-only heads of the automaton during a computation. 1

6 2 Definitions We recall some notions of finite automata, Watson-Crick finite automata and ω-automata. For further details we refer to [16], [10] (Chapter 5, and [14]. Definition 1 A (nondeterministic finite automaton is a tuple M = (K,V,s 0,F,δ, where K is the set of states, V is the alphabet of the automaton, s 0 K is the initial state, F K is the set of final states, δ : K V 2 K is the transition mapping. If card(δ(s,a 1 for all s K,a V, then we say that the automaton is deterministic. A relation is defined in the following way on the set K V : for s,s K, a V, x V, we write (s,ax (s,x if s δ(s,a; by definition (s,λ (s,λ. If is the reflexive and transitive closure of the relation, then the language of the strings recognized by the automaton M is defined by: L(M = {x V (s 0,x (s,λ, s F }. We say that an automaton is non-empty if the language recognized by it is non-empty. It is known that both deterministic and nondeterministic finite automata characterize the family of regular languages. The power of finite automata is not increased if we allow λ-transitions or when the input string is scanned in a two-way manner, going along it to the right or to the left, without changing its symbols, see [16]. Let us consider now some automata working with infinite words. An acceptance condition for these automata restricts the occurrences of states in a run under consideration. Usually, it refers to those states which occur infinitely often in the considered run and is fixed by an acceptance component of the ω-automaton. We define an ω-language over an alphabet V as a set of infinite strings x = x 1 x 2... with x i V, i 1. We will use the notation V ω for the set of all ω-words over the alphabet V. Consider a finite automaton M = (K,V,s 0,.,δ without final states and an ω-sequence r = r 1 r 2... for which we denote: In(r = {q K there exists infinitely many i such that r i = q}. The most frequently used acceptance conditions are the following requirements on In(r: 2

7 Büchi condition: A set F K of final states is considered and the acceptance condition In(r F, requiring that some final state occurs infinitely often in the run r. Muller condition: A family F 2 K of final state sets is considered and the acceptance condition F F (In(r = F, requiring that the set of states assumed infinitely often in the run r forms a set in F. Rabin condition ( pairs condition : A sequence Ω of accepting pairs (E 1,F 1,..., (E n,f n with E i,f i K is considered and the acceptance condition n i=1 (In(r E i = In(r F i ; one requires that for some i, all states of E i are visited only finitely often in r, but some state of F i is visited infinitely often. Streett condition ( complemented pairs condition : A sequence Ω of pairs (E 1,F 1,...,(E n,f n, where E i,f i are subsets of K, is considered, and the acceptance condition n i=1 (In(r E i In(r F i = ; it represents a condition that can be read as for each i, if some state of F i is visited infinitely often, then some state of E i is visited infinitely often. Definition 2 An ω-automaton has the form A= (K,A,q 0,Acc, where K is a finite set of states, A is the input alphabet, q 0 is the initial state, K A K is the transition relation, and Acc is an acceptance component depending on the acceptance condition we use: For the Büchi acceptance condition, Acc is a set of states called final; For the Muller acceptance condition, Acc is a family F 2 K of final state sets; For the Rabin condition or Streett condition, Acc is a sequence of pairs (E 1,F 1,..., (E n,f n, where E i,f i K. A run of A on a given input ω-word α = α 0 α 1... with α i A is a sequence r = r 0 r 1... K ω such that r 0 = q 0 and (r i,α i,r i+1 for i 0. In deterministic automata the transition relation is replaced by the transition function δ : K A K, and a run has to satisfy r i+1 = δ(r i,α i for i 0. It is known that nondeterministic Büchi, Muller, Rabin and Streett automata all recognize the same class of ω-languages. A short proof of this result can be found in [15]. The Watson-Crick finite automata were originally introduced in [4]. They use a double-stranded tape, whose strands are separately scanned from left to 3

8 right, by read-only heads controlled by a common state; the symbols placed in corresponding cells of the two strands are linked by a complementarity relation. Definition 3 A Watson-Crick finite automaton is a tuple M = (V,ρ,K,s 0,F,δ, where V is the alphabet of the automaton, K is a set of final states, ρ V V is a symmetric relation (the complementarity relation, ( s 0 K is the initial V state, F K is the set of final states and δ : K V 2 K is a ( x mapping such that δ(s, only for finitely many triples (s,x,y y K V V. s We can( also write the transitions of M as rewriting rules of the ( form x1 s, such a rule having the same meaning as s x1 δ(s,. ( x1 x 2 x 2 If is the reflexive and transitive closure of the relation, then the language accepted by a Watson-Crick automaton is: ( ( ( x x x L(M = { V V xρy, s 0 s, s F }. y y y Definition 4 We say that a Watson-Crick automaton M = (V,ρ,K,s 0,F,δ is: stateless, if K = F = {s 0 }; all-final, if F = K; simple, if for all transitions: s or x 2 = λ; 1-limited, if for all transitions: s ( x1 x 2 ( x1 x 2 ( x1 x 2 x 2 s we have either x 1 = λ ( x1 x 2 s we have x 1 x 2 = 1. We can introduce now the Watson-Crick automata working on ω-words (infinite double-stranded sequences. The acceptance conditions are the same as in classic ω-automata; we use Büchi, Muller, Rabin, and Streett acceptance conditions. 4

9 Definition 5 A Watson-Crick ω-automaton is a tuple A= (V,ρ,K,s 0,F,δ, where V is the input alphabet, ρ V V is a symmetric relation, called the complementary relation( on V, K is a finite set, called the set of states, ( s 0 is V x the initial state, δ : K V 2 K is a mapping such that δ(s, y only for a finite number of triples (s,x,y K V V, called the transition mapping, and F is an acceptance component which depends on the acceptance condition used: For the Büchi acceptance condition, F consists of a set of states called final; For the Muller acceptance condition, F consists of a family F 2 K of final state sets; For the Rabin condition or Streett condition, F consists of a sequence of pairs (E 1,F 1,...,(E n,f n, where E i,f i K. ( V A run of A on a given ω-word α is a sequence r = r 0 r 1... K ω such that r 0 = s 0 ( and r i δ(r i 1,α i, for i 1, where α i is a subsequence V of α (i.e., β i,γ i such that α = β i α i γ i and α = α 1 α 2... So r is V the sequence of states automaton A passes through when scanning the input α. We can extend in the natural way Definition 4 to Watson-Crick ω-automata as follows. Definition 6 We say that a Watson-Crick ω-automaton M = (V,ρ,K,s 0,F,δ is: stateless, if K = {s 0 }; simple, if for all transitions: s or x 2 = λ; 1-limited, if for all transitions: s all-final if: ( x1 - F = K for Büchi automata; x 2 5 V ( x1 x 2 ( x1 x 2 ( x1 s we have either x 1 = λ x 2 s we have x 1 x 2 = 1;

10 - F= 2 K for Muller automata; - the acceptance component has only one pair (,K for Rabin automata; - the acceptance component has only one pair (K, for Streett automata. Depending on the acceptance component of the automata, we consider Watson-Crick Büchi, Watson-Crick Muller, Watson-Crick Rabin and Watson-Crick Streett automata respectively. A double stranded ω-language is called Büchi-, Muller-, Rabin-, Streett-recognizable if it consists of ω-words over the considered alphabet which are accepted by some Watson-Crick Büchi-, Muller-, Rabin-, Streett-automata, respectively. 3 The equivalence between acceptance conditions for Watson-Crick ω-automata We present here some cases when the four acceptance conditions for Watson-Crick ω- automata defined in Section 2 are equivalent, meaning that if a word is accepted by an automaton using one of these acceptance conditions, then it is accepted also by an equivalent automaton using one of the other conditions. The first result does not have a counterpart for usual ω-automata. Theorem 1 For a non-empty stateless Watson-Crick ω-automaton, the acceptance conditions Büchi, Muller, Rabin and Streett are equivalent. Proof:Let us consider A = (V,ρ, {s 0 },s 0,F,δ to be a non-empty stateless Watson-Crick ω-automaton. Büchi Muller: Assume first that the Büchi acceptance condition is used as the acceptance component of A. Consider an accepted word w and let r be an infinite run for this input. This means that In(r F. But F K = {s 0 } and In(r K, so In(r = F = {s 0 }. If we consider a Watson-Crick ω-automaton with Muller acceptance condition A M = (V,ρ, {s 0 },s 0, F,δ with F = {{s 0 }}, clearly L(A = L(A M. Assume now that A is a Watson-Crick Muller automaton. Since K = {s 0 }, we do not have so many choices for the family F of sets used with this condition of acceptance; F {, {s 0 }}. For accepted words we have infinite runs, r, such that In(r F, and In(r. So, a word is accepted by this automaton if and only if In(r = {s 0 }. If we consider the Watson-Crick ω- automaton with Büchi acceptance condition A B = (V,ρ, {s 0 },s 0,F B,δ, with F B = {s 0 }, clearly L(A = L(A B. 6

11 Consequently, Büchi and Muller acceptance conditions are equivalent. Büchi Rabin: If A is a Watson-Crick Büchi automaton with F = {s 0 }, then consider the Watson-Crick ω-automaton using Rabin acceptance condition A R = (V,ρ, {s 0 },s 0, (, {s 0 },δ. Clearly, L(A = L(A R. Assume that A is a Watson-Crick Rabin automaton, with the acceptance component consisting of the sequence of pairs (E 1,F 1,...,(E n,f n, E i,f i K. For any accepted word w and any infinite run r for w in A, there is 0 i n such that In(r E i = In(r F i. Thus, without loss of generality, we can assume that F 1 =... = F n = {s 0 } and E 1 =... = E n =, i.e., the whole sequence reduces to the pair (, {s 0 }. Consider now a Watson-Crick ω-automaton using Büchi acceptance condition defined as follows: A B = (V,ρ, {s 0 },s 0, {s 0 },δ. Clearly, L(A = L(A B. Thus, also Büchi and Rabin conditions are equivalent. Büchi Streett: If A is a Watson-Crick Büchi automaton with F = {s 0 }, then consider the Watson-Crick ω-automaton using Streett acceptance condition A S = (V,ρ, {s 0 },s 0, ({s 0 },,δ. Clearly, L(A = L(A S. Assume that A is a Watson-Crick Streett automaton, with the acceptance component consisting of the sequence of pairs (E 1,F 1,...,(E n,f n, E i,f i K = {s 0 }. This means that a word w is accepted if for the corresponding run r we have that for all 1 i n In(r E i In(r F i =. But, for an infinite run r on A we have that In(r = {s 0 }. So, we obtain that an ω-word w is accepted by A if for the corresponding run r we have for all 1 i n In(r = E i = {s 0 } or F i =. Consider now the Watson-Crick ω- automaton using Büchi acceptance condition A B = (V,ρ, {s 0 },s 0, {s 0 },δ. Clearly, L(A = L(A B. This means that Büchi and Streett conditions are equivalent. Thus, all the four acceptance conditions are equivalent for a stateless nonempty Watson-Crick ω-automaton. The next result demonstrates that this equivalence holds for all nondeterministic Watson-Crick ω-automata. This is similar to the results known for usual ω-automata, see [7] and [15]. Theorem 2 Nondeterministic Watson-Crick ω-automata using the acceptance conditions Büchi, Muller, Rabin and Streett recognize the same class of ω-languages. 7

12 Proof:Büchi Muller: Consider a Watson-Crick ω-automaton B= (V,ρ,K,s 0,F,δ using Büchi acceptance condition. This means that for an accepted word w and a run r for this input, we have In(r F. If we construct the family F of all sets containing at least one state from F, then we make sure that In(r appears as a proper set in this family. With this family of sets we obtain a Watson-Crick ω-automaton with Muller acceptance condition, equivalent with the initial automaton B. Rabin Muller: Let B be a Watson-Crick ω-automaton using Rabin acceptance condition. This means that for an accepted word w and a run r on this input, there exists i {1,...,n} such that In(r E i = In(r F i. For all such pairs (E i,f i with In(r E i = In(r F i we construct the family F of all sets which contain states from F i and do not contain states from E i. This way, we make sure that In(r is an element in this family. So, we obtain a Watson-Crick ω-automaton with Muller acceptance condition equivalent with the initial automaton B. Streett Muller: Let B be a Watson-Crick ω-automaton using Streett acceptance condition, which means that for an accepted word w and a run r on this input we have n i=1 (In(r E i In(r F i =. In this case, we construct a family F of all sets of states C such that if C contains states form F i then C contains states from E i, with 1 i n. With this family we obtain a Watson-Crick ω-automaton with Muller acceptance condition equivalent with the initial automaton B. Büchi Rabin: Let B = (V,ρ,K,s 0,F,δ be a Watson-Crick ω-automaton using Büchi acceptance condition. A word w is accepted by this automaton if for the corresponding run r we have In(r F. Consider now the following ω-automaton using Rabin acceptance condition B R = (V,ρ,K,s 0, (,F,δ. Clearly, L(B = L(B R. Büchi Streett: Let B = (V,ρ,K,s 0,F,δ be a Watson-Crick ω-automaton using Büchi acceptance condition, and define B S = (V,ρ,K,s 0, (F,K F, δ to be a Watson-Crick ω-automaton using Streett acceptance condition. Clearly L(B = L(B S. Muller Büchi: Let us consider now that B = (V,ρ,K,s 0, F,δ is a Watson-Crick ω-automaton which uses Muller acceptance condition, where F is a family of sets of final states and we will construct a Watson-Crick ω- automaton with Büchi acceptance condition equivalent with B. Let it be C = (V,ρ,K,s 0,F,δ. The automaton C has to guess in advance the set F F of states to be visited infinitely often, and also the point on its input from which onwards only states in F will be visited. From this point it suffices to check that the set of visited states is the set F. For every set F F we construct a branch in automaton C supposing this 8

13 F is the one with the property In(r = F. At the beginning, the transitions on this branch are the same with the ones in the initial automaton B. But, after some point, only states from F will be visited. To underline this fact, let us make a copy of each state in F. If we consider that F = {s 1,...,s n }, then let F be the set of all the copies created: F = {s 1,...,s n}. Consider now between these states some transitions similar to those existent between the states in F, i.e., if there is a transition from s i to s j, with 1 i,j n, then we put a similar transition from s i to s j. So, at some point with a λ-transition we enter a state in F and afterwards we visit only states from this set. This means that in the initial automaton we visit only states from the set F. To check the fact that all the states in F are visited infinitely often we need a further construction. Actually, we will check that all the states in F are visited infinitely often, this being equivalent with the fact that all the states in F are visited infinitely often. Let us suppose first that F has only two elements s 1 and s 2. This mean that F = {s 1,s 2}. Consider now a new state s 2 which will be used to construct an automaton with a final state, visited infinitely often, this being equivalent with the fact that in the initial automaton both s 1 and s 2 were visited infinitely often. The transitions from s 1 to s 2 are replaced by transitions from s 1 to s 2, and all the transitions from s 2 to any other states are duplicated in such a way that if there is a transition from s 2 to a state q then there is also a transition from s 2 to q. This new state is considered final; it can be reached from state s 1 and it has a behavior similar with state s 2. So, if in the initial automaton states s 1 and s 2 were visited infinitely often, then in this automaton state s 2 is visited infinitely often, and both automata accept the same language. If F has more than two elements we make an inductive construction: we consider the first two states of F and introduce a new one, then we consider this new state and the third state of F, etc. The last introduced state is declared final, and will be visited infinitely often if all the elements in F were visited infinitely often. The initial guess of set F F of states to be visited infinitely often is simulated by a λ-transition from the initial state s 0 to every one of these branches described previously. The final states set in automaton C contains the final states from all these branches. We prove now that automata B and C accept the same language. Let w be a word accepted by automaton B, and r the proper run for this input. So, there is a set F F such that In(r = F, meaning that after some point only states in this set F will be visited. Automaton C has to make a nondeterministic guess in the initial state and enters the correspondent branch for this set F. First it has a similar behavior with automaton B, 9

14 but then it has to guess a point from which onwards only states from F will be visited. At this point, with a λ-transition it enters a state from set F and moves on only with transitions between states from this set. The additional construction described before makes sure that the final state is visited infinitely often (because all the states in F are visited infinitely often. So, Büchi acceptance condition is verified, and thus w is accepted also by automaton C. Consider now a word w accepted by automaton C. This means that, from the initial state s 0 it moves to one of its branches and at some point it will enter a state from set F. From this point onwards it will visit only states from set F, which means that in automaton B only states from F will be visited. The word w is accepted by C, so the final state is visited infinitely often. Accordingly to the additional construction, this means that all the states from F are visited infinitely often or In(r = F. So, Muller acceptance condition is verified and thus w is accepted also by automaton B. Directly from Definition 6 we have the following result: Theorem 3 If B = (V,ρ,K,s 0,F,δ is a deterministic all-final Watson-Crick ω- automaton, and w is an ω-word such that there is an infinite run in B for this input, then w is accepted by B using any acceptance condition. Proof:Let r be an infinite run of B on w. If we use Büchi acceptance condition, then we have K = F, and because In(r K, we obtain that In(r F, i.e., w is accepted with Büchi acceptance condition. For the Muller acceptance condition, we have an acceptance component consisting of the family F = 2 K. Thus, clearly w is accepted with Muller acceptance condition. If B is an all-final Rabin automaton, then the acceptance component is the pair (,K. Because In(r K, it is obvious that w is accepted by this automaton. If B is an all-final Streett automaton, i.e., the acceptance component is the pair (K,, then w is also accepted by this automaton. 10

15 4 Relationships between the Watson-Crick families In this section we investigate the relationship between the families of languages accepted by various types of Watson-Crick ω-automata. All the results in this section are also valid for the classic Watson-Crick finite automata, and the proofs in that case can be found in Chapter 5 from [10]. Directly from Definition 6 we obtain the extension of a result in [10]: Lemma 4 The language recognized by a Watson-Crick ω-automaton which is either stateless, or all-final, or simple, or 1-limited, or stateless and simple, or stateless and 1-limited, or all-final and simple, or all-final and 1-limited using any of the acceptance conditions can be recognized by an arbitrary Watson-Crick ω-automaton using the same acceptance condition. Lemma 5 The language accepted by a nondeterministic arbitrary Watson-Crick ω- automaton using any of the acceptance conditions can be also accepted by a nondeterministic 1-limited Watson-Crick ω-automaton using the same acceptance condition. Proof:We have already proved that all the acceptance conditions are equivalent in the nondeterministic case, so we have to prove the assertion for one condition only. Let it be the Büchi acceptance condition. Consider an unrestricted Watson-Crick ω-automaton M = (V,ρ,K,s 0,F,δ and construct an 1-limited Watson-Crick ω-automaton M = (V,ρ,K,s 0,F,δ as follows. For each rule ( ( a1...a n a1...a n t : s s, b 1...b m b 1...b m in M, n,m 0, n + m 2 we introduce in M the transitions: ( a1 ( a1 s s t,1, λ λ ( ai+1 ( ai+1 s t,i s t,i+1, 1 i n 1, λ λ ( ( λ λ s t,n s b t,1, 1 11 b 1

16 s t,i ( λ b i+1 ( λ s t,m 1 b i+1 s t,i+1, 1 i m 2, ( ( λ λ b m b m s, where all states s t,i, s t,i are introduced in K, together with all states from K. If for a word w there is an infinite run in one automaton, then there is also an infinite run in the other automaton; instead of a single transition in M we have a linear sequence of transitions in M. Also all the states visited when running an input on M are also visited when running the same input on M. Automaton M is obviously a 1-limited Watson-Crick ω-automaton and we will prove that it accepts the same ω-language using Büchi acceptance condition. Let w be an ω-word accepted by the automaton M using Büchi acceptance condition, and r the corresponding run for this input. So, In(r F in M. In M, the corresponding run for w, say r, contains also some intermediary states. Thus, if a state s K is visited infinitely often in M, it will also be visited infinitely often in M. So, we have In(r In(r. But In(r F and thus, In(r F, which means that w is recognized by M using Büchi acceptance condition. If w is an ω-word accepted by M using Büchi acceptance condition, and r is a run for this input, then we have that In(r F. Because F K we have that at least one state from K, say s, is visited infinitely often in the run r. But, if r is the run associated for the input w in M, then it is obvious that we have {q K i, r(i = q} = {q K i, r (i = q}, because in a run in M we visit all the states visited in M for the same input and some other intermediary states from the set K K. So, the fact that s In(r F implies that s In(r F. This means that w is also accepted by M using Büchi acceptance condition. Using the same reasoning we can prove also the next result. Lemma 6 The language recognized by a nondeterministic simple Watson-Crick ω- automaton using any of the acceptance conditions can be also recognized by a nondeterministic 1-limited Watson-Crick ω-automaton using the same acceptance condition. Corollary 7 Nondeterministic 1-limited, simple and arbitrary Watson-Crick ω- automata recognize the same class of ω-languages. 12

17 5 The relative position of the two heads We now address a question dealt with for usual Watson-Crick automata in [6]. At the beginning of a computation, the two heads of a Watson-Crick ω- automaton are placed in front of the first symbols of each strand, and then they advance to the right. Related to the position of the two heads during a computation we can prove the following result. Theorem 8 Given a simple Watson-Crick ω-automaton A, it is undecidable whether or not there are computations in A where the two heads are ever placed in the same position, except for the start position. Proof:Consider an instance of Post Correspondence Problem (PCP over the alphabet {a,b}, x = (x 1,...,x n, y = (y 1,...,y n, n 1, x i,y i non-empty strings for all i, and construct the simple Watson-Crick ω-automaton: A = ({a,b,c}, {(a,a, (b,b, (c,c},k,s 0, {s },δ, with K = {s 0,s 1,...,s n,s a,s b,s c,s,s }, and the following rules: ( xi ( xi 1. s 0 s i for all 1 i n; λ λ ( ( λ λ 2. s i s 0 for all 1 i n; y i y i ( ( λ λ 3. s i y i c y i c ( c ( c 4. s s λ λ ; ( ( t t 5. s λ λ ( ( λ λ 6. s t t t s ; s t for all t {a,b,c}; s for all t {a,b,c}. We can reach the final state s only if there are two identical sequences x i1...x ik c and y i1...y ik c with 1 i j n for 1 j k, which means that x i1...x ik = y i1...y ik is a solution for PCP. After we read the first character c (by applying Rule 3, we enter state s and from here the only possible move is to read character c on the upper strad by apply Rule 4. At this moment the two read-only heads are in the same position because we have 13

18 the same characters on both upper and bottom strings (the complementarity relation ρ is the identity relation, and c cannot appear in the sequence x i1...x ik {a,b} +. After reaching state s we will read words of the form [ w w] with w {a,b,c} ω, by applying Rules 5 and 6. Every time s is visited, the two heads of the automaton A are in the same position. Since, PCP is not decidable, it follows that it is also not decidable if the two heads are in the same position at least once, except for the initial configuration. If there [ is a] solution for PCP, then automaton A will accept spcp cw words of the form where s pcp is a solution of the PCP for n-tuples s pcp cw x,y, and w {a,b,c} ω. If the two heads are in the same position at least once (this means that we reached the final state s, then they will be in the same position infinitely many times (every time the automaton enters state s. 6 Final remarks We have considered here Watson-Crick automata working on double-stranded infinite tapes, and we have defined for them the classic acceptance conditions. We have investigated whether or not results known for usual (single stranded ω-automata or for Watson-Crick automata working with finite tapes can be extended to Watson-Crick ω-automata. As it turned out, this is the case with the equivalence of the four main acceptance conditions (Büchi, Muller, Rabin and Streett for nondeterministic Watson-Crick ω-automata, as well as with some relations among the generated families of ω-languages. References [1] L. M. Adleman, Molecular computation of solutions to combinatorial problems, Science, 266, (1994, [2] J. R. Büchi, On a decision method in restricted second-order arithmetic, Proc. Int. Congr. on Logic, Methodology and Philosophy of Science, Stanford Univ. Press, (1962, [3] C. S. Calude, Gh. Păun, Computing with Cells and Atoms. An Introduction to Quantum, DNA, and Membrane Computing, Taylor & Francis, London, (

19 [4] R. Freund, Gh. Păun, G. Rozenberg, A. Salomaa, Watson-Crick finite automata, Proc 3rd DIMACS Workshop on DNA Based Computers, Philadelphia, (1997, [5] C. Martin-Vide, Gh. Păun, From the old to the new in theoretical computer science: the theory of formal languages and automata vs. molecular computation, Gac. R. Soc. Mat. Esp. 5, (2002, [6] C. Martin-Vide, Gh. Păun, Normal forms for Watson-Crick finite automata, submitted, (2000. [7] R. McNaughton, Testing and generating infinite sequences by a finite automaton, Inform. Control 9, (1966, [8] V. Mihalache, A. Salomaa, Lindenmayer and DNA: Watson-Crick DOL systems, Current Trends in Theoretical Computer Science, World Sci., (2001, [9] A Păun, M. Păun, State and transition complexity of Watson-Crick finite automata, Proc. Fundamentals of Computation Theory, FCT 99, LNCS 1684, Springer-Verlag, (1999, [10] Gh. Păun, G. Rozenberg, A. Salomaa, DNA Computing. New Computing Paradigms, Springer-Verlag, Berlin, (1998. [11] M. O. Rabin, Decidability of second-order theories and automata on infinite trees, Trans. Amer. Math. Soc. 141, (1969, [12] A. Salomaa, Uni-transitional Watson-Crick DOL systems, Theoret. Comput. Sci. 281, (2002, [13] L. Staiger, ω-languages. In: G. Rozenberg, A. Salomaa (eds., Handbook of Formal Languages, Vol. 3, Springer-Verlag, Berlin, (1997, [14] W. Thomas, Automata on infinite objects. In: J. van Leeuwen (eds., Handbook of Theoretical Computer Science, Vol. B, Elsevier, (1990, [15] W. Thomas, Languages, automata, and logic. In: G. Rozenberg, A. Salomaa (eds., Handbook of Formal Languages, Vol. 3, Springer- Verlag, Berlin, (1997, [16] S. Yu, Regular languages. In: G. Rozenberg, A. Salomaa (eds., Handbook of Formal Languages Vol. 1, Springer-Verlag, Berlin, (1997,

20

21

22 Turku Centre for Computer Science Lemminkäisenkatu 14 FIN Turku Finland University of Turku Department of Information Technology Department of Mathematics Åbo Akademi University Department of Computer Science Institute for Advanced Management Systems Research Turku School of Economics and Business Administration Institute of Information Systems Science

Timed Watson-Crick Online Tessellation Automaton

Timed Watson-Crick Online Tessellation Automaton Annals of Pure and Applied Mathematics Vol. 8, No. 2, 204, 75-82 ISSN: 2279-087X (P), 2279-0888(online) Published on 7 December 204 www.researchmathsci.org Annals of Timed Watson-Cric Online Tessellation

More information

Running head: Watson-Crick Quantum Finite Automata. Title: Watson-Crick Quantum Finite Automata. Authors: Kingshuk Chatterjee 1, Kumar Sankar Ray 2

Running head: Watson-Crick Quantum Finite Automata. Title: Watson-Crick Quantum Finite Automata. Authors: Kingshuk Chatterjee 1, Kumar Sankar Ray 2 Running head: Watson-Crick Quantum Finite Automata Title: Watson-Crick Quantum Finite Automata Authors: Kingshuk Chatterjee 1, Kumar Sankar Ray Affiliations: 1, Electronics and Communication Sciences Unit,

More information

Note Watson Crick D0L systems with regular triggers

Note Watson Crick D0L systems with regular triggers Theoretical Computer Science 259 (2001) 689 698 www.elsevier.com/locate/tcs Note Watson Crick D0L systems with regular triggers Juha Honkala a; ;1, Arto Salomaa b a Department of Mathematics, University

More information

Decision Problems Concerning. Prime Words and Languages of the

Decision Problems Concerning. Prime Words and Languages of the Decision Problems Concerning Prime Words and Languages of the PCP Marjo Lipponen Turku Centre for Computer Science TUCS Technical Report No 27 June 1996 ISBN 951-650-783-2 ISSN 1239-1891 Abstract This

More information

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics CS256/Spring 2008 Lecture #11 Zohar Manna Beyond Temporal Logics Temporal logic expresses properties of infinite sequences of states, but there are interesting properties that cannot be expressed, e.g.,

More information

5 3 Watson-Crick Automata with Several Runs

5 3 Watson-Crick Automata with Several Runs 5 3 Watson-Crick Automata with Several Runs Peter Leupold Department of Mathematics, Faculty of Science Kyoto Sangyo University, Japan Joint work with Benedek Nagy (Debrecen) Presentation at NCMA 2009

More information

Undecidable Problems and Reducibility

Undecidable Problems and Reducibility University of Georgia Fall 2014 Reducibility We show a problem decidable/undecidable by reducing it to another problem. One type of reduction: mapping reduction. Definition Let A, B be languages over Σ.

More information

Computation Histories

Computation Histories 208 Computation Histories The computation history for a Turing machine on an input is simply the sequence of configurations that the machine goes through as it processes the input. An accepting computation

More information

Language Recognition Power of Watson-Crick Automata

Language Recognition Power of Watson-Crick Automata 01 Third International Conference on Netorking and Computing Language Recognition Poer of Watson-Crick Automata - Multiheads and Sensing - Kunio Aizaa and Masayuki Aoyama Dept. of Mathematics and Computer

More information

The commutation with ternary sets of words

The commutation with ternary sets of words The commutation with ternary sets of words Juhani Karhumäki Michel Latteux Ion Petre Turku Centre for Computer Science TUCS Technical Reports No 589, March 2004 The commutation with ternary sets of words

More information

Monadic Second Order Logic and Automata on Infinite Words: Büchi s Theorem

Monadic Second Order Logic and Automata on Infinite Words: Büchi s Theorem Monadic Second Order Logic and Automata on Infinite Words: Büchi s Theorem R. Dustin Wehr December 18, 2007 Büchi s theorem establishes the equivalence of the satisfiability relation for monadic second-order

More information

Tree Automata and Rewriting

Tree Automata and Rewriting and Rewriting Ralf Treinen Université Paris Diderot UFR Informatique Laboratoire Preuves, Programmes et Systèmes treinen@pps.jussieu.fr July 23, 2010 What are? Definition Tree Automaton A tree automaton

More information

P Systems with Symport/Antiport of Rules

P Systems with Symport/Antiport of Rules P Systems with Symport/Antiport of Rules Matteo CAVALIERE Research Group on Mathematical Linguistics Rovira i Virgili University Pl. Imperial Tárraco 1, 43005 Tarragona, Spain E-mail: matteo.cavaliere@estudiants.urv.es

More information

Definition of Büchi Automata

Definition of Büchi Automata Büchi Automata Definition of Büchi Automata Let Σ = {a,b,...} be a finite alphabet. By Σ ω we denote the set of all infinite words over Σ. A non-deterministic Büchi automaton (NBA) over Σ is a tuple A

More information

Acceptance of!-languages by Communicating Deterministic Turing Machines

Acceptance of!-languages by Communicating Deterministic Turing Machines Acceptance of!-languages by Communicating Deterministic Turing Machines Rudolf Freund Institut für Computersprachen, Technische Universität Wien, Karlsplatz 13 A-1040 Wien, Austria Ludwig Staiger y Institut

More information

Electronics and Communication Sciences Unit, Indian Statistical Institute, Kolkata-108

Electronics and Communication Sciences Unit, Indian Statistical Institute, Kolkata-108 Running head: Reversible Watson-Crick Automata Title: Reversible Watson-Crick Automata Authors: Kingshuk Chatterjee 1, Kumar Sankar Ray(corresponding author) 2 Affiliations: 1,2 Electronics and Communication

More information

arxiv: v2 [cs.fl] 29 Nov 2013

arxiv: v2 [cs.fl] 29 Nov 2013 A Survey of Multi-Tape Automata Carlo A. Furia May 2012 arxiv:1205.0178v2 [cs.fl] 29 Nov 2013 Abstract This paper summarizes the fundamental expressiveness, closure, and decidability properties of various

More information

CHURCH SYNTHESIS PROBLEM and GAMES

CHURCH SYNTHESIS PROBLEM and GAMES p. 1/? CHURCH SYNTHESIS PROBLEM and GAMES Alexander Rabinovich Tel-Aviv University, Israel http://www.tau.ac.il/ rabinoa p. 2/? Plan of the Course 1. The Church problem - logic and automata. 2. Games -

More information

On P Systems with Active Membranes

On P Systems with Active Membranes On P Systems with Active Membranes Andrei Păun Department of Computer Science, University of Western Ontario London, Ontario, Canada N6A 5B7 E-mail: apaun@csd.uwo.ca Abstract. The paper deals with the

More information

ON MINIMAL CONTEXT-FREE INSERTION-DELETION SYSTEMS

ON MINIMAL CONTEXT-FREE INSERTION-DELETION SYSTEMS ON MINIMAL CONTEXT-FREE INSERTION-DELETION SYSTEMS Sergey Verlan LACL, University of Paris XII 61, av. Général de Gaulle, 94010, Créteil, France e-mail: verlan@univ-paris12.fr ABSTRACT We investigate the

More information

On Stateless Multicounter Machines

On Stateless Multicounter Machines On Stateless Multicounter Machines Ömer Eğecioğlu and Oscar H. Ibarra Department of Computer Science University of California, Santa Barbara, CA 93106, USA Email: {omer, ibarra}@cs.ucsb.edu Abstract. We

More information

Non-emptiness Testing for TMs

Non-emptiness Testing for TMs 180 5. Reducibility The proof of unsolvability of the halting problem is an example of a reduction: a way of converting problem A to problem B in such a way that a solution to problem B can be used to

More information

Logic and Automata I. Wolfgang Thomas. EATCS School, Telc, July 2014

Logic and Automata I. Wolfgang Thomas. EATCS School, Telc, July 2014 Logic and Automata I EATCS School, Telc, July 2014 The Plan We present automata theory as a tool to make logic effective. Four parts: 1. Some history 2. Automata on infinite words First step: MSO-logic

More information

Computability and Complexity

Computability and Complexity Computability and Complexity Lecture 5 Reductions Undecidable problems from language theory Linear bounded automata given by Jiri Srba Lecture 5 Computability and Complexity 1/14 Reduction Informal Definition

More information

P Finite Automata and Regular Languages over Countably Infinite Alphabets

P Finite Automata and Regular Languages over Countably Infinite Alphabets P Finite Automata and Regular Languages over Countably Infinite Alphabets Jürgen Dassow 1 and György Vaszil 2 1 Otto-von-Guericke-Universität Magdeburg Fakultät für Informatik PSF 4120, D-39016 Magdeburg,

More information

Address: Electronics and Communication Sciences Unit, Indian Statistical Institute, Kolkata-108.

Address: Electronics and Communication Sciences Unit, Indian Statistical Institute, Kolkata-108. Running head: Multi-head Watson-Crick automata Title: Multi-head Watson-Crick automata Authors: Kingshuk Chatterjee 1, Kumar Sankar Ray(corresponding author) Affiliations: 1 Electronics and Communication

More information

CS243, Logic and Computation Nondeterministic finite automata

CS243, Logic and Computation Nondeterministic finite automata CS243, Prof. Alvarez NONDETERMINISTIC FINITE AUTOMATA (NFA) Prof. Sergio A. Alvarez http://www.cs.bc.edu/ alvarez/ Maloney Hall, room 569 alvarez@cs.bc.edu Computer Science Department voice: (67) 552-4333

More information

Finite Automata and Regular languages

Finite Automata and Regular languages Finite Automata and Regular languages Huan Long Shanghai Jiao Tong University Acknowledgements Part of the slides comes from a similar course in Fudan University given by Prof. Yijia Chen. http://basics.sjtu.edu.cn/

More information

Introduction to Languages and Computation

Introduction to Languages and Computation Introduction to Languages and Computation George Voutsadakis 1 1 Mathematics and Computer Science Lake Superior State University LSSU Math 400 George Voutsadakis (LSSU) Languages and Computation July 2014

More information

Substitutions, Trajectories and Noisy Channels

Substitutions, Trajectories and Noisy Channels Substitutions, Trajectories and Noisy Channels Lila Kari 1, Stavros Konstantinidis 2, and Petr Sosík 1,3, 1 Department of Computer Science, The University of Western Ontario, London, ON, Canada, N6A 5B7

More information

Büchi Automata and Their Determinization

Büchi Automata and Their Determinization Büchi Automata and Their Determinization Edinburgh, October 215 Plan of the Day 1. Büchi automata and their determinization 2. Infinite games 3. Rabin s Tree Theorem 4. Decidability of monadic theories

More information

Recap DFA,NFA, DTM. Slides by Prof. Debasis Mitra, FIT.

Recap DFA,NFA, DTM. Slides by Prof. Debasis Mitra, FIT. Recap DFA,NFA, DTM Slides by Prof. Debasis Mitra, FIT. 1 Formal Language Finite set of alphabets Σ: e.g., {0, 1}, {a, b, c}, { {, } } Language L is a subset of strings on Σ, e.g., {00, 110, 01} a finite

More information

DEGREES OF (NON)MONOTONICITY OF RRW-AUTOMATA

DEGREES OF (NON)MONOTONICITY OF RRW-AUTOMATA DEGREES OF (NON)MONOTONICITY OF RRW-AUTOMATA Martin Plátek Department of Computer Science, Charles University Malostranské nám. 25, 118 00 PRAHA 1, Czech Republic e-mail: platek@ksi.ms.mff.cuni.cz and

More information

The Accepting Power of Finite. Faculty of Mathematics, University of Bucharest. Str. Academiei 14, 70109, Bucharest, ROMANIA

The Accepting Power of Finite. Faculty of Mathematics, University of Bucharest. Str. Academiei 14, 70109, Bucharest, ROMANIA The Accepting Power of Finite Automata Over Groups Victor Mitrana Faculty of Mathematics, University of Bucharest Str. Academiei 14, 70109, Bucharest, ROMANIA Ralf STIEBE Faculty of Computer Science, University

More information

Theory of Computation

Theory of Computation Thomas Zeugmann Hokkaido University Laboratory for Algorithmics http://www-alg.ist.hokudai.ac.jp/ thomas/toc/ Lecture 3: Finite State Automata Motivation In the previous lecture we learned how to formalize

More information

P systems based on tag operations

P systems based on tag operations Computer Science Journal of Moldova, vol.20, no.3(60), 2012 P systems based on tag operations Yurii Rogozhin Sergey Verlan Abstract In this article we introduce P systems using Post s tag operation on

More information

2. Elements of the Theory of Computation, Lewis and Papadimitrou,

2. Elements of the Theory of Computation, Lewis and Papadimitrou, Introduction Finite Automata DFA, regular languages Nondeterminism, NFA, subset construction Regular Epressions Synta, Semantics Relationship to regular languages Properties of regular languages Pumping

More information

Note On Parikh slender context-free languages

Note On Parikh slender context-free languages Theoretical Computer Science 255 (2001) 667 677 www.elsevier.com/locate/tcs Note On Parikh slender context-free languages a; b; ; 1 Juha Honkala a Department of Mathematics, University of Turku, FIN-20014

More information

ω-automata Automata that accept (or reject) words of infinite length. Languages of infinite words appear:

ω-automata Automata that accept (or reject) words of infinite length. Languages of infinite words appear: ω-automata ω-automata Automata that accept (or reject) words of infinite length. Languages of infinite words appear: in verification, as encodings of non-terminating executions of a program. in arithmetic,

More information

Theory of Computation (I) Yijia Chen Fudan University

Theory of Computation (I) Yijia Chen Fudan University Theory of Computation (I) Yijia Chen Fudan University Instructor Yijia Chen Homepage: http://basics.sjtu.edu.cn/~chen Email: yijiachen@fudan.edu.cn Textbook Introduction to the Theory of Computation Michael

More information

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar Büchi Automata and their closure properties - Ajith S and Ankit Kumar Motivation Conventional programs accept input, compute, output result, then terminate Reactive program : not expected to terminate

More information

Finite Automata. Mahesh Viswanathan

Finite Automata. Mahesh Viswanathan Finite Automata Mahesh Viswanathan In this lecture, we will consider different models of finite state machines and study their relative power. These notes assume that the reader is familiar with DFAs,

More information

Foundations of

Foundations of 91.304 Foundations of (Theoretical) Computer Science Chapter 3 Lecture Notes (Section 3.2: Variants of Turing Machines) David Martin dm@cs.uml.edu With some modifications by Prof. Karen Daniels, Fall 2012

More information

Theory of Computation

Theory of Computation Theory of Computation Lecture #10 Sarmad Abbasi Virtual University Sarmad Abbasi (Virtual University) Theory of Computation 1 / 43 Lecture 10: Overview Linear Bounded Automata Acceptance Problem for LBAs

More information

Reducability. Sipser, pages

Reducability. Sipser, pages Reducability Sipser, pages 187-214 Reduction Reduction encodes (transforms) one problem as a second problem. A solution to the second, can be transformed into a solution to the first. We expect both transformations

More information

Power and size of extended Watson Crick L systems

Power and size of extended Watson Crick L systems Theoretical Computer Science 290 (2003) 1665 1678 www.elsevier.com/locate/tcs Power size of extended Watson Crick L systems Judit Csima a, Erzsebet Csuhaj-Varju b; ;1, Arto Salomaa c a Department of Computer

More information

Hybrid Transition Modes in (Tissue) P Systems

Hybrid Transition Modes in (Tissue) P Systems Hybrid Transition Modes in (Tissue) P Systems Rudolf Freund and Marian Kogler Faculty of Informatics, Vienna University of Technology Favoritenstr. 9, 1040 Vienna, Austria {rudi,marian}@emcc.at Summary.

More information

Advanced Automata Theory 7 Automatic Functions

Advanced Automata Theory 7 Automatic Functions Advanced Automata Theory 7 Automatic Functions Frank Stephan Department of Computer Science Department of Mathematics National University of Singapore fstephan@comp.nus.edu.sg Advanced Automata Theory

More information

Automata, Logic and Games: Theory and Application

Automata, Logic and Games: Theory and Application Automata, Logic and Games: Theory and Application 1. Büchi Automata and S1S Luke Ong University of Oxford TACL Summer School University of Salerno, 14-19 June 2015 Luke Ong Büchi Automata & S1S 14-19 June

More information

CS 455/555: Finite automata

CS 455/555: Finite automata CS 455/555: Finite automata Stefan D. Bruda Winter 2019 AUTOMATA (FINITE OR NOT) Generally any automaton Has a finite-state control Scans the input one symbol at a time Takes an action based on the currently

More information

Introduction. Büchi Automata and Model Checking. Outline. Büchi Automata. The simplest computation model for infinite behaviors is the

Introduction. Büchi Automata and Model Checking. Outline. Büchi Automata. The simplest computation model for infinite behaviors is the Introduction Büchi Automata and Model Checking Yih-Kuen Tsay Department of Information Management National Taiwan University FLOLAC 2009 The simplest computation model for finite behaviors is the finite

More information

CS5371 Theory of Computation. Lecture 14: Computability V (Prove by Reduction)

CS5371 Theory of Computation. Lecture 14: Computability V (Prove by Reduction) CS5371 Theory of Computation Lecture 14: Computability V (Prove by Reduction) Objectives This lecture shows more undecidable languages Our proof is not based on diagonalization Instead, we reduce the problem

More information

On Recognizable Languages of Infinite Pictures

On Recognizable Languages of Infinite Pictures On Recognizable Languages of Infinite Pictures Equipe de Logique Mathématique CNRS and Université Paris 7 JAF 28, Fontainebleau, Juin 2009 Pictures Pictures are two-dimensional words. Let Σ be a finite

More information

Equivalence of TMs and Multitape TMs. Theorem 3.13 and Corollary 3.15 By: Joseph Lauman

Equivalence of TMs and Multitape TMs. Theorem 3.13 and Corollary 3.15 By: Joseph Lauman Equivalence of TMs and Multitape TMs Theorem 3.13 and Corollary 3.15 By: Joseph Lauman Turing Machines First proposed by Alan Turing in 1936 Similar to finite automaton, but with an unlimited and unrestricted

More information

Introduction to Formal Languages, Automata and Computability p.1/51

Introduction to Formal Languages, Automata and Computability p.1/51 Introduction to Formal Languages, Automata and Computability Finite State Automata K. Krithivasan and R. Rama Introduction to Formal Languages, Automata and Computability p.1/51 Introduction As another

More information

Accepting H-Array Splicing Systems and Their Properties

Accepting H-Array Splicing Systems and Their Properties ROMANIAN JOURNAL OF INFORMATION SCIENCE AND TECHNOLOGY Volume 21 Number 3 2018 298 309 Accepting H-Array Splicing Systems and Their Properties D. K. SHEENA CHRISTY 1 V.MASILAMANI 2 D. G. THOMAS 3 Atulya

More information

Efficient minimization of deterministic weak ω-automata

Efficient minimization of deterministic weak ω-automata Information Processing Letters 79 (2001) 105 109 Efficient minimization of deterministic weak ω-automata Christof Löding Lehrstuhl Informatik VII, RWTH Aachen, 52056 Aachen, Germany Received 26 April 2000;

More information

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012 Decision Problems with TM s Look at following sets: Lecture 31: Halting Problem CSCI 81 Spring, 2012 Kim Bruce A TM = { M,w M is a TM and w L(M)} H TM = { M,w M is a TM which halts on input w} TOTAL TM

More information

Pushdown Automata. Chapter 12

Pushdown Automata. Chapter 12 Pushdown Automata Chapter 12 Recognizing Context-Free Languages We need a device similar to an FSM except that it needs more power. The insight: Precisely what it needs is a stack, which gives it an unlimited

More information

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY 15-453 FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY REVIEW for MIDTERM 1 THURSDAY Feb 6 Midterm 1 will cover everything we have seen so far The PROBLEMS will be from Sipser, Chapters 1, 2, 3 It will be

More information

CSCE 551: Chin-Tser Huang. University of South Carolina

CSCE 551: Chin-Tser Huang. University of South Carolina CSCE 551: Theory of Computation Chin-Tser Huang huangct@cse.sc.edu University of South Carolina Computation History A computation history of a TM M is a sequence of its configurations C 1, C 2,, C l such

More information

Partially Ordered Two-way Büchi Automata

Partially Ordered Two-way Büchi Automata Partially Ordered Two-way Büchi Automata Manfred Kufleitner Alexander Lauser FMI, Universität Stuttgart, Germany {kufleitner, lauser}@fmi.uni-stuttgart.de June 14, 2010 Abstract We introduce partially

More information

The theory of regular cost functions.

The theory of regular cost functions. The theory of regular cost functions. Denis Kuperberg PhD under supervision of Thomas Colcombet Hebrew University of Jerusalem ERC Workshop on Quantitative Formal Methods Jerusalem, 10-05-2013 1 / 30 Introduction

More information

Variants of Turing Machine (intro)

Variants of Turing Machine (intro) CHAPTER 3 The Church-Turing Thesis Contents Turing Machines definitions, examples, Turing-recognizable and Turing-decidable languages Variants of Turing Machine Multi-tape Turing machines, non-deterministic

More information

Chapter 2: Finite Automata

Chapter 2: Finite Automata Chapter 2: Finite Automata 2.1 States, State Diagrams, and Transitions Finite automaton is the simplest acceptor or recognizer for language specification. It is also the simplest model of a computer. A

More information

Chapter 3. Regular grammars

Chapter 3. Regular grammars Chapter 3 Regular grammars 59 3.1 Introduction Other view of the concept of language: not the formalization of the notion of effective procedure, but set of words satisfying a given set of rules Origin

More information

5 3 Sensing Watson-Crick Finite Automata

5 3 Sensing Watson-Crick Finite Automata Benedek Nagy Department of Computer Science, Faculty of Informatics, University of Debrecen, Hungary 1 Introduction DNA computers provide new paradigms of computing (Păun et al., 1998). They appeared at

More information

Theory of Computation (IX) Yijia Chen Fudan University

Theory of Computation (IX) Yijia Chen Fudan University Theory of Computation (IX) Yijia Chen Fudan University Review The Definition of Algorithm Polynomials and their roots A polynomial is a sum of terms, where each term is a product of certain variables and

More information

Some hierarchies for the communication complexity measures of cooperating grammar systems

Some hierarchies for the communication complexity measures of cooperating grammar systems Some hierarchies for the communication complexity measures of cooperating grammar systems Juraj Hromkovic 1, Jarkko Kari 2, Lila Kari 2 June 14, 2010 Abstract We investigate here the descriptional and

More information

Automata on linear orderings

Automata on linear orderings Automata on linear orderings Véronique Bruyère Institut d Informatique Université de Mons-Hainaut Olivier Carton LIAFA Université Paris 7 September 25, 2006 Abstract We consider words indexed by linear

More information

Hierarchy Results on Stateless Multicounter 5 3 Watson-Crick Automata

Hierarchy Results on Stateless Multicounter 5 3 Watson-Crick Automata Hierarchy Results on Stateless Multicounter 5 3 Watson-Crick Automata Benedek Nagy 1 1,László Hegedüs,andÖmer Eğecioğlu2 1 Department of Computer Science, Faculty of Informatics, University of Debrecen,

More information

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska LECTURE 6 CHAPTER 2 FINITE AUTOMATA 2. Nondeterministic Finite Automata NFA 3. Finite Automata and Regular Expressions 4. Languages

More information

HIERARCHIES OF WEAKLY MONOTONE RESTARTING AUTOMATA

HIERARCHIES OF WEAKLY MONOTONE RESTARTING AUTOMATA HIERARCHIES OF WEAKLY MONOTONE RESTARTING AUTOMATA František Mráz 1 Department of Computer Science, Charles University Malostranské nám 25, 118 00 Praha 1, Czech Republic e-mail: mraz@ksvimsmffcunicz and

More information

Characterizations of Catalytic Membrane Computing Systems

Characterizations of Catalytic Membrane Computing Systems Characterizations of Catalytic Membrane Computing Systems (Extended Abstract) Oscar H. Ibarra, Zhe Dang, Omer Egecioglu, and Gaurav Saxena Department of Computer Science University of California Santa

More information

Turing Machines. 22c:135 Theory of Computation. Tape of a Turing Machine (TM) TM versus FA, PDA

Turing Machines. 22c:135 Theory of Computation. Tape of a Turing Machine (TM) TM versus FA, PDA Turing Machines A Turing machine is similar to a finite automaton with supply of unlimited memory. A Turing machine can do everything that any computing device can do. There exist problems that even a

More information

Automata with modulo counters and nondeterministic counter bounds

Automata with modulo counters and nondeterministic counter bounds Loughborough University Institutional Repository Automata with modulo counters and nondeterministic counter bounds This item was submitted to Loughborough University's Institutional Repository by the/an

More information

Computability Theory. CS215, Lecture 6,

Computability Theory. CS215, Lecture 6, Computability Theory CS215, Lecture 6, 2000 1 The Birth of Turing Machines At the end of the 19th century, Gottlob Frege conjectured that mathematics could be built from fundamental logic In 1900 David

More information

Automata Theory and Model Checking

Automata Theory and Model Checking Automata Theory and Model Checking Orna Kupferman Abstract We study automata on infinite words and their applications in system specification and verification. We first introduce Büchi automata and survey

More information

Incompleteness Theorems, Large Cardinals, and Automata ov

Incompleteness Theorems, Large Cardinals, and Automata ov Incompleteness Theorems, Large Cardinals, and Automata over Finite Words Equipe de Logique Mathématique Institut de Mathématiques de Jussieu - Paris Rive Gauche CNRS and Université Paris 7 TAMC 2017, Berne

More information

ON STATELESS AUTOMATA AND P SYSTEMS

ON STATELESS AUTOMATA AND P SYSTEMS ON STATELESS AUTOMATA AND P SYSTEMS Linmin Yang School of Electrical Engineering and Computer Science Washington State University, Pullman, Washington 99164, USA lyang1@eecs.wsu.edu Zhe Dang School of

More information

Theory Bridge Exam Example Questions

Theory Bridge Exam Example Questions Theory Bridge Exam Example Questions Annotated version with some (sometimes rather sketchy) answers and notes. This is a collection of sample theory bridge exam questions. This is just to get some idea

More information

Theory of computation: initial remarks (Chapter 11)

Theory of computation: initial remarks (Chapter 11) Theory of computation: initial remarks (Chapter 11) For many purposes, computation is elegantly modeled with simple mathematical objects: Turing machines, finite automata, pushdown automata, and such.

More information

Quasi-Weak Cost Automata

Quasi-Weak Cost Automata Quasi-Weak Cost Automata A New Variant of Weakness Denis Kuperberg 1 Michael Vanden Boom 2 1 LIAFA/CNRS/Université Paris 7, Denis Diderot, France 2 Department of Computer Science, University of Oxford,

More information

Closure under the Regular Operations

Closure under the Regular Operations Closure under the Regular Operations Application of NFA Now we use the NFA to show that collection of regular languages is closed under regular operations union, concatenation, and star Earlier we have

More information

Introduction to Turing Machines. Reading: Chapters 8 & 9

Introduction to Turing Machines. Reading: Chapters 8 & 9 Introduction to Turing Machines Reading: Chapters 8 & 9 1 Turing Machines (TM) Generalize the class of CFLs: Recursively Enumerable Languages Recursive Languages Context-Free Languages Regular Languages

More information

CS 154, Lecture 2: Finite Automata, Closure Properties Nondeterminism,

CS 154, Lecture 2: Finite Automata, Closure Properties Nondeterminism, CS 54, Lecture 2: Finite Automata, Closure Properties Nondeterminism, Why so Many Models? Streaming Algorithms 0 42 Deterministic Finite Automata Anatomy of Deterministic Finite Automata transition: for

More information

Uncountable Automatic Classes and Learning

Uncountable Automatic Classes and Learning Uncountable Automatic Classes and Learning Sanjay Jain a,1, Qinglong Luo a, Pavel Semukhin b,2, Frank Stephan c,3 a Department of Computer Science, National University of Singapore, Singapore 117417, Republic

More information

State Complexity of Two Combined Operations: Catenation-Union and Catenation-Intersection

State Complexity of Two Combined Operations: Catenation-Union and Catenation-Intersection International Journal of Foundations of Computer Science c World Scientific Publishing Company State Complexity of Two Combined Operations: Catenation-Union and Catenation-Intersection Bo Cui, Yuan Gao,

More information

Results on Transforming NFA into DFCA

Results on Transforming NFA into DFCA Fundamenta Informaticae XX (2005) 1 11 1 IOS Press Results on Transforming NFA into DFCA Cezar CÂMPEANU Department of Computer Science and Information Technology, University of Prince Edward Island, Charlottetown,

More information

Descriptional Complexity of Formal Systems (Draft) Deadline for submissions: April 20, 2009 Final versions: June 18, 2009

Descriptional Complexity of Formal Systems (Draft) Deadline for submissions: April 20, 2009 Final versions: June 18, 2009 DCFS 2009 Descriptional Complexity of Formal Systems (Draft) Deadline for submissions: April 20, 2009 Final versions: June 18, 2009 On the Number of Membranes in Unary P Systems Rudolf Freund (A,B) Andreas

More information

Weak Alternating Automata Are Not That Weak

Weak Alternating Automata Are Not That Weak Weak Alternating Automata Are Not That Weak Orna Kupferman Hebrew University Moshe Y. Vardi Rice University Abstract Automata on infinite words are used for specification and verification of nonterminating

More information

FORMAL LANGUAGES, AUTOMATA AND COMPUTATION

FORMAL LANGUAGES, AUTOMATA AND COMPUTATION FORMAL LANGUAGES, AUTOMATA AND COMPUTATION DECIDABILITY ( LECTURE 15) SLIDES FOR 15-453 SPRING 2011 1 / 34 TURING MACHINES-SYNOPSIS The most general model of computation Computations of a TM are described

More information

A Note on the Reduction of Two-Way Automata to One-Way Automata

A Note on the Reduction of Two-Way Automata to One-Way Automata A Note on the Reduction of Two-Way Automata to One-Way Automata Moshe Y. Vardi IBM Almaden Research Center Abstract We describe a new elementary reduction of two-way automata to one-way automata. The reduction

More information

MA/CSSE 474 Theory of Computation

MA/CSSE 474 Theory of Computation MA/CSSE 474 Theory of Computation CFL Hierarchy CFL Decision Problems Your Questions? Previous class days' material Reading Assignments HW 12 or 13 problems Anything else I have included some slides online

More information

Theory of Computation

Theory of Computation Thomas Zeugmann Hokkaido University Laboratory for Algorithmics http://www-alg.ist.hokudai.ac.jp/ thomas/toc/ Lecture 14: Applications of PCP Goal of this Lecture Our goal is to present some typical undecidability

More information

Theory of computation: initial remarks (Chapter 11)

Theory of computation: initial remarks (Chapter 11) Theory of computation: initial remarks (Chapter 11) For many purposes, computation is elegantly modeled with simple mathematical objects: Turing machines, finite automata, pushdown automata, and such.

More information

The Computational Power of Extended Watson-Crick L Systems

The Computational Power of Extended Watson-Crick L Systems The Computational Power of Extended Watson-Crick L Systems by David Sears A thesis submitted to the School of Computing in conformity with the requirements for the degree of Master of Science Queen s University

More information

Lecture 12: Mapping Reductions

Lecture 12: Mapping Reductions Lecture 12: Mapping Reductions October 18, 2016 CS 1010 Theory of Computation Topics Covered 1. The Language EQ T M 2. Mapping Reducibility 3. The Post Correspondence Problem 1 The Language EQ T M The

More information

DM17. Beregnelighed. Jacob Aae Mikkelsen

DM17. Beregnelighed. Jacob Aae Mikkelsen DM17 Beregnelighed Jacob Aae Mikkelsen January 12, 2007 CONTENTS Contents 1 Introduction 2 1.1 Operations with languages...................... 2 2 Finite Automata 3 2.1 Regular expressions/languages....................

More information

An example of a decidable language that is not a CFL Implementation-level description of a TM State diagram of TM

An example of a decidable language that is not a CFL Implementation-level description of a TM State diagram of TM Turing Machines Review An example of a decidable language that is not a CFL Implementation-level description of a TM State diagram of TM Varieties of TMs Multi-Tape TMs Nondeterministic TMs String Enumerators

More information