Data-types definitions: Use of Theory and Context instantiations Plugins
Résumé
In the context of the French national research agency (ANR) EBRP-EventB-Rodin-Plus (Enhancing Event-B and Rodin) project, an extension of the Rodin platform supporting the design of Event-B [1] models has been designed in the form of a plugin, namely the context Instantiation plugin. It allows the definition of generic contexts and their instantiation to define generic and reusable theories. Instantiable Sets and Constants with their axioms and theorems are defined in a context has been designed. A mechanism for instantiating such generic contexts by importing useful axioms and theorems in another context. A language for describing such instantiations has been defined. It is parsed in order to generate instantiated contexts. In the work of a mathematical extension of Event-B allowing the definition of theories was proposed and implemented in the so-called Theory Plugin. In this paper, we investigate the correspondence between theories formalised in the theory plugin and those formalised in the context instantiation plugin. We present transformation rules that allow us to describe theories through contexts and their instantiation. The goal of these transformations is to provide an additional way to model theories in the core Event-B modelling language. These correspondences for possible data-type definitions are described further below.
Origine | Fichiers produits par l'(les) auteur(s) |
---|