Formal Semantics and Soundness of a Translation from Event-B Actions to SQL Statements
Tim Wahls

TL;DR
This paper provides a formal semantics and proof of soundness for translating Event-B actions into SQL, ensuring correctness of generated database code from Event-B models.
Contribution
It introduces a formal framework and correctness proof for translating Event-B actions into SQL statements, enhancing reliability of model-to-database code generation.
Findings
Formal semantics for Event-B to SQL translation
Proof of soundness for the translation process
Confidence in correctness of generated code
Abstract
The EventB2SQL tool translates Event-B models to persistent Java applications that store the state of the model in a relational database. Most Event-B assignments are translated directly to SQL database modification statements, which can then be executed against the database. In this work, we present a formal semantics for and prove the soundness of the translation of sets of assignment statements representing the actions of an Event-B event. This allows the generated code to be used with confidence in its correctness.
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.
Taxonomy
TopicsLogic, programming, and type systems · Logic, Reasoning, and Knowledge · Distributed systems and fault tolerance
