# Translating Event-B machines to Eiffel programs

**Authors:** Victor Rivera, JooYoung Lee, Manuel Mazzara, Leonard Johard

arXiv: 1706.04578 · 2017-06-15

## TL;DR

This paper introduces a source-to-source translation method from Event-B models to Eiffel programs, allowing correctness proofs via Eiffel's Design-by-Contract while leveraging object-oriented features.

## Contribution

It presents the first systematic mapping from Event-B to Eiffel, integrating formal correctness proofs with object-oriented programming.

## Key findings

- Enables proof of system properties through Eiffel's Design-by-Contract.
- Preserves all features of object-oriented programming in the translation.
- Facilitates formal verification in practical software development.

## Abstract

Formal modelling languages play a key role in the development of software since they enable users to prove correctness of system properties. However, there is still not a clear understanding on how to map a formal model to a specific programming language. In order to propose a solution, this paper presents a source-to-source mapping between Event- B models and Eiffel programs, therefore enabling the proof of correctness of certain system properties via Design-by-Contract (natively supported by Eiffel), while still making use of all features of O-O programming.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1706.04578/full.md

## Figures

4 figures with captions in the complete paper: https://tomesphere.com/paper/1706.04578/full.md

## References

10 references — full list in the complete paper: https://tomesphere.com/paper/1706.04578/full.md

---
Source: https://tomesphere.com/paper/1706.04578