Full text
The Power of Symport-3 with Few Extra Symbols Artiom Alhazov1,2and Yurii Rogozhin2 1Universit`a degli Studi di Milano-Bicocca Dipartimento di Informatica, Sistemistica e Comunicazione Viale Sarca 336, 20126 Milano, Italy E-mail: [email protected] 2Institute of Mathematics and Computer Science Academy of Sciences of Moldova Academiei 5, Chi¸sin˘au MD-2028 Moldova E-mail: {artiom,rogozhin}@math.md Summary. Membrane systems (with symbol objects) are formal models of distributed parallel multiset processing. Symport rules move multiple objects to a neighboring region. It is known that P systems with symport rules of weight at most 3 and a single membrane are computationally complete with 7 superfluous symbols. It is also known that without any superfluous symbols such systems only generate finite sets. We improve the lower bounds on the generative power of P systems with few superfluous objects as follows. 0: empty set and all singletons; k: all sets with at most k elements and all sets of numbers k+regular with up to kstates, 1 ≤k≤5; 6: all regular sets of non-negative integers. All results except the last one are also valid for different modes, e.g., sequential one, also for higher values of k. 1 Introduction Membrane systems (with symbol objects) are formal models of distributed parallel multiset processing. Symport rules move predefined groups objects to a neighboring region [4]. In maximally parallel mode (typical for membrane computing), this alone is sufficient to construct a computationally universal device, as long as the environment may contain an unbounded supply of some objects. The number of symbols specified in a symport rule is called its weight. The result of a computation is the total number of objects when the system halts. In some cases, however, for technical reasons the desired result may only be obtained alongside a small number of superfluous objects in the output region. There were multiple papers improving the results on P systems with symport/antiport of small weight (an antiport rule moves objects between 2 regions in both directions, and its weight is the maximum of objects per direction), see [2] for a survey of results. Computational completeness is achieved even for minimal cooperation: either symport/antiport of weight 1, or symport of weight at most
62 A. Alhazov, Y. Rogozhin 2. This holds for 2 membranes, without superfluous objects if the output is considered in the skin, or with 1 superfluous object under the classical assumption of the output in the elementary membrane. In the tissue case, the accepting systems can even be made deterministic. With cooperation of up to 3 objects, a single membrane suffices. The regions are called the skin and the environment, the latter contains an unbounded supply of some objects, while the contents of the former is always finite. With antiport- 2/1 alone (i.e., exchanging 1 object against 2), the computational completeness is obtained with a single superfluous object. With symport-3 (i.e., symport rules only, of weight up to 3), one proved in [3] that 13 extra objects suffices for computational completeness. This result has been improved in [1] to 7 superfluous symbols. In the same paper it was shown that without any superfluous symbols such systems only generate finite sets. The computation consists of multiple, sometimes simultaneous, actions of two types: move objects from the skin to the environment, and move objects from the environment into the skin. It is obvious that trying to move all objects out in the environment will activate the rules of the second type. Since, clearly, rules of the first type alone cannot generate more than finite sets, it immediately follows that the “garbage” is unavoidable. This paper tries to improve the currently best bounds on how much “garbage” is sufficient. 2 Definitions Throughout the paper, by “number” we will mean a non-negative integer. We write NjFINkto denote the family of all sets of numbers each not smaller than j, of cardinality k. By NjREGkwe denote the family of all sets Mof numbers each not smaller than j, such that {x−j|x∈M}is accepted by some finite automaton with kstates, with at least one transition from every non-final state. We assume the reader to be familiar with the basics of the formal language theory, and we recall that for a finite set V, the set of words over Vis denoted by V∗, the set of non-empty words is denoted by V+, and a multiset may be represented by a string, representing the multiplicity by the number of occurrences, the order not being important. 2.1 Finite Automata Definition 1. A finite automaton is a tuple A= (Σ, Q, q0, δ, F), where Σis an input alphabet, Qis the set of states, q0∈Qis the initial state, F⊆Qis the set of final states, and δ:Q×Σ−→ 2Qis the transition mapping. The function δis naturally extended from symbols to strings. The language accepted by Ais the set {w∈Σ∗|δ(q0, w)∩F=∅}.
The Power of Symport-3 with Few Extra Symbols 63 2.2 P Systems with Symport The scope of this paper is limited to P systems with symport only, with a single membrane. Definition 2. A P system with symport rules and one membrane is a tuple Π= (O, E, µ = [ ]1, w, R),where •Ois a finite set called alphabet; its elements are called symbols, •E⊆Ois the set of objects appearing in the environment in an unbounded supply, •µis the membrane structure, trivial in case of one membrane; the inner region is called the skin and the outer region is called the environment, •w∈O∗is the specification of the initial contents of the inner region, •Ris the set of rules of types (u, out)or (v, in),u, v ∈O+. An action of a rule (u, out) is to move the multiset of objects specified by ufrom the skin into the environment. An action of a rule (v, in) is to move the multiset of objects specified by vfrom the environment into the skin (v∈E∗is not allowed by definition). The objects are assigned to rules non-deterministically. Maximal parallelism allows application of multiple rules simultaneously and multiple times, as long as there are enough copies of objects for them, and provided no further rule is applicable to the unassigned objects. The computation halts when no rules are applicable at some step. The result of a halting computation is the total number of objects in the inner region when it halts. The set of numbers N(Π) generated by a P system Πis the set of results of all its computations. The family of sets of numbers generated by a family of P systems with one membrane and symport rules of weight at most kis denoted by NOP1(symk) in maximally parallel mode. We add superscript sequ to Pto indicate sequential mode instead. 3 Few-Element Sets We now present a few simple systems. Π0= (O={a}, E =∅, µ = [ ]1, w =a, R ={(a, in),(a, out)}). System Π0perpetually moves a single object in and out, effectively generating the emptyset. For any x∈N, setting R=∅and w=axwill lead to a system Π1 which immediately halts, generating a singleton {x}. We now proceed to arbitrary small-cardinality sets. To generate a multi-element set, the system must make at least one non-deterministic choice. Since we want to allow the difference between the elements to be arbitrarily large, such choice
64 A. Alhazov, Y. Rogozhin must be persistent, i.e., the decision information should not vanish, at least until multiple objects are moved accordingly. For any numbers y > x, consider the following P system: Π2= (O={a, b, i, p, q}, E ={q}, µ = [ ]1, w =axby−x+1ip, R), R={(i, out),(ip, out),(pq, in),(pqb, out)}. There are two possible computations of Π2: either iexits alone, halting with axby−x+1p, generating y+ 2, or iexits with p, leading to a sequence of application of the last two rules until no objects bremain in the skin, halting with axpq, generating x+ 2. Therefore, Π2generates an arbitrary 2-element set with 2 extra objects. This construction can be improved to generate higher-cardinality sets as follows. Let m≥2; for arbitrary m+ 1 distinct numbers denote the largest one by y and the others by xj, 1 ≤j≤m. We construct another P system: Πm+1 = (O, E ={qj|1≤j≤m}, µ = [ ]1, w, R), O={aj|1≤j≤y+ 1} ∪ {i}∪{pj, qj|1≤j≤m}, w=i y+1 ∏ j=1 aj m ∏ j=1 pj, R={(i, out)}∪{(ipj, out),(pjqj, in)|1≤j≤m} ∪(pjqjak, out)|1≤j≤m, xj+ 1 ≤k≤y+ 1, j =k}. Such system behaves like Π2, except it also chooses among different objects pjto send out symbols akfor k > xj. It halts either with a1· · · ay+1p1· · · pmgenerating y+m+ 1, or with a1· · · axjqjp1· · · pmgenerating xj+m+ 1. For m= 2,3,4 this leads to Π3generating {x1+ 3, x2+ 3, y + 3},Π4generating {x1+ 4, x2+ 4, x3+ 4, y + 4}, and Π5generating {x1+ 5, x2+ 5, x3+ 5, x4+ 5, y + 5}, i.e., any 3-, 4- or 5-element set with 3, 4 or 5 extra objects, respectively. 4 Sequential Mode and Straightforward Regularity Remark 1. All P systems constructed in the previous section de facto work sequentially, hence the results are valid for P system in any other traditional derivation mode (e.g., sequential, asynchronous, minimally parallel, maximal strategy). The sequential mode is an interesting candidate for a research topic, due to its simplicity, even though its power (as that of any sequential multiset rewriting system without control) cannot exceed NMAT =NREG, and infinite sets without zero cannot be generated in this case either, for the same argument as in maximally parallel case. We now proceed by constructing a P system generating the length set of a language accepted by a finite automaton A= (Q, Σ, δ, q0, F), where Q={qj|
The Power of Symport-3 with Few Extra Symbols 65 0≤j≤m}; we assume Asatisfies the following property: there is at least one transition from every non-final state. ΠA= (O=Q∪Q′∪Σ, E =Q′∪Σ, µ = [ ]1, w =q0· · · qmq′ 0, R), R={(qjq′ j, out)|0≤j≤m} ∪ {(qjaq′ k, in)|qk∈δ(qj, a), a ∈Σ}∪{(q′ j, out)|qj∈F}. Notice also that adding an arbitrary number of objects from Σto the initial configuration increases the result by the corresponding number. Unfortunately, besides the needed number, the skin region at halting also contains the superfluous symbols, as many as there are states in A. Therefore, we have obtained all sets NjREGk,j≥k. Within this section it is enough to consider j=k, because REGj contains REGk. Remark 2. If we fix j, k and restrict Ato be deterministic, then the number set Mgenerated by the corresponding P system can be characterized by the following properties: x≥jfor all x∈Mand there exists a number 0 ≤p≤ksuch that if x≥j+k−p, then x∈Mif and only if x+p∈M. Hence, acceptability of sufficiently large numbers is determined by the remainder of their division by some p<k. The general result is also valid for non-deterministic systems, but exact characterization in terms of states is less straightforward. The simplest examples of application of ΠAare the set of all positive numbers and the set of all positive even numbers. It is not difficult to notice that the result of ΠAdoes not depend on the computation mode, e.g., it is valid also for maximally parallel mode. Therefore, both NOP sequ 1(sym3) and NOP1(sym3) contain NF IN0∪NFIN1∪ ∞ ∪ k=2 NkFINk∪ ∞ ∪ k=1 NkREGk. We recall that the upper bound for NOP sequ 1(sym3) is N1REG ∪NFIN. 5 Larger Sets and Few Extra Objects We now focus on the maximally parallel mode, and revisit the symport-3 construction from [1]. The 7 extra objects were denoted lh, b, d, x1, x4, x5, x6. Recall that any regular set of numbers is generated by some non-deterministic register machine with only ADD-instructions, or, equivalently, accepted by a finite automaton. It suffices to take the same construction, and notice that object dis no longer needed to check for the conflicting counters. Removing it from the system leads to P systems generating N6REG. Hence, the contribution of the previous
66 A. Alhazov, Y. Rogozhin section for maximally parallel P systems can be limited to infinite sets of the form small number+infinite regularity accepted by at most 5 states. We now recall the construction from [1] with the corresponding changes to generate N6REG, rewritten in the syntax of finite automata. Let Lbe an arbitrary set from N6REG. Then there exists a finite automaton A= (Σ, Q, q0, δ, F) accepting L−6 = {n−6|n∈L}. We construct a P system simulating A: Π= (O, E, [ ]1, w, R, 1),where O={xi|1≤i≤6} ∪ Q∪ {(p, q, j)|p, q ∈Q, 1≤j≤3}∪{a, A, b, H}, E=Q∪ {(p, q, 2) |p, q ∈Q}∪{a, A, x2, x3, H}, w=q0x1x4x5x6bA ∏ p,q∈P (p, q, 1)(p, q, 3), R={1 : (x1x2x3, in),2 : (x2x4x5, out),3 : (x3x6, out),4 : (Hb, in)} ∪ {5 : (qb, out)|q∈F} ∪ {6 : (Hbx, out)|x∈ {(p, q, 1),(p, q, 3) |p, q ∈Q}∪{A}} ∪ {7 : (p(p, q, 1)x1, out),8 : ((p, q, 1)x4(p, q, 2), in), 9 : ((p, q, 2)(p, q, 3)A, out),10 : ((p, q, 3)x5q, in), 11 : (Ax6a, in)|q∈δ(p, s)}. Notice that the effect of rules 1,2,3 is that sending object x1out will bring x2and x3in, which, in turn, will send objects x4,x5and x6out. Notice also that rules 8,10,11 need x4,x5and x6, so if these objects are inside the membrane, then all objects of the form (p, q, j), j∈ {1,3}may be sent out, without enabling these rules. We will skip mentioning objects xjin the simulation. The simulation of a transition in Ais performed as follows: •The state pbrings object (p, q, 1) out, also sending x1out to enable the rest of the simulation. •Object (p, q, 1) brings object (p, q, 2) in, which, in turn, brings both (p, q, 3) and Aout. •Object (p, q, 3) brings in the next state q, while object Abrings in object a, contributing to the result. If the current state is final, rule 5 may be applied, leading to iteration of rules 4 and 6, taking out all objects except H, b, x1, x4, x5, x6and the desired number of copies of a. Remark 3. If we were interested in generating vectors rather than numbers, simulation of partially blind register machines could be also performed with six additional objects. Since this gives no additional power for numbers (i.e., NMAT=NREG), we presented the simpler construction, without subtraction.
The Power of Symport-3 with Few Extra Symbols 67 6 Discussion It has been known that P systems with symport rules of weight at most 3 generate at least N7RE, and cannot generate infinite sets containing 0. We have improved the lower bound to NF IN0∪NFIN1∪N2F IN2∪N3FIN3∪N4FIN4∪N5FIN5 ∪N1REG1∪N2REG2∪N3REG3∪N4REG4∪N5FIN5 ∪N6REG ∪N7RE. It is open whether this bound is tight, since the current best known upper bound is N1RE ∪NF IN. For the sequential case, the bounds are given in the end of Section 4. It is particularly interesting whether infinitely many additional objects are unavoidable for generation of regular number sets in the sequential mode. Acknowledgements The first author acknowledges the project RetroNet by the Lombardy Region of Italy under the ASTIL Program (regional decree 6119, 20100618). References 1. A. Alhazov, R. Freund, Yu. Rogozhin: Computational Power of Symport/Antiport: History, Advances and Open Problems. In: R. Freund, Gh. P˘aun, G. Rozenberg, A. Salomaa: Membrane Computing, 6th International Workshop, WMC 2005, Vienna, Revised Selected and Invited Papers. Lecture Notes in Computer Science 3850, Springer, 2006, 1–30. 2. R. Freund, A. Alhazov, Yu. Rogozhin, S. Verlan: Communication P Systems. Chapter 5 in: Gh. P˘aun, G. Rozenberg, A. Salomaa: The Oxford Handbook of Membrane Computing, 2010, 118–143. 3. P. Frisco, H.J. Hoogeboom: P Systems with Symport/Antiport Simulating Counter Automata. Acta Informatica 41, 2004, 145-170. 4. A. P˘aun, Gh. P˘aun: The Power of Communication: P Systems with Symport/Antiport. New Generation Computing 20, 2002, 295-305.