Electronic Proceedings in Theoretical Computer Science (Jun 2011)

Concurrent Scheduling of Event-B Models

  • Kaisa Sere,
  • Fredrik Degerlund,
  • Pontus Boström,
  • Marina Waldén

DOI
https://doi.org/10.4204/EPTCS.55.11
Journal volume & issue
Vol. 55, no. Proc. Refine 2011
pp. 166 – 182

Abstract

Read online

Event-B is a refinement-based formal method that has been shown to be useful in developing concurrent and distributed programs. Large models can be decomposed into sub-models that can be refined semi-independently and executed in parallel. In this paper, we show how to introduce explicit control flow for the concurrent sub-models in the form of event schedules. We explore how schedules can be designed so that their application results in a correctness-preserving refinement step. For practical application, two patterns for schedule introduction are provided, together with their associated proof obligations. We demonstrate our method by applying it on the dining philosophers problem.