Generating Distributed Programs from Event-B Models

by   Horatiu Cirstea, et al.

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 several refinement steps of the initial LB model. The derivation of the LB model is not described in the current paper and has already been addressed in other works. The transformation of LB models into DistAlgo programs is illustrated through a simple example. The refinement process and the soundness of the transformation allow one to produce correct-by-construction distributed programs.



There are no comments yet.


page 1

page 2

page 3

page 4


Verification of Programs via Intermediate Interpretation

We explore an approach to verification of programs via program transform...

Blocking and Other Enhancements for Bottom-Up Model Generation Methods

Model generation is a problem complementary to theorem proving and is im...

Refinement Types for Ruby

Refinement types are a popular way to specify and reason about key progr...

Deductive Verification of Programs with Underspecified Semantics by Model Extraction

We present a novel and well automatable approach to formal verification ...

Igloo: Soundly Linking Compositional Refinement and Separation Logic for Distributed System Verification

Lighthouse projects such as CompCert, seL4, IronFleet, and DeepSpec have...

Incremental Database Design using UML-B and Event-B

Correct operation of many critical systems is dependent on the data cons...

Certifying Choreography Compilation

Choreographic programming is a paradigm for developing concurrent and di...
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.