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 />

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

This completes the descripti<strong>on</strong> of the family of P systems Π = {Π x : x ∈ Σ ⋆ }<br />

simulating M. Each P system Π x <strong>on</strong>ly requires O(log |x|) membranes and objects<br />

besides the input objects (and these are not modied nor created during the<br />

computati<strong>on</strong>).<br />

In order to prove Theorem 1 we still need to show that the family Π is indeed<br />

(DLT, DLT)-uniform. Here we provide a proof sketch for this result.<br />

C<strong>on</strong>sider the mapping x ↦→ w x , encoding each input string of M as a multiset<br />

over the alphabet of Π n (with n = |x|): each symbol of x has to be subscripted<br />

with an index of l(n) bits representing its positi<strong>on</strong> in x. The corresp<strong>on</strong>ding<br />

encoding predicate is<br />

encoding(x, i, a j ) ⇐⇒ j = i ∧ x i = a.<br />

It is easy to check in DLOGTIME if the predicate holds for each (x, i, a j ). First,<br />

we copy the porti<strong>on</strong>s of the input representing i and a j (of length O(log n)) <strong>on</strong><br />

auxiliary work tapes and we check if the third argument is indeed of the form<br />

a j for some a ∈ Σ by simulating a nite state automat<strong>on</strong>. By scanning i and<br />

j we can ensure that i = j. Then, we extract the i-th symbol of x by copying<br />

i <strong>on</strong> the address tape of the machine, and we check if that symbol is a. Since<br />

symbol-by-symbol comparis<strong>on</strong>s require linear time with respect to the length of<br />

the strings, the evaluati<strong>on</strong> of encoding can be carried out in logarithmic time.<br />

The alphabet of Π n can be represented by using O(l(n)) bits, where the<br />

hidden c<strong>on</strong>stants also depend <strong>on</strong> the size of the alphabet Σ of M. For simplicity,<br />

we can use kl(n) for some appropriate k as an upper bound, and set<br />

alphabet(1 n , m) ⇐⇒ m = kl(n).<br />

This predicate can be checked in DLOGTIME, as multiplicati<strong>on</strong> by a c<strong>on</strong>stant<br />

can be implemented by repeated additi<strong>on</strong>s. The reas<strong>on</strong>ing for the predicate<br />

labels is similar.<br />

The membrane structure of Π n (see Fig. 1 for an example with n = 5) is<br />

described as follows:<br />

inside(1 n , h 1 , h 2 ) ⇐⇒ (h 1 = i l(n)−1 ∧ h 2 = h) ∨<br />

(h 1 = i j ∧ h 2 = i j+1 ∧ 0 ≤ j < l(n) − 1) ∨<br />

(h 1 = w j ∧ h 2 = h ∧ 0 ≤ j < s(n)) ∨<br />

(h 1 = a i ∧ h 2 = h ∧ a ∈ Σ) ∨<br />

(h 1 = a w ∧ h 2 = h ∧ a ∈ Σ)<br />

that is, by a disjuncti<strong>on</strong> of a c<strong>on</strong>stant number of c<strong>on</strong>juncts, each <strong>on</strong>e c<strong>on</strong>sisting<br />

of a c<strong>on</strong>stant number of terms whose truth can be veried in DLOGTIME by<br />

executing comparis<strong>on</strong>s or simple computati<strong>on</strong>s <strong>on</strong> numbers of O(log n) bits. The<br />

input membrane is identied by<br />

input(1 m , h) ⇐⇒ h = i 0 .<br />

380

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

Saved successfully!

Ooh no, something went wrong!