A Translation from Alloy to B

Published in Proceedings ABZ (International Conference on Rigorous State Based Methods), 2018

In this paper, we introduce a translation of the specification language Alloy to classical B. Our translation closely follows the Alloy grammar, each construct is translated into a semantically equivalent component of the B language. In addition to basic Alloy constructs, our approach supports integers and orderings. The translation is fully automated by the tool “Alloy2B”. We evaluate the usefulness by applying AtelierB and ProB to the translated models, and show benefits for proof and solving with integers and higher-order quantification.

Sebastian Krings, Joshua Schmidt, Carola Brings, Marc Frappier and Michael Leuschel. (2018). "A Translation from Alloy to B" Proceedings ABZ (International Conference on Rigorous State Based Methods). https://link.springer.com/chapter/10.1007/978-3-319-91271-4_6