Next Article in Journal
Advanced Proportional-Integral-Derivative Control Compensation Based on a Grey Estimated Model in Dynamic Balance of Single-Wheeled Robot
Next Article in Special Issue
List Approximation for Increasing Kolmogorov Complexity
Previous Article in Journal
Asymptotic Analysis of Spectrum and Stability for One Class of Singularly Perturbed Neutral-Type Time-Delay Systems
Previous Article in Special Issue
The Maximal Complexity of Quasiperiodic Infinite Words
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

P Systems with Evolutional Communication and Division Rules

by
David Orellana-Martín
1,*,
Luis Valencia-Cabrera
1,2 and
Mario J. Pérez-Jiménez
1,2
1
Research Group on Natural Computing, Department of Computer Science and Artificial Intelligence, Universidad de Sevilla, Avda. Reina Mercedes s/n, 41012 Sevilla, Spain
2
Smart Computer Systems Research and Engineering Lab (SCORE), Research Institute of Computer Engineering (I3US), Universidad de Sevilla, 41012 Sevilla, Spain
*
Author to whom correspondence should be addressed.
Axioms 2021, 10(4), 327; https://doi.org/10.3390/axioms10040327
Submission received: 1 October 2021 / Revised: 24 November 2021 / Accepted: 24 November 2021 / Published: 30 November 2021
(This article belongs to the Special Issue In Memoriam, Solomon Marcus)

Abstract

:
A widely studied field in the framework of membrane computing is computational complexity theory. While some types of P systems are only capable of efficiently solving problems from the class P, adding one or more syntactic or semantic ingredients to these membrane systems can give them the ability to efficiently solve presumably intractable problems. These ingredients are called to form a frontier of efficiency, in the sense that passing from the first type of P systems to the second type leads to passing from non-efficiency to the presumed efficiency. In this work, a solution to the SAT problem, a well-known NP-complete problem, is obtained by means of a family of recognizer P systems with evolutional symport/antiport rules of length at most (2,1) and division rules where the environment plays a passive role; that is, P systems from CDEC ^ ( 2 , 1 ) . This result is comparable to the one obtained in the tissue-like counterpart, and gives a glance of a parallelism and the non-evolutionary membrane systems with symport/antiport rules.

1. Introduction

Membrane computing is a bio-inspired paradigm of computation, based on the structure and behavior of living cells. Introduced in 1998 by G. Păun [1], giving birth to devices known as membrane systems or P systems. There are several different types of P systems, but three of them are specially studied: cell-like membrane systems [1], whose tree-like structure characterizes the relation between its regions; tissue-like membrane systems [2], defined as a set of cells that can interact between them and with the environment, and neural-like membrane systems [3], having an explicitly defined directed graph as a relation of the neurons through synapses. The last paradigm is being intensely studied in practical applications, and different variants have been created to their use in different fields [4,5,6] The paradigm of membrane computing is very wide, covering topics from theory [7,8] to applications [9,10,11], dedicating a branch to simulators and in silico implementations [12].
A widely studied question in this framework from the very beginning is which kind of problems can be solved by means of membrane systems. Membrane systems can differ in the type of objects with which they can compute (e.g., symbols, strings, matrices), the type of relation between the regions (e.g., hierarchical structure, directly connected membranes, cells implicitly connected by the rules) and the rules governing the computation of the system (e.g., object evolution rules, symport/antiport rules, division rules), among others. This variety of ingredients can change not only the type of problem that a P system can solve, but how efficiently can it solve a certain problem. More precisely, decision problems are usually studied in the field of computational complexity theory in order to classify them in complexity classes that contain problems that can be solved with a similar amount of computational resources [13].
Recognizer membrane systems [14] are P systems with certain ingredients, such as two special objects yes and no , and requisites, such as all the computations halt and return the same result. The design of a family of recognizer membrane systems of a certain type R solving certain decision problems can reveal which kind of problems can be solved efficiently by means of that class of P systems.
A widely studied type of membrane systems in the field of computational complexity theory is the framework of tissue P systems with symport/antiport rules. In [15], a polynomial-time solution to SAT was designed by means of a family of recognizer tissue P systems with symport/antiport rules of length at most five and division rules. In this type of P system, the length is defined as the number of objects implied in the symport/antiport rules of the system (e.g., the length of the rule ( i , u / v , j ) is | u | + | v | ). This result was eventually improved in [16], where the maximum number of objects implied in a communication rule was two. If only one object was allowed in communication rules, then only tractable problems could be efficiently solved, as demonstrated in [17]. A similar frontier of efficiency was found by using separation rules instead of division rules in [18,19], but in this case, the frontier is from passing of communication rules of length at most two to length at most three, instead of passing from one to two. Some results about their relative environmentless counterparts were demonstrated in [20,21]. Symport/antiport rules were first introduced in tissue-like membrane systems, but later used in cell-like membrane systems, where results were surprisingly similar [22,23,24,25,26,27], giving a glance of the similarity of using both tree-like and directed graph structures.
In [28], tissue P systems with evolutional symport/antiport rules were introduced, including in communication rules the capability to evolve the objects while traveling from one region to another one. In this type of P system, two different definitions of length can be cited: On the one hand, the length of an evolutional communication rule can be defined with a single number that is related with the number of objects in the whole rule (e.g., in the rule [ u [ v ] j ] i [ v [ u ] j ] i is | u | + | v | + | u | + | v | ); on the other hand, the length can be defined as a pair of numbers concerning the number of objects in the left-hand side and the right-hand side of the evolutional communication rules of the system (e.g., the length of the rule [ u [ v ] j ] i [ v [ u ] j ] i is ( | u | + | v | , | u | + | v | ) ). In [29], several new results were presented, publishing some improvements from [28,30,31,32]. More precisely, in [32] an efficient family of tissue P systems with evolutional communication rules of length at most ( 2 , 1 ) and division rules using the environment as an active agent of the system solving the SAT problem is presented. In this work, we investigate the role of evolutional communication rules in cell-like membrane systems that use division rules as exponential workspace-generating rules, and letting the environment as a mere agent that only receives the corresponding answer of the system.
The rest of the paper is structured as follows: Section 2 is dedicated to introducing some terms used throughout the work. In the next section, cell P systems with evolutional symport/antiport rules and division rules are defined, and their recognizer versions are introduced. Section 4 and Section 5 are devoted to present a solution to the problem SAT by means of a family of P systems with evolutional communication rules and division rules of length at most ( 2 , 1 ) , and to prove the correctness of the solution. Finally, in Section 6 the results of this paper are discussed, and comparatives with other classes of P systems are given, and some open research lines are proposed, besides a description of the work in progress.

2. Preliminaries

In this section, some concepts that will be used throughout the paper will be defined. The reader can find expanded and deeper information about formal languages and membrane computing in [8,33].
An alphabet is a non-empty (finite) set, whose elements are usually called symbols. A string over Γ is a ordered finite succession of elements from Γ . We denote the empty string by λ .
Given two sets A and B, the relative complement A \ B is defined as A \ B = { x A x B } . For each set A, we denote by | A | the cardinal (number of elements) from A.
A multiset can be described explicitly as follows: { ( a 1 , M ( a 1 ) ) , , ( a n , M ( a n ) ) } , and the notation M = a 1 M ( a 1 ) a n M ( a n ) will be used. The cardinal of a multiset M over Γ = { a 1 , , a n } is defined as | M | = M ( a 1 ) + + M ( a n ) . We denote by M f ( Γ ) the set of all the finite multisets over Γ , and M f + ( Γ ) = M f ( Γ ) \ { }
Given two multisets M 1 and M 2 over Γ , the union of the multisets, denoted as M 1 M 2 or M 1 + M 2 , is the application over Γ defined as: for each a Γ , ( M 1 M 2 ) ( a ) = M 1 ( a ) + M 2 ( a ) . A multiset M 1 is included in M 2 , and it is denoted by M 1 M 2 , if M 1 ( a ) M 2 ( a ) for each a Γ .

3. P Systems with Evolutional Communication and Division Rules

In this section, the framework of cell-like membrane systems where evolutional communication rules and division rules are used is introduced.
Definition 1.
A P system with evolutional symport/antiport rules and division rules of degree q 1 is a tuple
Π = Γ , E , μ , M 1 , , M q , R 1 , , R q , i o u t
where:
  • Γ is a finite (working) alphabet;
  • E Γ is the environment alphabet;
  • μ is a rooted tree structure;
  • M 1 , , M q are the initial multisets of the membranes;
  • R 1 , , R q are the rules of the membranes of the system of the following form:
    [ u [ ] j ] i [ [ u ] j ] i , with 0 i , j q , i j , u M f + ( Γ ) , u M f ( Γ ) ; in the case that i = 0 , then u must contain at least one object from Γ \ E (evolutional send-in symport rules);
    [ [ u ] j ] i [ u [ ] j ] i , with 0 i , j q , i j , u M f + ( Γ ) , u M f ( Γ ) (evolutional send-out symport rules);
    [ u [ v ] j ] i [ v [ u ] j ] i , with 0 i , j q , i j , u , v M f + ( Γ ) , u , v M f ( Γ ) (evolutional antiport rules);
    [ a ] i [ b ] i [ c ] i , with 1 i q , i { i o u t , i s k i n } , a , b , c Γ , being i s k i n the label of the skin membrane (division rules).
  • i o u t { 0 , 1 , , q } is the output region of the system.
A P system with evolutional symport/antiport rules and division rules of degree q 1 can be seen as a set of q membranes biyectively labelled by 1 , , q organized in the rooted tree structure μ , whose root node is the skin membrane, and such that (a) E represents the set of objects that are situated in the environment an arbitrary number of times; (b) M 1 , , M q represents the initial multisets situated in the q membranes of the system; (c) i o u t is a distinguished region i that will encode the output of the system. The term region i will be used to denote the membrane i, in case 1 i q , and to the environment in the case i = 0 or i = e n v . We will use e n v and 0 indistinguishably as the label of the environment. If E = , it is usually omitted from the tuple.
A configuration at an instant t of such a system is described by the membrane structure of the P system at the instant t, the multisets of objects from Γ in each membrane at that instant and the multiset of objects from Γ \ E situated in the environment. The initial configuration of Π = Γ , E , μ , M 1 , , M q , R 1 , , R q , i o u t is ( μ , M 1 , , M q , ) .
A evolutional send-in symport rule is applicable to a configuration C t at an instant t if there exists a region labelled by i that has at least a child membrane labelled by j and that it contains the multiset u of objects. The execution of such a rule [ u [ ] j ] i [ [ u ] j ] i in C t consumes the objects of u from such a region i, and it produces the multiset of objects u in the child membrane j in C t .
A evolutional send-out symport rule is applicable to a configuration C t at an instant t if there exists a region labelled by i that has at least a child membrane labelled by j and the child membrane contains the multiset u of objects. The execution of such a rule [ [ u ] j ] i [ u [ ] j ] i in C t consumes the objects of u from such a region j, and it produces the multiset of objects u in the child membrane i in C t .
A evolutional antiport rule is applicable to a configuration C t at an instant t if there exists a region labelled by i that contains a multiset of objects u and it has at least a child membrane labelled by j and the child membrane contains the multiset v of objects. The execution of such a rule [ u [ v ] j ] i [ v [ u ] j ] i in C t consumes the objects of u from such a region j and objects from v from such a region i, and it produces the multiset of objects u in that membrane i and the multiset of objects v in that membrane j in C t .
A division rule is applicable to a configuration C t at an instant t if there exists a region labelled by i that contains an object a. The execution of such a rule [ a ] i [ b ] i [ c ] i in C t consumes the object a from the membrane i, the membrane is duplicated with its contents included, and objects b and c are produced one in each new membrane created in C t .
As in tissue P systems with evolutional symport/antiport rules, two definitions of length (or size) can be described. On the one hand, the length of a evolutional communication rule r [ u [ v ] j ] i [ v [ u ] j ] i can be l e n g t h ( r ) = ( | u | + | v | + | u | + | v | ) ; on the other hand, it can be described as a pair l e n g t h ( r ) = ( | u | + | v | , | u | + | v | ) . The first description corresponds with the sum of the cardinalities of all the multisets in the rule, while the second definition corresponds with the pair such that the first component corresponds with the sum of cardinalities of the left-hand side of the rule (LHS), and the second component corresponds with the sum of the cardinalities of the right-hand side of the rule (RHS). If r is a symport rule, then | v | = | v | = 0 or | u | = | u | = 0 .
We say that a configuration C t of a P system with evolutional communication rules and division rules Π produces a configuration C t + 1 in a transition step, denoted by C t Π C t + 1 and we say that C t + 1 is a next configuration of C t if we can pass from C t to C t + 1 applying the rules of Π according to the following principles:
  • At most one rule can be applied to each object of each membrane (selected in a non-deterministic way).
  • For each membrane i, either evolutional communication rules [ u [ v ] j ] i [ v [ u ] j ] i or a single division rule [ a ] i [ b ] i [ c ] i can be applied. In the case of applying evolutional communication rules at configuration C t , they would be selected in a non-deterministic, parallel and maximal way; that is, all the objects in the membrane i that can fire a rule, will fire it. In the case that a division rule [ a ] i [ b ] i [ c ] i is applied, it will be selected in a non-deterministic way. It can be seen as the division rule blocks the communication of the membrane with its corresponding parent membrane. All the rules are applied in an atomic way, but in order to be precise, it can be that two microsteps are executed: first, all the evolutional communication rules are executed, and then division rules are executed. It is worth taking this into account since a membrane i being divided can still communicate with its inner membranes in the same transition step.
A configuration C t is a halting configuration if no rules can be applied to such configuration at an instant t.
A computation C of a P system Π can be described as a tuple C = ( C 0 , C 1 , ) , where each configuration C t + 1 can be obtained from C t , except for the initial configuration C 0 . We say that C is a halting computation of length n + 1 if the configuration C n is a halting configuration.
Recognizer membrane systems were introduced in [14] as a way to solve decision problems. We define here recognizer P systems with evolutional communication rules and division rules.
Definition 2.
A recognizer P system with evolutional communication rules and division rules of degree q 1 is a tuple ( Π , Σ , i i n ) , where:
  • Π = Γ , E , μ , M 1 , , M q , R 1 , , R q , i o u t is a P system with evolutional communication rules and division rules of degree q, with { yes , no } Γ \ E two distinguished objects that will represent the output of the system, and M i Γ \ Σ for 1 i q ;
  • Σ Γ \ E is the input alphabet;
  • i i n { 1 , , q } is the label of the input membrane;
  • i o u t = 0 ;
  • All the computations of Π halt.
  • If C is a computation of Π, then either an object yes or an object no , but not both, are sent to the environment in the last step of the computation.
Let Π = Γ , Σ , E , μ , M 1 , , M q , R 1 , , R q , i i n , i o u t be a recognizer P system of this type, then for each input multiset m over Σ , we consider the system Π with input multiset m, and we denote it by Π + m . This is characterized by the fact that the multisets associated with the initial configuration of the system is: ( M 1 , , M i i n + m , , M q , ) ; that is, it is obtained from the initial configuration ( M 1 , , M i i n , , M q , ) of Π , by adding the multiset m to M i i n .
We define then a O u t p u t ( C ) function whose domain is the set of computations of Π . Such a function will formalize the results or outputs of the system. If C is a computation of the system Π , then O u t p u t ( C ) = yes (respectively, O u t p u t ( ) = no ) if the object yes (resp., object no ) appears in the environment associated to the halting configuration of C , but does not appear in any other configuration of C . A computation C will be called an accepting computation (respectively, a rejecting computation) if O u t p u t ( C ) = yes (resp., O u t p u t ( C ) = no ). Computations of recognizer membrane systems always halt, and will return either yes or no as a response. A recognizer membrane system with input multiset Π + m is confluent, in the sense that all the computations give the same answer; that is, given an input multiset m, all the computations of a recognizer membrane system with input multiset Π + m will be either accepting computations or rejecting computations.
The class of recognizer P systems with evolutional symport/antiport rules of length at most k (respectively, with length at most ( k 1 , k 2 ) ) and division rules is denoted by CDEC ( ( k ) ) (resp., CDEC ( ( k 1 , k 2 ) ) ). If the environment does not play an active role, we say that it is a recognizer P system with symport/antiport rules of length at most k (resp., with length at most ( k 1 , k 2 ) , i.e., LHS with length at most k 1 and RHS with length at most k 2 ) and division rules without environment, and we denote this class of systems by CDEC ^ ( k ) (resp., CDEC ^ ( k 1 , k 2 ) ).
In this work, a family of recognizer P systems will be used in order to solve decision problems. Let X = ( I X , θ X ) a decision problem. We say that X is solvable in polynomial time by means of a uniform family of recognizer P systems Π = { Π ( n ) : n N } of the class R , and we denote it by X PMC R , if the following conditions hold:
(a)
Π is polynomially uniform by Turing machines; that is, there exists a Turing machine that constructs Π ( n ) in polynomial time.
(b)
There exists a polynomial encoding ( c o d , s ) of X such that:
b.1
Π is polynomially bounded with respect to ( X , c o d , s ) ; that is, there exists k N such that for each u I X , each computation of Π ( s ( u ) ) + c o d ( u ) runs, at most, for | u | k computation steps.
b.2
Π is sound and complete with respect to ( X , c o d , s ) .

4. Methods

Let φ a propositional formula in CNF with n variables and p clauses. Let s ( φ ) = n , p and c o d ( φ ) contains x i , j , 0 if the literal x i is in the clause C j , x ¯ i , j , 0 if the literal ¬ x i is in the clause C j and x i , j , 0 * if the variable x i does not appear in the clause C j . Let the function ( i , j ) = i j = i + j n . Then, the system Π ( n , p ) will be the responsible of solving φ . Let
Π ( n , p ) = ( Γ , Σ , E , μ , M 1 , , M n p + 5 , R 1 , , R n p + 5 , i i n , i o u t )
a recognizer membrane system from CDEC ( ( 2 , 1 ) ) , where:
  • The working alphabet Γ = Σ { yes , no , y 1 , y 2 , n 1 , n 2 , α , # }
    { a i , j , T i , j , F i , j , x i , j , x ¯ i , j , x i , j * 1 i n , 1 j p }
    { x i , j , k , x ¯ i , j , k , x i , j , k * 1 i n , 1 j p , 1 k n p + n p / 2 + 1 }
    { c j 1 j p } { α j 1 j p + 1 } { γ k 0 k n p + 2 }
    { δ k 0 k n p + 3 } { δ k 0 k n p + 1 } .
  • The input alphabet Σ = { x i , j , 0 , x ¯ i , j , 0 , x i , j , 0 * 1 i n , 1 j p } .
  • Environment alphabet E = .
  • μ = [ [ ] 1 [ ] 2 [ ] n p [ ] n p + 2 [ ] n p + 3 [ ] n p + 4 [ ] n p + 5 ] n p + 1
  • M k = , 1 k n p + 1 , M n p + 2 = { a i , j 1 i n , 1 j p } { α j 1 j p + 1 } , M n p + 3 = { δ 0 } , M n p + 4 = { δ 0 } , M n p + 5 = { γ 0 } .
  • The set of rules R = R 1 R n p + 5 contains the following rules:
    6.1
    Rules for generating all the necessary γ n p + 2 to simulate the environment.
    [ γ k ] n p + 5 [ γ k + 1 ] n p + 5 [ γ k + 1 ] n p + 5 for 0 k n p + 1
    [ [ γ n p + 2 ] n p + 5 ] n p + 1 [ γ n p + 2 [ ] n p + 5 ] n p + 1
    6.2
    Rules to generate p copies of the 2 n possible truth assignments. For that, 2 n p “partial” truth assignments will be generated. [ a i , j ] n p + 2 [ T i , j ] n p + 2 [ F i , j ] n p + 2 [ [ T i , j F i , j ] n p + 2 ] n p + 1 [ # [ ] n p + 2 ] n p + 1 for 1 i n 1 j , j , p
    6.3
    Rules to generate 2 n p copies of c o d ( φ ) .
    [ x i , j , 0 [ ] i j ] n p + 1 [ [ x i , j , 1 ] i j ] n p + 1 [ x ¯ i , j , 0 [ ] i j ] n p + 1 [ [ x ¯ i , j , 1 ] i j ] n p + 1 [ x i , j , 0 * [ ] i j ] n p + 1 [ [ x i , j , 1 * ] i j ] n p + 1 for 1 i n , 1 j p
    [ x i , j , k ] i j [ x i , j , k + 1 ] i j [ x i , j , k + 1 ] i j [ x ¯ i , j , k ] i j [ x ¯ i , j , k + 1 ] i j [ x ¯ i , j , k + 1 ] i j [ x i , j , k * ] i j [ x i , j , k + 1 * ] i j [ x i , j , k + 1 * ] i j for 1 i n 1 j p 1 k n p + n p / 2
    [ [ x i , j , n p + n p / 2 + 1 ] i j ] n p + 1 [ x i , j [ ] i j ] n p + 1 [ [ x ¯ i , j , n p + n p / 2 + 1 ] i j ] n p + 1 [ x ¯ i , j [ ] i j ] n p + 1 [ [ x i , j , n p + n p / 2 + 1 * ] i j ] n p + 1 [ x i , j * [ ] i j ] n p + 1 for 1 i n , 1 j p
    [ γ n p + 2 [ δ 0 ] n p + 3 ] n p + 1 [ [ δ 1 ] n p + 3 ] n p + 1
    [ δ k ] n p + 3 [ δ k + 1 ] n p + 3 [ δ k + 1 ] n p + 3 for 1 k n p
    [ [ δ n p + 1 ] n p + 3 ] n p + 1 [ δ n p + 1 [ ] n p + 3 ] n p + 1
    6.4
    Rules to check which clauses are satisfied.
    [ x i , j [ T i , j ] n p + 2 ] n p + 1 [ [ c j ] n p + 2 ] n p + 1 [ x ¯ i , j [ T i , j ] n p + 2 ] n p + 1 [ [ # ] n p + 2 ] n p + 1 [ x i , j * [ T i , j ] n p + 2 ] n p + 1 [ [ # ] n p + 2 ] n p + 1 [ x i , j [ F i , j ] n p + 2 ] n p + 1 [ [ # ] n p + 2 ] n p + 1 [ x ¯ i , j [ F i , j ] n p + 2 ] n p + 1 [ [ c j ] n p + 2 ] n p + 1 [ x i , j * [ F i , j ] n p + 2 ] n p + 1 [ [ # ] n p + 2 ] n p + 1 for 1 i n , 1 j p
    6.5
    Rules to check if all the clauses are satisfied by a truth assignment.
    [ δ n p + 1 [ α p + 1 ] n p + 2 ] n p + 1 [ [ α ] n p + 2 ] n p + 1
    [ [ c j α j ] n p + 2 ] n p + 1 [ # [ ] n p + 2 ] n p + 1 for 1 j p
    [ [ α j α ] n p + 2 ] n p + 1 [ n 1 [ ] n p + 2 ] n p + 1 for 1 j p
    6.6
    General counter.
    [ γ n p + 2 [ δ k ] n p + 5 ] n p + 1 [ [ δ k + 1 ] n p + 5 ] n p + 1 for 0 k n p + 2
    [ [ δ n p + 3 ] n p + 5 ] n p + 1 [ δ n p + 3 [ ] n p + 5 ] n p + 1
    6.7
    Rules to return a negative answer.
    [ n 1 [ ] n p + 2 ] n p + 1 [ [ n 1 ] n p + 2 ] n p + 1 [ δ n p + 3 [ n 1 ] n p + 2 ] n p + 1 [ n 2 [ ] n p + 2 ] n p + 1 [ [ n 2 ] n p + 1 ] 0 [ no [ ] n p + 1 ] 0
    6.8
    Rules to return an affirmative answer.
    [ δ n p + 3 [ α ] n p + 2 ] n p + 1 [ [ y 1 ] n p + 2 ] n p + 1 [ [ y 1 ] n p + 2 ] n p + 1 [ y 2 [ ] n p + 2 ] n p + 1 [ [ y 2 ] n p + 1 ] 0 [ yes [ ] n p + 1 ] 0
    6.9
    Input membrane i i n = n p + 1 and output membrane i o u t = 0 .
In this section, the behaviour of a recognizer P system from CDEC ( ( 2 , 1 ) ) solving an instance φ from SAT is described. Let φ = C 1 C p be a propositional logic formula in CNF, where C j = l 1 l r j , l k { x i , ¬ x i 1 i n } . Then φ will be processed by the system Π ( s ( φ ) ) + c o d ( φ ) , where s ( φ ) = n , p and c o d ( φ ) = { x i , j , 0 x i C j } { x ¯ i , j , 0 ¬ x i C j } { x i , j , 0 * x i C j ¬ x i C j } .
Let us note c o d k ( φ ) the set of all the elements from c o d ( φ ) with the third subscript equal to k. Let us note c o d * ( φ ) the set of all the elements from c o d ( φ ) without the third subscript.
The solution follows a brute force algorithm protocol in the framework of recognizer P systems with evolutional symport/antiport rules and division rules, and consists of the following stages:

4.1. Generation Stage

In the generation stage, different elements necessary for the rest of the computation are generated at the same time. First, in order to avoid the use of the environment to obtain γ objects, it is necessary to use some of the synchronization protocols in [32], 2 n p + 2 copies of the object γ n p + 2 will be generated in membranes n p + 5 through the rules from 6.1. These objects will be present in the membrane n p + 1 at configuration C n p + 3 . For generating the different truth assignments, objects T i , j and F i , j will represent a partial truth assignment of the variable x i in the following sense: Objects T i , j and F i , j , with i j , would be incompatible, since two different values would be assigned to the same variable. Therefore, in order to remove this possibility, these two objects will be removed from the system by means of the rule [ [ T i , j F i , j ] n p + 2 ] n p + 1 [ # [ ] n p + 2 ] n p + 1 . After applying these rules, only “real” truth assignments would be present in the system. In fact, there can be assignments where a variables has not been assigned any value. In this case, it will not return a false positive. For generating the different n p partial truth assignments, n p computational steps should be applied, but since rules are fired in a non-deterministic way, and the removal of these incompatible variables could be applied in between the process of generation, at most n p / 2 extra steps should be taken into account. Therefore, in configuration C n p + n p / 2 , membranes labelled by n p + 2 will contain all the possible truth assignments.
Besides, objects from c o d ( φ ) will be sent into their corresponding membrane. From the second computational step, membranes 1 , , n p will be duplicated in each step until having 2 n p + n p / 2 copies of the corresponding object from c o d n p + n p / 2 ( φ ) . These objects will be sent out to the membrane n p + 1 , and therefore in the configuration C n p + n p / 2 + 1 , 2 n p + n p / 2 copies of c o d * ( φ ) will be present in the membrane n p + 1 . In this configuration, the next stage begins.

4.2. First Checking Stage

In this stage, objects from c o d * ( φ ) will react with objects T i , j and F i , j through rules from 6.4. In this stage, an object c j will be generated in a membrane n p + 2 if and only if the truth assignment represented in that membrane makes true the corresponding literal. This stage takes one computational step. At the same time, counters δ k and δ k are being generated. δ k will evolve by using objects γ n p + 2 as “catalysts”, and n p copies of the object δ n p + 1 will be present at the membrane n p + 1 at configuration C 2 n p + 5 . When this happens, the second checking stage starts.

4.3. Second Checking Stage

The ( 2 n p + 6 ) -th step will consist of the application of the rule [ δ n p + 1 [ α p + 1 ] n p + 2 ] n p + 1 [ [ α ] n p + 2 ] n p + 1 , creating an object α in each membrane labelled by n p + 2 . At the same time, objects c j present in a membrane will remove the corresponding object a j ; that is, the absence of an object a j in a membrane n p + 2 represents that clause C j is satisfied by the corresponding truth assignment. The object α will fire a rule [ [ α j α ] n p + 2 ] n p + 1 [ n 1 [ ] n p + 2 ] n p + 1 if there exists an object a j in such a membrane. This stage takes exactly two computational steps.

4.4. Output Stage

In configuration C 2 n p + 7 , the existence of an object α in a membrane labelled by n p + 2 implies that no objects α j remained in such a membrane; that is, that all clauses are satisfied by the corresponding truth assignment. Therefore, if there exists an object α in such a membrane, it implies that the formula φ is satisfiable. Thus, two different scenarios can be observed. On the one hand, if the formula is satisfiable, there exists at least one membrane labelled by n p + 2 at configuration C 2 n p + 7 such that it contains an object α . In the next step, an object y 1 will be generated in such a membrane, that will be sent out, first to membrane n p + 1 as an object y 2 , and finally to the environment as an object yes . On the other hand, if the formula is unsatisfiable, no objects α remain in any of the membranes labelled by n p + 2 at configuration C 2 n p + 7 . Objects n 1 will be sent to the membrane n p + 1 and, in the next step, they will be sent back to any membrane n p + 2 , taking into account that the target membranes are selected in a non-deterministic way. In the next step, as the object δ n p + 3 still exists in membrane n p + 1 , it reacts with an object n 1 , transforming it into an object n 2 at the skin membrane, and in the last step of the configuration, it will be sent out to the environment as an object no . It is important to take into account that, in the affirmative case, object δ n p + 3 is consumed, and since only one object of this kind exists, objects n 1 will not have any objects to react with. This stage takes exactly three computational steps, both in the affirmative case and in the negative case. In Figure 1, a graphical description of this process is provided to clarify how this stage works.

5. Results

The results of the paper will be discussed in this section.
Theorem 1.
SAT PMC CDEC ( ( 2 , 1 ) )
Proof. 
The family of P systems constructed previously verifies the following:
  • All the systems from Π = { Π ( n ) n N } are recognizer P systems from CDEC ( ( 2 , 1 ) ) .
  • The family Π is polynomially uniform by Turing machines given that, for each n , p N , rules of Π ( n , p ) from Π are defined recursively by n , p N , and the quantity of resources needed for constructing an element of the family is of polynomial order with respect to n and p, as it is shown below:
    Alphabet size: 3 n 2 p 2 + ( 11 + n p 2 ) n p + 2 p + 16 Θ ( n 2 p 2 )
    Initial number of membranes: n p + 5 Θ ( n p )
    Initial number of objects in cells: n p + p + 4 Θ ( n p )
    Number of rules: 3 n 2 p 2 n p 2 + 2 n p 2 + 15 n p + 2 p + 16 Θ ( n 3 p 3 )
    Maximum number of objects involved in a rule: 3 Θ ( 1 ) .
  • The pair of polynomial-time computable functions ( c o d , s ) defined complies the following: for each formula φ from SAT , s ( φ ) is a natural number, c o d ( φ ) is the input multiset of the system Π ( s ( φ ) ) and for each t N , s 1 ( t ) is a finite set.
  • The family Π is polynomially bounded in time: in fact, for each formula φ from SAT , the recognizer P system Π ( s ( φ ) ) + c o d ( φ ) takes exactly 2 n p + 10 computational steps in return an answer, either positive or negative, being n the number of variables and p the number of clauses of φ .
  • The family Π is sound with respect to ( X , c o d , s ) : in fact, for each formula φ , if the computations of Π ( s ( φ ) ) + c o d ( φ ) are accepting computations, then φ is satisfiable.
  • The family Π is complete with respect to ( X , c o d , s ) : in fact, for each formula φ that is satisfiable, all the computations of Π ( s ( φ ) ) + c o d ( φ ) are accepting computations.
Corollary 1.
NP co NP PMC CDEC ( ( 2 , 1 ) )
Proof. 
It is enough to observe that SAT is an NP-complete problem, SAT PMC CDEC ( ( 2 , 1 ) ) and the class PMC CDEC ( ( 2 , 1 ) ) is closed under polynomial-time reduction and under complementary. □
In fact, this family does not use the environment with an active role, therefore:
Corollary 2.
NP co NP PMC CDEC ^ ( 2 , 1 )
Proof. 
It is enough to observe that NP co NP PMC CDEC ( ( 2 , 1 ) ) from the fact that a uniform family of recognizer membrane systems from CDEC ( ( 2 , 1 ) ) solving the problem SAT in polynomial time has been constructed, and this solution does use the environment only as the output of the system, E = , and does not take any object from it. □
Corollary 3.
NP co NP PMC CDEC ^ ( 3 )

6. Discussion

The idea of this solution is to use the power of division rules to generate all the possible truth assignments and objects first, and later on to use the parallel communication between membranes to transport all the needed objects. It is important to take into account that this is a great difference with P systems with active membranes, since in these systems, communication rules between membranes are limited to one object per membrane and time step. While the first stage takes the majority of the time, checking of the clauses and output of the system are executed in five time steps, using the created workspace in the generation stage. This implies that a great optimization (for instance, in the form of a parallel implementation) would be needed in order to generate the exponential number of membranes in polynomial (in this case, linear) time. In a practical way, this could lead to an interesting competitor with respect to the state-of-art SAT solvers, that are necessary to solve industrial propositional logic formulae used to improve some engineering processes.

7. Contributions

In this work, a solution to SAT by means of a family of recognizer membrane systems from CDEC ^ ( 2 , 1 ) is given. In previous works, a similar result in the tissue-like counterpart was given, but using the environment as an active element. An interesting work would be to prove that the role of the environment is also irrelevant in tissue P systems with evolutional symport/antiport rules and division rules. Besides, similar results using separation rules instead of division rules were provided in the same work. Taking into account the differences between division rules and separation rules and between tissue-like and cell-like, it would be interesting to see if this result can also be translated to the cell-like framework. In this sense, a complete study of the role of the environment while using separation rules, both in the tissue-like and in the cell-like frameworks will be studied.

Author Contributions

Conceptualization, D.O.-M. and M.J.P.-J.; methodology, D.O.-M. and L.V.-C.; validation, D.O.-M., L.V.-C. and M.J.P.-J.; formal analysis, M.J.P.-J.; investigation, D.O.-M.; writing—original draft preparation, D.O.-M.; writing—review and editing, L.V.-C.; supervision, L.V.-C. and M.J.P.-J. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by “FEDER/Ministerio de Ciencia e Innovación—Agencia Estatal de Investigación/_Proyecto (TIN2017-89842-P)”—MABICAP. D.O.-M. also acknowledges Contratación de Personal Investigador Doctor. (Convocatoria 2019) 43 Contratos Capital Humano Línea 2. Paidi 2020, supported by the European Social Fund and Junta de Andalucía.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

This work is self-contained, and all the data can be found within the own paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Păun, G. Computing with membranes. Turku Cent. Comput.-Sci.-Tucs Rep. 1998, 208, 108–143. [Google Scholar]
  2. Martín-Vide, C.; Păun, G.; Pazos, J.; Rodríguez-Patón, A. Tissue P systems. Theor. Comput. Sci. 2003, 296, 295–326. [Google Scholar] [CrossRef] [Green Version]
  3. Ionescu, M.; Păun, G.; Yokomori, T. Spiking neural P systems. Fundam. Inform. 2006, 71, 279–308. [Google Scholar]
  4. Bao, T.; Yang, Q.; Peng, H.; Luo, X.; Wang, J. Computational power of sequential dendrite P systems. Theor. Comput. Sci. 2021, 893, 133–145. [Google Scholar] [CrossRef]
  5. Wang, L.; Liu, X.; Zhao, Y. Universal Nonlinear Spiking Neural P Systems with Delays and Weights on Synapses. Comput. Intell. Neurosci. 2021, 2021, 3285719. [Google Scholar] [CrossRef]
  6. Wu, T.; Pan, L.; Yu, Q.; Tan, K.C. Numerical Spiking Neural P Systems. IEEE Trans. Neural Netw. Learn. Syst. 2021, 32, 2443–2457. [Google Scholar] [CrossRef] [PubMed]
  7. Păun, G. Membrane Computing: An Introduction, 1st ed.; Springer: Berlin/Heidelberg, Germany, 2002. [Google Scholar]
  8. Păun, G.; Rozenberg, G.; Salomaa, A. The Oxford Handbook of Membrane Computing, 1st ed.; Oxford University Press, Inc.: New York, NY, USA, 2010. [Google Scholar]
  9. Ciobanu, G.; Pérez-Jiménez, M.J.; Păun, G. Applications of Membrane Computing, 1st ed.; Springer: Berlin/Heidelberg, Germany, 2006. [Google Scholar]
  10. Frisco, P.; Gheorghe, M.; Pérez-Jiménez, M.J. Applications of Membrane Computing in Systems and Synthetic Biology, 1st ed.; Springer International Publishing: Basel, Switzerland, 2014. [Google Scholar]
  11. Zhang, G.; Pérez-Jiménez, M.J.; Gheorghe, M. Real-Life Applications with Membrane Computing, 1st ed.; Springer: Cham, Switzerland, 2017. [Google Scholar]
  12. Zhang, G.; Pérez-Jiménez, M.J.; Riscos-Núñez, A.; Verlan, S.; Konur, S.; Hinze, T.; Gheorghe, M. Membrane Computing Models: Implementations, 1st ed.; Springer: Singapore, 2021. [Google Scholar]
  13. Păun, G. Computing with membranes: Attacking NP-Complete Problems. In Proceedings of the Second International Conference on Unconventional Models of Computation, Brussels, Belgium, 13–16 December 2000; pp. 94–115. [Google Scholar]
  14. Pérez-Jiménez, M.J.; Romero-Jiménez, Á.; Sancho-Caparrini, F. Complexity classes in models of cellular computing with membranes. Nat. Comput. 2003, 2, 265–285. [Google Scholar] [CrossRef]
  15. Păun, G.; Pérez-Jiménez, M.J.; Riscos-Núñez, A. Tissue P Systems with Cell Division. In Proceedings of the Second Brainstorming Week on Membrane Computing, Sevilla, Spain, 2–7 February 2004; pp. 380–386. [Google Scholar]
  16. Porreca, A.E.; Murphy, N.; Pérez-Jiménez, M.J. An optimal frontier of the efficiency of tissue P systems with cell division. In Proceedings of the Tenth Brainstorming Week on Membrane Computing, Sevilla, Spain, 30 January–3 February 2012; pp. 141–166. [Google Scholar]
  17. Díaz-Pernil, D.; Pérez-Jiménez, M.J.; Romero-Jiménez, Á. Efficient simulation of tissue-like P systems by transition cell-like P systems. Nat. Comput. 2009, 8, 797–806. [Google Scholar] [CrossRef]
  18. Pan, L.; Pérez-Jiménez, M.J.; Riscos-Núñez, A.; Rius, M. New frontiers of the efficiency in tissue P systems. In Proceedings of the Asian Conference on Membrane Computing (ACMC 2012), Wuhan, China, 15–18 October 2012; pp. 61–73. [Google Scholar]
  19. Pérez-Jiménez, M.J.; Sosík, P. An Optimal Frontier of the Efficiency of Tissue P Systems with Cell Separation. Fundam. Inform. 2015, 138, 45–60. [Google Scholar] [CrossRef]
  20. Macías-Ramos, L.F.; Pérez-Jiménez, M.J.; Riscos-Núñez, A.; Rius, M.; Valencia-Cabrera, L. The efficiency of tissue P systems with cell separation relies on the environment. In Proceedings of the Thirteenth International Conference on Membrane Computing (CMC 2012), Budapest, Hungary, 28–31 August 2013; pp. 277–290. [Google Scholar]
  21. Pérez-Jiménez, M.J.; Riscos-Núñez, A.; Rius, M.; Romero-Campero, F.J. A polynomial alternative to unbounded environment for tissue P systems with cell division. Int. J. Comput. Math. 2013, 90, 760–775. [Google Scholar] [CrossRef]
  22. Macías-Ramos, L.F.; Pérez-Jiménez, M.J.; Riscos-Núñez, A.; Valencia-Cabrera, L. Membrane fission versus cell division: When membrane proliferation is not enough. Theor. Comput. Sci. 2015, 608, 57–65. [Google Scholar] [CrossRef]
  23. Macías-Ramos, L.F.; Song, B.; Song, T.; Pan, L.; Pérez-Jiménez, M.J. Limits on efficient computation in P systems with symport/antiport. In Proceedings of the Fifteenth Brainstorming Week on Membrane Computing, Sevilla, Spain, 31 January–3 February 2017; pp. 147–160. [Google Scholar]
  24. Macías-Ramos, L.F.; Song, B.; Valencia-Cabrera, L.; Pan, L.; Pérez-Jiménez, M.J. Membrane fission: A computational complexity perspective. Complexity 2016, 21, 321–334. [Google Scholar] [CrossRef]
  25. Orellana-Martín, D.; Valencia-Cabrera, L.; Riscos-Núñez, A.; Pérez-Jiménez, M.J. A path to computational efficiency through membrane computing. Theor. Comput. Sci. 2019, 777, 443–453. [Google Scholar] [CrossRef]
  26. Orellana-Martín, D.; Valencia-Cabrera, L.; Song, B.; Pan, L.; Pérez-Jiménez, M.J. P systems with symport/antiport rules: When do the surroundings matter? Theor. Comput. Sci. 2020, 805, 206–217. [Google Scholar] [CrossRef]
  27. Valencia-Cabrera, L.; Song, B.; Macías-Ramos, L.F.; Pan, L.; Riscos-Núñez, A.; Pérez-Jiménez, M.J. Minimal cooperation in P systems with symport/antiport: A complexity approach. In Proceedings of the Thirteenth Brainstorming Week on Membrane Computing, Sevilla, Spain, 2–6 February 2015; pp. 301–323. [Google Scholar]
  28. Song, B.; Zhang, C.; Pan, L. Tissue-like P systems with evolutional symport/antiport rules. Inf. Sci. 2017, 378, 177–193. [Google Scholar] [CrossRef]
  29. Orellana-Martín, D. The P vs NP Problem: Development of New Techniques through Bio-Inspired Models of Computation. Ph.D. Thesis, University of Sevilla, Sevilla, Spain, 2019. [Google Scholar]
  30. Pan, L.; Song, B.; Valencia-Cabrera, L.; Pérez-Jiménez, M.J. The computational complexity of tissue P systems with evolutional symport/antiport rules. Complexity 2018, 3745210, 21. [Google Scholar] [CrossRef]
  31. Orellana-Martín, D.; Valencia-Cabrera, L.; Song, B.; Pan, L.; Pérez-Jiménez, M.J. Narrowing frontiers with evolutional communication rules and cell separation. In Proceedings of the Sixteenth Brainstorming Week on Membrane Computing, Sevilla, Spain, 30 January–2 February 2018; pp. 123–162. [Google Scholar]
  32. Orellana-Martín, D.; Valencia-Cabrera, L.; Song, B.; Pan, L.; Pérez-Jiménez, M.J. Tuning Frontiers of Efficiency in Tissue P systems with Evolutional Communication Rules. Complexity 2021, 2021, 7120840. [Google Scholar] [CrossRef]
  33. Rozenberg, G.; Salomaa, A. Handbook of Formal Languages, 1st ed.; Springer: Berlin/Heidelberg, Germany, 1997. [Google Scholar]
Figure 1. Evolution of the final stage in the affirmative case (left) and in the negative case (right).
Figure 1. Evolution of the final stage in the affirmative case (left) and in the negative case (right).
Axioms 10 00327 g001
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Orellana-Martín, D.; Valencia-Cabrera, L.; Pérez-Jiménez, M.J. P Systems with Evolutional Communication and Division Rules. Axioms 2021, 10, 327. https://doi.org/10.3390/axioms10040327

AMA Style

Orellana-Martín D, Valencia-Cabrera L, Pérez-Jiménez MJ. P Systems with Evolutional Communication and Division Rules. Axioms. 2021; 10(4):327. https://doi.org/10.3390/axioms10040327

Chicago/Turabian Style

Orellana-Martín, David, Luis Valencia-Cabrera, and Mario J. Pérez-Jiménez. 2021. "P Systems with Evolutional Communication and Division Rules" Axioms 10, no. 4: 327. https://doi.org/10.3390/axioms10040327

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop