08.01.2013 Views

LNCS 2950 - Aspects of Molecular Computing (Frontmatter Pages)

LNCS 2950 - Aspects of Molecular Computing (Frontmatter Pages)

LNCS 2950 - Aspects of Molecular Computing (Frontmatter Pages)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Communicating Distributed H Systems with Alternating Filters 381<br />

Molecules remaining in tube 1:<br />

R ′ S ′ Z1,R ′ 1 Sqjw2Y,Xw1alSqjw2Y.<br />

Molecules going from tube 2 to tube 1:<br />

RL.<br />

Molecules remaining in tube 2:<br />

R ′ L ′ ,R R 1 alS ′ qjw2Y,Xw1alS ′ qjw2Y,Xw1alL ′ ,R ′ S ′ qjw2Y,R ′ 1 L′ ,<br />

Xw1Sqiakw2Y,Xw1L, RSqiakw2Y,R R 1 L.<br />

On the next iteration R ′ 1Sqjw2Y will go from the first test tube to the second<br />

tube.<br />

Thus we modelled the application <strong>of</strong> the rule (qi,ak,R,al,qj) <strong>of</strong> the Turing<br />

machine M. It is easy to observe that if w2 = ε we first apply rule 1.1.1.1 in<br />

order to extend the tape to the right and after that w2 = a0. Alsoitiseasy<br />

to check that additional molecules obtained (such as Xw1Sqiakw2Y, Xw1L,<br />

RSqiakw2Y, R R 1 L, R R 1 alS ′ qjw2Y,RSqiakZ R 1 ,Xw1alS ′ qjw2Y, R ′ S ′ qjw2Y,<br />

R ′ S ′ Z1, R ′ 1 Sqjw2Y, Xw1alS ′ qjw2Y,Xw1alL ′ ) either go to the second test tube<br />

or do not alter the computation.<br />

For the left shift rules the things are similar, except that we ensure that there<br />

are at least 2 symbols at the left <strong>of</strong> S.<br />

We see that we model step by step the application <strong>of</strong> rules <strong>of</strong> M. Itiseasy<br />

to observe that this is the only possibility for the computations to go on as the<br />

molecule which encodes the configuration <strong>of</strong> M triggers the application <strong>of</strong> rules<br />

<strong>of</strong> Γ .<br />

Theorem 4. For any recursively enumerable language L⊆T ∗ there is a communicating<br />

distributed H system with alternating filters with two components and<br />

two filters Γ =(V,T,(A1,R1,F (1)<br />

1 ,F (2)<br />

1 ), (A2,R2,F (1)<br />

2 ,F (2)<br />

2 )), which generates<br />

L, i.e., L = L(Γ ).<br />

Pro<strong>of</strong>. For the pro<strong>of</strong> we use ideas similar to ones used in [10].<br />

Let L = {w0,w1,...}. Then there is a Turing machine TL which computes<br />

wi0 ...0startingfrom01i+1 where 0 is the blank symbol.<br />

It is possible to construct such a machine in the following way. Let G be a<br />

grammar which generates L. Then we can construct a Turing machine M which<br />

will simulate derivations in G, i.e., we shall obtain all sentential forms <strong>of</strong> G. We<br />

shall simulate bounded derivation in order to deal with a possible recursion in<br />

a derivation. After deriving a new word the machine checks if this word is a<br />

terminal word and, if this is the case, it checks if this word is the i-th terminal<br />

word which is obtained. If the last condition holds, then the machine erases<br />

everything except the word.<br />

Moreover, this machine is not stationary (i.e., the head has to move at each<br />

step) and it never visits cells to the left <strong>of</strong> the 0 from the initial configuration<br />

(i.e., the tape is semi-infinite to the right). Ideas for doing this can be found<br />

in [8]. So, machine TL transforms configuration q001k+1 into qf wk0 ...0.<br />

Now starting from TL it is possible to construct a machine T ′ L which computes<br />

01 k+2 Mq ′ f wk0 ...0 starting from q001 k+1 .Now,usingΓ we shall cut <strong>of</strong>f wk and<br />

pass to configuration q001 k+2 . In this way we will generate L word by word.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!