English

Building Specifications in the Event-B Institution

Logic in Computer Science 2023-06-22 v6 Formal Languages and Automata Theory

Abstract

This paper describes a formal semantics for the Event-B specification language using the theory of institutions. We define an institution for Event-B, EVT, and prove that it meets the validity requirements for satisfaction preservation and model amalgamation. We also present a series of functions that show how the constructs of the Event-B specification language can be mapped into our institution. Our semantics sheds new light on the structure of the Event-B language, allowing us to clearly delineate three constituent sub-languages: the superstructure, infrastructure and mathematical languages. One of the principal goals of our semantics is to provide access to the generic modularisation constructs available in institutions, including specification-building operators for parameterisation and refinement. We demonstrate how these features subsume and enhance the corresponding features already present in Event-B through a detailed study of their use in a worked example. We have implemented our approach via a parser and translator for Event-B specifications, EBtoEVT, which also provides a gateway to the Hets toolkit for heterogeneous specification.

Cite

@article{arxiv.2103.10881,
  title  = {Building Specifications in the Event-B Institution},
  author = {Marie Farrell and Rosemary Monahan and James F. Power},
  journal= {arXiv preprint arXiv:2103.10881},
  year   = {2023}
}
R2 v1 2026-06-24T00:21:36.196Z