Abstract

Over the last few years, a new methodology to address the P versus NP problem has been developed, based on searching for borderlines between the nonefficiency of computing models (only problems in class P can be solved in polynomial time) and the presumed efficiency (ability to solve NP-complete problems in polynomial time). These borderlines can be seen as frontiers of efficiency, which are crucial in this methodology. “Translating,” in some sense, an efficient solution in a presumably efficient model to an efficient solution in a nonefficient model would give an affirmative answer to problem P versus NP. In the framework of Membrane Computing, the key of this approach is to detect the syntactic or semantic ingredients that are needed to pass from a nonefficient class of membrane systems to a presumably efficient one. This paper deals with tissue P systems with communication rules of type symport/antiport allowing the evolution of the objects triggering the rules. In previous works, frontiers of efficiency were found in these kinds of membrane systems both with division rules and with separation rules. However, since they were not optimal, it is interesting to refine these frontiers. In this work, optimal frontiers of the efficiency are obtained in terms of the total number of objects involved in the communication rules used for that kind of membrane systems. These optimizations could be easier to translate, if possible, to efficient solutions in a nonefficient model.

1. Introduction

In biology, some basic requirements are proposed in order to define when something can be considered alive: replication, energy production, proteins synthesis, and metabolic processes. The minimal unit that meets these requirements is the cell. Usually, we find multiple cells forming larger structures, interchanging information between them in order to collaborate, improving in this way their lifespan. Membrane computing is a branch of natural computing inspired by the structure, organization, and functioning of living cells. In the seminal paper [1], computing devices are introduced having an internal structure of cell-like membranes (a rooted tree), delimiting compartments in which multisets of objects are placed. The objects evolve and pass through membranes in a synchronous parallel manner according to given evolution rules, also associated with the membranes. In [2], a new type of computing devices inspired by intercellular communication and cooperation between neurons was considered. They consist of a network of unit processors, cells, dealing with symbols and communicating these symbols along channels specified in advance, based on the biological phenomenon of trans-membrane transport of couples of chemicals. The synchronized movement of such chemical substances present in a cell was modelled in [3]: groups of objects can pass together through a region either in the same (described by symport rules) or in the opposite direction (described by antiport rules). In these models, no change (evolution) occurs in the objects involved during their movement, that is, they remain unchanged after the application of symport/antiport rules. We refer the reader to [4, 5] for a further introduction to the field of membrane computing. Apart from applications in synthetic biology, ecology, engineering, and physics, among others (see [68] for a wide view of the state-of-the-art), membrane computing has been broadly used as a computational framework to study more theoretical areas such as computability theory and computational complexity theory.

The tractability of abstract problems is defined through polynomial-time solvability by deterministic Turing machines [9]. P is the class of tractable problems. A computing model is called efficient if it is capable of providing polynomial-time solutions to intractable problems. It is widely believed that PNP, thus, NP-complete problems (the hard problems in NP) are called presumably intractable problems. A computing model is called presumably efficient if it is able to provide polynomial-time solutions to NP-complete problems.

Let us consider two models and in a computing paradigm (for instance, in membrane computing) such that is obtained from by adding some syntactic or semantic ingredients. If is a nonefficient model and is a presumably efficient one, then the ingredients needed to obtain from provide a frontier between the tractability of abstract problems and the presumed intractability. In some sense, passing from to amounts to passing from the nonefficiency to the presumed efficiency. Each such borderline provides a tool to tackle the P versus NP problem.

Decision problems are associated with languages in such a manner that solving a decision problem is defined by recognizing the language associated with it. Hence, recognizer membrane systems were defined in [10] (called decision P systems) and complexity classes associated with these systems were introduced in [11]. Over the last few years, the previous methodology for addressing the P versus NP problem has been applied in the framework of membrane computing. Specifically, in the framework of cell-like P systems with active membranes, a frontier between the nonefficiency and the presumed efficiency was obtained by forbidding division rules [12] or permitting them [13]. In the framework of tissue-like P systems with symport/antiport rules, (optimal) frontiers between the nonefficiency and the presumed efficiency, in terms of both the length of the rules and the kinds of rules able to construct an exponential workspace in terms of cells, have been obtained [1417].

In [18], a new kind of tissue P systems based on the communication of cells within a living tissue is studied, where objects can evolve when the rules are applied. Specifically, tissue P systems with division rules using evolutional symport/antiport rules have been considered. In that paper, the length of a communication rule is defined as the total number of objects involved in it. For each natural number , denotes the class of recognizer tissue P systems with division rules using evolutional communication rules of length at most . The nonefficiency of the computing model has been established by using the dependency graph technique, and a polynomial-time uniform solution to the problem by a family of membrane systems from has been given in [18]. Therefore, passing from evolutional communication rules of length at most 2 to evolutional communication rules of length at most 4 amounts to passing from the nonefficiency to the presumed efficiency. The following question then arises: What is the efficiency of the complexity class ?

In [19], tissue P systems with evolutional symport/antiport rules are studied, where separation rules instead of division rules are used as a mechanism to create an exponential workspace in polynomial time. In that paper, for each pair of natural numbers , denotes the class of recognizer tissue P systems with separation rules using evolutional communication rules such that the total number of objects involved in the left-hand side (LHS) is at most and the total number of objects involved in the right-hand side (RHS) is at most . The nonefficiency of and , for each , has been established using the algorithmic technique. On the other hand, the presumed efficiency of has been shown.

The reader is supposed to have knowledge about languages, multisets, and other questions usually used in this kind of works. In any case, for a gentle introduction to them, we refer the reader to [20].

In this work, we deal with tissue P systems with evolutional symport/antiport rules where division rules or separation rules are used as mechanisms to create an exponential workspace in polynomial time. Following [19], for each pair of natural numbers , the class is defined similarly to , replacing separation rules by division rules. Following [18], for each natural number , is defined similarly to , replacing division by separation rules. For each pair of natural numbers , we have and .

This paper focuses on the nonefficiency of , for each , and the presumed efficiency of and . Specifically, we prove the following results: (1) For each natural number , we have ; (2) the computing model is presumably efficient, that is, NPco-NP; (3) the computing model is presumably efficient, that is, NPco-NP. Bearing in mind that and , the presumed efficiency of , , and follows, closing the question raised about , among others. In this manner, the results obtained in [18, 19] are complemented and improved.

This paper is organized as follows: Tissue P systems with division or separation rules and evolutional symport/antiport rules are defined in Section 2. The nonefficiency of , for each , is established in Section 3, and two polynomial-time uniform solutions to the problem by families of systems from and are provided in Sections 4 and 5, respectively. Finally, some conclusions and interesting open research lines are presented.

2. Tissue P Systems with Evolutional Communication Rules

Let us briefly recall the definition of recognizer tissue P systems with evolutional symport/antiport rules using division or separation rules as a mechanism to construct an exponential workspace in polynomial time.

Definition 1. A recognizer tissue P system with division/separation rules and evolutional communication rules of degree (where is the number of cells present in the system) is a tuplewhere(i), are finite alphabets such that , , and the alphabet has two distinguished objects yes and no(ii) is a partition of ; that is, (iii) are multisets over (iv) is a finite set of rules of the following forms:(1)Evolutional communication rules:(a) , where , , , , and if , then (b) , where (2)Division rules: , where (3)Separation rules: , where (v) and (that is, the label of the environment)(vi)If is a computation of then is a halting computation and either object yes or object no (but not both) must have been released into the output region, and only at the last step of the computationThe semantic concepts (configuration, transition step, and computation) in this kind of recognizer membrane systems can be found in [18, 19]. Only division rules or separation rules (but not both) are considered, and in the case of recognizer tissue P systems with division rules, the partition can be removed from the expression.
In [18], the length of an evolutional communication rule is defined as the total number of objects involved in the rule. For each natural number , (resp., ) denotes the class of recognizer tissue P systems with division rules (resp., separation rules) using evolutional communication rules of length at most .
Following [19], for each pair of natural numbers , (resp., ) denotes the class of recognizer tissue P systems with division rules (resp., separation rules) using evolutional communication rules such that the total number of objects involved in the left-hand side (LHS) (that is, the objects before the arrow in evolutional communication rules) is at most and the total number of objects involved in the right-hand side (RHS) (that is, the objects after the arrow in evolutional communication rules) is at most . Obviously, for each pair of natural numbers , we have and . It is important to remark that, in this type of study, we do not take into account the number of objects implicitly involved neither in division nor in separation rules.

3. The Nonefficiency of

The nonefficiency of , for each natural number , has been shown by using the dependency graph technique in [19]. Let us recall that this technique consists in the following: if is a family of systems from solving a decision problem in polynomial time and uniform way, then a directed graph (with a source node) is associated with each instance , in such a manner that every computation of is an accepting computation if and only if there exists a path in from the source node to . When working with membrane systems , each separation rule of the form provides a single node to the corresponding dependency graph, but no new arc is added since no new objects are created by the application of such a rule. In the case of membrane systems from , we can adapt the proof given in [19], taking into account the fact that a division rule provides three new nodes, , , and to the corresponding dependency graph, and two new arcs: and . Of course, this process keeps having a polynomially bounded number of nodes and arcs, so the search for a path in the dependency graph from the source node to is still polynomial-time bounded. Therefore, for each natural number , the nonefficiency of follows.

Theorem 1. For each natural number , we have .

4. A Solution to in

We provide here a solution to by means of a family of recognizer tissue P systems from . Given a Boolean formula in CNF and simplified with variables and clauses, the system processes it, being and and returns the answer to its satisfiability.

For each , we consider the recognizer P systemwhere we have the following:(i)Working alphabet :(ii)Input alphabet .(iii)Environment alphabet .(iv)(v)The rule set consists of the following rules:(1)Rules to generate copies of the true possible truth assignments. For this, partial truth assignments will be generated.(2)Rules to generate copies of .(3)Rules to check which clauses are satisfied by the truth assignments.(4)Rules to check if all the clauses are satisfied by a truth assignment.(5)General counter.(6)Rules to return a negative answer.(7)Rules to return a positive answer.(vi)The input cell is the cell labelled by () and the output zone is the environment ().

Let be a Boolean formula in simplified CNF. The P system will follow a brute-force algorithm in the framework of tissue P systems with evolutional symport/antiport rules with length, at most, and division rules, and it consists of the following stages:(1)Generation stage: using rules from (1), copies of the possible truth assignments associated with variables will be generated in cells labelled by . For this, “partial” truth assignments will be generated too; that is, some cells will contain different assignments for a single variable, but these objects will be “cancelled” by the application of the rule . In parallel, copies of each object that appears in will be generated by applying rules from (2). In order to synchronize the process, the third subscript, , will “evolve” until reaching . This stage takes exactly computation steps.(2)First checking stage: in this stage, by means of the application of rules from (3), the copies of each one of the possible truth assignments associated with variables cooperate with objects , , by using rules from (3) in order to know which clauses are satisfied by each truth assignment. It is worth pointing out that through this checking stage, the partial truth assignments cannot satisfy if it is unsatisfiable. This stage takes 1 computation step.(3)Second checking stage: by using rules from (4), object is removed from a cell labelled as if and only if the truth assignment associated with this cell makes the clause true. Therefore, a cell labelled as will encode a truth assignment that makes true if and only if it does not contain any object at the end of this stage, taking exactly 1 computation step.(4)Output stage: finally, rules from (5)–(7) will send either an object or an object to the environment, depending on whether the formula is satisfactory or not. This stage takes exactly 4 computation steps, regardless of the answer being affirmative or negative.

4.1. Formal Verification

In this section, an exhaustive verification of the system is given.

4.1.1. Generation Stage

The purpose of this stage is twofold: on the one hand, objects of each will be generated in cells . On the other hand, valid truth assignments will be generated in cells labelled by . For that, of such cells will be generated, each of them containing a truth assignment. Of course, there will be repeated truth assignments, but in this framework, due to the restrictions of the length of the rules, it seems necessary to create all the possible assignments (including the ones where two different truth values are assigned to a single variable), and then “remove” the incompatibilities.

Proposition 1. Let be a computation of the system with input multiset .(i)For each () at configuration , we have the following:(1) and there are cells labelled by in the configuration such that each of them contains an object , being if is a literal of the clause , if is a literal of the clause , and if neither nor are literals of the clause , for (2) and for (3)There are cells labelled by in the configuration such that each of them contains the set , objects from the set and less than or objects from the set (4) and there are cells labelled by in the configuration such that each of them contains an object , for (ii)In the configuration , we have that there are cells labelled by for each such that each of them contains an object being if is a literal of the clause , if is a literal of the clause , and if neither nor are literals of the clause , ; there are cells labelled by such that each of them contains the set , less than or objects from the set and there are cells labelled by such that each of them contains an object

Proof. (i) is going to be proved by induction on (i)The base case is trivial because at the initial configuration, we have the following:(1)(2)(3)There is one cell labelled by such that contains the set and the set (4)There is one cell labelled by such that it contains an object Then, configuration yields configuration by applying the rules:Thus, we have the following:(1), being if is a literal of the clause , if is a literal of the clause and if neither nor are literals of the clause (2)(3)There are two cells labelled by such that contains the set , objects of the set and one object and one object , respectively, for a and a (4)There is one cell labelled by such that it contains an object (ii)Assuming that, by induction, the result is true for (); that is, that we have the following:(1) and there are cells labelled by in the configuration such that each of them contains an object , being if is a literal of the clause , if is a literal of the clause and if neither nor are literals of the clause , for (2) and for (3)There are cells labelled by in the configuration such that each of them contains the set , objects from the set and less than or objects from the set (4) and there are cells labelled by in the configuration such that each of them contains an object for Then, configuration yields configuration by applying the rules:Thus, we have the following:(1)There are cells labelled by in the configuration such that each of them contains an object , being if is a literal of the clause , if is a literal of the clause and if neither nor are literals of the clause (2)(3)There are cells labelled by in the configuration such that each of them contains the set , objects from the set and less than or objects from the set (4)There are cells labelled by in the configuration such that each of them contains an object (iii)In order to prove (ii) it is enough to take into account the fact that, from (i), we have the following:(1)There are cells labelled by in the configuration such that each of them contains an object , being if is a literal of the clause , if is a literal of the clause and if neither nor are literals of the clause (2)(3)There are cells labelled by in the configuration such that each of them contains the set and less than or objects from the set , representing a truth assignment(4)There are cells labelled by in the configuration such that each of them contains an object Then, configuration yields configuration by applying the rules:Then, we have the following:(1)There are cells labelled by in the configuration such that each of them contains an object , being if is a literal of the clause , if is a literal of the clause and if neither nor are literals of the clause (2)(3)There are cells labelled by in the configuration such that each of them contains the set and less than or objects from the set , representing a truth assignment(4)There are cells labelled by in the configuration such that each of them contains an object

4.1.2. First Checking Stage

From the previous stage, we have that , there are cells labelled by which contains an object , cells labelled by that contains objects and a set of objects , representing the truth assignment associated with that cell. Not all objects of such a set have to be present in a single cell since they could have been consumed by the application of a rule . Moreover, there exist cells labelled by each of them containing an object . Then, by the application of the rules from 2.1, objects will be created in the cells labelled by such that the truth assignment associated with such cell satisfies clause due to any literal of it. Besides, rules are applied.

Therefore, we have , there are cells labelled by which contains an object , cells labelled by that contains objects and a multiset of objects from , representing the clauses satisfied by the truth assignment associated with that cell. The remaining objects in cells labelled by are not going to be taken into account from now since they cannot “react” with something from this point of the computation.

4.1.3. Second Checking Stage

The step is devoted to checking whether all the clauses of the Boolean formula have been satisfied by the truth assignment associated with each cell labelled by . We have that , and there will be cells labelled by which contains an object and cells labelled by such that contains objects and objects corresponding to the clauses satisfied by the truth assignment associated with that cell. Then, by applying the rules , we obtain the following: and there will be cells labelled by that will contain an object if and only if clause has not been satisfied by the truth assignment associated with such cell.

4.1.4. Output Stage

The output phase starts at the -th step and takes exactly four steps, regardless of whether the input formula is satisfied or not by some truth assignment.(i)Affirmative answer: if the input formula of SAT problem is satisfiable then at least one of the truth assignments from a cell with label has satisfied all clauses. Therefore, there will be at least one cell labelled by such that it will not have any object , since all of them have been “consumed” in some sense by an object . Therefore, in the step , object will evolve into by the application of the rule , besides the application of rules in other cells. In the next step, since remains in a cell labelled by , it can evolve with object by the rule . Since there is only one object , then we can be sure that the object (that will produce the object later) is unique. Besides, objects will be sent as to cells labelled by in a nondeterministic way. In the -th step, it will evolve into the object . Let us keep in mind that objects cannot react with object since it has been consumed in the previous step. At the last step of the computation, the only rule applicable will be . Then, an object will be sent to the environment, and the computation halts.(ii)Negative answer: if the input formula of SAT problem is not satisfiactory, then none of the truth assignments encoded by a cell labelled as makes the formula true. Thus, in each cell, there will be at least one object of the type . It means that the clause is not satisfied by the truth assignment corresponding to that cell. Therefore, at step rules will be applied in all the cells. Therefore, at configuration there will not be any object in the system, so object remains in the cell labelled by . In the next step, objects go to cells labelled by , selected in a nondeterministic way. Since object is in the cell labelled as it can make object evolve into object , and then in the last step, it is sent to the environment as an object . Since there is no applicable rule, the system halts.

Theorem 2.

Proof. The family of P systems previously constructed verifies the following:(i)Every system of the family is a recognizer P system from .(ii)The family is polynomially uniform by Turing machines because, for each , the rules of of the family are recursively defined from , and the amount of resources needed to build an element of the family is of a polynomial order in and , as shown below:(1)Size of the alphabet: (2)Initial number of cells: (3)Initial number of objects in cells: (4)Number of rules: (5)Maximal number of objects involved in any rule: (iii)The pair of polynomial-time computable functions defined fulfills the following: for each input formula of SAT problem, is a natural number, is an input multiset for the system , and for each , is a finite set.(iv)The family is polynomially bounded: indeed, for each input formula of SAT problem, the deterministic P system takes exactly steps, being the number of variables in and its number of clauses.(v)The family is sound with regard to : for each formula , if the computation of is an accepting computation, then is satisfiable.(vi)The family is complete with regard to : for each input formula such that it is satisfiable, the computation of is an accepting computation.

Corollary 1.

Proof. It is simple to prove this since it is known that is a -complete problem, and the complexity class is closed under polynomial-time reduction and under complementary.

Corollary 2.

5. The Presumed Efficiency of

In this section, the presumed efficiency of is established by providing a polynomial time uniform solution to the problem by means of a family of membrane systems from .

For each pair of natural numbers , we consider the recognizer tissue P system from , , defined as follows:(i) The working alphabet:(ii) The partition defined as: and(iii)The input alphabet .(iv)The environment alphabet .(v).(vi)The set consists of the following rules:(1) Rules for steps .(2)Rules for steps .(3)Rules for steps .(4)Rules for steps .(5)Rules to check the satisfied clauses.(6) Rules to check if all the clauses are satisfied by a truth assignment.(7) General counters.(8) Rules to return a negative answer.(9) Rules to return a positive answer.(ii) The input cell is the cell labelled by 1 (that is, ) and the output zone is the environment (that is, ).

5.1. An Overview of the Computations

A brief overview of the computation is explained below. For a more exhaustive verification, we refer the reader to [21].

5.1.1. Generation Stage

The objective of this stage is twofold: on the one hand, all truth assignments for the variables associated with the Boolean formula are generated by applying rules from 2 in cells labelled by 2, in such a manner that in the -th step () of this stage, separation rule associated with an object is triggered, two new cells distributing and between them. In the last step of this stage, each cell labelled by 2 will contain a truth assignment of the formula. On the other hand, copies of each object are going to be generated in the cell labelled by 1. These objects are being prepared for the next stage. It is interesting to keep in mind that separation rules are executed each 4 time steps, so objects keep evolving within their corresponding cells in order to maintain the synchronization. It is done by means of a simulation of evolution rules, by using object as a “catalyzer” of the reaction:

5.1.2. First Checking Stage

In this stage, objects are generated in the cells labelled by 2 such that the truth assignment associated with them makes the clause true. In each step, the system processes a single clause so that steps are needed to process the whole formula. Objects are generated in any of the following cases:(i)Literal appears in clause , and the value of variable in a truth assignment is True. Then, we can say that such truth assignment satisfies this clause.(ii)Literal appears in clause , and the value of variable in a truth assignment is False. Then, we can say that such truth assignment satisfies this clause.

In any other case, variable has nothing to do with clause . At the final step of this stage, cells labelled by 2 will have objects where are clauses satisfied by such truth assignment. We obtain an object to use it in the next stage.

5.1.3. Second Checking Stage

Here, rules from 6 are fired at the -th step, and objects within a cell labelled by 2 are removed if and only if the truth assignment associated with that cell makes a true clause , that is, if there is at least one object in such cell. In this step, objects from cells labelled by 2 such that their corresponding element appears in it disappear. At the same time, an object appears in each cell labelled by 2 for the next stage, where they will interact with the remaining, if any, objects .

5.1.4. Output Stage

This stage takes four steps, regardless of the formula being satisfactory or not. If there is at least one truth assignment that makes the input formula true, then at least one cell labelled by 2 will preserve an object , and it will interact with the object to finally return an object to the environment. On the contrary, if none of the truth assignments makes the formula true, then object will remain and it will interact with the object , leading to the sending of an object into the environment.

Theorem 3.

Proof. The family of P systems previously constructed verifies the following:(i)Every system of the family is a recognizer P system from .(ii)The family is polynomially uniform by Turing machines because, for each , the rules of of the family are recursively defined from , and the amount of resources needed to build an element of the family is of a polynomial order in and , as follows:(1)Size of the alphabet: (2)Initial number of cells: (3)Initial number of objects in cells: (4)Number of rules: (5)Maximal number of objects involved in any rule: (iii)The pair of polynomial-time computable functions defined fulfill the following: for each input formula of SAT problem, is a natural number, is an input multiset of the system , and for each , is a finite set.(iv)The family is polynomially bounded: indeed for each input formula of SAT problem, the deterministic P system takes exactly steps, being the number of variables of and the number of clauses.(v)The family is sound with regard to : for each formula , if the computation of is an accepting computation, then is satisfiable.(vi)The family is complete with regard to : for each input formula such that it is satisfiable, the computation of is an accepting computation.

Corollary 3.

Proof. It is simple to prove this since it is known that is a -complete problem, and the complexity class is closed under polynomial-time reduction and under complementary.
Bearing in mind that , the result of the previous corollary improves the one obtained in [19] concerning to the presumed efficiency of the computing model .

6. Conclusions and Future Work

In this paper, following the works initiated in [18, 19], tissue P systems with evolutional symport/antiport rules have been studied from a computational complexity view, where either division rules or separation rules are used as mechanisms to create an exponential workspace in polynomial time. In this context, new results have been achieved:(i)With regard to tissue P systems with division rules:(1)The nonefficiency of membrane systems from , for each natural number , has been established, complementing the result previously obtained in [18] concerning the nonefficiency of membrane systems from .(2)The presumed efficiency of has been established, improving the result previously obtained in [18] concerning the presumed efficiency of , since .(ii)With regard to tissue P systems with separation rules:(1)The presumed efficiency of has been established, improving the result previously obtained in [19] concerning the presumed efficiency of .

All complexity results obtained until now in the framework of tissue P systems with evolutional symport/antiport rules are described in Figure 1:

The following diagram describes the known frontiers between the nonefficiency and the presumed efficiency in the framework of tissue P systems with evolutional symport/antiport rules [2225]:

We propose the following open problems for future researches:(i)What is the upper bound of complexity classes , where is a presumably efficient class of tissue P systems with division or separation rules and evolutional communication rules?(ii)Is the class of membrane systems from nonefficient or presumably efficient?(iii)What is the role of the environment in the framework of tissue P systems with division or separation rules and evolutional communication rules?(iv)What is the behaviour of recognizer cell-like P systems with division or separation rules and evolutional communication rules from a computational complexity perspective?

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (61772214, 61602192, and 61320106005), the Fundamental Research Funds for the Central Universities (531118010355), Hunan Provincial Natural Science Foundation of China (2020JJ4215), and Key Research and Development Program of Changsha (kq2004016). Authors from the University of Seville also acknowledge the support of the research project TIN2017-89842-P, cofinanced by Ministerio de Economía, Industria y Competitividad (MINECO) of Spain, through the Agencia Estatal de Investigación (AEI), and by Fondo Europeo de Desarrollo Regional (FEDER) of the European Union.