Towards Theorem Proving Graph Grammars using Event-B

Leila Ribeiro, Fernando Luis Dotti, Simone André da Costa, Fabiane Cristine Dillenburg

Abstract


Graph grammars may be used as specification technique for different kinds of systems, specially in situations in which states are complex structures that can be adequately modeled as graphs (possibly with an attribute data part) and in which the behavior involves a large amount of parallelism and can be described as reactions to stimuli that can be observed in the state of the system. The verification of properties of such systems is a difficult task due to many aspects: in many situations the systems have an infinite number of states; states themselves are complex and large; there are a number of different computation possibilities due to the fact that rule applications may occur in parallel. There are already some approaches to verification of graph grammars based on model checking, but in these cases only finite state systems can be analyzed. Other approaches propose over- and/or under-approximations of the state-space, but in this case it is not possible to check arbitrary properties. In this work, we propose to use the Event-B formal method and its theorem proving tools to analyze graph grammars. We show that a graph grammar can be translated into an Event-B specification preserving its semantics, such that one can use several theorem provers available for Event-B to analyze the reachable states of the original graph grammar. The translation is based on a relational definition of graph grammars, that was shown to be equivalent to the Single-Pushout approach to graph grammars.

Full Text:

PDF


DOI: http://dx.doi.org/10.14279/tuj.eceasst.30.412

DOI (PDF): http://dx.doi.org/10.14279/tuj.eceasst.30.412.419

Hosted By Universitätsbibliothek TU Berlin.