Formal Verification of P Systems with Active Membranes through Model Checking
Florentin Ipate1, Raluca Lefticaru1, Ignacio Pérez-Hurtado2, Mario J. Pérez-Jiménez2, Cristina Tudose1
1University of Pitesti 2University of Sevilla
Formal Verification of P Systems with Active Membranes through Model - - PowerPoint PPT Presentation
Formal Verification of P Systems with Active Membranes through Model Checking Florentin Ipate 1 , Raluca Lefticaru 1 , Ignacio Prez-Hurtado 2 , Mario J. Prez-Jimnez 2 , Cristina Tudose 1 1 University of Pitesti 2 University of Sevilla
1University of Pitesti 2University of Sevilla
2
3
4
5
times, respectively, for every membrane i;
dissolution/ division rule;
6
i m i
1
i m i m
1 1
membrane;
transitions to Crash are added.
7
q0 q2 q3
8
Running Halt Crash
Running (set of states) – normal behaviour; Crash – abnormal behaviour (upper bounds exceeded); Halt – halting configurations.
9
10
11
B a i
i
Pérez-Jiménez, M.J., Riscos-Núñez, A.: Solving the Subset-Sum problem by P systems with active membranes. New Generation Computing 23(4), 339-356 (2005)
Díaz-Pernil, D., Gutiérrez-Naranjo, M.A., Pérez-Jiménez, M.J., Riscos-Núñez, A.: A logarithmic bound for solving Subset Sum with P systems. In: Eleftherakis, G., Kefalas, P., Păun, G., Rozenberg, G., Salomaa, A. (eds.) Workshop on Membrane Computing. Lecture Notes in Computer Science, vol. 4860, pp. 257-270. Springer (2007)
12
13
generated via membrane division.
associated subset is calculated.
weight of its associated subset is exactly k.
stage: the system sends
the answer to the environment, according to the result of the checking stage.
14
s e
2 2 2 , 1 2 1 1
k n k n n
0 ]
s e e s
k e s
0,
n
w n w
1
1
15
The set of rules, R: (1) For each subset of A a membrane is generated. (2) The code from the input membrane is built in such a way that the multiplicity of xj represents the weight of aj A. These three rules calculate in ā0 the weight of a subset. (3) The rules mark the beginning of the checking stage; the weight of the subset is now coded by the multiplicity of a0. (4) The number of occurrences of a0 and a are compared in a checking loop.
. , ] [ ] [ ] [ ; , ] [ ] [ ] [
1 1
n i e e e n i e q e
e i e i e i e i e e i
. 1 , ] [ ; ] [ ; ] [
1
n i for x x x a x
e i i e e
. ] [ ; ] [ ; ] [
e e e
a a a a q q . [] ] [ ; [] ] [
e e e e
a a
16
(5) Objects qi are utilised as counters of the checking loop. (6) These rules provide an answer to the checking loop given that there are the same number of a0 and a, more a0 objects, or more a objects, respectively. (7) Objects zi control the checking stage in all membranes. When the checking stage is over d1 and No0 are released into the skin membrane. (8) In the final stage either Yes or No is sent out into the environment.
2 2 1 2 1 2 2
e j j e j j
1 2 1 2 1 2
e e j e e k e e k
1 2 2 2 1 s k n s i i
1 1
s s s s s s s
17
18
19
20
21
22
23