An object oriented model for parallel and reactive systems

Author(s):  
A. Attoui ◽  
M. Schneider
Author(s):  
Margus Veanes ◽  
Colin Campbell ◽  
Wolfgang Grieskamp ◽  
Wolfram Schulte ◽  
Nikolai Tillmann ◽  
...  

2018 ◽  
Vol 25 (6) ◽  
pp. 623-636
Author(s):  
Sofia Reznikova ◽  
Victor Rivera ◽  
Joo Young Lee ◽  
Manuel Mazzara

Formal modelling languages play a key role in the development of software: they enable users to specify functional requirements that serve as documentation as well; they enable users to prove the correctness of system properties, especially for critical systems. However, there is still an open question on how to map formal models to a specific programming language. In order to propose a solution, this paper presents a source-to-source mapping between Event-B models, a formal modelling language for reactive systems, and Eiffel programs, an Object Oriented (O-O) programming language. The mapping not only generates an actual Eiffel code of the Event-B model, but also translates model properties as contracts. The contracts follow the Design by Contract principle and are natively supported by the programming language. The mapping is implemented in the freely available Rodin plug-in EB2Eiffel. Thus, users can develop systems (i) starting with the modelling of functional requirements (properties) in Event-B, then (ii) formally proving the correctness of such properties in Rodin and finally (iii) by using EB2Eiffel to translate the model into Eiffel. In Eiffel, users can extend/customise the implementation of the model and formally prove it against the initial model. This paper also presents different Event-B models from the literature to test EB2Eiffel and its limitations. The article is published in the authors’ wording.


Sign in / Sign up

Export Citation Format

Share Document