Skip to main content

Verification and Synthesis of OCL Constraints Via Topology Analysis

(A Case Study)

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 5088))

Abstract

On the basis of a case-study, we demonstrate the usefulness of topology invariants for model-driven systems development. Considering a graph grammar semantics for a relevant fragment of UML, where a graph represents an object diagram, allows us to apply Topology Analysis, a particular abstract interpretation of graph grammars. The outcome of this analysis is a finite and concise over-approximation of all possible reachable object diagrams, the so-called topology invariant. We discuss how topology invariants can be used to verify that constraints on a given model are respected by the behaviour and how they can be viewed as synthesised constraints providing insight into the dynamic behaviour of the model.

This work was partly supported by the German Research Council (DFG) as part of the Transregional Collaborative Research Centre “Automatic Verification and Analysis of Complex Systems” (SFB/TR 14 AVACS).

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

Buying options

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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. OMG: Unified Modeling Language: Superstructure, Version 2.1.1. Technical Report formal/07-02-05 (February 2007)

    Google Scholar 

  2. OMG: Unified Modeling Language: Infrastructure 2.1.1. Technical Report formal/07-02-06 (February 2007)

    Google Scholar 

  3. Bauer, J., Wilhelm, R.: Static Analysis of Dynamic Communication Systems. In: 14th International Static Analysis Symposium. Springer, Heidelberg (2007)

    Google Scholar 

  4. Xie, F., Levin, V., Browne, J.C.: Model Checking for an Executable Subset of UML. In: Feather, M., Goedicke, M. (eds.) Proceedings of ASE-2001: The 16th IEEE Conference on Automated Software Engineering, November 2001. IEEE Computer Society Press, Los Alamitos (2001)

    Google Scholar 

  5. Knapp, A., Merz, S., Rauh, C.: Model Checking Timed UML State Machines and Collaborations. In: Damm, W., Olderog, E.-R. (eds.) FTRTFT 2002. LNCS, vol. 2469. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  6. Schinz, I., Toben, T., Mrugalla, C., Westphal, B.: The Rhapsody UML Verification Environment. In: Cuellar, J.R., Liu, Z. (eds.) Proc. SEFM 2004, Beijing, China, September 2004, pp. 174–183. IEEE, Los Alamitos (2004)

    Google Scholar 

  7. Jézéquel, J.M., Ho, W.M., Guennec, A.L., Pennaneac’h, F.: UMLAUT: an Extendible UML Transformation Framework. In: Hall, R., Tyugu, E. (eds.) Proc. ASE 1999. IEEE Computer Society, Los Alamitos (1999)

    Google Scholar 

  8. Csertán, G., Huszerl, G., Majzik, I., Pap, Z., Pataricza, A., Varró, D.: VIATRA - Visual Automated Transformations for Formal Verification of UML Models. In: Emmerich, W., Wile, D. (eds.) 17th IEEE International Conference on Automated Software Engineering (ASE 2002), Edinburgh, Scotland, UK, 23-27 September 2002. IEEE Computer Society, Los Alamitos (2002)

    Google Scholar 

  9. Gogolla, M., Richters, M.: Development of UML descriptions with USE. In: Shafazand, H., Tjoa, A.M. (eds.) EurAsia-ICT 2002. LNCS, vol. 2510, pp. 228–238. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  10. Hölscher, K., Ziemann, P., Gogolla, M.: On Translating UML Models into Graph Transformation Systems. Journal of Visual Languages and Computing 17(1), 78–105 (2006)

    Article  Google Scholar 

  11. Bauer, J., Schaefer, I., Toben, T., Westphal, B.: Specification and Verification of Dynamic Communication Systems. In: Sixth International Conference on Application of Concurrency to System Design, 2006. ACSD 2006, pp. 189–200. IEEE Computer Society Press, Los Alamitos (2006)

    Chapter  Google Scholar 

  12. Drewes, F., Hoffmann, B., Janssens, D., Minas, M., Eetvelde, N.V.: Shaped Generic Graph Transformation. In: Schürr, A., Nagl, M., Zündorf, A. (eds.) Proc. AGTIVE 2007, pp. 197–212 (October 2007)

    Google Scholar 

  13. Rensink, A., Distefano, D.: Abstract Graph Transformation. Electr. Notes Theor. Comput. Sci. 157(1), 39–59 (2006)

    Article  MATH  Google Scholar 

  14. König, B., Kozioura, V.: Counterexample-guided Abstraction Refinement for the Analysis of Graph Transformation Systems. In: Hermanns, H., Palsberg, J. (eds.) TACAS 2006. LNCS, vol. 3920. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  15. Becker, B., Beyer, D., Giese, H., Klein, F., Schilling, D.: Symbolic invariant verification for systems with dynamic structural adaptation. In: Osterweil, L.J., Rombach, H.D., Soffa, M.L. (eds.) ICSE, pp. 72–81. ACM, New York (2006)

    Chapter  Google Scholar 

  16. Sagiv, S., Reps, T.W., Wilhelm, R.: Parametric shape analysis via 3-valued logic. ACM Trans. Program. Lang. Syst. 24(3), 217–298 (2002)

    Article  Google Scholar 

  17. Varaiya, P.: Smart cars on smart roads: problems of control. IEEE Transactions on Automatic Control 38(2), 195–207 (1993)

    Article  MathSciNet  Google Scholar 

  18. Hsu, A., Eskafi, F., Sachs, S., Varaiya, P.: The Design of Platoon Maneuver Protocols for IVHS. PATH Research Report UCB-ITS-PRR-91-6, Institute of Transportation Studies, University of California at Berkeley (April 1991) ISSN 1055-1425

    Google Scholar 

  19. Depke, R., Heckel, R., Küster, J.M.: Formal agent-oriented modeling with UML and graph transformation. Science of Computer Programming 44(2), 229–252 (2002)

    Article  MATH  Google Scholar 

  20. Damm, W., Josko, B., Pnueli, A., Votintseva, A.: A discrete-time UML semantics for concurrency and communication in safety-critical applications. Science of Computer Programming 55(1–3), 81–115 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  21. Rozenberg, G. (ed.): Handbook of Graph Grammars and Computing by Graph Transformations. Foundations, vol. 1. World Scientific, Singapore (1997)

    MATH  Google Scholar 

  22. Cousot, P., Cousot, R.: Abstract interpretation: a unified lattice model for static analysis of programs by construction or approximation of fixpoints. In: Conference Record of the Fourth Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, Los Angeles, California, pp. 238–252. ACM Press, New York (1977)

    Chapter  Google Scholar 

  23. Bauer, J.: Analysis of Communication Topologies by Partner Abstraction. PhD thesis, Universität des Saarlandes (2006)

    Google Scholar 

  24. Holzmann, G.J.: The Model Checker SPIN. IEEE Transactions on Software Engineering 23(5) (May 1997)

    Google Scholar 

  25. Schäfer, T., Knapp, A., Merz, S.: Model Checking UML State Machines and Collaborations. Electr. Notes in Theor. Comput. Sci. 55(3) (2001)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Bauer, J., Damm, W., Toben, T., Westphal, B. (2008). Verification and Synthesis of OCL Constraints Via Topology Analysis. In: Schürr, A., Nagl, M., Zündorf, A. (eds) Applications of Graph Transformations with Industrial Relevance. AGTIVE 2007. Lecture Notes in Computer Science, vol 5088. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-89020-1_25

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-89020-1_25

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-89019-5

  • Online ISBN: 978-3-540-89020-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics