Professional Documents
Culture Documents
Gheorghe Păun
Romanian Academy, Bucharest,
RGNC, Sevilla University, Spain
george.paun@imar.ro, gpaun@us.es
hence not producing models for biologists (although, this is now a tendency)
result:
• distributed, parallel computing model
• basic data structure: multisets (but also strings; recently, numerical variables)
Brain - Neural XX
computing XX X
XX
XX X
XX
z
1
Electronic media
(in silico)
- Evolutionary
Evolution computing
?
DNA - DNA(molecular) - Bio-media
(molecules) computing
H
(in vitro, in vivo?)
HH
HH
HH
j
?
Membrane
Cell computing
• enzymatic activity/control
• etc.
protein channel
proteins phospholipid
A
bilayer
A
out (+) ' $ #
A
A
? A
A
A
A
#
"!
A
A
UA
in (–)
&
%
"!
'$
fatty acids
&%
head tail
B B
B B
B B
B B
B B
B B
A A tail B
B
B
A A B
A A B B
A A B B
A A B B
$
' '
& %
$
'
& %
$
& %
& %
& %
dendrites endbulbs
C s
@ C
s
@
E C
b E
b
Ea '
$
""
s
b
a a "
# s
#
#
HH body axon !a
! ! aas
s
!aa
(soma) \ aa
a
bbs
s
\
& %
S
S \
% L L
h
hh % % LL Laa as
Ls
L
\
\ L
LL
skin membrane
1' $
=
elementary
'
2 $ membrane
4' $
3#
" ! & %
& %
region
'
5 $
'
$
9
6
environment
& %
& %
& %
a
b
2' $
4' $
t b
'
3 $
t a
b b
b
& % & %
& %
5' $
a
' $
b
c 6
c & %
b & %
& %
a ab → ddoutein5
b
2' $
t→t 4' $
t → t′ δ t b
'
3 $
t a
b b
b
& % & %
& %
d → ain4 bout
ca → cb
5' $
a
' $
b
c 6
c & %
b & %
& %
• maximal parallelism
• grammars, automata
• register machines
• computational complexity
a → b1 b2
cb1 → cb′1
b2 → b2ein|b1
2' $
& %
& %
2' $
c
a → b1 b2
cb1 → cb′1
b2 → b 2 e
cb1 → cb′1δ
& %
b1 → b 1
e → eout
& %
(m + 1) × (m + 1)
N (Π) = {n2 | n ≥ 1}
N OP2(cat2, tar) = N RE
Basic Extensions
Proof: use matrix grammars with appearance checking (in the Z-binary normal form)
where
O = N1 ∪ N2 ∪ {a, c, H, Z, #},
w1 = cXinitAinitH,
and the set R1 contains the following rules (h is the morphism defined by h(α) =
α, α ∈ N2, and h(a) = (a, in2)):
Types of rules:
u → v with targets in v
(possibly conditional: promoters or inhibitors)
particular cases: ca → cu (catalytic)
a → u (non-cooperative)
(ab, in), (ab, out) – symport (in general, (x, in), (x, out))
(a, in; b, out) – antiport (in general, (u, in; v, out))
System
Π = (O, µ, w1, . . . , wm, E, R1, . . . , Rm, io),
where E ⊆ O is the set of objects which appear in the environment in arbitrarily
many copies
Power:
Theorem 8 (universality).
N RE = N OP1(sym0, anti2) [Freund, Păun]
= N OP3(sym2, anti0) [Frisco, Hoogeboon]
= N OP2(sym3, anti0) [FH], [A. Păun]
= N OP3(sym1, anti1) [Vaszil]
1' $
E = {ar | 1 ≤ r ≤ m} ∪ {l, l′, l′′, l′′′, liv | l ∈ B}
l0
(l1, out; ar l2, in)
for l1 : (add(r), l2, l3)
(l1, out; ar l3, in)
& %
(l , out)
h for (lh : halt)
System
Π = (O, w1, . . . , wm, E, R, io),
where E the set of objects present in arbitrarily many copies in the environment
(1, f /a, 0)
c1 c2 aa (1, d′1 /c1 , 0)
(1, d′′
2 /c2 , 0)
(1, c1 /c′1 , 0)
(1, c′1 a, 3) (1, c2 /c′2 , 0)
(1, d1 , 3) (1, c′2 /c′′
2 , 0)
(1, d2 , 3)
3' $
(3, #/#, 0) & %
6
(3, d′1 /#, 0) (1, d1 d2 , 2)
(3, c1 /#, 0) (1, c1 a, 2)
(3, c2 /#, 0) (1, c2 a, 2)
(3, d1 /#, 0) (2, c1 c2 , 1)
I
@ (3, d2 /#, 0) (1, c′1 c′′
2 , 2)
& %
@ ′
@ (3, c1 /#, 0) (2, d1 f, 1)
@ (2, d2 a, 1)
2'? $ d′1 d′′
@ (2,
@ 2 , 1)
@
(2, d′′
2 g, 3) @
(2, d′1 a, 3) @ g (2, c′1 /d1 , 0)
(2, c1 , 3) @ (2, c′′
2 /d2 , 0)
(2, c2 , 3) @ (2, d1 /d′1 , 0)
(2, d2 /d′2 , 0)
(2, d′2 /d′′
2 , 0)
(0, gf, 2)
(2, g/f, 0)
& %
Neural-like P systems
' $
@
@
R
@
#
c3 c4
2
a →a a→a
a→λ " !
& %
@
@
' $
@
@ /
2#
R
@
l
c5
a→a a→a
" ! a2 → λ
& %
#? l3
a→a
" !
l1 : (SUB(r), l2, l3)
where:
1. O = {a} is the singleton alphabet (a is called spike);
σi = (ni, Ri), 1 ≤ i ≤ m,
where:
a) ni ≥ 0 is the initial number of spikes contained by the neuron;
b) Ri is a finite set of rules of the following two forms:
4. in, out ∈ {1, 2, . . . , m} indicate the input and the output neuron.
Normal forms
2. Each ΠA(n) is confluent: there is a constant tA(n) and a distinguished object yes
such that ΠA(n) always halts in less than tA(n) steps, and either it sends out the
object yes exactly at time tA(n), or this object remains inside the system;
1. membrane division
2. membrane creation
3. string replication
h'
′
$
h'
′
$ h′′
' $
h′′
cd
' $
h& %
ad =⇒ ' $
h& % bd
h& %
& % & %
Theorem 11 (efficiency). The SAT problem can be solved in linear time with
respect to the number of variables and the number of clauses by a P system with
active membranes using rules of the forms (a), (b), (c), (e) (with 2-division only).
where
0
3. [dn−1 → dnc1] 2.
0 +
4. [dn] 2 → [ ] 2 dn.
The objects di are counters. Initially, d0 is placed in membrane 2. By division
(when using rules of type 1), we introduce copies of the counter in each new
membrane. In each step, in each membrane with label 2, we pass from dk to dk+1,
thus “counting to n”. In step n we introduce both dn and c1; the former objects
will exit the membrane (at step n + 1), changing its polarization to positive, the
latter one will be used at the subsequent steps as shown below. Note that at step
n we have also completed the generation of all truth–assignments.
+
5. [ti → rhi,1 . . . rhi,ji ] 2 , 1 ≤ i ≤ n, and the clauses Chi,1 , . . . , Chi,ji contain the
literal xi.
−
8. [ci → ci+1] 2 , 1 ≤ i ≤ m.
−
9. [rk → rk−1] 2 , 2 ≤ k ≤ m.
0 0
12. [yes] 1 → [ ] 1yes.
The object cm+1 exits the membrane that has contained a truth–assignment that
has satisfied formula C, producing the object yes. This object is then sent to
the environment, telling us that the formula is satisfiable, and the computation
stops. This is the (n + 2m + 4)th step of the computation. If formula C is not
satisfiable, then the computation stops earlier and we get no output, because no
membrane was able to produce the object cm+1, hence the object yes.
The satisfiability of formula C was decided in linear time, and this concludes the
proof.
(We have used a comma to separate the rules.) Such a sequence can be constructed
0 0 0
as follows: write [a1] 2 → [t1] 2[f1] 2, on the tape of the Turing machine. This takes a
constant time, proportional to the number of symbols we have to write. Then, copy
this sequence of symbols to the right of the comma, at the same time increasing
the subscripts of a, t, f by one. Continue in this way, copying the string of symbols
between the last two commas to the right of the last comma, at the same time
increasing the subscripts of a, t, f . When the subscripts become equal to n, stop.
Theorem 13. The directed HPP can be solved in linear time with respect to the
number of nodes of the graph by P systems using rules of the forms (a), (b), (c), and
(e), with d-division, and in quadratic time when using 2-division.
0.32
0.28
0.24
0.20
0.16
0.12
0.08
0.04
0 time (s)
0 20 40 60 80 100 120 140 160 180
100nM
200nM
300nM
1' $
x1,1[1]
2x21,1 → 1|x1,1 + 1|x1,2
2' $
x1,3[2], x2,3[1]
4' $
Unexpected universality:
L. Cardelli, Gh. Păun, An universality result for a (mem)brane calculus based
on mate/drip operations, In Cellular Computing. Complexity Aspects (M.A.
Gutiérrez-Naranjo, Gh. Păun, M.J. Pérez-Jiménez, eds.), Fenix Editora, Sevilla,
2005, 75–94.