Abstract
The Event-B modelling language has been used to formalise the semantics of other modelling languages such as Time Mobility (TiMo) or State Chart XML (SCXML). Typically, the syntactical elements of the languages are captured as Event-B contexts while the semantical elements are formalised in Event-B machines. An alternative for capturing a modelling language’s semantics is to use the Theory plug-in to build datatypes capturing the syntactical elements of the language and operators to represent the various semantical aspects of the language. This paper draws on our experience on the statemanchines (part of SCXML) to compare the two approaches in terms of modelling efforts.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Abrial, J.R.: Modeling in Event-B: System and Software Engineering. Cambridge University Press, Cambridge (2010)
Barnett, J.: Introduction to SCXML. In: Dahl, D.A. (ed.) Multimodal Interaction with W3C Standards, pp. 81–107. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-42816-1_5
Butler, M., Maamria, I.: Practical theory extension in Event-B. In: Liu, Z., Woodcock, J., Zhu, H. (eds.) Theories of Programming and Formal Methods. LNCS, vol. 8051, pp. 67–81. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-39698-4_5
Ciobanu, G., Hoang, T.S., Stefanescu, A.: From TiMo to Event-B: event-driven timed mobility. In: 2014 19th International Conference on Engineering of Complex Computer Systems, Tianjin, China, 4–7 August 2014, pp. 1–10. IEEE Computer Society (2014). https://doi.org/10.1109/ICECCS.2014.10
Hoang, T.S., Dghaym, D., Snook, C.F., Butler, M.J.: A composition mechanism for refinement-based methods. In: 22nd International Conference on Engineering of Complex Computer Systems, ICECCS 2017, Fukuoka, Japan, 5–8 November 2017, pp. 100–109. IEEE Computer Society (2017). https://doi.org/10.1109/ICECCS.2017.27
Hoang, T.S., Voisin, L., Salehi, A., Butler, M.J., Wilkinson, T., Beauger, N.: Theory plug-in for Rodin 3.x. CoRR abs/1701.08625 (2017). http://arxiv.org/abs/1701.08625
Riviere, P., Singh, N.K., Ameur, Y.A., Dupont, G.: Formalising liveness properties in Event-B with the reflexive EB4EB framework. In: Rozier, K.Y., Chaudhuri, S. (eds.) NFM 2023. LNCS, vol. 13903, pp. 312–331. Springer, Cham (2023). https://doi.org/10.1007/978-3-031-33170-1_19
Snook, J., Butler, M., Hoang, T.S.: Developing a new language to construct algebraic hierarchies for Event-B. In: Feng, X., Müller-Olm, M., Yang, Z. (eds.) SETTA 2018. LNCS, vol. 10998, pp. 135–141. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-99933-3_9
Morris Wright, K.V., Hoang, T.S., Snook, C.F., Butler, M.J.: Formal language semantics for triggered enable statecharts with a run-to-completion scheduling. In: Ábrahám, E., Dubslaff, C., Tarifa, S.L.T. (eds.) ICTAC 2023. LNCS, vol. 14446, pp. 178–195. Springer, Cham (2023). https://doi.org/10.1007/978-3-031-47963-2_12
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Ethics declarations
Competing Interests
The author(s) has no competing interests to declare that are relevant to the content of this manuscript.
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Hoang, T.S., Voisin, L., Wright, K.V.M., Snook, C., Butler, M. (2024). Semantics Formalisation – From Event-B Contexts to Theories. In: Bonfanti, S., Gargantini, A., Leuschel, M., Riccobene, E., Scandurra, P. (eds) Rigorous State-Based Methods. ABZ 2024. Lecture Notes in Computer Science, vol 14759. Springer, Cham. https://doi.org/10.1007/978-3-031-63790-2_14
Download citation
DOI: https://doi.org/10.1007/978-3-031-63790-2_14
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-63789-6
Online ISBN: 978-3-031-63790-2
eBook Packages: Computer ScienceComputer Science (R0)