EB4EB: A Framework for Reflexive Event-B
Authors:
- 1 March 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 71-80
Abstract
Event-B is a correct-by-construction rigorous state-based method offering features for formal modelling and proof automation. An inductive proof schema allows to prove system properties, in particular invariants. In the current setup, verifying other properties such as deadlock-freeness, reachability, event scheduling, liveness, etc., requires adhoc modelling. These prop-erties can be established partially using model checkers or by using third party interactive provers. Other crucial aspects, such as deadlock-freeness, are difficult to express. The availabilty of a meta-modelling mechanism for explicit manipulation of Event-B concepts would allow to deal with higher order modelling concepts and to define generic properties and associated proof obligations. In this paper, we propose EB4EB, an Event-B based modelling framework allowing to manipulate Event- B features explicitly based on meta modelling concepts. This framework relies on a set of Event-B theories defining data-types, operators, well-defined conditions, theorems and proof rules. It preserves the core logical foundation, including semantics, of original Event- B models. Based on the instantiation of the introduced features at meta level, deep and shallow modelling approaches are proposed to exploit this framework. In addition, a case study is developed to demonstrate the use of our framework applying the deep and shallow embedding approaches. The whole framework is supported by the Rodin platform handling Event- B models and proofs.Keywords
This publication has 12 references indexed in Scilit:
- The MetaCoq ProjectJournal of Automated Reasoning, 2020
- Towards Certified Meta-Programming with Typed Template-Coq2018
- A metaprogramming framework for formal verificationProceedings of the ACM on Programming Languages, 2017
- Elaborator reflection: extending Idris in IdrisACM SIGPLAN Notices, 2016
- Code Generation for Event-B2014
- Practical Theory Extension in Event-B2013
- Automatic code generation from event-B models2011
- Modeling in Event-B2010
- Rodin: an open toolset for modelling and reasoning in Event-BInternational Journal on Software Tools for Technology Transfer, 2010
- PVS: A prototype verification system1992