09.09.2014 Views

13th International Conference on Membrane Computing - MTA Sztaki

13th International Conference on Membrane Computing - MTA Sztaki

13th International Conference on Membrane Computing - MTA Sztaki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<str<strong>on</strong>g>13th</str<strong>on</strong>g> <str<strong>on</strong>g>Internati<strong>on</strong>al</str<strong>on</strong>g> <str<strong>on</strong>g>C<strong>on</strong>ference</str<strong>on</strong>g> <strong>on</strong> <strong>Membrane</strong> <strong>Computing</strong>, CMC13,<br />

Budapest, Hungary, August 28 - 31, 2012. Proceedings, pages 455 - 458.<br />

Simplifying Event-B Models of P Systems Using<br />

Functi<strong>on</strong>s ∗<br />

Adrian Ţurcanu, Florentin Ipate<br />

Department of Computer Science, University of Pitesti<br />

Abstract<br />

Often modelling P systems in a language associated with a model<br />

checker can be a difficult task due to its large size or the lack of automatic<br />

methods. In this paper we present some initial results c<strong>on</strong>cerning the<br />

simplificati<strong>on</strong> of Event-B models of P systems using functi<strong>on</strong>s, quantifiers<br />

and n<strong>on</strong>-deterministic assignments . We present some general ideas which<br />

we then use to implement two P system models in the Rodin platform.<br />

1 Introducti<strong>on</strong><br />

Initiated by Gheorghe Păun [4], membrane computing studies computing devices,<br />

called P systems, inspired by the functi<strong>on</strong>ing and structure of living cell.<br />

Event-B [1] is a formal modelling language introduced about 10 years ago<br />

by J.R. Abrial, used with a platform called Rodin for developing mathematical<br />

models of complex systems which behave in a discrete fashi<strong>on</strong>.<br />

Event-B models are abstract state machines, made of several comp<strong>on</strong>ents.<br />

Each comp<strong>on</strong>ent can be either a machine or a c<strong>on</strong>text. C<strong>on</strong>texts c<strong>on</strong>tain the<br />

static structure of the system: sets, c<strong>on</strong>stants and axioms. Machines c<strong>on</strong>tain<br />

the dynamic structure of the system: variables, invariants, and events.<br />

An event is a state transiti<strong>on</strong> which is specified in terms of guards (necessary<br />

c<strong>on</strong>diti<strong>on</strong>s to be enabled) and acti<strong>on</strong>s (modifying variables of the machine). An<br />

acti<strong>on</strong> might be either deterministic (using the assignment operator “:=”) or<br />

n<strong>on</strong>-deterministic (using the operators “:∈” or“:|”). An expressi<strong>on</strong> “x :| P (x)”<br />

means that the variable x receives a value such that the predicate P is true.<br />

The value of x after the assignment is denoted x ′ .<br />

ProB is an animati<strong>on</strong> and model checking tool integrated within the Rodin<br />

platform. Unlike most model checking tools, ProB works <strong>on</strong> higher-level formalisms<br />

and so it enables a more c<strong>on</strong>venient modelling.<br />

In this paper we propose a simplified way of modelling some P systems<br />

using Event-B comp<strong>on</strong>ents like functi<strong>on</strong>s, quantifiers and n<strong>on</strong>-deterministic assignments.<br />

∗ ACKNOWLEDGMENT: This work was partially supported by the strategic grant POS-<br />

DRU 88/1.5/S/52826, Project ID52826 (2009), co-financed by the European Social Fund -<br />

Investing in People, within the Sectoral Operati<strong>on</strong>al Programme Human Resources Development<br />

2007-2013 for Adrian Ţurcanu, and by UEFISCDI project MuVeT, code PN-II-ID-PCE-<br />

2011-3-0688, no. 317/26.10.2011 for Florentin Ipate.<br />

455

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!