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

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

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

One-membrane symport P systems with few extra symbols<br />

We c<strong>on</strong>struct a P system simulating the counter automat<strong>on</strong> M ′ :<br />

Π = (O, E, [ ] 1<br />

, w, R, 1), where<br />

O = E ∪ alph(w),<br />

E = Q \ {q f } ∪ {x 2 , x 4 , #} ∪ {a i | i ∈ C} ∪ {p 2 | p ∈ P },<br />

O ′ = {p i | i ∈ {1, 3}, p ∈ P } ∪ {A i | i ∈ C},<br />

w = q f oq 0 x 1 x 3 x 5 ds, where s represents O ′ ,<br />

R = {1 : (x 1 x 2 , in), 2 : (x 2 x 1 x 3 , out), 3 : (x 2 d, out),<br />

4 : (x 3 x 4 , in), 5 : (x 4 x 3 x 5 , out), 6 : (x 4 d, out)}<br />

∪ {7 : (A i a i x 5 , in), 8 : (a i a ī d, out) | i ∈ C}<br />

∪ {9 : (qp 1 x 1 , out), 10 : (p 1 p 2 x 1 , in), 11 : (p 2 p 3 A i , out),<br />

12 : (p 3 q ′ x 3 , in), 13 : (p 3 #q f , in) | p : (q → q ′ , i+) ∈ P }<br />

∪ {14 : (qp 1 x 3 , out), 15 : (p 1 p 2 x 3 , in), 16 : (p 2 p 3 a i , out), 17 : (p 2 p 3 d, out),<br />

18 : (p 3 q ′ x 5 , in), 19 : (p 3 #q f , in) | p : (q → q ′ , i−) ∈ P }<br />

∪ {20 : (q f bx, out) | x ∈ O ′ } ∪ {21 : (q f b, in),<br />

22 : (#d, out), 23 : (#d, in), 24 : (oq f , out), 25 : (od, out)}.<br />

We now explain the “correct” work of Π. If n<strong>on</strong>-determinism allows to apply a<br />

different multiset of rules, then <strong>on</strong>e of rules from the group<br />

T = {3, 6, 8, 13, 17, 19, 25}<br />

is also applied, and then the computati<strong>on</strong> applies rules 22, 23 forever, without<br />

producing the result. Notice that even if multiple applicati<strong>on</strong>s of rules from T<br />

happen, this would <strong>on</strong>ly add further objects # to the skin, and the computati<strong>on</strong><br />

would still be unable to halt. In the “correct” computati<strong>on</strong>s of Π, rules from<br />

T are not applied, their role is <strong>on</strong>ly to ensure that symbols x 2 , x 4 , p 2 , o or pairs<br />

(a i , a ī ) are never idle in the skin, as well as that symbols p 3 are never idle in the<br />

envir<strong>on</strong>ment.<br />

Rule 24 is applied at the beginning of the computati<strong>on</strong>, in parallel with<br />

simulati<strong>on</strong> of the first instructi<strong>on</strong> of M ′ . If rule 21 is applied instead, then rule<br />

25 forces an infinite computati<strong>on</strong>. Throughout the simulati<strong>on</strong> of M ′ , object q f<br />

stays in the envir<strong>on</strong>ment (available in a single copy unlike other objects from<br />

Q).<br />

Increment is performed by a sequence of multisets of rules 9,1,2,(10,4),(5,11),<br />

(7,12). We remark that the system seems to have a choice between rules 1 and<br />

10. However, if rule 10 is applied immediately after rule 9, then rule 11 is applied,<br />

followed by rule 13, forcing a n<strong>on</strong>-ending computati<strong>on</strong>. Yet, if rule 1 is applied<br />

again immediately after rule 2, then rule 2 is no l<strong>on</strong>ger applicable, forcing rule<br />

3 and a n<strong>on</strong>-ending computati<strong>on</strong>.<br />

Decrement is performed by a sequence of multisets of rules 14,4,5,15,16,18.<br />

We remark that the system seems to have a choice between rules 4 and 15.<br />

However, if rule 15 is applied immediately after rule 14, then rule 16 or 17 is<br />

121

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

Saved successfully!

Ooh no, something went wrong!