Skip to main content

An Extension of Dynamic Logic for Modelling OCL’s @pre Operator

  • Conference paper
  • First Online:

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

Abstract

We consider first-order Dynamic Logic (DL) with non-rigid functions, which can be used to model certain features of programming languages such as array variables and object attributes. We extend this logic by introducing, for each non-rigid function symbol f, a new function symbol f @pre that after program execution refers to the old value of f before program execution. We show that DL formulas with @pre can be transformed into equivalent formulas without @pre. We briefly describe the motivation for this extension coming from a related concept in the Object Constraint Language (OCL).

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   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.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. W. Ahrendt, T. Baar, B. Beckert, M. Giese, E. Habermalz, R. Hähnle, W. Menzel, and P. H. Schmitt. The KeY approach: Integrating object oriented design and formal verification. In M. Ojeda-Aciego, I. P. de Guzman, G. Brewka, and L. M. Pereira, editors, Proceedings, Logics in Artificial Intelligence (JELIA), Malaga, Spain, LNCS 1919. Springer, 2000.

    Google Scholar 

  2. K. R. Apt. Ten years of Hoare logic: A survey— part I. ACM Transactions on Programming Languages and Systems, 1981.

    Google Scholar 

  3. T. Baar, B. Beckert, and P. H. Schmitt. An extension of Dynamic Logic for modelling OCL’s @pre operator. TR 7/2001, University of Karlsruhe, Department of Computer Science, 2001.

    Google Scholar 

  4. B. Beckert. A Dynamic Logic for the formal verification of Java Card programs. In Java on Smart Cards: Programming and Security. Revised Papers, Java Card 2000, Cannes, France, LNCS 2041, pages 6–24. Springer, 2001.

    Google Scholar 

  5. D. Distefano, J.-P. Katoen, and A. Rensink. Towards model checking OCL. In Proceedings, ECOOP Workshop on Defining a Precise Semantics for UML, 2000.

    Google Scholar 

  6. A. Hamie, J. Howse, and S. Kent. Interpreting the Object Constraint Language. In Proceedings, Asia Pacific Conference in Software Engineering. IEEE Press, 1998.

    Google Scholar 

  7. D. Harel. Dynamic Logic. In D. Gabbay and F. Guenthner, editors, Handbook of Philosophical Logic, Volume II:Extensions of Classical Logic. Reidel, 1984.

    Google Scholar 

  8. D. Harel, D. Kozen, and J. Tiuryn. Dynamic Logic. MIT Press, 2000.

    Google Scholar 

  9. D. Kozen and J. Tiuryn. Logic of programs. In J. van Leeuwen, editor, Handbook of Theoretical Computer Science, chapter 14, pages 89–133. Elsevier, 1990.

    Google Scholar 

  10. V. R. Pratt. Semantical considerations on Floyd-Hoare logic. In Proceedings, 18th Annual IEEE Symposium on Foundation of Computer Science, 1977.

    Google Scholar 

  11. Rational Software Corp. et al. Unified Modelling Language Semantics, version 1.3, June 1999. Available at: http://www.rational.com/uml/index.jtmpl.

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Baar, T., Beckert, B., Schmitt, P.H. (2001). An Extension of Dynamic Logic for Modelling OCL’s @pre Operator. In: Bjørner, D., Broy, M., Zamulin, A.V. (eds) Perspectives of System Informatics. PSI 2001. Lecture Notes in Computer Science, vol 2244. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45575-2_7

Download citation

  • DOI: https://doi.org/10.1007/3-540-45575-2_7

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-43075-9

  • Online ISBN: 978-3-540-45575-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics