skip to main content
article

The intuitionism behind Statecharts steps

Published:01 January 2002Publication History
Skip Abstract Section

Abstract

The semantics of Statecharts macro steps, as introduced by Pnueli and Shalev [1991], lacks compositionality. This article first analyzes the compositionality problem and traces it back to the invalidity of the Law of the Excluded Middle. It then characterizes the semantics via a particular class of linear intuitionistic Kripke models. This yields, for the first time in the literature, a simple fully abstract semantics that interprets Pnueli and Shalev's concept of failure naturally. The results not only give insight into the semantic subtleties of Statecharts, but also provide a basis for an implementation, for developing algebraic theories for macro steps, and for comparing different Statecharts variants.

References

  1. ALUR, R., KANNAN,S.,AND YANNAKAKIS, M. 1999. Communicating hierarchical state machines. In Proceedings of the 26th International Colloquium on Automata, Languages and Programming (ICALP '99) (Prague, Czech Republic). P. van Emde Boas, J. Wiedermann, and M. Nielsen, Eds. Lecture Notes in Computer Science, vol. 1644. Springer-Verlag, New York, pp. 169-178.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. BERRY, G. 1999. The constructive semantics of pure ESTEREL. Draft Version 3.0. Available at http://www-sop.inria.fr/meije/Personnel/Gerard.Berry.html.]]Google ScholarGoogle Scholar
  3. BERRY, G. 2000. The foundations of ESTEREL.InProof, Language and Interaction: Essays in Honour of Robin Milner, G. Plotkin, C. Stirling, and M. Tofte, Eds. Foundations of Computing MIT Press, Cambridge, Mass.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. BERRY,G.AND SENTOVICH, E. 2000. An implemenatation of constructive synchronous programs in POLIS. Form. Meth. Syst. Des. 17, 2 (Oct.), 135-161.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. BOOCH, G., RUMBAUGH,J.,AND JACOBSON, I. 1998. The Unified Modeling Language User Guide. Object Techn. Series. Addison Wesley Longman, Reading, Mass.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. BROY, M. 1997. Abstract semantics of synchronous languages: The example ESTEREL. Tech. Rep. TUM-I9706. Munich Univ. of Tech., Munich, Germany.]]Google ScholarGoogle Scholar
  7. DAMM, W., JOSKO, B., HUNGAR, H., AND PNUELI, A. 1997. A compositional real-time semantics of STATEMATE designs. In Compositionality: The Significant Difference (Bad Malente, Germany). W. de Roever, H. Langmaack, and A. Pnueli, Eds. Lecture Notes in Computer Science, vol. 1536. Springer-Verlag, New York, pp. 186-238.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. HAREL, D. 1987. Statecharts: A visual formalism for complex systems. Sci. Comput. Program. 8, 231-274.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. HAREL,D.AND NAAMAD, A. 1996. The STATEMATE semantics of Statecharts. ACM Trans. Softw. Eng. 5, 4 (Oct.), 293-333.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. HAREL, D., PNUELI, A., PRUZAN-SCHMIDT,J.,AND SHERMAN, R. 1987. On the formal semantics of Statecharts. In Proceedings of the 2nd Annual Symposium on Logic in Computer Science (LICS '87). IEEE Comp. Soc. Press, Ithaca, NY, pp. 56-64.]]Google ScholarGoogle Scholar
  11. HUIZING, C. 1991. Semantics of reactive systems: Comparison and full abstraction. Ph.D. dissertation. Eindhoven University of Technology, Eindhoven, The Netherlands.]]Google ScholarGoogle Scholar
  12. HUIZING, C., GERTH, R., AND DE ROEVER, W. 1988. Modeling Statecharts behavior in a fully abstract way. In Proceedings of the 13th Colloquium on Trees and Algebra in Programming (CAAP '88) (Nancy, France). M. Dauchet and M. Nivat, Eds. Lecture Notes in Computer Science, vol. 299. Springer-Verlag, New York, pp. 271-294.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. LEVESON, N., HEIMDAHL, M., HILDRETH, H., AND REESE, J. 1994. Requirements specification for process-control systems. ACM Trans. Softw. Eng. 20, 9 (Sept.), 684-707.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. LEVI, F. 1997. Verification of temporal and real-time properties of Statecharts. Ph.D. dissertation. Univ. of Pisa-Genova-Udine, Italy.]]Google ScholarGoogle Scholar
  15. LUTTGEN,G.AND MENDLER, M. 2000. The intuitionism behind Statecharts steps. Tech. Rep. 2000- 28. NASA Contr. Rep. NASA/CR-2000-210302. Institute for Computer Applications in Science and Engineering, NASA Langley Research Center, VA, USA.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. LUTTGEN,G.,VON DER BEECK, M., AND CLEAVELAND, R. 1999. Statecharts via process algebra. In Proceedings of the 10th International Conference on Concurrency Theory (CONCUR '99) (Eind-hoven, The Netherlands). J. Baeten and S. Mauw, Eds. Lecture Notes in Computer Science, vol. 1664. Springer-Verlag, New York, pp. 399-414.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. LUTTGEN,G.,VON DER BEECK, M., AND CLEAVELAND, R. 2000. Acompositional approach to Statecharts semantics. In Proceedings of the 8th International Symposium on the Foundations of Software Engineering (FSE 2000). ACM Press, San Diego, Calif.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. MAGGIOLO-SCHETTINI, A., PERON, A., AND TINI, S. 1996. Equivalences of Statecharts. In Proceedings of the 7th International Conference on Concurrency Theory (CONCUR '96) (Pisa, Italy). U. Montanari and V. Sassone, Eds. Lecture Notes in Computer Science, vol. 1119. Springer-Verlag, New York, pp. 687-702.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. MARANINCHI, F. 1992. Operational and compositional semantics of synchronous automaton compositions. In Proceedings of the 3rd International Conference on Concurrency Theory (CONCUR '92) (Stony Brook, New York). R. Cleaveland, Ed. Lecture Notes in Computer Science, vol. 630. Springer-Verlag, New York, pp. 550-564.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. PNUELI,A.AND SHALEV, M. 1991. What is in a step: On the semantics of Statecharts. In Proceedings of the 1st International Conference on Theoretical Aspects of Computer Software (TACS '91) (Sendai, Japan). T. Ito and A. Meyer, Eds. Lecture Notes in Computer Science, vol. 526. Springer- Verlag, New York, pp. 244-264.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. SIMONS, A. 2000. On the compositional properties of UML Statechart diagrams. In Proceedings of the 3rd Conference on Rigorous Object-Oriented Methods, A. Clark, A. Evans, and K. Lano, Eds. Electric Workshops in Computing British Computer Society, York, U.K., 4.1-4.19.]]Google ScholarGoogle ScholarCross RefCross Ref
  22. USELTON,A.AND SMOLKA, S. 1994. A compositional semantics for Statecharts using labeled transition systems. In Proceedings of the 5th International Conference on Concurrency Theory (CONCUR '94) (Uppsala, Sweden). B. Jonsson and J. Parrow, Eds. Lecture Notes in Computer Science, vol. 836. Springer-Verlag, New York, pp. 2-17.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. VAN DALEN, D. 1986. Intuitionistic logic. In Handbook of Philosophical Logic. Vol. III. Reidel, Dordrecht, The Netherlands, Chapt. 4, 225-339.]]Google ScholarGoogle Scholar
  24. VON DER BEECK, M. 1994. A comparison of Statecharts variants. In Proceedings of the 3rd International School and Symposium on Formal Techniques in Real-time and Fault-tolerant Systems (FTRTFT '94)(L~eck, Germany). H. Langmaack, W. de Roever, and J. Vytopil, Eds. Lecture Notes in Computer Science, vol. 863. Springer-Verlag, New York, pp. 128-148.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. VON DER BEECK, M. 2000. A concise compositional Statecharts semantics definition. In Proceedings of the International Conference on Formal Desciption Techniques and Protocol Specification, Testing and Verification (FORTE XIII/PSTV XX 2000) (Pisa, Italy) T. Bolognesi and D. Latella, Eds. Kluwer Academic Publishers.]] Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. The intuitionism behind Statecharts steps

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in

              Full Access

              • Published in

                cover image ACM Transactions on Computational Logic
                ACM Transactions on Computational Logic  Volume 3, Issue 1
                January 2002
                175 pages
                ISSN:1529-3785
                EISSN:1557-945X
                DOI:10.1145/504077
                Issue’s Table of Contents

                Copyright © 2002 ACM

                Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                Publisher

                Association for Computing Machinery

                New York, NY, United States

                Publication History

                • Published: 1 January 2002
                Published in tocl Volume 3, Issue 1

                Permissions

                Request permissions about this article.

                Request Permissions

                Check for updates

                Qualifiers

                • article

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader