Skip to main content
Top

2025 | OriginalPaper | Chapter

A CSP Semantics for UML State Machines Aiming at Hidden Formal Methods Verification

Authors : Diego Ferreira, Lucas Lima

Published in: Formal Methods: Foundations and Applications

Publisher: Springer Nature Switzerland

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

The increasing complexity of software systems, especially in safety-critical domains, requires rigorous verification methodologies to ensure reliability and correctness. This paper presents a semantics for UML state machines using the formal language CSP to support automatic property verification. Our approach integrates the intuitive modeling capabilities of UML with the precise verification tooling available for CSP, thus facilitating the detection and correction of design errors at the early stages of system development. We implemented a framework as a plugin for the Astah modeling tool, which translates UML diagrams into CSP specifications and utilizes the FDR model checker for verification. The results are traced back to the diagram level, thus hiding the complexity of formal notations and tools. A case study of a flashlight system demonstrates the practical applicability and benefits of our approach, highlighting its ability to identify and solve design issues early in the development process.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Bolognesi, T., Brinksma, E.: Introduction to the ISO specification language LOTOS. Comput. Netw. ISDN Syst. 14(1), 25–59 (1987)CrossRef Bolognesi, T., Brinksma, E.: Introduction to the ISO specification language LOTOS. Comput. Netw. ISDN Syst. 14(1), 25–59 (1987)CrossRef
2.
go back to reference Börger, E., Cavarra, A., Riccobene, E.: Modeling the meaning of transitions from and to concurrent states in uml state machines. In: Proceedings of the 2003 ACM Symposium on Applied Computing, pp. 1086–1091. SAC ’03, Association for Computing Machinery, New York, NY, USA (2003). https://doi.org/10.1145/952532.952745 Börger, E., Cavarra, A., Riccobene, E.: Modeling the meaning of transitions from and to concurrent states in uml state machines. In: Proceedings of the 2003 ACM Symposium on Applied Computing, pp. 1086–1091. SAC ’03, Association for Computing Machinery, New York, NY, USA (2003). https://​doi.​org/​10.​1145/​952532.​952745
3.
go back to reference Börger, E., Stärk, R.F.: Abstract State Machines: A Method for High-level System Design and Analysis; with 19 Tables. Springer (2003) Börger, E., Stärk, R.F.: Abstract State Machines: A Method for High-level System Design and Analysis; with 19 Tables. Springer (2003)
4.
go back to reference Djaaboub, S., Kerkouche, E., Chaoui, A.: From UML statecharts to LOTOS expressions using graph transformation. In: Dregvaite, G., Damasevicius, R. (eds.) Information and Software Technologies, pp. 548–559. Springer International Publishing, Cham (2015)CrossRef Djaaboub, S., Kerkouche, E., Chaoui, A.: From UML statecharts to LOTOS expressions using graph transformation. In: Dregvaite, G., Damasevicius, R. (eds.) Information and Software Technologies, pp. 548–559. Springer International Publishing, Cham (2015)CrossRef
5.
go back to reference Gibson-Robinson, T., Armstrong, P., Boulgakov, A., Roscoe, A.: Fdr3 -a modern refinement checker for csp. In: Àbrahàm, E., Havelund, K. (eds.) Tools and Algorithms for the Construction and Analysis of Systems. Lecture Notes in Computer Science, vol. 8413, pp. 187–201. Springer Berlin Heidelberg (2014). https://doi.org/10.1007/978-3-642-54862-8_13 Gibson-Robinson, T., Armstrong, P., Boulgakov, A., Roscoe, A.: Fdr3 -a modern refinement checker for csp. In: Àbrahàm, E., Havelund, K. (eds.) Tools and Algorithms for the Construction and Analysis of Systems. Lecture Notes in Computer Science, vol. 8413, pp. 187–201. Springer Berlin Heidelberg (2014). https://​doi.​org/​10.​1007/​978-3-642-54862-8_​13
8.
go back to reference Hoare, C.A.R.: Communicating and Sequential Processes. Prentice Hall (1985) Hoare, C.A.R.: Communicating and Sequential Processes. Prentice Hall (1985)
9.
go back to reference Horváth, B., et al.: Model checking as a service: towards pragmatic hidden formal methods. In: Proceedings of the 23rd ACM/IEEE International Conference on Model Driven Engineering Languages and Systems: Companion Proceedings. MODELS ’20, Association for Computing Machinery, New York, NY, USA (2020). https://doi.org/10.1145/3417990.3421407 Horváth, B., et al.: Model checking as a service: towards pragmatic hidden formal methods. In: Proceedings of the 23rd ACM/IEEE International Conference on Model Driven Engineering Languages and Systems: Companion Proceedings. MODELS ’20, Association for Computing Machinery, New York, NY, USA (2020). https://​doi.​org/​10.​1145/​3417990.​3421407
10.
go back to reference Khendek, F., Bourduas, S., Vincent, D.: Stepwise design with message sequence charts. In: Kim, M., Chin, B., Kang, S., Lee, D. (eds.) Formal Techniques for Networked and Distributed Systems, pp. 19–34. Springer, Boston (2001) Khendek, F., Bourduas, S., Vincent, D.: Stepwise design with message sequence charts. In: Kim, M., Chin, B., Kang, S., Lee, D. (eds.) Formal Techniques for Networked and Distributed Systems, pp. 19–34. Springer, Boston (2001)
11.
go back to reference Kiniry, J.R., Zimmerman, D.M.: Secret ninja formal methods. In: Cuéllar, J., Maibaum, T.S.E., Sere, K. (eds.) FM 2008: Formal Methods, 15th International Symposium on Formal Methods, Turku, Finland, May 26-30, 2008, Proceedings. Lecture Notes in Computer Science, vol. 5014, pp. 214–228. Springer (2008). https://doi.org/10.1007/978-3-540-68237-0_16 Kiniry, J.R., Zimmerman, D.M.: Secret ninja formal methods. In: Cuéllar, J., Maibaum, T.S.E., Sere, K. (eds.) FM 2008: Formal Methods, 15th International Symposium on Formal Methods, Turku, Finland, May 26-30, 2008, Proceedings. Lecture Notes in Computer Science, vol. 5014, pp. 214–228. Springer (2008). https://​doi.​org/​10.​1007/​978-3-540-68237-0_​16
15.
go back to reference Object Management Group: OMG Unified Modeling Language (OMG UML), version 2.5.1. Tech. rep. OMG (2017) Object Management Group: OMG Unified Modeling Language (OMG UML), version 2.5.1. Tech. rep. OMG (2017)
16.
go back to reference Reggio, G., Leotta, M., Ricca, F., Clerissi, D.: What are the used UML diagrams? A preliminary survey. In: EESSMOD@MoDELS, vol. 1078, pp. 3–12 (2013) Reggio, G., Leotta, M., Ricca, F., Clerissi, D.: What are the used UML diagrams? A preliminary survey. In: EESSMOD@MoDELS, vol. 1078, pp. 3–12 (2013)
17.
go back to reference Sun, J., Liu, Y., Dong, J.S., Pang, J.: Pat: towards flexible verification under fairness. In: Bouajjani, A., Maler, O. (eds.) Computer Aided Verification, pp. 709–714. Springer Berlin Heidelberg, Berlin, Heidelberg (2009)CrossRef Sun, J., Liu, Y., Dong, J.S., Pang, J.: Pat: towards flexible verification under fairness. In: Bouajjani, A., Maler, O. (eds.) Computer Aided Verification, pp. 709–714. Springer Berlin Heidelberg, Berlin, Heidelberg (2009)CrossRef
18.
go back to reference Syriani, E., Vangheluwe, H., Mannadiar, R., Hansen, C., Van Mierlo, S., Ergin, H.: Atompm: a web-based modeling environment. In: Joint proceedings of MODELS’13 Invited Talks, Demonstration Session, Poster Session, and ACM Student Research Competition co-located with the 16th International Conference on Model Driven Engineering Languages and Systems (MODELS 2013): September 29-October 4, 2013, Miami, USA, pp. 21–25 (2013) Syriani, E., Vangheluwe, H., Mannadiar, R., Hansen, C., Van Mierlo, S., Ergin, H.: Atompm: a web-based modeling environment. In: Joint proceedings of MODELS’13 Invited Talks, Demonstration Session, Poster Session, and ACM Student Research Competition co-located with the 16th International Conference on Model Driven Engineering Languages and Systems (MODELS 2013): September 29-October 4, 2013, Miami, USA, pp. 21–25 (2013)
20.
go back to reference Visser, W., Dwyer, M., Whalen, M.: The hidden models of model checking. Softw. Syst. Model. 11(4), 541–555 (2012) Visser, W., Dwyer, M., Whalen, M.: The hidden models of model checking. Softw. Syst. Model. 11(4), 541–555 (2012)
Metadata
Title
A CSP Semantics for UML State Machines Aiming at Hidden Formal Methods Verification
Authors
Diego Ferreira
Lucas Lima
Copyright Year
2025
DOI
https://doi.org/10.1007/978-3-031-78116-2_4

Premium Partner