Generating Distributed Programs from Event-B Models
Horatiu Cirstea (LORIA, CNRS & INRIA & Universit\'e de Lorraine),, Alexis Grall (LORIA, CNRS & INRIA & Universit\'e de Lorraine), Dominique, M\'ery (LORIA, CNRS & INRIA & Universit\'e de Lorraine)

TL;DR
This paper presents a method to automatically generate correct distributed programs from formal Event-B models by defining a subset LB and transforming it into DistAlgo code, ensuring correctness through refinement.
Contribution
It introduces a formal approach combining Event-B modeling with program generation in DistAlgo, enabling verified distributed program development.
Findings
Defined LB subset of Event-B for distributed actions
Developed transformation from LB models to DistAlgo programs
Demonstrated correctness through refinement and example
Abstract
Distributed algorithms offer challenges in checking that they meet their specifications. Verification techniques can be extended to deal with the verification of safety properties of distributed algorithms. In this paper, we present an approach for combining correct-by-construction approaches and transformations of formal models (Event-B) into programs (DistAlgo) to address the design of verified distributed programs. We define a subset LB (Local Event-B) of the Event-B modelling language restricted to events modelling the classical actions of distributed programs as internal or local computations, sending messages and receiving messages. We define then transformations of the various elements of the LB language into DistAlgo programs. The general methodology consists in starting from a statement of the problem to program and then progressively producing an LB model obtained after…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
