Abstract
The paper discusses a complete formalisation of UML state machine semantics. This formalisation is given in terms of an operational semantics and it can be used as the basis for code-generation, simulation and verification tools for UML Statecharts diagrams. The formalisation is done in two steps. First, the structure of a UML state machine is translated into a term rewriting system. In the second step, the operational semantics of state machines is defined. In addition, some problematic situations that may arise are discussed. Our formalisation is able to deal with all the features of UML state machines and it has been implemented in the vUML tool, a tool for model-checking UML models.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
OMG Unified Language Specification (draft). Version 1.3 alpha R5, March 1999, available at http://www.rational.com/uml/resources/documentation/media/OMG-UML-1_3-Alpha5-PDF.zip.
G. Booch, J. Rumbaugh, and I. Jacobson. The Unified Modelling Language User Guide. Addison-Wesley, 1999.
E. M. Clarke and R. P. Kurshan. Computer-aided verification. IEEE Spectrum, 33(6):61–67, 1996.
R. France, A. Evans, K. Lano, and B. Rumpe. The UML as a formal modeling notation. Computer Standards & Interfaces., 19:325–334, 1998.
D. Harel and A. Naamad. The STATEMATE semantics of Statecharts. ACM Transactions of Software Engineering and Methodology, 5(4) Oct 1996.
G.J. Holzmann. Design and Validation of Computer Protocols. Prentice Hall, 1991.
G.J. Holzmann. The model checker Spin. IEEE Transactions on Software Engineering, Vol. 23, No. 5, May 1997.
Diego Latella, Istvan Majzik, and Mieke Massink. Towards a formal operational semantics of UML statechart diagrams. In 3rd International Conference on Formal Methods for Open Object-Oriented Distributed Systems, Boston, 1999. Kluwer Academic Publishers.
F. Levi. Verification of Temporal and Real-Time Properties of Statecharts. PhD thesis, University of Pisa-Genoa-Udine, Pisa, Italy, 1997.
J. Lilius and I. Porres Paltor. The semantics of UML state machines. Technical Report 273, Turku Centre for Computer Science, 1999.
J. Lilius and I. Porres Paltor. vUML: a tool for verifying UML models. Technical Report 272, Turku Centre for Computer Science, 1999.
E. Mikk, Y. Lakhnech, and M. Siegel. Hierarchical automata as model for Statecharts. In 3rd Asian Computing Science Conference (ASIAN’97), volume 1345 of Lecture Notes in Computer Science, pages 181–196, Berlin, 1997. Springer.
E. Mikk, Y. Lakhnech, M. Siegel, and G. Holzmann. Implementing Statecharts in Promela/SPIN. In Workshop on Industrial-Strength Formal Specifications Techniques (WIFT’98), Boca Raton, FL, USA, 1998. IEEE Computer Society Press.
A. Pnueli and M. Shalev. What is in a step: On the semantics of Statecharts. In Theoretical Aspects of Computer Science, volume 526 of Lecture Notes in Computer Science, Berlin, 1991. Springer-Verlag.
J. Rumbaugh, I. Jacobson, and G. Booch. The Unified Modelling Language Reference Manual. Addison-Wesley, 1999.
A. Uselton and S. Smolka. A compositional semantics for Statecharts using labeled transition systems. In CONCUR’94, volume 836 of Lecture Notes in Computer Science, Berlin, 1994. Springer-Verlag.
A. Valmari. The state space explosion problem. In Advances in Petri Nets. Springer-Verlag, 1999.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1999 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Lilius, J., Paltor, I.P. (1999). Formalising UML State Machines for Model Checking. In: France, R., Rumpe, B. (eds) «UML»’99 — The Unified Modeling Language. UML 1999. Lecture Notes in Computer Science, vol 1723. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46852-8_31
Download citation
DOI: https://doi.org/10.1007/3-540-46852-8_31
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-66712-4
Online ISBN: 978-3-540-46852-3
eBook Packages: Springer Book Archive