Full text
From distribution to replication in cooperative systems with active membranes: A frontier of the efficiency Luis Valencia-Cabrera, David Orellana-Martín, Miguel Á. Martínez-del-Amor, Agustín Riscos- Núñez, Mario J. Pérez-Jiménez Research Group of Natural Computing, Department of Computer Science and Artificial Intelligence, Universidad de Sevilla, Sevilla, 41012, Spain a b s t r a c t Keywords: Membrane Computing Active membranes Minimal cooperation Mitosis Computational complexity The Pversus NP problem P systems with active membranes use evolution, communication, dissolution and division (or separation) rules. They do not use cooperation neither priorities, but they have electrical charges associated with membranes, which can be modified by rule applications. The inspiration comes from the behaviour of living cells, who “compute” with their proteins in order to obtain energy, create components, send information to other cells, kill themselves (in a process called apoptosis), and so on. In these models, mitosis is simulated by division rules (for elementary and non-elementary membranes) and meiosis, that is, membrane fission inspiration, is captured in separation rules. The parent’s objects are replicated into both child membranes when a division occurs, while in the case of separation, objects are distributed (according to a prefixed partition). In both cases, active membranes have been proved to be too powerful for solving computationally hard problems in an efficient way. Due to this, polarizationless P systems with active membranes have been widely studied from a complexity point of view. Evolution rules simulate the transformation of components in membranes, but it is well known that in Biology elements interact with each other in order to obtain new components. In this paper, (restricted) cooperation in object evolution rules is considered, and the efficiency of the corresponding models is studied. 1. Introduction Membrane Computing is a distributed parallel computing paradigm inspired by the way the living cells process chemical substances, energy and information. The processor units in the basic model are abstractions of biological membranes, selectively permeable barriers which give cells their outer boundaries (plasma membranes) and their inner compartments (organelles). They control the flow of information between cells and the movement of substances into and out of cells, and they are also involved in the capture and release of energy. Biological membranes play an active part in the life of the cell. In fact, the passing of a chemical substance through a biological membrane is often implemented by an interaction between the membrane itself and the protein channels present in it. During this interaction, both the chemical substance and the membrane can be modified, at least locally.
Mitosis is a process by which two or more cells are produced/generated from one cell that could be considered as the “mother”. Several cell division inspired mechanisms were introduced in Membrane Computing. Specifically, P systems with active membranes [7] are non-cooperative systems that incorporate the mitosis based mechanisms by means of membrane division rules. By applying this kind of rules, under the influence of the object triggering it, the membrane is divided into two membranes and that object is replaced in the two new ones by possibly new objects, while the remaining objects are duplicated in both newly created membranes. These models are universal (they are equivalent in power to deterministic Turing machines) and they have the ability to provide efficient solutions to computationally hard problems, by making use of an exponential workspace created in a polynomial time (often, in linear time). Moreover, PSPACE-complete problems can be efficiently solved by families of P systems with active membranes which use division for elementary and non-elementary membranes. This paper deals with P systems with active membranes where electrical charges are removed, separation rules are used as a mechanism to generate an exponential number of membranes in polynomial time, and a restricted minimal cooperation in object evolution rules is considered. The efficiency of these new models is studied. The paper is organized as follows. Next section briefly describes some preliminaries in order to make the work selfcontained. In Section 3, syntax and semantics of polarizationless P systems with active membranes by using membrane division rules or membrane separation rules are introduced. Definition of Recognizer membrane systems is recalled in Section 4, as a framework to provide efficient solutions to decision problems. The concept of bounded minimal cooperation in object evolution rules is explained in Section 5. Next section is dedicated to show the limits of the computational efficiency of the polarizationless P systems with active membranes, separation rules and bounded minimal cooperation in object evolution rules. The computational complexity frontier between these systems and of polarizationless P systems with active membranes, division rules only for elementary membranes, minimal cooperation and without dissolution rules is established in Section 7. The paper ends with some open problems and concluding remarks. 2. Preliminaries An alphabet is a non-empty set and their elements are called symbols. A string u over is an ordered finite sequence of symbols, that is, a mapping from a natural number n ∈Nonto . The number nis called the length of the string uand it is denoted by |u|, that is, the length of a string is the number of occurrences of symbols that it contains. The empty string (with length 0) is denoted by λ. The set of all strings over an alphabet is denoted by ∗. A language over is a subset of ∗. A multiset over an alphabet is an ordered pair (, f)where fis a mapping from onto the set of natural numbers N.The support of a multiset m =(, f)is defined as supp(m) ={x ∈ | f(x) >0}. A multiset is finite (respectively, empty) if its support is a finite (respectively, empty) set. We denote by ∅the empty multiset and we denote by Mf()the set of all finite multisets over . Let m1=(, f1), m2=(, f2)be multisets over , then the union of m1and m2, denoted by m1+m2, is the multiset (, g), where g(x) =f1(x) +f2(x)for each x ∈. We say that m1is contained in m2and we denote it by m1⊆m2, if f1(x) ≤f2(x)for each x ∈. The relative complement of m2in m1, denoted by m1\m2, is the multiset (, g), where g(x) =f1(x) −f2(x)if f1(x) ≥f2(x), and g(x) =0otherwise. Let us recall that a free tree (tree, for short) is a connected, acyclic, undirected graph. A rooted tree is a tree in which one of the vertices (called the root of the tree) is distinguished from the others. In a rooted tree the concepts of ascendants and descendants are defined in a usual way. Given a node x(different from the root), if the last edge on the (unique) path from the root of the tree to the node xis {x, y}(in this case, x = y), then yis the parent of node xand xis achild of node y. The root is the only node in the tree with no parent. A node with no children is called a leaf (see [2] for details). 3. Polarizationless P systems with active membranes Let us briefly recall some definitions of P systems models that will be used in the paper (see [9] for details). A basic transition P system is a membrane system whose rules are of the following forms: evolution, communication, and dissolution. In these systems the size of the membrane structure does not increase, but an exponential workspace (in terms of number of objects) can be constructed in linear time, e.g. via evolution rules of the type [ a →a2]h. Nevertheless, such capability is not enough to efficiently solve NP-complete problems, unless P=NP (see [4] for details). Replication is one of the most important functions of a cell and, in ideal circumstances, a cell produces two identical copies by division. Bearing in mind that the reactions which take place in a cell are related to membranes, division rules for elementary and non-elementary membranes are considered in the so-called P systems with active membranes. Such variant was first introduced by Gh. P˘ aun [8] and it has associated electrical charges with membranes but the rules are non-cooperative and there are not priorities. Nevertheless, the class of all problems solvable in polynomial time and in a uniform way by means of families of P systems with active membranes which use division for elementary and nonelementary membranes contains class PSPACE and it is contained in class EXP [14]. Thus, in order to provide efficient solutions to computationally hard problems, this framework seems to be too powerful from the computational complexity point of view.
In this paper, electrical charges are removed from P systems with active membranes. Two different ways of producing an exponential number of membranes in linear time will be considered: division and separation rules (abstractions of mitosis and membrane fission processes, respectively). 3.1. Polarizationless P system with active membranes: syntax Definition 3.1. A polarizationless P system with active membranes and membrane division of degree q ≥2is a tuple (, H, μ, M1, ..., Mq, R, iout), where: •is a finite alphabet whose elements are called objects; •His a finite alphabet such that H∩ =∅ whose elements are called labels; •μis a labelled rooted tree consisting of qnodes injectively labelled by elements of H(the leaves of μare called elementary membranes and we denote by iskin the label of the root of μ); •M1, ..., Mqare multisets over ; •Ris a finite set of rules, of the following forms: (a0)[ a →u ]h, for h ∈H, a ∈, u ∈Mf()(object evolution). (b0)a [ ]h→[ b ]h, for h ∈H\{iskin}, a, b ∈(send-in communication). (c0)[ a ]h→b [ ]h, for h ∈H, a, b ∈(send-out communication). (d0)[ a ]h→b, for h ∈H\{iout, iskin}, a, b ∈(dissolution). (e0)[ a ]h→[ b ]h[ c]h, for h ∈H\{iout, iskin}, his the label of an elementary membrane, a, b, c∈(division for elementary membranes). (f0)[ [ ]h0[ ]h1]h→[ [ ]h0]h[ [ ]h1]h, where h ∈H\{iout, iskin}and h0, h1∈H (division for non-elementary membranes). •iout ∈H∪{env}, where env /∈H, and in the case iout ∈H, iout is the label of a leaf of μ. Definition 3.2. A polarizationless P system with active membranes and membrane separation of degree q ≥2is a tuple (, 0, 1, H, μ, M1, ..., Mq, R, iout), where: •(, H, μ, M1, ..., Mq, iout)is as the previous Definition; •{0, 1}is a partition of and {H0, H1}is a partition of H; •Ris a finite set of rules, of the following forms: (a0)[ a →u ]h, for h ∈H, a ∈, u ∈Mf()(object evolution). (b0)a [ ]h→[ b ]h, for h ∈H, a, b ∈and h ∈H\{iskin}(send-in communication). (c0)[ a ]h→b [ ]h, for h ∈H, a, b ∈(send-out communication). (d0)[ a ]h→b, for h ∈H\{iout, iskin}, a, b ∈(dissolution). (e0)[ a ]h→[ 0]h[ 1]h, for h ∈H\{iout, iskin}, his the label of an elementary membrane, a ∈(separation) (f0)[ [ ]h0[ ]h1]h→[ 0[ ]h0]h[ 1[ ]h1]h, where h ∈H\{iout, iskin}, h0∈H0and h1∈H1(separation rules for nonelementary membranes). A polarizationless P system with active membranes of degree q ≥2, can be viewed as a set of qmembranes, labelled by elements of H, arranged in a hierarchical structure μgiven by a rooted tree (called membrane structure) whose root is called the skin membrane, such that: (a) M1, ..., Mqrepresent the finite multisets of objects initially placed in the q membranes of the system; (b) Ris a finite set of rules over associated with the labels; and (c) iout ∈H∪{env}indicates the output region. We use the term region i to refer to membrane iin the case i ∈Hand to refer to the “environment” of the system in the case i =env. In these kind of P systems there are mechanisms, implemented by division rules or separations rules, able to generate an exponential workspace (in terms of number of membranes and objects) in polynomial time. This allows us to describe brute force algorithms in these systems. 3.2. Polarizationless P system with active membranes: semantics An instantaneous description or a configuration Ctat an instant tof a polarizationless P system with active membranes is described by the following elements: (a) the membrane structure at instant t, and (b) all multisets of objects over associated with all the membranes present in the system at that moment. An object evolution rule [ a →u ]hfor h ∈H, a ∈, u ∈Mf()is applicable to a configuration Ctat an instant t, if there exists a membrane labelled by hin Ctwhich contains object a. When applying such a rule, object ais consumed and objects from multiset uare produced in that membrane. A send-in communication rule a [ ]h→[ b ]hfor h ∈H, a, b ∈is applicable to a configuration Ctat an instant t, if there exists a membrane labelled by hin Ctsuch that his not the label of the root of μand its parent membrane contains object a. When applying such a rule, object ais consumed from the parent membrane and object bis produced in the corresponding membrane h.
A send-out communication rule [ a ]h→b [ ]hfor h ∈H, a, b ∈is applicable to a configuration Ctat an instant t, if there exists a membrane labelled by hin Ctsuch that it contains object a. When applying such a rule, object ais consumed from such membrane hand object bis produced in the parent of such membrane. A dissolution rule [ a ]h→bfor h ∈H\{iout}, a, b ∈is applicable to a configuration Ctat an instant t, if there exists a membrane labelled by hin Ct, different from the skin membrane and the output region, such that it contains object a. When applying such a rule, object ais consumed, membrane his dissolved and its objects are sent to the parent (or the first ancestor that has not been dissolved). A division rule [ a ]h→[ b ]h[ c]hfor h ∈H\{iout}, a, b, c∈, is applicable to a configuration Ctat an instant t, if there exists an elementary membrane labelled by hin Ct, different from the skin membrane and the output region, such that it contains object a. When applying a division rule [a]h→[ b ]h[ c]hto a membrane labelled by hin a configuration Ct, under the influence of object a, the membrane with label his divided into two membranes with the same label; in the first copy, object ais replaced by object b, in the second one, object ais replaced by object c; all the other objects are replicated and copies of them are placed in the two new membranes. A division rule [ [ ]h0[ ]h1]h→[ [ ]h0]h[ [ ]h1]his applicable to a configuration Ctat an instant t, if there exists a membrane labelled by hin Ct, different from the skin membrane and the output region, which contains a membrane labelled by h0and another membrane labelled by h1. When applying such a division rule to a membrane labelled by hin a configuration Ct, the membrane with label his divided into two membranes with the same label; the first copy inherits membrane h0with its contents, and the second copy inherits membrane h1with its contents. Besides, if the membrane labelled by hcontains more membranes other than those with the labels h0, h1, then such membranes are duplicated so that they become part of the contents of both new copies of the membrane h. A separation rule [ a ]h→[ 0]h[ 1]hfor h ∈H, a ∈, is applicable to a configuration Ctat an instant t, if there exists an elementary membrane labelled by hin Ct, different from the skin membrane and the output region, such that it contains object a. When applying such a rule, the membrane is separated into two membranes with the same label; at the same time, object ais consumed and the multiset of objects contained in membrane hgets distributed: the objects from 0are placed in the first membrane, those from 1are placed in the second membrane. A separation rule [ [ ]h0[ ]h1]h→[ 0[ ]h0]h[ 1[ ]h1]h, where h, h0, h1are labels such that h0∈H0and h1∈H1, is applicable to a configuration Ctat an instant t, if there exists a membrane labelled by hin Ct, different from the skin membrane and the output region, such that it contains a membrane labelled by h0and another membrane labelled by h1. When applying such a separation rule to a membrane labelled by hin a configuration Ct, that membrane is separated into two membranes with the same label, in such a way that the contents (multiset of objects and inner membranes) are distributed as follows: The first membrane receives the multiset of objects from 0, and all inner membranes whose label belongs to H0; and the second membrane receives the multiset of objects from 1, and all inner membranes whose label belongs to H1. In polarizationless P systems with active membranes, the rules are applied according to the following principles: •The rules associated with membranes labelled with hare used for all copies of this membrane. •At one transition step, one object can be used by only one rule (chosen in a non-deterministic way). •At one transition step, a membrane can be the subject of only one rule of types (b0)–( f0), and then it is applied at most once. •Object evolution rules can be simultaneously applied to a membrane with one rule of types (b0)–( f0). Object evolution rules are applied in a maximally parallel manner. •If at the same time a membrane labelled with his divided by a rule of type (e0) or (f0) and there are objects in this membrane which evolve by means of rules of type (a0), then we suppose that first the evolution rules of type (a0) are used, changing the objects, and then the division (or the separation) is produced. Of course, this process takes only one transition step. •The skin membrane and the output membrane can never get divided, separated, nor dissolved. Let us notice that in these kind of P systems the environment plays a passive role in the following sense: along any computation, the environment only can receive objects from the system but it cannot send objects into the system. 4. Polynomial complexity classes of recognizer membrane systems In what follows, a membrane system denotes a P system of any of the different variants considered in the previous section. The concept of recognizer membrane system is defined as usual (see [11] for details). It is worth noting that in these systems the working alphabet has two distinguished objects yes and no, there exists an input alphabet σ, the initial multisets of the system are multisets are multisets over \, the output region is the environment, all computations halt, and for every computation, then either object yes or object no (but not both) must have been released into the environment, and only at the last step of the computation. If is a recognizer membrane system then for each multiset mover the input alphabet , we denote by +mthe system where at the initial configuration, the multiset mhas been added to the input membrane. Thus, we have an initial
configuration associated with each input multiset mover in this kind of systems. Any computation of +mstarts from such an initial configuration. We denote by DAM0(γ, δ) where γ∈{−d, +d}and δ∈{−n, +n}, the class of all recognizer polarizationless P systems with active membranes and division rules. The meaning of parameters γand δis the following: •if γ=+d(resp. γ=−d) then dissolution rules are permitted (resp. forbidden); •if δ=+n(resp. δ=−n) then division rules for elementary and non-elementary membranes are permitted (resp. only division rules for elementary membranes are permitted). In a similar way, notation SAM0(γ, δ) is considered when we use separation rules instead of division rules. Next, let us recall the concept of efficient solvability by means of a family of recognizer membrane systems (see [10] for more details). Definition 4.1. Let Rbe a class of recognizer membrane systems. We say that a decision problem Xis solvable in polynomial time by a family ={(n) |n ∈N}of systems from R, in a uniform way, denoted by X∈PMCR, if the following hold: •the family is polynomially uniform by Turing machines; •there exists a pair (cod, s)of polynomial-time computable functions over IXsuch that: –for each instance u ∈IX, s(u)is a natural number and cod(u)is an input multiset of the system (s(u)); –for each n ∈N, s−1(n)is a finite set; –the family is polynomially bounded, sound and complete with regard to (X, cod, s). The polynomial complexity class PMCRis closed under polynomial-time reduction and under complement [12]. 5. Minimal cooperation in object evolution rules of polarizationless P systems with active membranes Let us recall that polarizationless P systems with active membranes are non-cooperative systems, that is, the left-hand side of the rules of these systems has only one object (the objects do not directly interact). Moreover, with the exception of object evolution rules, single objects are always transformed into single objects (the two objects produced by a division rule are placed in two different compartments/membranes). Let us also recall that by using the dependency graph technique it has been shown that if dissolution rules are forbidden, then only tractable problems can be solved in an efficient way by families of polarizationless P systems with active membranes even using division rules for non-elementary membranes (see [3] for details), that is, PMCDAM0(−d,+n)=P. It is worth pointing out that in polarizationless P systems with active membranes and without dissolution rules, the term “non-elementary membrane” is static, that is, in any configuration of any computation of the system, a membrane is elementary if and only if it is elementary at the initial configuration of the system (a “non-elementary membrane” never can “evolve” to an “elementary membrane”). Recent works have explored which syntactical ingredients could be added to the framework DAM0(−d, −n)in order to reach computational efficiency. Specifically, it has been shown that incorporating some kind of minimal cooperation (called bounded minimal cooperation) in object evolution rules, computationally hard problems can be solved by families of polarizationless P systems with active membranes without dissolution and making use only of division for elementary membranes [15]. This framework is denoted by DAM0 bmc(−d, −n). When separation rules are considered instead of division rules as a mechanism to provide an exponential workspace in polynomial time, the dependency graph technique can be used to prove that if dissolution rules are forbidden, then only tractable problems can be solved in an efficient way by families of polarizationless P systems with active membranes and with separation rules (see [16] for details), that is, PMCSAM0(−d,+n)=P. In this paper, the efficiency of systems from SAM0(−d, +n)when bounded minimal cooperation in object evolution rules are considered instead of non-cooperative rules, is analyzed. Specifically, we will show that the role of dissolution rules is irrelevant when bounded minimal cooperation in object evolution rules are used, that is, PMCSAM0 bmc (+d,+n)=P. Definition 5.1. A polarizationless P system with active membranes, with division or separation rules, is said to have bounded minimal cooperation in object evolution rules, if the object evolution rules are of the type [ u →v ]h, for 1 ≤|v| ≤|u| ≤2. Let us notice that in these systems the left-hand side of object evolution rules is, at most, two. Thus, the cooperation in object evolution rules is minimal. Besides, the number of objects in the right-hand side is lesser or equal to the number of objects in the left-hand side. Therefore, by applying these types of rules the total number of objects of the system does not increase. We denote by DAM0 bmc(γ, δ) (resp. SAM0 bmc(γ, δ)) the class of all recognizer polarizationless P systems with active membranes, bounded minimal cooperation in object evolution rules and division (resp. separation) rules.
Let us notice that standard notation in the literature referring to polarizationless P systems with active membranes (AM0(γ, δ)) corresponds, within this new notation, to the class DAM0(γ, δ). 6. Limits on efficient computations in SAM0 bmc (+d,+n) In this section we study the computational efficiency of polarizationless P systems with active membranes, dissolution rules and minimal cooperation when separation rules (for elementary and non-elementary membranes) are considered as a mechanism to generate an exponential workspace in linear time. Specifically, we will show that these kind of P systems can only solve problems in class Pin an efficient way. The proof is inspired on a similar result, obtained in the framework of cell-like P systems with symport/antiport rules and cell separation [5]. Let =(, 0, 1, , H, H0, H1, μ, M1, ..., Mq, R, iin, iout)be a recognizer P system from SAM0 bmc(+d,+n). In what follows we use the concepts of notation from [13]. •We denote by p(i)(resp., ch(i)) the label of the parent (resp., a child) of the membrane labelled by i, the parent of the skin membrane is the environment (we write p(1) =0). We denote by RE(resp., RC, RDand RS) the set of evolution rules (resp., communication, dissolution and separation rules) of . We will fix total orders in RE, RC, RDand RS. •Let Cbe a computation of , and Ctan arbitrary configuration of C. With respect to the number of objects of the system, let us notice that by applying a single rule, this number remains unchanged or decreases by one. Thus, the total number of objects in Ctis, at most, M, being M=|M0+... +Mq|. With respect to the number of membranes of the system, by applying a separation rule for elementary membranes, an object is removed from the system, no new objects are produced and a new membrane is created. Thus, at most Mmembranes can be produced by means of this process. Also, by applying a separation rule for non-elementary membranes, the number of objects remains unchanged but a new membrane is created (when such a rule is applied to a non-elementary membrane, it cannot be applied to that membrane anymore). In this way, no more than q −2new membranes can be generated. Consequently, q +M+(q −2) =M+2q −2is an upper bound of the total number of membranes at Ct. •In order to identify the membranes created by the application of a separation rule, we modify the labels of the new membranes in the following recursive manner: –The label of a membrane will be a pair (i, σ)where 0 ≤i ≤qand σ∈{0, 1}∗. At the initial configuration, the labels of the membranes are (1, λ), ..., (q, λ). The label of the environment is denoted by (0, λ). –If a separation rule is applied to a membrane labelled by (i, σ), then the new created membranes will be labelled by (i, σ0)and (i, σ1), respectively. Membrane (i, σ0)will only contain the objects of membrane (i, σ)which belong to 0, and membrane (i, σ1)will only contain the objects of membrane (i, σ)which belong to 1. Only elementary membranes can be separated, so if a membrane iis non-elementary then we denote it by the label (i, λ). –If an object evolution rule or a communication rule is applied to a membrane labelled by (i, σ), then after the application of the rule, the membrane keeps its label. •Let us notice that the number of labels we need to identify all membranes appearing along any computation of a P system from SAM0 bmc(+d,+n)is of the order O(M+q). •A configuration Ctof a P system from SAM0 bmc(+d,+n)is described by the current membrane structure and the multisets of labelled objects of the type {(a,i,σ):a∈,0≤i≤q,σ∈{0,1}∗} The expression (a, i, σ) ∈Ctmeans that object abelongs to membrane labelled by (i, σ). •Let r=[ab →c]h∈Rbe an object evolution rule of . We denote by n ·LHS(r, (i, σ)), n ∈N, the multiset of labelled objects (a, i, σ)n(b, i, σ)nWe denote by n ·RHS(r, (i, σ)) the multiset of labelled objects (c, i, σ)nproduced by applying ntimes rule rover membrane (i, σ). Similarly these concepts are defined for object evolution rules of the forms [ ab →cd ]hand [ a →c]h. •Let r=[a]h→b[ ]h∈Rbe a send-out communication rule of . We denote by LHS(r, (i, σ)) the labelled object (a, i, σ). We denote by RHS(r, (i, σ)) the labelled object (b, p(i), τ)produced by applying rule rover membrane (i, σ), where (p(i), τ)is the parent of membrane (i, σ). •Let r=a[ ]h→[b]h∈Rbe a send-in communication rule of . We denote by LHS(r, (i, σ)) the labelled object (a, p(i), τ), where (p(i), τ)is the parent of membrane (i, σ). We denote by RHS(r, (i, σ)) the labelled object (b, i, σ) produced by applying rule rover membrane (i, σ). •Let Ctis a configuration of , we denote by Ct+{(x, i, σ)/σ}the multiset obtained by replacing in Ctevery occurrence of (x, i, σ)by (x, i, σ). Besides, Ct+m(resp., Ct\m) is used to denote that a multiset mof labelled objects is added (resp., removed) to the configuration. Next, we provide a deterministic algorithm Aworking in polynomial time that receives as input a recognizer P system from SAM0 bmc(+d,+n)together with an input multiset mof . Then algorithm Areproduces the behaviour of a single computation of such system.
The pseudocode of the algorithm Ais described as follows: Input: A P system from SAM0 bmc (+d,nn)and an input multiset mof Initialization stage : the initial configuration C0of +m t←0 while Ctis a non-halting configuration do Selection stage : Input Ct, Output (C t, A) Execution stage : Input (C t, A), Output Ct+1 t←t+1 end while Output: Yes if Ctis an accepting configuration, No otherwise The selection stage and the execution stage implement a transition step of a recognizer P system . Specifically, the selection stage receives as input a configuration Ctof at an instant t. The output of this stage is a pair (C t, A), where A encodes a multiset of rules selected to be applied to Ct, and C tis the configuration obtained from Ctonce the labelled objects corresponding to the application of rules from Ahave been consumed. The execution stage receives as input the output (C t, A)of the selection stage, and the output is the next configuration Ct+1of Ct. Specifically, at this stage, configuration C t yields configuration Ct+1by adding the labelled objects produced by the application of rules from A. Next, selection stage and execution stage are described in detail. Selection stage. Input: A configuration Ctof at instant t C t←Ct; A ←∅; B ←∅ for each membrane (i, σ)of C taccording to the lexicographical order do for each r∈REaccording to the order chosen do nr←maximum number of times that ris applicable to (i, σ) if nr>0then C t←C t\nr·LHS(r, (i, σ)) A ←A ∪{(r, nr, (i, σ))} end if end for for each r∈RCaccording to the order chosen do if (i, σ) /∈Band ris applicable to (i, σ)in C tthen C t←C t\LHS(r, (i, σ)) A ←A ∪{(r, 1, (i, σ))} B ←B ∪{(i, σ)} end if end for for each r≡[ a ]i→b ∈RDaccording to the order chosen do if (i, σ) /∈Band ris applicable to (i, σ)in C tthen C t←C t\{(a, (i, σ))} A ←A ∪{(r, 1, (i, σ))} B ←B ∪{(i, σ)} end if end for for r∈RSaccording to the order chosen do if (i, σ) /∈Band ris applicable to (i, σ)in C tthen C t←C t\LHS(r, (i, σ)) A ←A ∪{(r, 1, (i, σ))} B ←B ∪{(i, σ)} end if end for end for This algorithm is deterministic and works in polynomial time. Indeed, the cost in time is polynomial in the size of because the number of cycles of the external main for loop is of order O(M+q), and the number of cycles of the three internal main for loops are of order O(|R|). Besides, the cost of each internal loops is of the order O(M+q). Let us notice that the number of tuples in set Ais of the order O(M)because each object in the system can be involved in, at most, one rule and at any configuration Ctthe total number of objects is upper bounded by M. In set Aan order is considered in a natural way (a product order concerning the rules, natural numbers and labels). In order to complete the simulation of a computation step of the system , the execution stage takes care of the effects of applying the rules selected in the previous stage: updating the objects according to the RHS of the rules. Execution stage. Input: The output C tand Aof the selection stage for each (r, nr, (i, σ)) ∈Aaccording to the order chosen do if r∈REthen C t←C t+nr·RHS(r, (i, σ))
if r∈RCthen C t←C t+RHS(r, (i, σ)) if r∈RDthen C t←C t+RHS(r, (p(i), σ)) C t←C t+{(x, (p(i), σ)) | x is in membrane (i, σ) in C t} Update the parent function by removing the membrane (i, σ) else if r∈RSthen C t←C t+{(λ, i, σ)/σ0} C t←C t+{(λ, i, σ1)} for each (x, i, σ) ∈C taccording to the lexicographical order do if x ∈0then C t←C t+{(x, i, σ)/σ0} else C t←C t+{(x, i, σ)/σ1} end if end for for each (j, τ) ∈C tdo if p(j, τ) =(i, σ)and j ∈H0then p(j, τ) =p(i, σ0) else if p(j, τ) =(i, σ)and j ∈H1then p(j, τ) =p(i, σ1) end if end for end if end for Ct+1←C t This algorithm is deterministic and works in polynomial time. Indeed, on the one hand, the number of cycles of the main for loop is of order O(M). On the other hand, each cycle of the main for loop takes O(|R|)steps plus the number of steps spend by the two secondary for loops: the first takes O(M(M+q)) steps and the second takes O(M+q)steps. Theorem 1. P =PMCSAM0 bmc (+d,+n). Proof. It suffices to prove that PMCSAM0 bmc (+d,+n)⊆P. For that, let X=(IX, θX)be a decision problem in PMCSAM0 bmc (+d,+n). Let {(n) |n ∈N}be a family of P systems from SAM0 bmc(+d,+n)solving X, according to Definition 4.1. Let (cod, s)be a polynomial encoding associated with that solution. Let us recall that instance u ∈IXof the problem Xis processed by the system (s(u)) +cod(u). Let us consider the following deterministic algorithm A: Input: an instance uof the decision problem X Construct the system (s(u)) +cod(u) Run algorithm Awith input the system (s(u)) +cod(u) Output: Yes if (s(u)) +cod(u)has an accepting computation, No otherwise Given an instance uof the decision problem X=(IX, θX), the following assertions are equivalent: 1. θX(u) =1, that is, the answer of problem Xto instance uis affirmative. 2. Every computation of (s(u)) +cod(u)is an accepting computation. 3. The output of the algorithm with input uis Yes. Therefore, algorithm Aprovides a solution of the decision problem X. Bearing in mind that Aworks in polynomial time, we finally deduce that X∈P.2 7. From distribution to replication in membrane systems with bounded minimal cooperation In this Section, a new frontier of the efficiency is obtained in the framework of polarizationless P systems with active membranes which makes use of bounded minimal cooperation in object evolution rules. On the one hand, in the previous Section we have shown that only problems in class Pcan be solved in polynomial time by families of polarizationless P systems with active membranes and with separation rules which makes use of bounded minimal cooperation in object evolution rules, that is, P =PMCSAM0 bmc (+d,+n). On the other hand, in [15] a uniform polynomial time solution to the SAT problem by a family of polarizationless P systems with active membranes and with division rules which makes use of bounded minimal cooperation in object evolution rules, has been provided, that is, NP ∪co −NP ⊆PMCDAM0 bmc (−d,−n). Consequently, assuming that P = NP, a new tractability borderline between efficiency and non-efficiency has been obtained in the framework of polarizationless P systems with active membranes and without dissolution which makes use of bounded minimal cooperation in object evolution rules, in terms of the mechanism used to generate an exponential
workspace in polynomial time: passing from separation rules to division rules amounts to passing from non-efficiency to efficiency. 8. Conclusions The classical definition of polarizationless P systems with active membranes makes use of non-cooperative rules and their object evolution rules are of the form [ a →u ]h, where ais an object of the working alphabet and uis a finite multiset of objects. In that context, the capability of these membrane systems to create an exponential workspace in polynomial time is implemented by means of division rules (for both elementary and non-elementary membranes). It is well known [3] that only tractable problems can be solved in an efficient way by families of such kind of P systems which do not make use of dissolution rules even if division rules for elementary and non-elementary membranes is allowed, that is, P =PMCDAM0(−d,+n). Besides, in this context dissolution rules play a (surprisingly) very important role, because when this kind of rules are permitted then PSPACE-complete problems can be solved efficiently [1], that is PSPACE ⊆PMCDAM0(+d,+n). In this paper, two variants are considered. First, by using separation rules inspired on the membrane fission mechanism, instead of division rules in order to create an exponential workspace in polynomial time. Second, bounded minimal cooperation in object evolution rules is considered in polarizationless P systems with active membranes making use of division or separation rules. Object evolution rules with bounded minimal cooperation are of the type [u →v]h, where u, v are finite multisets of objects such that 1 ≤|v| ≤|u| ≤2. The corresponding family of recognizer systems are denoted by DAM0 bmc(γ, δ) and SAM0 bmc(γ, δ), respectively. On the one hand, the computational efficiency of systems from DAM0 bmc(−d, −n)was shown in [15] by giving a polynomial time solution to the SAT problem by means of a family of such systems. On the other hand, in this paper the limits on efficient computation in SAM0 bmc(+d, +n)has been established, in the sense that only problems in class Pcan be solved efficiently by families of such kind of membrane systems. That is, whereas using division rules but not dissolution rules, bounded minimal cooperation allows us to reach the efficiency, using separation rules (even adding dissolution rules too) that requirement is not enough to achieve efficiency. Therefore, assuming that P = NP, in the framework of polarizationless P systems with active membranes, without dissolution and bounded minimal cooperation in object evolution rules, a new frontier of the efficiency has been obtained when division rules are used instead of separation rules. These results confirm two interesting aspects related with complexity point of view: •The strength of the replication of objects (division) with respect to the distribution of objects (separation). •The irrelevant role played by dissolution rules when bounded minimal cooperation is allowed. As future work, we propose several research lines related to the computational efficiency of new variants of polarizationless P systems with active membranes. (a) What about the complexity classes of polarizationless P systems with active membranes and separation which make use of classical object evolution rules? (b) What about the complexity classes of polarizationless P systems with active membranes and separation which incorporate minimal cooperation in object evolution rules, removing the restriction about the length of the right-hand side of the rules? (c) Membrane systems that incorporate an environment with an active role in polarizationless P systems with active membranes through a distinguished alphabet Esimilarly to the considered in cell-like P systems with symport/antiport rules (see [5,6] for details). Then two kind of semantics can be considered: the classical semantics of active membranes or a semantics based on maximal parallelism of the rules except for division or separation rules. Is the role of the environment relevant from a computational complexity point of view? References [1] A. Alhazov, M.J. Pérez-Jiménez, Uniform solution of QSAT using polarizationless active membranes, Lecture Notes in Comput. Sci. 4664 (2007) 122–133. [2] T.H. Cormen, C.E. Leiserson, R.L. Rivest, An Introduction to Algorithms, The MIT Press, Cambridge, Massachusetts, 1994. [3] M.A. Gutiérrez-Naranjo, M.J. Pérez-Jiménez, A. Riscos-Núñez, F.J. Romero-Campero, On the power of dissolution in P systems with active membranes, Lecture Notes in Comput. Sci. 3850 (2006) 224–240. [4] M.A. Gutiérrez-Naranjo, M.J. Pérez-Jiménez, A. Riscos-Núñez, F.J. Romero-Campero, A. Romero-Jiménez, Characterizing tractability by cell-like membrane systems, in: K.G. Subramanian, K. Rangarajan, M. Mukund (Eds.), Formal Models, Languages and Applications, World Scientific, Singapore, 2006, pp. 137–154. [5] L.F. Macías-Ramos, M.J. Pérez-Jiménez, A. Riscos-Núñez, L. Valencia-Cabrera, Membrane fission versus cell division: when membrane proliferation is not enough, Theoret. Comput. Sci. 608 (2015) 57–65. [6] L.F. Macías-Ramos, B. Song, L. Valencia-Cabrera, L. Pan, M.J. Pérez-Jiménez, Membrane fission: a computational complexity perspective, Complexity (2015), https://doi.org/10.1002/cplx.21691, online version. [7] Gh. P˘ aun, Attacking NP-complete problems, in: I. Antoniou, C. Calude, M.J. Dinneen (Eds.), Unconventional Models of Computation, UMC’2K, Springer- Verlag, 2000, pp. 94–115.