09.09.2014 Views

13th International Conference on Membrane Computing - MTA Sztaki

13th International Conference on Membrane Computing - MTA Sztaki

13th International Conference on Membrane Computing - MTA Sztaki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A.E. Porreca, A. Leporati, G. Mauri, C. Zandr<strong>on</strong><br />

Theorem 1. Let M be a deterministic Turing machine with an input tape (of<br />

length n) and a work tape of length O(log n). Then, there exists a (DLT, DLT)-<br />

uniform family Π of c<strong>on</strong>uent recogniser P systems with active membranes working<br />

in logarithmic space such that L(M) = L(Π).<br />

Proof. Let s(n) = k log n be an upper bound <strong>on</strong> the length of the work tape of<br />

the Turing machine M, let Σ be the alphabet of M (including the blank symbol<br />

⊔) and Q its set of n<strong>on</strong>-nal states. Also, for all n ∈ N, let l(n) be the minimum<br />

number of bits required in order to represent the integers {0, . . . , n − 1}, that is,<br />

l(n) = ⌊log(n − 1)⌋ + 1.<br />

The initial c<strong>on</strong>gurati<strong>on</strong> of Π n , the P system simulating M <strong>on</strong> inputs of<br />

length n, c<strong>on</strong>sists of:<br />

An outermost membrane labelled by h. This membrane c<strong>on</strong>tains the object<br />

q 0,0 , whose subscripts are written using l(n) and l(s(n)) bits respectively.<br />

This is called the state object. In general, the existence of the object q i,w for<br />

some q ∈ Q and i, w ∈ N indicates that the simulated Turing machine M is<br />

currently in state q and its tape heads are located <strong>on</strong> the i-th symbol <strong>on</strong> the<br />

input tape and <strong>on</strong> the w-th symbol of the work tape.<br />

l(n) nested membranes labelled by i 0 , . . . , i l(n)−1 (where the subscripts are<br />

all represented in binary with exactly l(l(n)) bits), called the input tape<br />

membranes. The innermost membrane i 0 is the input membrane of Π n .<br />

s(n) membranes placed inside h and labelled by w 0 , . . . , w s(n)−1 (using l(s(n))<br />

bits for the subscripts), called the work tape membranes. Each membrane w w<br />

initially c<strong>on</strong>tains the object ⊔, indicating that the w-th cell of the work tape<br />

of M is blank.<br />

Two sets of membranes {a i : a ∈ Σ} and {a w : a ∈ Σ}, placed inside h<br />

and respectively called input tape symbol membranes and work tape symbol<br />

membranes.<br />

The input x ∈ Σ ⋆ of Π n is encoded as a multiset by subscripting each symbol<br />

with its positi<strong>on</strong> inside x, counting from 0 and using l(n) bits. This multiset is<br />

then placed inside membrane i 0 . (See Fig. 1.)<br />

Now assume that a few steps of M have been simulated by Π x . The current<br />

c<strong>on</strong>gurati<strong>on</strong> of the P system will be similar to the initial <strong>on</strong>e, except that<br />

the initial state object q 0,0 is replaced by some q i,w (with q ∈ Q, 0 ≤ i < n,<br />

0 ≤ w < s(n)) and the membranes w 0 , . . . , w s(n)−1 c<strong>on</strong>tain objects corresp<strong>on</strong>ding<br />

to the symbols <strong>on</strong> the work tape of M. (See Fig. 2.)<br />

The state object now enters the membranes i l(n)−1 , . . . , i 0 in that order; at<br />

the same time, it sets the charge of membrane i j to negative, if the j-th least<br />

signicant bit (counting from 0) of its subscript i is 0, and to positive if that bit<br />

is 1. The following rules are used in order to perform this process:<br />

q i,w [ ] 0 i j<br />

→ [q i,w ] − i j<br />

if the j-th least signicant bit of i is 0 (1)<br />

q i,w [ ] 0 i j<br />

→ [q i,w ] + i j<br />

if the j-th least signicant bit of i is 1. (2)<br />

These rules are replicated for all q ∈ Q, 0 ≤ i < n, 0 ≤ w < s(n), 0 < j < l(n).<br />

376

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

Saved successfully!

Ooh no, something went wrong!