<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AM</journal-id><journal-title-group><journal-title>Applied Mathematics</journal-title></journal-title-group><issn pub-type="epub">2152-7385</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/am.2013.410A1005</article-id><article-id pub-id-type="publisher-id">AM-37402</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Equivalence of Subclasses of Two-Way Non-Deterministic Watson Crick Automata
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>umar</surname><given-names>Sankar Ray</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Kingshuk</surname><given-names>Chatterjee</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Debayan</surname><given-names>Ganguly</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Electronics and Communication Science Unit, ISI, Kolkata, India</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>ksray@isical.ac.in(USR)</email>;<email>kingshukchaterjee@gmail.com(KC)</email>;<email>debayan3737@gmail.com(DG)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>26</day><month>09</month><year>2013</year></pub-date><volume>04</volume><issue>10</issue><fpage>26</fpage><lpage>34</lpage><history><date date-type="received"><day>June</day>	<month>5,</month>	<year>2013</year></date><date date-type="rev-recd"><day>July</day>	<month>5,</month>	<year>2013</year>	</date><date date-type="accepted"><day>July</day>	<month>12,</month>	<year>2013</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Watson Crick automata
   are finite automata working on double strands. Extensive research work 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 we discuss about a variant of Watson Crick automata known as the two
  -
  way Watson Crick automata which are more powerful than non-deterministic Watson Crick automata.
   
  We also establish the equivalence of different subclasses of two
  -
  way Watson crick automata. We further show that recursively enumerable (RE) languages can be realized by an image of generalized sequential machine (gsm) mapping of two
  -
  way Watson-Crick automata.
 
</p></abstract><kwd-group><kwd>Non-Deterministic Watson Crick Automata; Two-Way Non-Deterministic Watson Crick Automata; RE Languages</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The tremendous progress in biotechnology has resulted in decoding of DNA sequences, synthesizing and manipulating DNA, which lead to its usage in computation by computer scientists. As a result sticker systems, splicing systems and carving systems came into existence [<xref ref-type="bibr" rid="scirp.37402-ref1">1</xref>]. Many of the NP-complete problems were solved efficiently using DNA computing. The first, the Adleman experiment was done in 1994 [<xref ref-type="bibr" rid="scirp.37402-ref2">2</xref>]. As the interest in using DNA in computation increased so did the need for automata which exploit the properties of DNA. The first such automata which exploited the DNA property were the Watson-Crick automata [<xref ref-type="bibr" rid="scirp.37402-ref3">3</xref>] which are the automata counterpart of the Sticker Systems. Essentially Watson-Crick automata are finite automata having two independent heads working on double strands where the characters on the corresponding positions of the two strands are connected by a complementarity relation similar to the Watson-Crick complementarity relation.</p><p>The movement of the heads although independent of each other is controlled by a single state.</p><p>Details of several variants of non-deterministic Watson-Crick automata have been explored in [<xref ref-type="bibr" rid="scirp.37402-ref4">4</xref>].</p><p>Deterministic Watson-Crick automata and their variants have been explicitly handled in [5,6]. Parallel Communicating Watson-Crick automata were introduced in [<xref ref-type="bibr" rid="scirp.37402-ref7">7</xref>] and further investigated in [<xref ref-type="bibr" rid="scirp.37402-ref8">8</xref>]. A survey of WatsonCrick automata can be found in [<xref ref-type="bibr" rid="scirp.37402-ref9">9</xref>]. The effect of the complementarity relation on the computing power of Watson Crick automata is discussed in [<xref ref-type="bibr" rid="scirp.37402-ref10">10</xref>].</p><p>Two-way finite automaton (FA) is an abstract machine, a generalized version of the finite automaton which can revisit characters already processed. As in FA, in twoway FA there are finite number of states with transitions between them based on the current character; but each transition is also labeled with a value indicating whether the machine will move its reading head to the left, right, or stay at the same position. Equivalently, 2FAs can be seen as read-only Turing machines with no work tape; only a read-only input tape. The accepting condition is that when the reading head falls off the right end of the tape and the state in which the machine is at that time is final state then the input word is accepted. A twoway Watson Crick automaton (2AWK) is similar in concept to a two-way finite automaton. The only difference between them is that in two-way Watson Crick automata the input tape is double stranded. The idea of two-way Watson Crick automata were introduced in [<xref ref-type="bibr" rid="scirp.37402-ref4">4</xref>] but no comparison of its power with respect to AWK was discussed. The importance of 2AWK is that unlike two-way FA which is equal in power to a FA, 2AWK are more powerful than AWK which we establish in this paper.</p><p>In this paper, we give a general description of non-deterministic Watson Crick automata and its different subclasses in Sections 2 and 3. In Section 4 we describe the twin shuffle language and state the relation of twin shuffle language with RE languages. In the following section we state the rules governing two-way non-deterministic Watson Crick automata. In Section 6 we give the definition of the different classes (variants) of 2AWK and investigate the relationship between classes of 2AWK automata. We show that 2AWK = 2SWK = 21WK = 2FWK = 2FSWK = 2F1WK similar to the case of Watson Crick automata. We further show the family of languages accepted by 2AWK is context sensitive. In Section 7 we show that two-way non-deterministic Watson Crick automata are more powerful than non-deterministic Watson Crick automata. In Section 9 we further show that recursively enumerable (RE) languages can be realized by an image of generalized sequential machine (gsm) mapping of two-way Watson-Crick automata.</p></sec><sec id="s2"><title>2. Basic Terminology for Watson-Crick Automata</title><p>V is a finite alphabet. V<sup>*</sup> denotes the set of all finite words over V, including the empty word<img src="5-7401635\e4d42429-9d1a-4675-995b-d8b046aa163f.jpg" />For <img src="5-7401635\1f35dd2f-1de9-4c92-bc98-e469b5d26e53.jpg" /> denotes the length of w. Let <img src="5-7401635\bf095aa1-6a60-4d8b-b8cb-ceefbb8c835b.jpg" /> and <img src="5-7401635\4dd919ce-3dae-4dd8-93c2-de5b8cd1e3d7.jpg" /> be two words and if there is some word<img src="5-7401635\1233ba05-8b37-427d-80c0-4d1379975463.jpg" />, such that<img src="5-7401635\3664ac61-70e4-4cfa-8c5f-3fed0849d7b5.jpg" />, then u is the prefix of v, denoted by<img src="5-7401635\4c75491c-f6f0-4559-94fe-a1300aba1f48.jpg" />. Two words, u and v are prefix comparable denoted by u~<sub>p</sub>v if u is a prefix of v or vice versa.</p><p>Given two alphabets V and U a mapping h:</p><p><img src="5-7401635\0a2accdb-a276-4a2d-aa56-630ef9ffbbdc.jpg" />extended to s: <img src="5-7401635\003969dc-8fac-49e8-8f10-8af70e38d1e6.jpg" />by <img src="5-7401635\355ef458-7cb9-45ab-abb8-8e4112366061.jpg" /> and <img src="5-7401635\b096321b-00e9-4cea-8819-b249c2fd4e5e.jpg" /> for <img src="5-7401635\8532ca03-45f0-44b2-af60-1cf97176eafb.jpg" /> is called a morphism. If <img src="5-7401635\1379c52f-a852-41f8-af4b-ec34df4d97fe.jpg" /> for each<img src="5-7401635\3ba28a24-9299-4ae7-83b7-fadb06002f0e.jpg" />, then h is a λ free morphism.</p><p>A morphism h: <img src="5-7401635\4ff80bc2-08ca-40de-a16c-1e1e959a08ba.jpg" />is called a coding if<img src="5-7401635\49c96cf5-9ba1-48d0-932a-5c5dbfaee9e6.jpg" />for each <img src="5-7401635\58e3beae-d031-42e2-8719-265417bb00c3.jpg" /> and a weak coding if<img src="5-7401635\5f91523e-0ddd-4789-a4cd-d52c3e712b50.jpg" />for each <img src="5-7401635\dff529f4-185d-47f5-a18b-b8206f22181d.jpg" /> If <img src="5-7401635\8386b32f-0cac-4c20-9736-5a39e6db5f5f.jpg" /> is the morphism defined by <img src="5-7401635\cb3bee99-b9d9-463e-81e0-9eb6c16a8bac.jpg" /> for<img src="5-7401635\31ca139b-c8f0-4d79-b8ae-c28959fcdc7e.jpg" />, and <img src="5-7401635\4520f1c5-85c4-4ecc-9d4a-61b55d9e1375.jpg" /> otherwise, then we say that h is a projection (associated with<img src="5-7401635\68010974-33b1-4d86-8b0e-912a8e03ea02.jpg" />) and we denote it by pr<sub>V1</sub>.<sub></sub></p><p>For <img src="5-7401635\815a53be-b0cd-4965-866c-0712c4a75142.jpg" /> we define their shuffle by</p><p><img src="5-7401635\9307e55f-f5b1-457c-bc76-8b5e0ecc9eea.jpg" /></p><p>A generalized sequential machine (gsm) is a sequential transducer. Such a device is a system<img src="5-7401635\35ddfad2-7c65-48f3-882a-c12baa047bde.jpg" />where Q is the set of states, <img src="5-7401635\f3920a99-74b2-4f48-ae92-c2d29d47f8fc.jpg" />are the alphabets(input and output alphabets) of the automaton, <img src="5-7401635\7b15b9f2-c3ea-4a2f-9642-5faeb5cc4772.jpg" />is the initial state, <img src="5-7401635\93ba1767-2fd4-4528-870a-805f5287fc1d.jpg" />is the set of final states and <img src="5-7401635\fb8d7b5f-cf44-401a-bc71-c08661a3d575.jpg" /> is the transition mapping.</p><p>The definitions of morphism, gsm and shuffle are stated in [<xref ref-type="bibr" rid="scirp.37402-ref1">1</xref>].</p><p>A Watson-Crick automaton is a 6-tuple of the form <img src="5-7401635\fffa4f5e-c0a5-4b86-a348-54fd223c335f.jpg" /> where <img src="5-7401635\bdcd3938-309c-4669-a56d-f3f0b4769de8.jpg" /> is an alphabet set, <img src="5-7401635\04b18245-7594-437a-85fb-025b50ffeaf8.jpg" />is a set of states, <img src="5-7401635\08150cfd-4e0e-46bb-be27-1c0f220b0cb1.jpg" />is the complementarity relation similar to Watson Crick complementarity relation and q<sub>0</sub> is the initial state and <img src="5-7401635\749d6e27-abb4-404d-90c7-47be5078e520.jpg" /> is the set of final states. The function <img src="5-7401635\fb978ad5-3502-4114-a4c2-d3f4d5a8c481.jpg" /> contains a finite number of transition rules of the form<img src="5-7401635\e7254141-780d-45b7-ad35-8a76c707ffe2.jpg" />, which denotes that the machine in state q parses w<sub>1</sub> in upper strand and w<sub>2</sub> in lower strand and goes to state <img src="5-7401635\d33416a6-c226-4156-b8c1-7de86caac9ae.jpg" /> where<img src="5-7401635\f95a8729-ea79-4f78-be3a-47131b2ba195.jpg" />. <img src="5-7401635\d2936c77-59a7-4c0e-9375-4b03b91bc097.jpg" />is different from<img src="5-7401635\2ac3482f-0eb6-4153-9e89-fae949eb9292.jpg" />. <img src="5-7401635\a0d1cb99-534d-43a1-b7c1-b17d67ec39cb.jpg" />is just a pair of strings written in that form instead of<img src="5-7401635\6bdb2102-174a-4bae-8f4b-8b6ddcfecdfd.jpg" />whereas in <img src="5-7401635\2123550b-8d73-4a0a-a3bf-491bd890f3a7.jpg" /> the two strands are of same length i.e. <img src="5-7401635\79e6b8e6-7736-4b23-93b9-d01dfd6d1dd5.jpg" />and the corresponding symbols in two strands are complementarity in the sense of relation ρ.</p><p><img src="5-7401635\60e77655-d370-4630-a257-42a0fba4b9a6.jpg" />and</p><p><img src="5-7401635\d02f068b-127d-40ca-8546-a55cf6781384.jpg" />.<sup></sup></p><p>A transition in a Watson-Crick finite automaton can be defined as follows:</p><p>For, <img src="5-7401635\1e8d37cd-9f5f-48bc-a36b-10b186b89f2c.jpg" />such that</p><p><img src="5-7401635\9f42cf60-c94a-4764-8393-4aea160d80aa.jpg" />and <img src="5-7401635\ff124116-39cc-4868-bf79-5fd7ca516204.jpg" /></p><p><img src="5-7401635\d52d5b9e-109b-4b23-b882-f0d0c1bb1f9d.jpg" />iff there is transition rule <img src="5-7401635\ec0a7d9e-bfc0-4075-b3a9-650e4ecbfa23.jpg" /> in<img src="5-7401635\f37c4875-7c2f-43ac-a146-d7e3a479ea3c.jpg" />.</p><p><img src="5-7401635\65291961-7025-4252-8302-8679f20de96b.jpg" />denotes the transitive and reflexive closure of<img src="5-7401635\1928094d-d251-4455-a731-a221a7189bc9.jpg" />.The language accepted by Watson-Crick Automata is</p><p><img src="5-7401635\6f079ee9-bd3e-42a2-8668-de1cd363bfd9.jpg" /></p><p>For a Watson-Crick Automaton M, with input<img src="5-7401635\0821290c-8e47-4069-866f-2058443bbe97.jpg" />where w<sub>1</sub> is any string in V<sup>*</sup> and <img src="5-7401635\87ad807a-2615-488e-af39-ae016a3532b3.jpg" /> where q<sub>0</sub> is the initial state and q<sub>f</sub> is a final state. Then <img src="5-7401635\c55302c6-b712-4878-a5d4-f7a8225b8f91.jpg" /> is a computation in M denoted by<img src="5-7401635\db1d49a3-e3fe-444b-9ab6-4ac5e3d88013.jpg" />.</p><p>Another important language associated with WatsonCrick automaton is defined taking into consideration the transitions and not the language recognised.</p><p>For a Watson-Crick Automaton <img src="5-7401635\afac76b5-c22a-4267-9d6c-5659a5ef636b.jpg" /> consider a labeling<img src="5-7401635\96715452-8ad7-45f0-94d2-8c547af29fca.jpg" />of rules in <img src="5-7401635\51e31728-0a69-4a31-ab5b-79ea9ce826d0.jpg" /> with elements in a set Lab. For computation<img src="5-7401635\e7606cea-0cb5-4774-9095-a87c24597751.jpg" />denoted by<img src="5-7401635\60a92960-f13a-4791-ba95-3edff673030e.jpg" /> the control word of<img src="5-7401635\fe2db99b-8ab8-447a-b32a-f5bf456e6f6f.jpg" />, that is the sequence of labels of transition rules used in<img src="5-7401635\fa9b4910-6523-44e5-94ba-7d630ffba63f.jpg" />. In this way the language is obtained.</p><p><img src="5-7401635\096d781e-379b-4a93-912f-60707ca8964d.jpg" /></p><p>The definition of <img src="5-7401635\516cd5b4-83d4-47ca-90f4-a47ed5d53475.jpg" /> is stated in [<xref ref-type="bibr" rid="scirp.37402-ref4">4</xref>].</p></sec><sec id="s3"><title>3. Subclasses of Non-Deterministic Watson-Crick Automata (AWK)</title><p>Depending on the type of states and transition rules there are four types or subclasses of Watson-Crick Automata. Watson-Crick Automaton <img src="5-7401635\d7fc70c6-663e-465b-97f8-efac0d4d7a28.jpg" /> is</p><p>1) stateless (NWK): If it has only one state, i.e.</p><p><img src="5-7401635\fd7d15d6-d305-4243-85a2-36bd57854cfa.jpg" /></p><p>2) all-final (FWK): If all the states are final, i.e.</p><p><img src="5-7401635\28fd3e9e-06e3-4b4e-988f-2b2b1aca3dea.jpg" /></p><p>3) simple (SWK): If at each step the automaton reads either from the upper strand or from the lower strand, i.e. for any transition rule</p><p><img src="5-7401635\5a20c835-8060-4ecd-8b15-61cd9509fc6f.jpg" /></p><p>4) 1-limlited (1WK): If for any transition rule q</p><p><img src="5-7401635\80609d28-9f2a-409c-abe7-fda34a185712.jpg" />, we have<img src="5-7401635\0d06408b-007d-44aa-89e7-e21a6226dee6.jpg" />.</p><p>Theorem 1: Simple and 1 limited Watson-Crick automata accept the same family of languages as the family of languages accepted by Watson-Crick automata with arbitrary transition rules.</p><p>The proof of Theorem 1 is in [<xref ref-type="bibr" rid="scirp.37402-ref4">4</xref>].</p><p>Theorem 2: Non-deterministic Watson-Crick automata are equivalent with non-deterministic simple Watson-Crick automata.</p><p>Corollary 1: Non-deterministic Watson-Crick automata are equivalent with non-deterministic 1-limited Watson-Crick automata.</p><p>The proof of Theorem 2 and Corollary 1 are given in [<xref ref-type="bibr" rid="scirp.37402-ref4">4</xref>].</p></sec><sec id="s4"><title>4. Twin-Shuffle Language</title><p>Consider an alphabet V and its barred variant,<img src="5-7401635\fbc5f2d0-6cdb-4d7d-9df3-e3db53813076.jpg" />. The language</p><p><img src="5-7401635\911d2e82-b111-4ad4-8d8c-1269fad98d4c.jpg" /></p><p>is called the twin-shuffle language over<img src="5-7401635\f8938cd5-e563-4a35-9c48-83ef9b8b7765.jpg" />. (For a string <img src="5-7401635\bc79d094-68f1-45ec-93de-834932a7a5af.jpg" /> denotes the string obtained by replacing each symbol in x with its barred variant).</p><p>For the morphism h: <img src="5-7401635\45ef9272-92b7-401b-bfcc-9e793e722a1e.jpg" />defined by</p><p><img src="5-7401635\ec60d73d-aaa6-436b-bad3-cfb5f916b047.jpg" /></p><p><img src="5-7401635\d1cf8798-0b87-43ec-a8ce-95e78cae8fd4.jpg" /></p><p>Clearly the equality is <img src="5-7401635\f4347c5f-33b1-4920-ac4d-057aba341b21.jpg" /></p><p>Theorem 3: Each recursively enumerable language <img src="5-7401635\4f7ffc99-b2b8-47e0-8551-36fc3ac35c84.jpg" /> can be written in the form <img src="5-7401635\58652aca-6e43-4338-89bc-0af12b669fe9.jpg" />, where <img src="5-7401635\d4425f8e-6f36-474f-bf41-43dd82594e4e.jpg" /> is an alphabet and R is a regular language.</p><p>In this representation, the language TS<sub>V</sub> depends on the language L. This can be avoided in the following way:</p><p>Let a coding be <img src="5-7401635\5200492b-4bf3-422f-b7d6-db578917d1c8.jpg" /> for instance,<img src="5-7401635\e0af3ed6-2daf-4c99-9667-457602dbf924.jpg" />, where <img src="5-7401635\ed90bf42-b36c-4645-b0c5-1b3175e9acd0.jpg" /> is the <img src="5-7401635\fd0a6368-b462-4637-bc66-68bfb6d1425a.jpg" /> symbol of <img src="5-7401635\27989957-5320-4a4f-ba13-6519914b2df0.jpg" /> in a specified ordering. The language <img src="5-7401635\bacc0dcb-626b-461d-8b2b-fd1c8c041e2a.jpg" /> is regular. A generalized sequential machine <img src="5-7401635\b02f227f-7954-4de8-81a2-941f82459e08.jpg" /> can simulate the intersection with a regular language, the projection <img src="5-7401635\2a9c2d58-6850-4768-b42c-09962e25e9bf.jpg" /> as well as the decoding of elements in <img src="5-7401635\ed5ee528-0b22-4d10-b935-8486e5d89d63.jpg" /> Thus we obtain:</p><p>Corollary 2: For each recursively enumerable language <img src="5-7401635\5f589a7a-3291-40d3-9dd4-34a5ff745d20.jpg" /> there is a gsm gL such that<img src="5-7401635\e8d06577-87ce-46a1-82e8-1760609aeb83.jpg" /></p><p>Therefore, by using a sequential transducer which can be a deterministic one, we can obtain all recursively enumerable language, starting from the unique language <img src="5-7401635\f3cd8cbb-8132-4643-b6a4-b4f9e1758c45.jpg" /> Proofs of Theorem 3 and Corollary 2 are in [<xref ref-type="bibr" rid="scirp.37402-ref1">1</xref>].</p></sec><sec id="s5"><title>5. Two-Way Non-Deterministic Watson Crick Automata (2AWK)</title><p>Two-way non-deterministic Watson Crick automata system is a 6 tuple, <img src="5-7401635\dd118041-75f9-41cd-9917-bc526f7bab24.jpg" />where <img src="5-7401635\13ef4a8e-08f1-42f8-a93a-ce6563d981a9.jpg" /> is a set of alphabet, <img src="5-7401635\fe9a8f25-59e7-402e-bd93-a02c744c4f7b.jpg" />are the beginning and the end marker respectively; that is the word w to be recognized is provided as an input to the automaton in the form <img src="5-7401635\219d2535-d623-4976-b680-7ed9c537a01d.jpg" /> is a set of states, <img src="5-7401635\0a949b01-a52b-4a95-9a50-2ef79bb082c5.jpg" />and <img src="5-7401635\9b861e81-6926-4313-ad0a-984e4dda9728.jpg" /> and <img src="5-7401635\e37b40f9-083b-48aa-ba2d-228cf78652fe.jpg" /> is the complementarity relation and <img src="5-7401635\ac2505c1-feec-401d-a812-c770224194e3.jpg" /> is the initial state and <img src="5-7401635\0a11902f-480f-40e1-97e5-0c209bc53d84.jpg" /> is the set of final states. <img src="5-7401635\b44b5b8d-2471-4f7e-a384-77ab152c2367.jpg" />is the finite number of transition rules;</p><p>1) either of the form<img src="5-7401635\5548619a-698a-4daa-ac4e-d17fca834197.jpg" />, which denotes that the machine in state q parses <img src="5-7401635\d8fd5a79-7bb2-49e5-8c0a-9382fe62c573.jpg" /> in upper strand in dir<sub>1</sub> direction and <img src="5-7401635\3bc1505b-cd19-4891-b630-487a86e06636.jpg" /> in lower strand in dir<sub>2</sub> direction and goes to state <img src="5-7401635\1ff57668-7f69-450c-bcfd-6892be648c80.jpg" /> where<img src="5-7401635\886c4b20-8b6d-4cfd-9de6-ca0d8ed40f5b.jpg" />where L signifies that the head is reading the word in the left direction, R signifies that the head is reading the word in right direction and if a head reads the empty word <img src="5-7401635\1a94129c-e2b3-4fe3-93fa-a863e79fc07c.jpg" /> it remains in its current position denoted by 0.</p><p>2) or of the forms<img src="5-7401635\5730f815-2cd2-4613-afd1-7bf2654e35e0.jpg" />, where<img src="5-7401635\505fff97-2df5-42ba-b304-50280eaab200.jpg" />and <img src="5-7401635\f0d9e187-c565-4751-9b51-deabb24dd4f9.jpg" /> with restrictions that when <img src="5-7401635\289d81c3-282b-4418-b7a4-08ce019f5fe4.jpg" /> the corresponding<img src="5-7401635\99d45be5-abb3-4cf2-90d0-9d9d6218dbdf.jpg" />and when <img src="5-7401635\8a40a0f9-a92b-4c82-8d4a-0d79cbbb394a.jpg" /> the corresponding<img src="5-7401635\d90fb1b1-42c2-4688-a64a-fc1ce2ededbc.jpg" />. Moreover, there cannot be transition rules having the form <img src="5-7401635\909b3ee6-9210-4bb6-941a-1c5aa23bf7ad.jpg" /> where<img src="5-7401635\d38428ff-b0f1-461a-815b-c45421471d81.jpg" />where <img src="5-7401635\bb2e26dd-75c8-4659-85eb-ffe3cabeaca2.jpg" /> and <img src="5-7401635\4d1990bf-9c3e-41b7-99d6-e37d0ff4d213.jpg" /> or <img src="5-7401635\c2eb46c8-992f-4296-ad07-aa7ac4cc2ee9.jpg" /> where <img src="5-7401635\6547fd8c-0e81-4610-a5ca-830f36d7269f.jpg" /> and <img src="5-7401635\dccb23a6-b66c-4ee9-b917-1b3eb30b90a8.jpg" /> or both. These rules ensure that the reading heads do not go past the input word on the left side or the heads do not move when it reads empty word. Moreover once a head goes past the right end of the tape it cannot comeback.</p><p>Accepting conditions</p><p><img src="5-7401635\50381b57-796f-4973-b096-85442239c2aa.jpg" />is accepted by <img src="5-7401635\e97b3a26-150b-482e-87d8-63c14181193f.jpg" /> if, starting in state <img src="5-7401635\dceeb54a-7e66-4579-b68a-4e50018468ce.jpg" /> (initial state) with <img src="5-7401635\3cacc047-2176-4b70-9f38-533058b74bd0.jpg" /> and <img src="5-7401635\7c3318b0-22e5-4f97-bcee-9d336b91f9b5.jpg" /> on the double stranded input tape and the two heads at the left end of <img src="5-7401635\ed1c454a-3005-4d0c-a2e0-5d210d8a923d.jpg" /> and <img src="5-7401635\02ba9b84-3155-468b-8ae9-05a9f4d0144e.jpg" /> respectively, <img src="5-7401635\09e6db58-0e6f-449e-964d-31ab9d17858b.jpg" />eventually enters a final state at the same time both the heads fall off the right hand side of the double stranded input tape.</p><p>The word <img src="5-7401635\3e02412b-1a56-4af4-9a4c-dd262f23203d.jpg" /> is rejected if one of the following 3 conditions occurs:</p><p>1) The two-way WK automaton goes into a loop which is identified in a similar way as loops in two-way FAs are identified.</p><p>2) When both the heads fall off the right hand side of the input tape and the machine is in a non final state.</p><p>3) If the machine comes to a halt (i.e. there are no transition rules that can be applied for that particular state in which the machine is) before the heads fall off the right hand side of the input tape.</p><p>i.e. mathematically</p><p><img src="5-7401635\40215503-30de-46a8-8924-dcff572b503c.jpg" /></p></sec><sec id="s6"><title>6. Subclasses of Two-Way Non-Deterministic Watson-Crick Automata (2AWK)</title><p>Depending on the type of states and transition rules there are four types or subclasses of two-way Watson-Crick Automata similar to Watson Crick automata.</p><p>2-way Watson-Crick Automaton</p><p><img src="5-7401635\6ff70809-fcf3-4b29-8a62-3d7a40c94f91.jpg" />is</p><p>1) stateless (2NWK): If it has only one state, i.e.<img src="5-7401635\06865721-afe1-468a-bd92-7e4694eb1652.jpg" /></p><p>2) all-final (2FWK): If all the states are final, i.e.<img src="5-7401635\fda59738-5d38-4d41-8c76-800e97df201a.jpg" /></p><p>3) simple (2SWK): If at each step the automaton reads either from the upper strand or from the lower strand, i.e.for any transition rule <img src="5-7401635\1d2d9b92-3762-4d4f-b859-9a44e2fe2437.jpg" /> either<img src="5-7401635\dbc01755-8d0b-4c01-8a57-5627b7e57e85.jpg" /></p><p>4) 1-limlited (21WK): If for any transition rule<img src="5-7401635\9b5a0406-d81a-4de7-ae36-98e4f864e63f.jpg" />, we have <img src="5-7401635\5aa7b271-e38f-4766-a28f-ce8e592ac471.jpg" /></p><p>Many combinations of these classes can also be obtained such as all-final simple two-way WK automata (2FSWK), all final 1 limited two-way WK automata (21FWK), stateless 1 limited two-way WK automata (21NWK) etc.</p><p>Theorem 4: Simple and 1 limited two-way Watson Crick automata accept the same family of languages as the family of languages accepted by two-way Watson Crick automata with arbitrary transition rules.</p><p>The proof of theorem is similar to the proof done in [<xref ref-type="bibr" rid="scirp.37402-ref4">4</xref>] for Theorem 1.</p><p>Let <img src="5-7401635\13942370-7798-4755-b77e-7d5bf2cd7f3a.jpg" /> be a non-deterministic two-way Watson Crick automaton. We introduce a 1 limited two-way Watson Crick automaton<img src="5-7401635\b08183d8-0b90-4d40-aa1e-1879aebe27e6.jpg" />For each transition rule t of the form <img src="5-7401635\fa9f6f99-ff66-4ba2-9a67-d1e64bc93716.jpg" /> in <img src="5-7401635\69dc9b06-355b-4ee0-a820-dac6af924b86.jpg" /> where <img src="5-7401635\d17b1501-f05e-4222-ba78-3831561ee1cb.jpg" /> where <img src="5-7401635\c194c83f-7e09-4257-b89b-363a46f9a9a5.jpg" /> and <img src="5-7401635\2b094739-fa00-44af-832d-d8e8f49fb9a1.jpg" /> where <img src="5-7401635\89b42bf4-e639-439d-83da-f3721b89a06d.jpg" /> and <img src="5-7401635\e733b6a6-26bc-44a7-9089-2769adc7117b.jpg" /> the condition <img src="5-7401635\83175b6d-55df-4d28-a47c-9077c3b2bf24.jpg" /> is imposed because rules with <img src="5-7401635\840005aa-70f7-4cc2-8012-72b97c72ddd6.jpg" /> is already in the 1-limited form and no further modification is required for them. We introduce new rules in <img src="5-7401635\9ac56544-7828-43c5-95d5-a75febe955fa.jpg" /> of the form</p><disp-formula id="scirp.37402-formula112872"><graphic  xlink:href="5-7401635\b1b4c087-6d8b-4e7c-82df-c939ebdab289.jpg"  xlink:type="simple"/></disp-formula><p><img src="5-7401635\ddc80c92-9fdc-473b-8d1a-959c2631b906.jpg" /><sub><img src="5-7401635\e34ce006-c959-43b3-8445-15a53bfda3bd.jpg" /></sub></p><p><img src="5-7401635\cbc18e7c-6882-4323-82c5-d52feeb88fd8.jpg" /></p><p><img src="5-7401635\a79edef2-8e16-4975-95ad-e7654d2565e5.jpg" />.</p><p>All the new states are introduced in Q’ along with states in Q. From the construction of M’ which is obtained from M it is obvious that both M’ and M recognize the same language. So 2AWK are subset of 21WK and from the definition of 21WK and AWK we know that 21WK are subset of 2AWK. So 2AWK and 21WK are equivalent i.e. they accept the same family of languages. A similar proof can also be established for 2SWK. Therefore we can say, 2AWK = 2SWK = 21WK.</p><p>Theorem 5: All final two-way Watson Crick automata accept the same family of languages as the family of languages accepted by two-way Watson Crick automata with arbitrary transition rules.</p><p>Let <img src="5-7401635\af4d5c66-350f-42f0-a767-7e072342c9b7.jpg" /> be a two-way non-deterministic Watson Crick automaton. We introduce an all final two-way Watson Crick automaton<img src="5-7401635\55f08747-7400-439b-902a-5aeabfa757ce.jpg" />Each transition rule t of the form <img src="5-7401635\83cecabb-a4c1-4126-b8e1-7cdef6a2f9e4.jpg" /> in δ where <img src="5-7401635\5bb73100-0fac-4843-a6cf-6c53f5d9ab72.jpg" /> where<img src="5-7401635\2240c34b-833f-4258-9389-7746b3f69cb5.jpg" />and <img src="5-7401635\a2050365-bf6d-4701-8530-8558a2a74ee4.jpg" /> where <img src="5-7401635\26fb95ac-ef0b-433f-86a1-594f70ac7db8.jpg" /> falls under one of the five classes. The classes are defined as follows:</p><p>Class 1: Transition rules of the form</p><p><img src="5-7401635\bdff661b-d9b3-40f8-9872-c0fbf2141108.jpg" />in <img src="5-7401635\cb89c5b1-39af-4f3f-a5e4-066fd3d97a73.jpg" /> where <img src="5-7401635\d4078659-da79-4519-b79c-10ab68c13109.jpg" /> where<img src="5-7401635\808ec344-8f1b-413a-984f-a0f6de0722aa.jpg" />and <img src="5-7401635\88738de8-114d-441c-879d-0abcb819a889.jpg" /> where <img src="5-7401635\a69a90ec-b42d-4304-afb0-b08b75a9bf76.jpg" /> and <img src="5-7401635\5e517ff4-1604-48a1-9092-bd352cf0bbb3.jpg" /> and <img src="5-7401635\2a1484ca-4ba1-427f-996c-96a3a9bd3f27.jpg" /> i.e. w<sub>1</sub> and w<sub>2</sub> do not have $ at their ends.</p><p>Class 2: Transition rules of the form</p><p><img src="5-7401635\532e7cb5-559c-4742-853d-09e7123d3c73.jpg" />in <img src="5-7401635\7270cf5a-9e79-4612-80ce-1374dd35f8a6.jpg" /> where <img src="5-7401635\004f7542-8f90-40c0-ae8f-309995776aaa.jpg" /> where <img src="5-7401635\e3670700-8dbd-4286-a9ab-7ff46f88d864.jpg" /> and</p><p><img src="5-7401635\5ad1d875-e714-4788-9df6-46ce27c595f3.jpg" />where<img src="5-7401635\522c17b2-9035-4299-8509-092e7e5143b3.jpg" />, and <img src="5-7401635\38bf6f27-609d-4c1b-827e-b03f89dfd7a3.jpg" /> i.e. <img src="5-7401635\d95c385b-db14-4221-9b7d-a84e988d4b5e.jpg" />and <img src="5-7401635\91f3f646-536a-438c-8880-cfc365222245.jpg" /> both have $ at their ends.</p><p>Class 3: Transition rules of the form</p><p><img src="5-7401635\8bfb187f-f76c-438c-a2df-0f0f203a4364.jpg" />in <img src="5-7401635\516d23e6-595c-4354-8b3b-fb9d6b1a2578.jpg" /> where <img src="5-7401635\fd17d1ba-ed68-4fbc-bb0f-f4167f7ad2d5.jpg" /> where</p><p><img src="5-7401635\f3873011-f31d-4cd4-8395-32ec03b7b9f3.jpg" />and <img src="5-7401635\f06138d5-74d8-4690-a929-e007a10b2f7c.jpg" /> where <img src="5-7401635\936cb20a-7d05-497f-afec-a12e9c95aa78.jpg" />and <img src="5-7401635\81435e86-f7f2-4fd7-b5a0-0d55db959f22.jpg" /> i.e. <img src="5-7401635\93f91034-c882-4896-b95b-cd8d4fccbd89.jpg" />has <img src="5-7401635\dcb74d1d-03ba-488a-a304-173c0594a681.jpg" /> at its end and <img src="5-7401635\c8a4068f-d320-4b4b-b098-ee79b0166fed.jpg" /> does not have <img src="5-7401635\b03adc34-9634-478a-86cc-62c2a8b102bd.jpg" /> at its end.</p><p>Class 4: Transition rules of the form</p><p><img src="5-7401635\de2f3af2-7237-4b05-a449-d967df37f548.jpg" /> in <img src="5-7401635\c4d6e4b8-6f1c-4226-a94e-7b94de0a4080.jpg" /> where <img src="5-7401635\c715cf32-1d01-4f97-833d-1b00cb07cce5.jpg" /> where <img src="5-7401635\123c1e00-c4c4-4f24-997c-c1237a304d4a.jpg" /> and<img src="5-7401635\9cf1cc12-0f59-4a4f-ada7-9a89474a091a.jpg" />where <img src="5-7401635\58cb667a-5460-4230-8778-b593cf4e670c.jpg" /> and <img src="5-7401635\dd847145-e6d6-4385-a52f-18d453b94b3a.jpg" /> i.e. <img src="5-7401635\e1eef980-23c4-4a46-ac27-2e5ca6cf3557.jpg" />does not have <img src="5-7401635\49a1ea3b-e216-4530-a4bb-42cbfb8c6531.jpg" /> at its end and <img src="5-7401635\1218103f-a045-4a46-84f2-8aff529fd86b.jpg" /> has <img src="5-7401635\58878862-cc1c-4d90-93f5-47590f779b11.jpg" /> at its end.</p><p>Class 5: Either transition rules of the form</p><p><img src="5-7401635\9963f959-a49f-4406-a670-11a416b77e85.jpg" />in <img src="5-7401635\a18d41e4-8b98-41b5-8a32-8c366223f08c.jpg" /> or transition rules of the form</p><p><img src="5-7401635\d04df87a-cd79-4419-ae58-4e3e8353ccd8.jpg" />in <img src="5-7401635\0e6a67e9-4d56-427d-82e4-007a1af06d95.jpg" /> or transition rules of the form <img src="5-7401635\fa52be61-3664-4aa2-b017-7b39d94c5106.jpg" /> in<img src="5-7401635\46cf3c41-2cee-4e78-8bed-17b7298dff15.jpg" />.</p><p>The transition rules of <img src="5-7401635\cb1deec2-98d4-4409-8111-6eeccf48fd86.jpg" /> are modified as follows to form the transition rules of<img src="5-7401635\a5d93a54-7fcb-4ce5-b3dd-36f868b74ccd.jpg" />.</p><p>Transition rules of <img src="5-7401635\6e216f40-48bd-4430-9b08-2043b1f114ff.jpg" /> which fall in class 1 and class 5 are kept same in<img src="5-7401635\f8d87548-b30c-48e8-bc8d-5de4782048bc.jpg" />.</p><p>For transition rules of <img src="5-7401635\fd8937b2-755f-4673-a86c-24c52a3a9c08.jpg" /> which belong to class 2 two instances can occur;</p><p>case 1: For transition<img src="5-7401635\f74cef50-d71c-487a-9e25-f526ee2f5a09.jpg" />, where <img src="5-7401635\77337e92-15e1-4ecb-b078-3ba234f487e3.jpg" /> is a final state. In this case the transition rules are kept same in<img src="5-7401635\5e468a08-cff5-45e0-a271-bb73410bb8aa.jpg" />.</p><p>case 2: For transition<img src="5-7401635\cf511586-6d3b-42a5-9857-6f22f0144dbc.jpg" />, where <img src="5-7401635\4b97db34-9054-4ce4-939d-1f3ebbab652d.jpg" /> is a non final state. In this case the transition rules of <img src="5-7401635\9d3610f5-167d-4423-bb4a-5dff6e3c2c10.jpg" /> are modified as follows for<img src="5-7401635\78d25ed2-8c1f-45bd-ba71-1b9bd6d7cc06.jpg" />.</p><p>For each transition rule <img src="5-7401635\f0184f55-f89b-465d-9b5a-9fa51d4a4334.jpg" /> in <img src="5-7401635\ad21ff00-9cc5-4506-a530-c4c30bfe4ad0.jpg" /> belonging to class 2 where <img src="5-7401635\c3fc2827-a8b0-4698-b736-28ab7d71a49b.jpg" /> is a non final state,<img src="5-7401635\6c3d15b6-5a83-4083-bb8d-83c5ae368017.jpg" />where <img src="5-7401635\e8665dff-8c1a-492b-9946-45920638dd35.jpg" /> and <img src="5-7401635\78473f7b-277a-4d8c-8771-f232dde70751.jpg" /> are introduced in <img src="5-7401635\03e1b7d9-2177-4e69-a43d-78acc2f5fb4f.jpg" /> and there is no transition from <img src="5-7401635\fcdeb92e-c40d-439c-939d-0d934fbe6205.jpg" /> in<img src="5-7401635\f894b9a0-6343-4a78-a0b6-5cb128179509.jpg" />. These new rules in <img src="5-7401635\11a88078-167f-4a2c-ac70-5f4b2f21dd0c.jpg" /> ensure that if the heads go off the right end of the tape in <img src="5-7401635\5b3ce76e-1fa5-4e52-8401-21df57d5e0f1.jpg" /> when <img src="5-7401635\c9ab5f93-3adc-4ba6-970f-849d288be0c1.jpg" /> is in a non final state then <img src="5-7401635\2e2919a2-7024-4bb0-9533-ab08f3129520.jpg" /> would go to state <img src="5-7401635\d4b45955-4588-4629-9413-d09fc8affb57.jpg" /> and would not accept the string as there is no transition from <img src="5-7401635\bd0cb271-290f-4bf5-b1cf-e504ca656f07.jpg" /> i.e. the above stated rules ensure the heads do not fall off the right end of the tape for <img src="5-7401635\da493c8b-919c-4fec-8820-94bfb609ff71.jpg" /> when <img src="5-7401635\cc227579-e618-4322-a6e5-bf088f5b6487.jpg" /> does not accept the word. As <img src="5-7401635\c3da202f-ec73-4704-8371-6ea0552f27ee.jpg" /> is all final if the heads go off the right end of the tape it will accept the given string.</p><p>For transition rules of <img src="5-7401635\9176c8ee-7c16-4e7c-91bb-d142603ff3a0.jpg" /> which belong to class 3 the following modifications are needed. Class 3 also has two instances similar to class 2.</p><p>case 1: For transition<img src="5-7401635\98602ed4-a43f-4d67-98ac-1f51a9c90b74.jpg" />, where <img src="5-7401635\8350ab94-4e41-4a47-8239-5a354b30a5c9.jpg" /> is a final state. In this case the transition rules are kept same in<img src="5-7401635\12970c5f-e24f-441d-b0db-ae643f1661d3.jpg" />.</p><p>case 2: For transition<img src="5-7401635\a40e3144-382d-476d-ae56-1c85bbf98bd1.jpg" />, where <img src="5-7401635\1775c9bb-4044-4696-9e23-1cb156fd21d3.jpg" /> is a non final state. In this case the transition rules of <img src="5-7401635\3e8b7526-791e-49ec-b34b-ada7b61ab00f.jpg" /> are modified as follows for<img src="5-7401635\306b517c-7b41-488f-a98f-8afe07884748.jpg" />.</p><p>For each transition rule <img src="5-7401635\ac09acfe-4c1a-475c-a79e-b1d830335fba.jpg" /> in <img src="5-7401635\80dbb953-d18e-4b8f-8c6d-bcb5e9f2d1fb.jpg" /> belonging to class 3 where <img src="5-7401635\21fd599c-0652-4628-8fdd-2576515c3834.jpg" /> is a non final state,<img src="5-7401635\5d8cc302-9616-4ff0-ab56-0f7ec1a11959.jpg" />where <img src="5-7401635\79deb19a-9c09-42ab-87cb-b98210506b47.jpg" /> is introduced in<img src="5-7401635\db02fdb9-6755-4d71-a89f-7fee2414f751.jpg" />where <img src="5-7401635\f9821722-80dd-4cc0-a441-4f2008cf439e.jpg" /> denotes that the head on the upper strand has gone past the right end marker <img src="5-7401635\994de4e7-36ba-461a-935f-87a534db39a7.jpg" /> in the original machine <img src="5-7401635\7de2ad71-527e-4f91-9d04-9c2af380641f.jpg" /> on application of the above transition rule.</p><p>Only rules having λ on the upper strand are applied to <img src="5-7401635\c136e518-b8a0-47d1-b3fe-3eb57fbcb5c1.jpg" /> because in the actual machine <img src="5-7401635\ffaa8590-12e3-4f92-b59d-159fca7b795c.jpg" /> if the above rules of class 3 are applied then the upper head would have gone past the right end of the tape. So only rules having λ on the upper head can be applied to the machine<img src="5-7401635\98bc45d5-e208-464e-907c-c34d5d96b070.jpg" />. As <img src="5-7401635\f98f02c7-ae99-4653-a789-fab073a72f8a.jpg" /> replicates <img src="5-7401635\8618e553-4156-42ff-ade6-933935cb6a40.jpg" /> similar thing is done in <img src="5-7401635\2f085cd3-b6a6-43af-ae70-63064e86b9dc.jpg" /> too.</p><p>Thus, all the transition rules that can be applied to <img src="5-7401635\a8c94542-56d3-46f7-b960-0fc7c073344c.jpg" /> in <img src="5-7401635\7f94c2c8-86bd-4032-8ab3-7ac4d969164f.jpg" /> with <img src="5-7401635\d4feea5f-1f33-43d0-aee3-2b2456fa94cb.jpg" /> on the upper strand and <img src="5-7401635\342bdcd3-cfd7-46bd-8992-82ae2d4b35b9.jpg" /> and <img src="5-7401635\62e2b963-7162-4827-b02d-88bedb8ba743.jpg" /> in the lower strand can also be applied to <img src="5-7401635\4110eb0a-1054-4289-9be6-7a046b38eef6.jpg" /> in<img src="5-7401635\33908731-869c-42d5-9a9d-25e83cac8421.jpg" />. Rules having <img src="5-7401635\f8b30770-8f3a-4cda-bceb-ceb005a96d99.jpg" /> on the upper strand and <img src="5-7401635\54e875da-efc6-4719-8f75-1a0d584f10f4.jpg" /> and <img src="5-7401635\2fb4824e-db29-4a97-a1e6-96d452ea1835.jpg" /> in the lower strand where the transition goes to a final state are applied to<img src="5-7401635\42e27ee3-73f8-47b5-8287-44046e1aa6c9.jpg" />. Finally for rules with <img src="5-7401635\ac4fbd76-3987-4756-8361-a1f8b7329697.jpg" /> on the upper strand and<img src="5-7401635\4b9e79bd-e051-4bc3-ac78-fb85df5ca18b.jpg" />and <img src="5-7401635\f7253b7b-95e5-4d0c-9e08-ded05edf356d.jpg" /> in the lower strand where the transition goes to a non final state, the rules of the form <img src="5-7401635\23000254-eebc-4a1a-bbb7-8d56e8d1bcdb.jpg" />where <img src="5-7401635\bdafc426-60bb-476c-a5bf-c0e5109f35b6.jpg" /> are introduced in <img src="5-7401635\47e38b07-6d09-442c-a01a-d0302ead2baa.jpg" /> and there are no transition rules from <img src="5-7401635\ecb6ed12-8221-42a1-8225-c9f214dbf90a.jpg" /> These rules ensure that when M reaches the end of the string on a non final state then <img src="5-7401635\bbebc56f-0b71-46e6-9612-a4c816d6466c.jpg" /> goes to <img src="5-7401635\fc35a5f6-6388-4613-8a32-56cb0f6874f1.jpg" /> and <img src="5-7401635\d0bd3e78-21ac-4909-beed-24c625f45942.jpg" /> does not accept the string as there is no transition from <img src="5-7401635\46416124-a5f8-4616-b806-658bdaeaaf34.jpg" /> i.e. the above stated rules ensure the heads do not fall off the right end of the tape for <img src="5-7401635\34bbb0a3-5d9c-4c3b-9e02-1fa86ef632ea.jpg" /> when heads off M fall off the right end and the state to which M goes is non final.</p><p>Class 4 rules are handled in a similar way to class 3 rules.</p><p>It is obvious from the transition rules introduced in <img src="5-7401635\c918f823-6948-4012-bcc5-3b4f532efbe1.jpg" /> that <img src="5-7401635\b4dc1429-9372-4182-adad-a899e801a697.jpg" /> accepts the same family of languages as M.</p><p>Thus, 2FWK = 2AWK.</p><p>Theorem 6: All final 1 limited two-way Watson Crick automata accept the same family of languages as the family of languages accepted by 1 limited twoway Watson Crick automata with arbitrary transition rules.</p><p>Let <img src="5-7401635\7c491583-ab1e-4402-a981-df2f47b9e825.jpg" /> be a two-way 1 limited non-deterministic Watson Crick automaton. We introduce an all final 1 limited two-way Watson Crick automaton <img src="5-7401635\45466d56-ac84-4dc8-9364-bf6ad25325f5.jpg" /> Each transition rule t of the form <img src="5-7401635\86e04677-951b-422c-9e3e-40a23b0d5b8e.jpg" /> in <img src="5-7401635\91d06e82-13af-428b-9181-495969a6da4d.jpg" /> where <img src="5-7401635\f9953e92-c512-48e8-bbe8-f600da62c74f.jpg" />falls under one of the four classes. The classes are defined as follows:</p><p>Class 1: Transition rules of the form</p><p><img src="5-7401635\dae5522a-c0d5-4bbb-9857-ae52c05408ec.jpg" />in <img src="5-7401635\ffa57778-a05d-46d8-87a4-acbdf9f6bb0a.jpg" /> where <img src="5-7401635\d9d7af16-0874-44fb-8c62-8c9365fa9179.jpg" /></p><p>Class 2: Transition rules of the form</p><p><img src="5-7401635\536fe8d5-cabe-44f7-b6ea-02d6c57f4ffc.jpg" /> in<img src="5-7401635\ce3ee2a8-05c7-4a33-8327-252c7087afa4.jpg" />.</p><p>Class 3: Transition rules of the form</p><p><img src="5-7401635\73a9ae98-2b70-4401-99b5-f4e00abb3c67.jpg" /> in<img src="5-7401635\74cc5afe-4899-4063-a50d-69fe42256a02.jpg" />.</p><p>Class 4: Transition rules of the form</p><p><img src="5-7401635\ac200f05-9189-4366-b812-772eb8eff64c.jpg" /> in <img src="5-7401635\8d69e5d3-fbb1-41ed-99af-88e5600860a3.jpg" /> or transition rules of the form <img src="5-7401635\727a88c1-ab52-47ee-a631-c6d5e0f5c944.jpg" /> in <img src="5-7401635\2527aef4-5e6c-4395-bd77-bb4d8dff2c19.jpg" /></p><p>The transition rules of <img src="5-7401635\ad9e22e8-37fd-4f20-8870-31e02bba6dd0.jpg" /> are modified as follows to form the transition rules of<img src="5-7401635\5cb83216-511a-4ea1-8a01-4b7c593f538e.jpg" />.</p><p>Transition rules of <img src="5-7401635\c406c603-4cdd-48d0-b743-d2c4db800959.jpg" /> which fall in class 1 and class 4 are kept same in<img src="5-7401635\2f5d49c9-cef7-4217-83e6-08af76953fc9.jpg" />.</p><p>For transition rules of <img src="5-7401635\afc7646b-6704-4d74-9e84-c85708dc541c.jpg" /> which belong to class 2 have two instances.</p><p>case 1: For transition<img src="5-7401635\ae573d44-af4e-47b9-bbf9-6e1c2db896dc.jpg" />, where <img src="5-7401635\93b58055-c4e7-4386-972f-41d5fcbcf04d.jpg" /> is a final state. In this case the transition rules are kept same in<img src="5-7401635\30606d0e-8e66-4161-811b-280f7f75cb53.jpg" />.</p><p>case 2: For transition<img src="5-7401635\c538d864-c0b2-4850-adeb-9c63a1e83cbd.jpg" />, where <img src="5-7401635\6458db7c-3578-446b-a361-ca3378fafbcf.jpg" /> is a non final state. In this case the transition rules of <img src="5-7401635\216af5d3-c13e-49ca-9044-591d173cce4d.jpg" /> are modified as follows for<img src="5-7401635\87e18430-f529-4b9e-a9e5-c56edd30a00d.jpg" />.</p><p>For each transition rule <img src="5-7401635\6d13f602-4d3d-4409-a49b-4bff95527fa5.jpg" /> in <img src="5-7401635\461521cd-e15d-4950-8820-36c3c802e33b.jpg" /> belonging to class 2 where <img src="5-7401635\d697c05e-126e-404a-a927-898a2b577ae2.jpg" /> is a non final state,<img src="5-7401635\3bec1108-6fc7-4844-a0df-4046f3219ee0.jpg" />and <img src="5-7401635\d37b1020-824f-4dac-bd57-bd90bf447bae.jpg" /> where <img src="5-7401635\4fd38af5-5623-4f1e-8473-9039467dbca2.jpg" />are introduced in<img src="5-7401635\edb28871-8165-4ecb-98eb-eb7d122ad5aa.jpg" />. <img src="5-7401635\cd7f7adf-3fcf-44e1-bda3-1a9e0e85b678.jpg" />denotes that the head on the upper strand has gone past the right end marker <img src="5-7401635\869c71bc-24b3-46dc-a4c4-697b25086b75.jpg" /> in the original machine<img src="5-7401635\32909fb2-15e2-4460-899a-1dc7ff2d6818.jpg" />.</p><p>Only rules having <img src="5-7401635\6f6d9f6c-48e5-4cc1-bc73-85aa49cfa925.jpg" /> on the upper strand can be applied to <img src="5-7401635\68a4fceb-88c0-4b77-a985-e1512d416471.jpg" /> (for reasons similar to reasons stated in proof of Theorem 5). Thus, all the transition rules that can be applied to <img src="5-7401635\8c165ee8-c6e4-4c91-bee7-45a9358a2bed.jpg" /> with <img src="5-7401635\2dc8406a-b681-4a02-875a-c9dec0e9ceb7.jpg" /> on the upper strand and <img src="5-7401635\855c6eeb-1f86-4514-9c98-18d377dd9ce6.jpg" /> in the lower strand are applied to<img src="5-7401635\edf5d61b-92d0-46b0-9418-dc4d1d200678.jpg" />. For rules having <img src="5-7401635\3df612a6-a3f6-43e2-8531-9134291de937.jpg" /> on the upper strand and <img src="5-7401635\744e639b-8165-4709-a192-f566366f9ab2.jpg" /> in the lower strand where the transition goes to a final state are applied to<img src="5-7401635\6796f443-358f-492d-871f-ae5ead70e078.jpg" />. Finally for rules with <img src="5-7401635\3d5e1514-81e2-4bdf-825f-d890f1f377d9.jpg" /> on the upper strand and <img src="5-7401635\3769f20b-80b8-4c23-9bbc-293e3630d896.jpg" /> in the lower strand where the transition goes to a non final state in<img src="5-7401635\671295a9-b3f4-4d5e-a717-70d3232c9ed2.jpg" />, the rules of the form<img src="5-7401635\12eebfc4-aa9a-43be-9580-b26eb4660e53.jpg" />and<img src="5-7401635\a752cbb7-0ffa-4fd1-970e-b11856c3caba.jpg" />, where<img src="5-7401635\3d11d2e4-6d97-4b7b-9faf-0a2a818462ad.jpg" />are introduced in<img src="5-7401635\8222818e-2282-4faa-8023-22692d49878f.jpg" />. These rules ensure that when <img src="5-7401635\a5134ced-2b5f-481c-b0d1-895de9ca73af.jpg" /> reaches the end of the string on a non final state, <img src="5-7401635\3b6cb3e3-7e4a-493a-b1a4-10c7332a9110.jpg" />does not accept the string as there are no transitions from state <img src="5-7401635\ae452def-0ddc-49cb-978e-d203817867a9.jpg" /></p><p>Class 3 is handled in a similar way as class 2.</p><p>It is obvious from the transition rules introduced in <img src="5-7401635\3a8278cd-955d-435c-b033-9eff0678ec8d.jpg" /> that <img src="5-7401635\c8279793-946b-46ff-8851-c34f287dc824.jpg" /> accepts the same family of languages as<img src="5-7401635\a39a8e0a-55b3-41e7-bae6-1b5c3f1415a6.jpg" />.</p><p>Thus, 21FWK = 21WK.</p><p>Corollary 3: All final 1 limited two-way Watson Crick automata accept the same family of languages as the family of languages accepted by arbitrary twoway Watson Crick automata with arbitrary transition rules.</p><p>Proof: From Theorem 4 we know 2AWK = 21WK and from Theorem 6 we obtain 21FWK = 21WK. Thus combining both the results we get 21FWK = AWK.</p><p>Thus from the above Theorems we can state that 2AWK = 21FWK = 21WK = 2SWK = 2FSWK = 2FWK.</p></sec><sec id="s7"><title>7. Power of Two-Way Non-Deterministic WK Automata</title><p>In this section we first show that AWK are subset of 2AWK. Then we further show that this subset relation is proper i.e. 2AWK are more powerful than AWK.</p><p>Theorem 7: AWK <img src="5-7401635\12713775-bf6b-4e35-8bf8-7738c50fb7a7.jpg" /> 2AWK.</p><p>The theorem says that non-deterministic Watson Crick automata are subset of two-way non-deterministic Watson Crick automata.</p><p>Proof:</p><p>Let <img src="5-7401635\6bd0b7fd-bde0-437a-b76f-1a928e135670.jpg" />be a non-deterministic Watson Crick automaton where <img src="5-7401635\b3943600-b5fe-4d38-b8f6-090d77fe4495.jpg" /> is a set of alphabet, <img src="5-7401635\5f20a101-0ee3-4dbd-a4d1-4c0d78f5706d.jpg" />is a set of states, <img src="5-7401635\812d45a1-3da0-44ec-bdd3-6dd7fe7d9292.jpg" />is the complementarity relation and <img src="5-7401635\2275445e-e8a2-41c3-b6d4-0d24a2090531.jpg" /> is the initial state and <img src="5-7401635\a7492310-fada-4850-8b49-4b0e61153805.jpg" /> is the set of final states. <img src="5-7401635\e61f4394-2225-435f-9f0d-54ed33e9f8ff.jpg" />is the finite number of transition rules of the form<img src="5-7401635\b401af49-e8ad-4db8-bc94-69754e269691.jpg" />, where <img src="5-7401635\4d4be381-2f03-4168-b31f-9235dedf9893.jpg" /></p><p>We introduce a two-way non-deterministic Watson Crick automaton</p><p><img src="5-7401635\7d6a00aa-b01c-41aa-a1db-2a903cc0b0aa.jpg" />where <img src="5-7401635\7064fed4-4dc1-474e-871b-0d5225af2b37.jpg" /> is a set of alphabet, <img src="5-7401635\342f1d71-5dad-4924-8f25-00b9be06c55f.jpg" />are the beginning and the end marker respectively, that is, the word w to be recognized is provided as an input to the automaton in the form <img src="5-7401635\66ebcd69-58ef-4294-82e3-b1562e5754ed.jpg" /> <img src="5-7401635\a097d4c2-86a4-4c13-b03f-dbfadd02fa4f.jpg" /> is the complementarity relation and <img src="5-7401635\fd2e1e83-a06b-4b19-bb5e-7ddb57a2d464.jpg" /> is the initial state and q<sub>f</sub> is a final state. <img src="5-7401635\077587de-0887-4f2c-9384-077f45533839.jpg" />is the finite number of transition rules of the form</p><p>1) For each rule <img src="5-7401635\1bdabef4-4513-4183-aeeb-70bf17acc672.jpg" /> in <img src="5-7401635\d879908e-0f9f-468d-ae0d-976f29ca7a72.jpg" /> introduce</p><p><img src="5-7401635\9bea2fc6-7d6a-483f-aba8-1f66b0895ee1.jpg" />in<img src="5-7401635\a451eae6-9909-46f8-b8ae-cde5a000254e.jpg" />.</p><p>2)<img src="5-7401635\3a2fd56d-bbf9-4c6a-80af-022b89037ffa.jpg" />.</p><p>3) For each state <img src="5-7401635\f37d96c3-e528-4f7d-b4b7-d8ecb7bad917.jpg" /> in <img src="5-7401635\a2042ba3-d334-414a-a935-75a65d7c5d91.jpg" /> introduce</p><p><img src="5-7401635\7ce91ebc-75b8-4f02-9e6c-2a5da85fea4f.jpg" />in<img src="5-7401635\26bc6093-f1fb-462b-8911-3a2ddc34b879.jpg" />.</p><p>From the construction of <img src="5-7401635\b26a0dea-3347-4f14-842c-e8d6e8f8d953.jpg" /> it is evident that all that will be accepted by <img src="5-7401635\d33302c2-db5d-4ab7-9924-5ab04a0e4ac9.jpg" /> will be accepted by<img src="5-7401635\8bf2baa0-bbaf-4496-ba67-d64bb934c084.jpg" />.</p><p>Theorem 8: One-Way Two headed finite automata are equivalent to AWK</p><p>An informal proof of this theorem is in [<xref ref-type="bibr" rid="scirp.37402-ref4">4</xref>].</p><p>Example 1</p><p>Let <img src="5-7401635\bc46979d-73ea-42d6-8a8b-c425948f737e.jpg" /> be a 2AWK where <img src="5-7401635\cb875d1a-1bef-49f8-9ac1-f023bc5b2783.jpg" /> are the beginning and the end marker respectively, that is, the word w to be recognized is provided as an input to the automaton in the form <img src="5-7401635\8de34f60-3cfd-4c9f-9367-932f490927d8.jpg" /> <img src="5-7401635\056f3090-6e21-49d2-86a7-5b625b4887a8.jpg" /> is a set of states, <img src="5-7401635\fbe29243-cb5e-4842-9175-5dd1f865202e.jpg" /><img src="5-7401635\9da351bc-4f43-41ba-90cc-4442df5bf1db.jpg" />is the identity complementarity relation and <img src="5-7401635\6e064f55-a386-4151-8474-392b408f2df8.jpg" /> is the initial state and <img src="5-7401635\bf144588-f8b3-4bbf-9c0b-5f7c7df594fb.jpg" /> is the set of final states. <img src="5-7401635\af7cb4ea-005d-4611-94e5-123b3f038305.jpg" />is the finite number of transition rules. In this example the mirror language <img src="5-7401635\539d61d6-6a42-46ef-adee-d80214a2a525.jpg" />and<img src="5-7401635\aa6e68af-74bc-4fcc-9117-26783effb0d0.jpg" />where <img src="5-7401635\9577c339-1964-4f84-aefc-40116250d5f1.jpg" /> denotes the reverse of <img src="5-7401635\5ef0b212-f2d4-4b66-9f10-90af0bae040b.jpg" /> is accepted using two-way Watson Crick automaton.</p><p>The transition rules of <img src="5-7401635\f58086f3-73cd-4d59-82f5-549c6ff26e48.jpg" /> are as follow</p><disp-formula id="scirp.37402-formula112873"><graphic  xlink:href="5-7401635\5a6467b6-087a-4c60-8c45-2ec528e01fe5.jpg"  xlink:type="simple"/></disp-formula><p><img src="5-7401635\2e5ea1c9-ce51-4238-babc-e2f9a463a00b.jpg" /></p><disp-formula id="scirp.37402-formula112874"><graphic  xlink:href="5-7401635\c51cc730-ca57-4cf5-baa0-c90b52e1bd25.jpg"  xlink:type="simple"/></disp-formula><p><img src="5-7401635\152370f9-4f4e-4133-9dd3-7d481159edc3.jpg" /></p><disp-formula id="scirp.37402-formula112875"><graphic  xlink:href="5-7401635\ed5eb248-b31b-435f-94ba-10a27646da4c.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.37402-formula112876"><graphic  xlink:href="5-7401635\d9ccb09c-4f86-418b-96b5-704bbfdf3e57.jpg"  xlink:type="simple"/></disp-formula><p><img src="5-7401635\0f92c68e-78db-4eda-945f-35ded9762821.jpg" />.<sub></sub></p><p>Theorem 9: One-way finite automata with 2 heads cannot accept the mirror language.</p><p>The above theorem is stated in [<xref ref-type="bibr" rid="scirp.37402-ref11">11</xref>].</p><p>Theorem 10: 2AWK are more powerful than AWK i.e. AWK <img src="5-7401635\e19c8b3e-8d19-4861-aa64-a380a0be5efd.jpg" /> 2AWK.</p><p>Proof. From Theorem 8 we know that AWK is equivalent to 1-way two headed finite automata and from Theorem 9 we know that 1-way two headed finite automata cannot recognize the mirror language. Thus AWK cannot recognize the mirror language. But in Example 1 we have shown that two-way AWK can accept the mirror language and in theorem 7 we have shown that AWK <img src="5-7401635\12713775-bf6b-4e35-8bf8-7738c50fb7a7.jpg" /> 2AWK i.e. 2AWK accepts all the family of languages which are accepted by AWK. Moreover it also accepts the mirror language which AWK cannot accept. Thus 2AWK accepts at least one language more than AWK. Hence we conclude that the accepting power of two-way AWK is more than AWK. Mathematically AWK <img src="5-7401635\e013cf91-105c-4df2-8ece-819bfa219d4f.jpg" /> 2AWK, i.e. the subset relation is proper.</p><p>Theorem 11: Family of languages accepted by WK automata is context sensitive.</p><p>A linear bounded Turing machine (LBA) can simulate the actions of two-way Watson Crick automaton. As the language accepted by LBA is context sensitive so the family of languages accepted by two-way Watson Crick automaton is also context sensitive.</p></sec><sec id="s8"><title>8. Characterization of Recursively Enumerable (RE) Languages in Terms of 2AWK Automata</title><p>In this section we discuss 2AWK in the light of the RE languages. We show each language in the family of RE is the image of a gsm mapping of a language in 2 AWK.</p><p>Theorem 12: TS<sub>V</sub><img src="5-7401635\054a136c-ca2a-4e4a-87a3-8d396e959f26.jpg" /> ( AWK(ctrl)</p><p>The proof of this theorem is in [<xref ref-type="bibr" rid="scirp.37402-ref4">4</xref>].</p><p>Theorem 13: For each recursively enumerable language L there is a gsm g<sub>L</sub> such that L = g<sub>L</sub> (2AWK (ctrl)).</p><p>Proof: We have already shown in Theorem 7 AWK <img src="5-7401635\054a136c-ca2a-4e4a-87a3-8d396e959f26.jpg" /> 2AWK and it is stated in [<xref ref-type="bibr" rid="scirp.37402-ref4">4</xref>] that TS<sub>V</sub> &#206; AWK(ctrl) and from corollary 2 we know that each language in the family of RE is the image of a gsm mapping of a language in TS<sub>{0,1}</sub>. As TS<sub>V</sub> &#206; AWK(ctrl) and AWK &#206; 2AWK, so we can state, each language in the family of RE is the image of a gsm mapping of a language in 2AWK(ctrl).</p></sec><sec id="s9"><title>9. Conclusion</title><p>In this paper, we discuss about the power of a variant of non-deterministic Watson Crick automata known as 2AWK. We describe their structure and accepting conditions. We introduce different subclasses of 2AWK similar to AWK and show the equivalence of some of those subclasses. We further establish the fact that 2AWK are more powerful than AWK. Based on the relation between AWK and 2AWK we show that a gsm mapping of 2AWK results in the generation of each language in the family of the recursively enumerable languages.</p></sec><sec id="s10"><title>REFERENCES</title></sec><sec id="s11"><title>Abbreviations</title><p>AWK: non-deterministic Watson-Crick automata.</p><p>NWK: stateless non-deterministic Watson-Crick automata.</p><p>FWK: all final non-deterministic Watson-Crick automata.</p><p>SWK: simple non-deterministic Watson-Crick automata.</p><p>1WK: 1-limited non-deterministic Watson-Crick automata.</p><p>2AWK: two way non-deterministic Watson-Crick automata.</p><p>2NWK: two way stateless non-deterministic WatsonCrick automata.</p><p>2FWK: two way all final non-deterministic WatsonCrick automata.</p><p>2SWK: two way simple non-deterministic WatsonCrick automata.</p><p>21WK: two way 1-limited non-deterministic WatsonCrick automata.</p><p>TS<sub>V</sub>: twin-shuffle language.</p><p>RE: recursive enumerable.</p><p>gsm: generalized sequential machine.</p></sec></body><back><ref-list><title>References</title><ref id="scirp.37402-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">L. C. S. Calude and G. Paun, “Computing with Cells and Atoms: An Introduction to Quantum, DNA and Membrane Computing,” Taylor &amp; Francis Publishers, London, 2001.</mixed-citation></ref><ref id="scirp.37402-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">L. M. Adleman, “Molecular Computation of Solutions to Combinatorial Problems,” Science, New Series, Vol. 226, No. 5187, 1994, pp. 1021-1024.  
http://dx.doi.org/10.1126/science.7973651</mixed-citation></ref><ref id="scirp.37402-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">R. Freund, G. Paun, G. Rozenberg and A. Saloma, “A, Watson-Crick Finite Automata,” Proceedings of the 3rd DIMACS Workshop on DNA Based Computers, Philadelphia, 1997, pp. 297-328.</mixed-citation></ref><ref id="scirp.37402-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">G. Paun, G. Rozenberg and A. Salomaa, “DNA Computing: New Computing Paradigms,” Springer-Verlag, Berlin, 1998.</mixed-citation></ref><ref id="scirp.37402-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">E. Czeizler, E. Czeizler, L. Kari and K Salomaa, “WatsonCrick Automata: Determinism and State Complexity,” Proceeding of: 10th International Workshop on Descriptional Complexity of Formal Systems, DCFS, 16-18 July 2008, pp. 121-133.</mixed-citation></ref><ref id="scirp.37402-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">E. Czeizler, E. Czeizler, L. Kari and K. Salomaa, “On the Descriptional Complexity of Watson-Crick Automata,” Theoretical Computer Science, Vol. 410, No. 35, 2009, pp. 3250-3260.  
http://dx.doi.org/10.1016/j.tcs.2009.05.001</mixed-citation></ref><ref id="scirp.37402-ref7"><label>7</label><mixed-citation publication-type="book" xlink:type="simple">E. Czeizler, E. Czeizler,” Parallel Communicating Watson-Crick Automata Systems,” In: Z. Fulop Z. Esik (Ed.), Proceedings of 11th International Conference, AFL 2005, 2005, pp. 83-96.</mixed-citation></ref><ref id="scirp.37402-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">E. Czeizler, “On the Power of Parallel Communicating Watson-Crick Automata Systems,” Theoretical Computer Science, Vol. 358, No. 1, 2006, pp. 142-147.</mixed-citation></ref><ref id="scirp.37402-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">E. Czeizler, “A Short Survey on Watson-Crick Automata,” Bulletin of the EATCS, Vol. 88, 2006, pp. 104-119.</mixed-citation></ref><ref id="scirp.37402-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">D. Kuske and P. Weigel, “The Role of the Complementarity Relation in Watson-Crick Automata and Sticker Systems,” Developments in Language Theory, Vol. 3340, Lecture Notes in Computer Science, Springer, Berlin, 2004, pp. 272-283.</mixed-citation></ref><ref id="scirp.37402-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">M. Holzer, M. Kutrib and A. Malcher, “Multi-Head Finite Automata: Characterizations, Concepts and Open Problems,” Proceedings International Workshop on the Complexity of Simple Programs, Cork, 6-7 December 2008, pp. 93-107.</mixed-citation></ref></ref-list></back></article>