Equivalence of Subclasses of Two-Way Non-Deterministic Watson Crick Automata

Size: px
Start display at page:

Download "Equivalence of Subclasses of Two-Way Non-Deterministic Watson Crick Automata"

Transcription

1 Applied Mathematics, 13, 4, Published Online October 13 ( Equivalence o Subclasses o To-Way Non-Deterministic Watson Crick Automata Kumar Sankar Ray, Kingshuk Chatterjee, Debayan Ganguly Electronics and Communication Science Unit, ISI, Kolkata, India ksray@isicalacin, kingshukchaterjee@gmailcom, debayan3737@gmailcom Received June 5, 13; revised July 5, 13; accepted July 1, 13 Copyright 13 Kumar Sankar Ray et al This is an open access article distributed under the Creative Commons Attribution License, hich permits unrestricted use, distribution, and reproduction in any medium, provided the original ork is properly cited ABSTRACT Watson Crick automata are inite automata orking on double strands Extensive research ork has already been done on non deterministic Watson Crick automata and on deterministic Watson Crick automata Parallel Communicating Watson Crick automata systems have been introduced by E Czeziler et al In this paper e discuss about a variant o Watson Crick automata knon as the to-ay Watson Crick automata hich are more poerul than non-deterministic Watson Crick automata We also establish the equivalence o dierent subclasses o to-ay Watson crick automata We urther sho that recursively enumerable (RE) languages can be realized by an image o generalized sequential machine (gsm) mapping o to-ay Watson-Crick automata Keyords: Non-Deterministic Watson Crick Automata; To-Way Non-Deterministic Watson Crick Automata; RE Languages 1 Introduction The tremendous progress in biotechnology has resulted in decoding o DNA sequences, synthesizing and manipulating DNA, hich lead to its usage in computation by computer scientists As a result sticker systems, splicing systems and carving systems came into existence [1] Many o the NP-complete problems ere solved eiciently using DNA computing The irst, the Adleman experiment as done in 1994 [] As the interest in using DNA in computation increased so did the need or automata hich exploit the properties o DNA The irst such automata hich exploited the DNA property ere the Watson-Crick automata [3] hich are the automata counterpart o the Sticker Systems Essentially Watson-Crick automata are inite automata having to independent heads orking on double strands here the characters on the corresponding positions o the to strands are connected by a complementarity relation similar to the Watson-Crick complementarity relation The movement o the heads although independent o each other is controlled by a single state Details o several variants o non-deterministic Watson-Crick automata have been explored in [4] Deterministic Watson-Crick automata and their variants have been explicitly handled in [5,6] Parallel Communicating Watson-Crick automata ere introduced in [7] and urther investigated in [8] A survey o Watson- Crick automata can be ound in [9] The eect o the complementarity relation on the computing poer o Watson Crick automata is discussed in [1] To-ay inite automaton (FA) is an abstract machine, a generalized version o the inite automaton hich can revisit characters already processed As in FA, in toay FA there are inite number o states ith transitions beteen them based on the current character; but each transition is also labeled ith a value indicating hether the machine ill move its reading head to the let, right, or stay at the same position Equivalently, FAs can be seen as read-only Turing machines ith no ork tape; only a read-only input tape The accepting condition is that hen the reading head alls o the right end o the tape and the state in hich the machine is at that time is inal state then the input ord is accepted A toay Watson Crick automaton (AWK) is similar in concept to a to-ay inite automaton The only dierence beteen them is that in to-ay Watson Crick automata the input tape is double stranded The idea o to-ay Watson Crick automata ere introduced in [4] but no comparison o its poer ith respect to AWK as discussed The importance o AWK is that unlike to-ay FA hich is equal in poer to a FA, AWK are more poerul than AWK hich e establish in this paper

2 K S RAY ET AL 7 In this paper, e give a general description o non-deterministic Watson Crick automata and its dierent subclasses in Sections and 3 In Section 4 e describe the tin shule language and state the relation o tin shule language ith RE languages In the olloing section e state the rules governing to-ay non-deterministic Watson Crick automata In Section 6 e give the deinition o the dierent classes (variants) o AWK and investigate the relationship beteen classes o AWK automata We sho that AWK = SWK = 1WK = FWK = FSWK = F1WK similar to the case o Watson Crick automata We urther sho the amily o languages accepted by AWK is context sensitive In Section 7 e sho that to-ay non-deterministic Watson Crick automata are more poerul than non-deterministic Watson Crick automata In Section 9 e urther sho that recursively enumerable (RE) languages can be realized by an image o generalized sequential machine (gsm) mapping o to-ay Watson-Crick automata Basic Terminology or Watson-Crick Automata V is a inite alphabet V denotes the set o all inite ords over V, including the empty ord V V For V, denotes the length o Let uv and vv be to ords and i there is some ord x V, such that v ux, then u is the preix o v, denoted by u v To ords, u and v are preix comparable denoted by u~ p v i u is a preix o v or vice versa Given to alphabets V and U a mapping h: V U, extended to s: V U by h and h x1, x h x1 h x or x1, x V, is called a morphism I ha, or each av, then h is a λ ree morphism A morphism h: V U is called a coding i hau or each av and a eak coding i ha U or each a V I h: V1 V V1 is the morphism deined by ha a or a V1, and ha otherise, then e say that h is a projection (associated ith V1 ) and e denote it by pr V1 For x, y V e deine their shule by xшy x y x y x x x, 1 1 n n 1 n y y y, x, y V 1 i n, n 1 1 n i i, A generalized sequential machine (gsm) is a sequential transducer Such a device is a system g Q, V1, V, q here Q is the set o states, V1, V are the alphabets(input and output alphabets) o the automaton, q Q is the initial state, F Q is the set o inal states and : QV1 P V Q is the transition mapping The deinitions o morphism, gsm and shule are stat- ed in [1] A Watson-Crick automaton is a 6-tuple o the orm M V,, Q, q here V is an alphabet set, Q is a set o states, V V is the complementarity relation similar to Watson Crick complementarity relation and q is the initial state and F Q is the set o inal states The unction contains a inite number o tran- 1 sition rules o the orm q q, hich denotes that the machine in state q parses 1 in upper strand and in loer strand and goes to state q here , V is dierent rom is just a pair o strings ritten in that orm instead o 1 1, hereas in the to strands are o same length ie 1 and the corresponding symbols in to strands are complementarity in the sense o relation ρ V a ab, V, a, b V b and WK V V V A transition in a Watson-Crick inite automaton can be deined as ollos: x1u11 V For, such that xu V xu WK V xu and q, qq, x1 u1 1 x1 u1 1 q q i there is x u xu 1 transition rule q u q in u denotes the transitive and relexive closure o The language accepted by Watson-Crick Automata is 1 L M 1V q q, 1 ith q F, V, WK V For a Watson-Crick Automaton M, ith input 1 WK V here 1 is any string in V and 1 1 q q here q is the initial state and q is

3 8 K S RAY ET AL a inal state Then q q is a computation 1 1 in M denoted by Another important language associated ith Watson- Crick automaton is deined taking into consideration the transitions and not the language recognised For a Watson-Crick Automaton M V,, Q, q consider a labeling e: Lab, o rules in ith elements in a set Lab For computation : q q, WK V, q F, denoted by e the control ord o, that is the sequence o labels o transition rules used in In this ay the language is obtained L M e : q q, WK V, q F ctr The deinition o L M is stated in [4] ctr 3 Subclasses o Non-Deterministic Watson-Crick Automata (AWK) Depending on the type o states and transition rules there are our types or subclasses o Watson-Crick Automata Watson-Crick Automaton M V,,Q, q is 1) stateless (NWK): I it has only one state, ie Q F q ; ) all-inal (FWK): I all the states are inal, ie Q F; 3) simple (SWK): I at each step the automaton reads either rom the upper strand or rom the loer strand, ie or any transition rule 1 q q, either 1 or ; 4) 1-limlited (1WK): I or any transition rule q 1 q q, e have 1 1 Theorem 1: Simple and 1 limited Watson-Crick automata accept the same amily o languages as the amily o languages accepted by Watson-Crick automata ith arbitrary transition rules The proo o Theorem 1 is in [4] Theorem : Non-deterministic Watson-Crick automata are equivalent ith non-deterministic simple Watson-Crick automata Corollary 1: Non-deterministic Watson-Crick automata are equivalent ith non-deterministic 1-limited Watson-Crick automata The proo o Theorem and Corollary 1 are given in [4] 4 Tin-Shule Language Consider an alphabet V and its barred variant, V a a V The language TSV xv xшx is called the tin-shule language over V (For a string x V, x denotes the string obtained by replacing each symbol in x ith its barred variant) For the morphism h: V V V deined by ha, or a V and h a, or a V Clearly the equality is TSV EQh, prv Theorem 3: Each recursively enumerable language L T can be ritten in the orm L pr T TSV R, here V is an alphabet and R is a regular language In this representation, the language TS V depends on the language L This can be avoided in the olloing ay: Let a coding be : V,1, or instance, 1 i th ai, here ai is the i symbol o V in a speciied ordering The language R is regular A generalized sequential machine gsm can simulate the intersection ith a regular language, the projection prt as ell as the decoding o elements in TS V Thus e obtain: Corollary : For each recursively enumerable language L there is a gsm g L such that L g TS L, 1 Thereore, by using a sequential transducer hich can be a deterministic one, e can obtain all recursively enumerable language, starting rom the unique language TS Proos o Theorem 3 and Corollary are in [1],1 5 To-Way Non-Deterministic Watson Crick Automata (AWK) To-ay non-deterministic Watson Crick automata system is a 6 tuple, M V #,$,, Q, q here V is a set o alphabet, #,$ V are the beginning and the end marker respectively; that is the ord to be recognized is provided as an input to the automaton in the orm # $ Q is a set o states, 1 V V and #,#, $,$ and 1 is the complementarity relation and q is the initial state and F Q is the set o inal states is the inite number o transition rules; 1, 1) either o the orm q q, hich denotes, dir that the machine in state q parses 1 in upper strand in dir 1 direction and in loer strand in dir direction and goes to state q here 1, V,, d ir L, R, here L signiies that the head is reading the ord in the let direction signiies that the head is reading the ord in right direction and i a head reads the empty ord it remains in its

4 K S RAY ET AL 9 current position denoted by x1, ) or o the orms q q, here x, dir x1, x #, and, dir L, R, ith restrictions that hen x1 or x the corresponding or dir L and hen x 1 or x the corresponding dir or dir 1 Moreover, there cannot be transi- 1, tion rules having the orm q q here, dir 1 1 # here 1 V and L or # here V and dir L or both These rules ensure that the reading heads do not go past the input ord on the let side or the heads do not move hen it reads empty ord Moreover once a head goes past the right end o the tape it cannot comeback Accepting conditions W 1 is accepted by M i, starting in state q (initial # 1 $ 1 state) ith and on the dou- # $ WK V ble stranded input tape and the to heads at the let end o # 1 $ and # $ respectively, M eventually enters a inal state at the same time both the heads all o the right hand side o the double stranded input tape The ord 1 is rejected i one o the olloing 3 conditions occurs: 1) The to-ay WK automaton goes into a loop hich is identiied in a similar ay as loops in to-ay FAs are identiied ) When both the heads all o the right hand side o the input tape and the machine is in a non inal state 3) I the machine comes to a halt (ie there are no transition rules that can be applied or that particular state in hich the machine is) beore the heads all o the right hand side o the input tape ie mathematically # 1 $ # $ LM 1 V q q, ith q F, V, 1 WK V 6 Subclasses o To-Way Non-Deterministic Watson-Crick Automata (AWK) Depending on the type o states and transition rules there are our types or subclasses o to-ay Watson-Crick Automata similar to Watson Crick automata -ay Watson-Crick Automaton M V,, Q, q is 1) stateless (NWK): I it has only one state, ie Q F q ; ) all-inal (FWK): I all the states are inal, ie Q F; 3) simple (SWK): I at each step the automaton reads either rom the upper strand or rom the loer strand, ie 1, or any transition rule q q either, dir 1 or ; 4) 1-limlited (1WK): I or any transition rule 1, q q, e have 1 1, dir Many combinations o these classes can also be obtained such as all-inal simple to-ay WK automata (FSWK), all inal 1 limited to-ay WK automata (1FWK), stateless 1 limited to-ay WK automata (1NWK) etc Theorem 4: Simple and 1 limited to-ay Watson Crick automata accept the same amily o languages as the amily o languages accepted by to-ay Watson Crick automata ith arbitrary transition rules The proo o theorem is similar to the proo done in [4] or Theorem 1 Let M V,, Q, q be a non-deterministic to-ay Watson Crick automaton We introduce a 1 limited to-ay Watson Crick automaton M ' V,, Q, q, F, For each transition rule t o the orm 1, q q in here 1 aa 1 a n, dir here 1 n and b 1 b b m here m and n m, the condition nm is imposed because rules ith m n is already in the 1-limited orm and no urther modiication is required or them We introduce ne rules in o the orm a1, q qt,1, ai 1, qti, qt,i 1, 1 i n1,,, qt,n q t,1 b1, dir, q, j t, j 1, 1 t q bj 1, dir j m,, q t, m1 q bm, dir All the ne states are introduced in Q along ith states in Q From the construction o M hich is obtained rom M it is obvious that both M and M recognize the same language So AWK are subset o 1WK and rom the deinition o 1WK and AWK e kno

5 3 K S RAY ET AL that 1WK are subset o AWK So AWK and 1WK are equivalent ie they accept the same amily o languages A similar proo can also be established or SWK Thereore e can say, AWK = SWK = 1WK Theorem 5: All inal to-ay Watson Crick automata accept the same amily o languages as the amily o languages accepted by to-ay Watson Crick automata ith arbitrary transition rules Let M V,, Q, q be a to-ay non-deterministic Watson Crick automaton We introduce an all inal to-ay Watson Crick automaton M V,, Q, q, Each transition rule t o the orm 1, q q, dir in δ here aa a 1 1 n here 1 n and bb 1 bm here m alls under one o the ive classes The classes are deined as ollos: Class 1: Transition rules o the orm 1, q q in here 1 aa 1 an here, dir 1 n and bb 1 b m here m and a and b $, ie 1 and do not have $ at their ends n n 1 Class : Transition rules o the orm q q in here 1 aa 1 an here 1 n and bb 1 b m here m, and an, bn $, ie 1 and both have $ at their ends Class 3: Transition rules o the orm 1 q q in here 1 aa 1 an here, dir 1 n and bb 1 bm here m, a n $ and bn $ ie 1 has $ at its end and does not have $ at its end 1, Class 4: Transition rules o the orm q q in here 1 aa 1 an here 1 n and bb 1 bm here m, a n $ and bn $ ie 1 does not have $ at its end and has $ at its end Class 5: Either transition rules o the orm $, L q q in or transition rules o the orm, $, L q q in or transition rules o the orm $, L, q q in $, L The transition rules o M are modiied as ollos to orm the transition rules o M Transition rules o M hich all in class 1 and class 5 are kept same in M For transition ru les o M hich belong to class to instances can occur; 1 case 1: For transition q q ', here q is a inal state In this case the transition rules are kept same in M 1 case : For transition q q, here q is a non inal state In this case the transition rules o M are modiied as ollos or M 1 For each transition ru le q q in M be- longing to class here q is a non inal state, 1 q q here and $ $ are 1 1 introduced in M and there is no transition rom q in M These ne rules in M ensure that i the heads go o the right end o the tape i n M hen M is in a non inal state then M ould go to state q and ould not accept the string as there is no transition rom q ie the above stated rules ensure the heads do not all o the right end o the tape or M hen M does not accept the ord As M is all inal i the heads go o the right end o the tape it ill accept the given string For transition rules o M hich belong to class 3 the olloing modiications are needed Class 3 also has to instances similar to class 1 case 1: For transition q q, here q is, dir a inal state In this case the transition rules are kept same in M 1 c ase : For transition q q, here q is, dir a non inal state In this case the transition rules o M are modiied as ollos or M For each transition rule 1 q q in M be-, dir longing to class 3 here q is a non inal state, 1 q q here 1 1 $ is introduced in, dir M here q denotes that the head on the upper strand has gone past the right end marker $ in the original machine M on application o the above transition rule Only rules having λ on the upper strand are applied to q because in the actual machine M i the above rules o class 3 are applied then the upper head ould have gone past the right end o the tape So only rules

6 K S RAY ET AL 31 having λ on the upper head can be applied to the machine M As M replicates M similar thing is done in M too Thus, all the transition rules that can be applied to q in M ith on the upper strand and aa 1 a n and an $ in the loer strand can also be applied to q in M Rules having on the upper strand and a1a a n and an $ the loer strand here e tran in th sition goes to a inal state are applied to q u $ Finally or rules ith on the upper strand and aa 1 an and an $ in the loer strand here the transition goes to a non inal state, the rules o the, orm q l here qu $ are intro-, R $ duced in M and th ere are no transition rules rom q ul$ These rules ensure that hen M reaches the end o the string on a non inal state then M goes to q ul$ and M does not accept the string as there is no tra nsirom q ul$ ie the above stated rules ensure the tion heads do not all o the right end o the tape or M hen heads o M all o the right end and the state to hich M goes is non inal Class 4 rules are handled in a similar ay to class 3 rules It is obvious rom the transition rules introduced in M that M accepts the same amily o languages as M Thus, FWK = AWK Theorem 6: All inal 1 limited to-ay Watson Crick automata accept the same amily o languages as the amily o languages accepted by 1 limited toay Watson Crick automata ith arbitrary transition rules Let M V,, Q, q, F, be a to-ay 1 limited non-deterministic Watson Crick automaton We introduce an all inal 1 limited to-ay Watson Crick automaton M V,, Q, q, Each transition rule t o 1, the orm q q in here 1 1, dir alls under one o the our classes The classes are deined as ollos: Class 1: Transition rules o the orm 1, q q in here 1 $ and $, dir $, R Class : Transition rules o the orm q q in,, Class 3: Transition rules o the orm q q in $, R $, R Class 4: Transition rules o the orm q q in,, or transition rules o the orm q q in $, R The transition rules o M are modiied as ollos to orm the transition rules o M Transition rules o M hich all in class 1 and class 4 are kept same in M For transition ru les o M hich belong to class have to instances $, R case 1: For transition q q, here q is a, inal state In this case the transition rules are kept same in M $, R case : For transition q q, here q is a, non inal state In this case the transition rules o M are modiied as ollos or M $, R For each transition rule q q in M be-, longing to class here q is a non inal state, q $, L xr, q b and q bul$ q here x V,, are introduced in M q denotes that the head on the upper strand has gone past the right end marker $ in the original machine M Only rules having on the upper strand can be applied to q (or reasons similar to reasons stated in proo o Theorem 5) Thus, all the transition rules that can be applied to q ith on the upper strand and $ in the loer strand ar e applied to q For rules having on the upper strand and $ in the loer strand here the transition goes to a inal state are applied to q u $ Finally or rules ith on the upper strand and $ in the loer strand here the transition goes to a non inal state in M, the rules o the orm,, q qb ul$ and q bul$ qul$, here $, L xr, x V are introduced in M These rules ensure that hen M reaches the end o the string on a non inal state, M does not accept the string as there are no transit ions rom state q ul $ Class 3 is handled in a similar ay as class It is obvious rom the transition rules introduced in M that M accepts the same amily o languages as M Thus, 1FWK = 1WK Corollary 3: All inal 1 limited to-ay Watson Crick automata accept the same amily o languages as the amily o languages accepted by arbitrary to-

7 3 K S RAY ET AL ay Watson Crick automata ith arbitrary transition rules Proo: From Theorem 4 e kno AWK = 1WK and rom Theorem 6 e obtain 1FWK = 1WK Thus combining both the results e get 1FWK = AWK Thus rom the above Theorems e can state that AWK = 1FWK = 1WK = SWK = FSWK = FWK 7 Poer o To-Way Non-Deterministic WK Automata In this section e irst sho that AWK are subset o AWK Then e urther sho that this subset relation is proper ie AWK are more poerul than AWK Theorem 7: AWK AWK The theorem says that non-deterministic Watson Crick automata are subset o to-ay non-deterministic Watson Crick automata Proo: Let M V,, Q, q be a non-deterministic Watson Crick automaton here V is a set o alphabet, Q is a set o states, V V is the complementarity relation and q is the initial state and F Q is the set o inal states is the inite number o transition rules 1 o the orm q q, here 1, V We introduce a to-ay non-deterministic Watson Crick automaton M V #,$,, Q, q, q, here V is a set o alphabet, #,$ V are the beginning and t he end marker respectively, that is, the ord to be recognized is provided as an input to the automaton in the orm # $ QQq, q, #,#, $,$ is the co mplementarity relation and q is the initial state and q is a inal state is the inite number o transition rules o the orm 1 1) For each rule q q in introduce 1 q q in # ) q q # 3) For each state x F in M introduce $ x q in $, R From the construction o M it is evident that all that ill be accepted by M ill be accepted by M Theorem 8: One-Way To headed inite automata are equivalent to AWK An inormal proo o this theorem is in [4] Example 1 Let #,$,, Q, q be a AWK M V here V a, b,#,$ V are the beginning and the end marker respectively, that is, the ord to be recognized is provided as an input to the automaton in the orm # $ Q is a set o states, Q q, q1, q, q3, q4, is the identity complementarity relatio n and q is the initial state and F q 4 is the set o inal states is the inite number o transition rules In this example the mirror language L { a, b and R L a, b and here R denotes the reverse o is accepted using to- ay Watson Crick automaton The transition rules o M are as ollo #, R q q1, # xr, q1 q1, xv,, $, L q1 q,, xl, q, q xv, xr, #, R q q3, $, L xr, q3 q3, xv,, $, R q3 q4 $, R Theorem 9: One-ay inite automata ith heads cannot accept the mirror language The above theorem is stated in [11] Theorem 1: AWK are more poerul than AWK ie AWK AWK Proo Fr om Theorem 8 e kno that AWK is equivalent to 1-ay to headed inite automata and rom Theorem 9 e kno that 1-ay to headed inite automata cannot recognize the mirror language Thus AWK cannot recognize the mirror language But in Example 1 e have shon that to-ay AWK can accept the mirror language and in theorem 7 e have shon that AWK AWK ie AWK accepts all the amily o languag es hich are accepted by AWK Moreover it also accepts the mirror language hich AWK cannot accept Thus AWK accepts at least one language more than AWK Hence e conclude that the accepting poer o to-ay AWK is more than AWK Mathematically AWK AWK, ie the subset relation is proper Theorem 11: Family o languages accepted by WK automata is context sensitive A linear bounded Turing machine (LBA) can simulate the actions o to-ay Watson Crick automaton As the language accepted by LBA is context sensitive so the

8 K S RAY ET AL 33 amily o languages accepted by to-ay Watson Crick automaton is also context sensitive 8 Characterization o Recursively Enumerable (RE) Languages in Terms o AWK Automata In this section e discuss AWK in th e light o the RE languages We sho each language in the amily o RE is the image o a gsm mapping o a language in AWK Theorem 1: TS V AWK(ctrl) The proo o this theorem is in [4] Theorem 13: For each recursively enumerable lan- guage L there is a gsm g L such that L = g L (AWK (ctrl)) Proo: We have already shon in Theorem 7 AWK AWK and it is stated in [4] that TS V AWK(ctrl) an d rom corollary e kno that each language in the amily o RE is the image o a gsm mapping o a language in TS {,1} As TS V AWK(ctrl) and AWK AWK, so e can state, each language in the amily o RE is the image o a gsm mapping o a language in AWK(ctrl) 9 Conclusion In this paper, e discuss about the poer o a variant o non-deterministic Watson Crick automata knon as AWK We describe their structure and accepting conditions We introduce dierent subclasses o AWK similar to AWK and sho the equivalence o some o those subclasses We urther establish the act that AWK are more poerul than AWK Based on the relation beteen AWK and AWK e sho that a gsm mapping o AWK results in the generation o each language in the amily o the recursively enumerable languages REFERENCES [1] L C S Calude and G Paun, Compu ting ith Cells and Atoms: An Introduction to Quantum, DNA and Membrane Computing, Taylor & Francis Publishers, London, 1 [] L M Adleman, Molecular Computation o Solutions to Combinatorial Problems, Science, Ne Series, Vol 6, No 5187, 1994, pp [3] R Freund, G Paun, G Rozenberg and A Saloma, A, Watson-Crick Finite Automata, Proceedings o the 3rd DIMACS Workshop on DNA Based Computers, Philadelphia, 1997, pp [4] G Paun, G Rozenberg and A Salomaa, DNA Computing: Ne Computing Paradigms, Springer-Verlag, Berlin, 1998 [5] E Czeizler, E Czeizler, L Kari and K Salomaa, Watson- Crick Automata: Determinism and State Complexity, Proceeding o: 1th International Workshop on Descriptional Complexity o Formal Systems, DCFS, July 8, pp [6] E Czeizler, E Czeizler, L Kari and K Salomaa, On the Descriptional Complexity o Watson-Crick Automata, Theoretical Computer Science, Vol 41, No 35, 9, pp [7] E Czeizler, E Czeizler, Parallel Communicating Watthe Poer o Parallel Communicating son-crick Automata Systems, In: Z Fulop Z Esik (Ed), Proceedings o 11th International Conerence, AFL 5, 5, pp [8] E Czeizler, On Watson-Crick Automata Systems, Theoretical Computer Science, Vol 358, No 1, 6, pp [9] E Czeizler, A Short Survey on Watson-Crick Automata, Bulletin o the EATCS, Vol 88, 6, pp [1] D Kuske and P Weigel, The Role o the Complementa- rity Relation in Watson-Crick Automata and Sticker Systems, Developments in Language Theory, Vol 334, Lecture Notes in Computer Science, Springer, Berlin, 4, pp 7-83 [11] M Holzer, M Kutrib and A Malcher, Multi-Head Finite Automata: Characterizations, Concepts and Open Problems, Proceedings International Workshop on the Complexity o Simple Programs, Cork, 6-7 December 8, pp 93-17

9 34 K S RAY ET AL Abbreviations AWK: non-deterministic Watson-Crick automata NWK: stateless non-deterministic Watson-Crick auto- mata FWK: all inal non-deterministic Watson-Crick automata SWK: simple non-deterministic Watson-Crick automata 1WK: 1-limited non-deterministic Watson-Crick automata AWK: to ay non-deterministic Watson-Crick automata NWK: to ay stateless non-deterministic Watson- Crick automata FWK: to ay all inal non-deterministic Watson- Crick automata SWK: to ay simple non-deterministic Watson- Crick automata 1WK: to ay 1-limited non-deterministic Watson- Crick automata TS V : tin-shule language RE: recursive enumerable gsm: generalized sequential machine

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

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

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

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

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

Watson-Crick ω-automata. Elena Petre. Turku Centre for Computer Science. TUCS Technical Reports Watson-Crick ω-automata Elena Petre Turku Centre for Computer Science TUCS Technical Reports No 475, December 2002 Watson-Crick ω-automata Elena Petre Department of Mathematics, University of Turku and

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

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

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

Turing s thesis: (1930) Any computation carried out by mechanical means can be performed by a Turing Machine

Turing s thesis: (1930) Any computation carried out by mechanical means can be performed by a Turing Machine Turing s thesis: (1930) Any computation carried out by mechanical means can be performed by a Turing Machine There is no known model of computation more powerful than Turing Machines Definition of Algorithm:

More information

Turing Machines A Turing Machine is a 7-tuple, (Q, Σ, Γ, δ, q0, qaccept, qreject), where Q, Σ, Γ are all finite

Turing Machines A Turing Machine is a 7-tuple, (Q, Σ, Γ, δ, q0, qaccept, qreject), where Q, Σ, Γ are all finite The Church-Turing Thesis CS60001: Foundations of Computing Science Professor, Dept. of Computer Sc. & Engg., Turing Machines A Turing Machine is a 7-tuple, (Q, Σ, Γ, δ, q 0, q accept, q reject ), where

More information

CS5371 Theory of Computation. Lecture 10: Computability Theory I (Turing Machine)

CS5371 Theory of Computation. Lecture 10: Computability Theory I (Turing Machine) CS537 Theory of Computation Lecture : Computability Theory I (Turing Machine) Objectives Introduce the Turing Machine (TM)? Proposed by Alan Turing in 936 finite-state control + infinitely long tape A

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

Griffith University 3130CIT Theory of Computation (Based on slides by Harald Søndergaard of The University of Melbourne) Turing Machines 9-0

Griffith University 3130CIT Theory of Computation (Based on slides by Harald Søndergaard of The University of Melbourne) Turing Machines 9-0 Griffith University 3130CIT Theory of Computation (Based on slides by Harald Søndergaard of The University of Melbourne) Turing Machines 9-0 Turing Machines Now for a machine model of much greater power.

More information

CS21 Decidability and Tractability

CS21 Decidability and Tractability CS21 Decidability and Tractability Lecture 8 January 24, 2018 Outline Turing Machines and variants multitape TMs nondeterministic TMs Church-Turing Thesis So far several models of computation finite automata

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

CS5371 Theory of Computation. Lecture 10: Computability Theory I (Turing Machine)

CS5371 Theory of Computation. Lecture 10: Computability Theory I (Turing Machine) CS537 Theory of Computation Lecture : Computability Theory I (Turing Machine) Objectives Introduce the Turing Machine (TM) Proposed by Alan Turing in 936 finite-state control + infinitely long tape A stronger

More information

CS 361 Meeting 28 11/14/18

CS 361 Meeting 28 11/14/18 CS 361 Meeting 28 11/14/18 Announcements 1. Homework 9 due Friday Computation Histories 1. Some very interesting proos o undecidability rely on the technique o constructing a language that describes the

More information

CSE355 SUMMER 2018 LECTURES TURING MACHINES AND (UN)DECIDABILITY

CSE355 SUMMER 2018 LECTURES TURING MACHINES AND (UN)DECIDABILITY CSE355 SUMMER 2018 LECTURES TURING MACHINES AND (UN)DECIDABILITY RYAN DOUGHERTY If we want to talk about a program running on a real computer, consider the following: when a program reads an instruction,

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

CS4026 Formal Models of Computation

CS4026 Formal Models of Computation CS4026 Formal Models of Computation Turing Machines Turing Machines Abstract but accurate model of computers Proposed by Alan Turing in 1936 There weren t computers back then! Turing s motivation: find

More information

Semi-simple Splicing Systems

Semi-simple Splicing Systems Semi-simple Splicing Systems Elizabeth Goode CIS, University of Delaare Neark, DE 19706 goode@mail.eecis.udel.edu Dennis Pixton Mathematics, Binghamton University Binghamton, NY 13902-6000 dennis@math.binghamton.edu

More information

Factors of words under an involution

Factors of words under an involution Journal o Mathematics and Inormatics Vol 1, 013-14, 5-59 ISSN: 349-063 (P), 349-0640 (online) Published on 8 May 014 wwwresearchmathsciorg Journal o Factors o words under an involution C Annal Deva Priya

More information

CSCC63 Worksheet Turing Machines

CSCC63 Worksheet Turing Machines 1 An Example CSCC63 Worksheet Turing Machines Goal. Design a turing machine, M that accepts only strings of the form {w#w w {0, 1} }. Idea. Describe in words how the machine would work. Read first symbol

More information

(C) The rationals and the reals as linearly ordered sets. Contents. 1 The characterizing results

(C) The rationals and the reals as linearly ordered sets. Contents. 1 The characterizing results (C) The rationals and the reals as linearly ordered sets We know that both Q and R are something special. When we think about about either o these we usually view it as a ield, or at least some kind o

More information

Theory of Computation

Theory of Computation Theory of Computation Lecture #2 Sarmad Abbasi Virtual University Sarmad Abbasi (Virtual University) Theory of Computation 1 / 1 Lecture 2: Overview Recall some basic definitions from Automata Theory.

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

COMPARATIVE ANALYSIS ON TURING MACHINE AND QUANTUM TURING MACHINE

COMPARATIVE ANALYSIS ON TURING MACHINE AND QUANTUM TURING MACHINE Volume 3, No. 5, May 2012 Journal of Global Research in Computer Science REVIEW ARTICLE Available Online at www.jgrcs.info COMPARATIVE ANALYSIS ON TURING MACHINE AND QUANTUM TURING MACHINE Tirtharaj Dash

More information

Chapter 5. Finite Automata

Chapter 5. Finite Automata Chapter 5 Finite Automata 5.1 Finite State Automata Capable of recognizing numerous symbol patterns, the class of regular languages Suitable for pattern-recognition type applications, such as the lexical

More information

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

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

CS:4330 Theory of Computation Spring Regular Languages. Finite Automata and Regular Expressions. Haniel Barbosa

CS:4330 Theory of Computation Spring Regular Languages. Finite Automata and Regular Expressions. Haniel Barbosa CS:4330 Theory of Computation Spring 2018 Regular Languages Finite Automata and Regular Expressions Haniel Barbosa Readings for this lecture Chapter 1 of [Sipser 1996], 3rd edition. Sections 1.1 and 1.3.

More information

Running head: 2-tape 1-way Quantum Finite State Automata. Title: Quantum Finite State Automata. Authors: Debayan Ganguly 1, Kumar Sankar Ray 2

Running head: 2-tape 1-way Quantum Finite State Automata. Title: Quantum Finite State Automata. Authors: Debayan Ganguly 1, Kumar Sankar Ray 2 Running head: 2-tape 1-way Quantum Finite State Automata Title: Quantum Finite State Automata Authors: Debayan Ganguly 1, Kumar Sankar Ray 2 Affiliations: 1,2 Electronics and Communication Sciences Unit,

More information

TESTING TIMED FINITE STATE MACHINES WITH GUARANTEED FAULT COVERAGE

TESTING TIMED FINITE STATE MACHINES WITH GUARANTEED FAULT COVERAGE TESTING TIMED FINITE STATE MACHINES WITH GUARANTEED FAULT COVERAGE Khaled El-Fakih 1, Nina Yevtushenko 2 *, Hacene Fouchal 3 1 American University o Sharjah, PO Box 26666, UAE kelakih@aus.edu 2 Tomsk State

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

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY. FLAC (15-453) Spring l. Blum TIME COMPLEXITY AND POLYNOMIAL TIME;

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY. FLAC (15-453) Spring l. Blum TIME COMPLEXITY AND POLYNOMIAL TIME; 15-453 TIME COMPLEXITY AND POLYNOMIAL TIME; FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY NON DETERMINISTIC TURING MACHINES AND NP THURSDAY Mar 20 COMPLEXITY THEORY Studies what can and can t be computed

More information

Logarithm of a Function, a Well-Posed Inverse Problem

Logarithm of a Function, a Well-Posed Inverse Problem American Journal o Computational Mathematics, 4, 4, -5 Published Online February 4 (http://www.scirp.org/journal/ajcm http://dx.doi.org/.436/ajcm.4.4 Logarithm o a Function, a Well-Posed Inverse Problem

More information

CS 21 Decidability and Tractability Winter Solution Set 3

CS 21 Decidability and Tractability Winter Solution Set 3 CS 21 Decidability and Tractability Winter 2018 Posted: January 31 Solution Set 3 If you have not yet turned in the Problem Set, you should not consult these solutions. 1. (a) A 2-NPDA is a 7-tuple (Q,,

More information

On Two Families of Multiset Tree Automata

On Two Families of Multiset Tree Automata On Two Families of Multiset Tree Automata José M. Sempere, Damián López Departamento de Sistemas Informáticos y Computación Universidad Politécnica de Valencia {jsempere,dlopez}@dsic.upv.es Summary. The

More information

ECS 120 Lesson 15 Turing Machines, Pt. 1

ECS 120 Lesson 15 Turing Machines, Pt. 1 ECS 120 Lesson 15 Turing Machines, Pt. 1 Oliver Kreylos Wednesday, May 2nd, 2001 Before we can start investigating the really interesting problems in theoretical computer science, we have to introduce

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

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

A proof of topological completeness for S4 in (0,1)

A proof of topological completeness for S4 in (0,1) A proof of topological completeness for S4 in (,) Grigori Mints and Ting Zhang 2 Philosophy Department, Stanford University mints@csli.stanford.edu 2 Computer Science Department, Stanford University tingz@cs.stanford.edu

More information

Theory of Computation Turing Machine and Pushdown Automata

Theory of Computation Turing Machine and Pushdown Automata Theory of Computation Turing Machine and Pushdown Automata 1. What is a Turing Machine? A Turing Machine is an accepting device which accepts the languages (recursively enumerable set) generated by type

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

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

Chapter 7 Turing Machines

Chapter 7 Turing Machines Chapter 7 Turing Machines Copyright 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 A General Model of Computation Both finite automata and pushdown automata are

More information

Finite Automata. Finite Automata

Finite Automata. Finite Automata Finite Automata Finite Automata Formal Specification of Languages Generators Grammars Context-free Regular Regular Expressions Recognizers Parsers, Push-down Automata Context Free Grammar Finite State

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

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

Turing Machines (TM) The Turing machine is the ultimate model of computation.

Turing Machines (TM) The Turing machine is the ultimate model of computation. TURING MACHINES Turing Machines (TM) The Turing machine is the ultimate model of computation. Alan Turing (92 954), British mathematician/engineer and one of the most influential scientists of the last

More information

SCHEME FOR INTERNAL ASSESSMENT TEST 3

SCHEME FOR INTERNAL ASSESSMENT TEST 3 SCHEME FOR INTERNAL ASSESSMENT TEST 3 Max Marks: 40 Subject& Code: Automata Theory & Computability (15CS54) Sem: V ISE (A & B) Note: Answer any FIVE full questions, choosing one full question from each

More information

Great Theoretical Ideas in Computer Science. Lecture 4: Deterministic Finite Automaton (DFA), Part 2

Great Theoretical Ideas in Computer Science. Lecture 4: Deterministic Finite Automaton (DFA), Part 2 5-25 Great Theoretical Ideas in Computer Science Lecture 4: Deterministic Finite Automaton (DFA), Part 2 January 26th, 27 Formal definition: DFA A deterministic finite automaton (DFA) M =(Q,,,q,F) M is

More information

How to Pop a Deep PDA Matters

How to Pop a Deep PDA Matters How to Pop a Deep PDA Matters Peter Leupold Department of Mathematics, Faculty of Science Kyoto Sangyo University Kyoto 603-8555, Japan email:leupold@cc.kyoto-su.ac.jp Abstract Deep PDA are push-down automata

More information

Lecture Notes On THEORY OF COMPUTATION MODULE -1 UNIT - 2

Lecture Notes On THEORY OF COMPUTATION MODULE -1 UNIT - 2 BIJU PATNAIK UNIVERSITY OF TECHNOLOGY, ODISHA Lecture Notes On THEORY OF COMPUTATION MODULE -1 UNIT - 2 Prepared by, Dr. Subhendu Kumar Rath, BPUT, Odisha. UNIT 2 Structure NON-DETERMINISTIC FINITE AUTOMATA

More information

PARALLEL COMMUNICATING FLIP PUSHDOWN AUTOMATA SYSTEMS COMMUNICATING BY STACKS

PARALLEL COMMUNICATING FLIP PUSHDOWN AUTOMATA SYSTEMS COMMUNICATING BY STACKS International Journal of Computer Engineering and Technology (IJCET), ISSN 0976 6367(Print) ISSN 0976 6375(Online) Volume 1 Number 1, May - June (2010), pp. 34-45 IAEME, http://www.iaeme.com/ijcet.html

More information

Further discussion of Turing machines

Further discussion of Turing machines Further discussion of Turing machines In this lecture we will discuss various aspects of decidable and Turing-recognizable languages that were not mentioned in previous lectures. In particular, we will

More information

Clarifications from last time. This Lecture. Last Lecture. CMSC 330: Organization of Programming Languages. Finite Automata.

Clarifications from last time. This Lecture. Last Lecture. CMSC 330: Organization of Programming Languages. Finite Automata. CMSC 330: Organization of Programming Languages Last Lecture Languages Sets of strings Operations on languages Finite Automata Regular expressions Constants Operators Precedence CMSC 330 2 Clarifications

More information

Introduction to Turing Machines

Introduction to Turing Machines Introduction to Turing Machines Deepak D Souza Department of Computer Science and Automation Indian Institute of Science, Bangalore. 12 November 2015 Outline 1 Turing Machines 2 Formal definitions 3 Computability

More information

Constructions on Finite Automata

Constructions on Finite Automata Constructions on Finite Automata Informatics 2A: Lecture 4 Mary Cryan School of Informatics University of Edinburgh mcryan@inf.ed.ac.uk 24 September 2018 1 / 33 Determinization The subset construction

More information

Turing Machines Part II

Turing Machines Part II Turing Machines Part II COMP2600 Formal Methods for Software Engineering Katya Lebedeva Australian National University Semester 2, 2016 Slides created by Katya Lebedeva COMP 2600 Turing Machines 1 Why

More information

Chapter 3: The Church-Turing Thesis

Chapter 3: The Church-Turing Thesis Chapter 3: The Church-Turing Thesis 1 Turing Machine (TM) Control... Bi-direction Read/Write Turing machine is a much more powerful model, proposed by Alan Turing in 1936. 2 Church/Turing Thesis Anything

More information

Automata Theory (2A) Young Won Lim 5/31/18

Automata Theory (2A) Young Won Lim 5/31/18 Automata Theory (2A) Copyright (c) 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later

More information

Languages. Non deterministic finite automata with ε transitions. First there was the DFA. Finite Automata. Non-Deterministic Finite Automata (NFA)

Languages. Non deterministic finite automata with ε transitions. First there was the DFA. Finite Automata. Non-Deterministic Finite Automata (NFA) Languages Non deterministic finite automata with ε transitions Recall What is a language? What is a class of languages? Finite Automata Consists of A set of states (Q) A start state (q o ) A set of accepting

More information

UNIT-VIII COMPUTABILITY THEORY

UNIT-VIII COMPUTABILITY THEORY CONTEXT SENSITIVE LANGUAGE UNIT-VIII COMPUTABILITY THEORY A Context Sensitive Grammar is a 4-tuple, G = (N, Σ P, S) where: N Set of non terminal symbols Σ Set of terminal symbols S Start symbol of the

More information

CSE 105 THEORY OF COMPUTATION

CSE 105 THEORY OF COMPUTATION CSE 105 THEORY OF COMPUTATION Fall 2016 http://cseweb.ucsd.edu/classes/fa16/cse105-abc/ Today's learning goals Sipser Ch 3 Trace the computation of a Turing machine using its transition function and configurations.

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

Pushdown Automata. Pushdown Automata. Pushdown Automata. Pushdown Automata. Pushdown Automata. Pushdown Automata. The stack

Pushdown Automata. Pushdown Automata. Pushdown Automata. Pushdown Automata. Pushdown Automata. Pushdown Automata. The stack A pushdown automata (PDA) is essentially: An NFA with a stack A move of a PDA will depend upon Current state of the machine Current symbol being read in Current symbol popped off the top of the stack With

More information

Part I: Definitions and Properties

Part I: Definitions and Properties Turing Machines Part I: Definitions and Properties Finite State Automata Deterministic Automata (DFSA) M = {Q, Σ, δ, q 0, F} -- Σ = Symbols -- Q = States -- q 0 = Initial State -- F = Accepting States

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

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

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

Deterministic Finite Automata. Non deterministic finite automata. Non-Deterministic Finite Automata (NFA) Non-Deterministic Finite Automata (NFA)

Deterministic Finite Automata. Non deterministic finite automata. Non-Deterministic Finite Automata (NFA) Non-Deterministic Finite Automata (NFA) Deterministic Finite Automata Non deterministic finite automata Automata we ve been dealing with have been deterministic For every state and every alphabet symbol there is exactly one move that the machine

More information

Formal Definition of a Finite Automaton. August 26, 2013

Formal Definition of a Finite Automaton. August 26, 2013 August 26, 2013 Why a formal definition? A formal definition is precise: - It resolves any uncertainties about what is allowed in a finite automaton such as the number of accept states and number of transitions

More information

STATC141 Spring 2005 The materials are from Pairwise Sequence Alignment by Robert Giegerich and David Wheeler

STATC141 Spring 2005 The materials are from Pairwise Sequence Alignment by Robert Giegerich and David Wheeler STATC141 Spring 2005 The materials are from Pairise Sequence Alignment by Robert Giegerich and David Wheeler Lecture 6, 02/08/05 The analysis of multiple DNA or protein sequences (I) Sequence similarity

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

Two Way Deterministic Finite Automata

Two Way Deterministic Finite Automata Two Way Deterministic Finite Automata Jagvir Singh and Pavan Kumar Akulakrishna Indian Institute of Science November 29, 2013 Jagvir Singh and Pavan Kumar Akulakrishna (IISC) 2DFA November 29, 2013 1 /

More information

Parallel Turing Machines on a Two-Dimensional Tape

Parallel Turing Machines on a Two-Dimensional Tape Czech Pattern ecognition Workshop 000, Tomáš Svoboda (Ed.) Peršlák, Czech epublic, February 4, 000 Czech Pattern ecognition Society Parallel Turing Machines on a Two-Dimensional Tape Daniel Průša František

More information

Lecture 17: Language Recognition

Lecture 17: Language Recognition Lecture 17: Language Recognition Finite State Automata Deterministic and Non-Deterministic Finite Automata Regular Expressions Push-Down Automata Turing Machines Modeling Computation When attempting to

More information

Semideterministic Finite Automata in Operational Research

Semideterministic Finite Automata in Operational Research Applied Mathematical Sciences, Vol. 0, 206, no. 6, 747-759 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/0.2988/ams.206.62 Semideterministic Finite Automata in Operational Research V. N. Dumachev and

More information

PHY 335 Data Analysis for Physicists

PHY 335 Data Analysis for Physicists PHY 335 Data Analysis or Physicists Instructor: Kok Wai Ng Oice CP 171 Telephone 7 1782 e mail: kng@uky.edu Oice hour: Thursday 11:00 12:00 a.m. or by appointment Time: Tuesday and Thursday 9:30 10:45

More information

Automata and Languages

Automata and Languages Automata and Languages Prof. Mohamed Hamada Software Engineering Lab. The University of Aizu Japan Nondeterministic Finite Automata with empty moves (-NFA) Definition A nondeterministic finite automaton

More information

Automata Theory. Lecture on Discussion Course of CS120. Runzhe SJTU ACM CLASS

Automata Theory. Lecture on Discussion Course of CS120. Runzhe SJTU ACM CLASS Automata Theory Lecture on Discussion Course of CS2 This Lecture is about Mathematical Models of Computation. Why Should I Care? - Ways of thinking. - Theory can drive practice. - Don t be an Instrumentalist.

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

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

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

Simpler Functions for Decompositions

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

More information

Insertion operations: closure properties

Insertion operations: closure properties Insertion operations: closure properties Lila Kari Academy of Finland and Mathematics Department 1 Turku University 20 500 Turku, Finland 1 Introduction The basic notions used for specifying languages

More information

Lecture 3: Finite Automata. Finite Automata. Deterministic Finite Automata. Summary. Dr Kieran T. Herley

Lecture 3: Finite Automata. Finite Automata. Deterministic Finite Automata. Summary. Dr Kieran T. Herley Lecture 3: Finite Automata Dr Kieran T. Herley Department of Computer Science University College Cork Summary Deterministic finite automata (DFA). Definition and operation of same. DFAs as string classifiers

More information

Theory of Computation

Theory of Computation Theory of Computation COMP363/COMP6363 Prerequisites: COMP4 and COMP 6 (Foundations of Computing) Textbook: Introduction to Automata Theory, Languages and Computation John E. Hopcroft, Rajeev Motwani,

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

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

Turing Machines Part III

Turing Machines Part III Turing Machines Part III Announcements Problem Set 6 due now. Problem Set 7 out, due Monday, March 4. Play around with Turing machines, their powers, and their limits. Some problems require Wednesday's

More information

THEORY OF COMPUTATION (AUBER) EXAM CRIB SHEET

THEORY OF COMPUTATION (AUBER) EXAM CRIB SHEET THEORY OF COMPUTATION (AUBER) EXAM CRIB SHEET Regular Languages and FA A language is a set of strings over a finite alphabet Σ. All languages are finite or countably infinite. The set of all languages

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

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

Ultrametric Automata with One Head Versus Multihead Nondeterministic Automata

Ultrametric Automata with One Head Versus Multihead Nondeterministic Automata Ultrametric Automata with One Head Versus Multihead Nondeterministic Automata Maksims Dimitrijevs and Irina Ščeguļnaja University of Latvia, Faculty of Computing, Raiņa bulvāris 19, Riga, LV-1586, Latvia

More information

Harvard CS 121 and CSCI E-121 Lecture 14: Turing Machines and the Church Turing Thesis

Harvard CS 121 and CSCI E-121 Lecture 14: Turing Machines and the Church Turing Thesis Harvard CS 121 and CSCI E-121 Lecture 14: Turing Machines and the Church Turing Thesis Harry Lewis October 22, 2013 Reading: Sipser, 3.2, 3.3. The Basic Turing Machine The Basic Turing Machine a a b a

More information

1. Draw a parse tree for the following derivation: S C A C C A b b b b A b b b b B b b b b a A a a b b b b a b a a b b 2. Show on your parse tree u,

1. Draw a parse tree for the following derivation: S C A C C A b b b b A b b b b B b b b b a A a a b b b b a b a a b b 2. Show on your parse tree u, 1. Draw a parse tree for the following derivation: S C A C C A b b b b A b b b b B b b b b a A a a b b b b a b a a b b 2. Show on your parse tree u, v, x, y, z as per the pumping theorem. 3. Prove that

More information

State Complexity of Neighbourhoods and Approximate Pattern Matching

State Complexity of Neighbourhoods and Approximate Pattern Matching State Complexity of Neighbourhoods and Approximate Pattern Matching Timothy Ng, David Rappaport, and Kai Salomaa School of Computing, Queen s University, Kingston, Ontario K7L 3N6, Canada {ng, daver, ksalomaa}@cs.queensu.ca

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 5 CHAPTER 2 FINITE AUTOMATA 1. Deterministic Finite Automata DFA 2. Nondeterministic Finite Automata NDFA 3. Finite Automata

More information