Skip to main content

Formalising UML State Machines for Model Checking

  • Conference paper
  • First Online:
«UML»’99 — The Unified Modeling Language (UML 1999)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1723))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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.

  2. G. Booch, J. Rumbaugh, and I. Jacobson. The Unified Modelling Language User Guide. Addison-Wesley, 1999.

    Google Scholar 

  3. E. M. Clarke and R. P. Kurshan. Computer-aided verification. IEEE Spectrum, 33(6):61–67, 1996.

    Article  Google Scholar 

  4. R. France, A. Evans, K. Lano, and B. Rumpe. The UML as a formal modeling notation. Computer Standards & Interfaces., 19:325–334, 1998.

    Article  Google Scholar 

  5. D. Harel and A. Naamad. The STATEMATE semantics of Statecharts. ACM Transactions of Software Engineering and Methodology, 5(4) Oct 1996.

    Google Scholar 

  6. G.J. Holzmann. Design and Validation of Computer Protocols. Prentice Hall, 1991.

    Google Scholar 

  7. G.J. Holzmann. The model checker Spin. IEEE Transactions on Software Engineering, Vol. 23, No. 5, May 1997.

    Google Scholar 

  8. 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.

    Google Scholar 

  9. F. Levi. Verification of Temporal and Real-Time Properties of Statecharts. PhD thesis, University of Pisa-Genoa-Udine, Pisa, Italy, 1997.

    Google Scholar 

  10. J. Lilius and I. Porres Paltor. The semantics of UML state machines. Technical Report 273, Turku Centre for Computer Science, 1999.

    Google Scholar 

  11. J. Lilius and I. Porres Paltor. vUML: a tool for verifying UML models. Technical Report 272, Turku Centre for Computer Science, 1999.

    Google Scholar 

  12. 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.

    Google Scholar 

  13. 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.

    Google Scholar 

  14. 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.

    Google Scholar 

  15. J. Rumbaugh, I. Jacobson, and G. Booch. The Unified Modelling Language Reference Manual. Addison-Wesley, 1999.

    Google Scholar 

  16. 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.

    Google Scholar 

  17. A. Valmari. The state space explosion problem. In Advances in Petri Nets. Springer-Verlag, 1999.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics