Skip to main content

Understanding Object-Z Operations as Generalised Substitutions

  • Conference paper
Integrated Formal Methods (IFM 2004)

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

Included in the following conference series:

Abstract

Object-Z has a repertoire of operation operators and admits recursively defined operations to permit complex operations to be expressed compositionally via more primitive operation components. Although the operators are rigorously defined in the literature, some of these definitions are intuitively obscure. In this paper we interpret Object-Z class operations as generalised substitutions, thus investing them for the first time with a wp semantics. We can then bring to bear our theory of generalised substitutions to express Object-Z’s operation operators in a new way which brings more intuitive clarity to their definitions. We also expose a flaw in the prevailing standard treatment of recursively defined operations in Object-Z, and draw on our theory of substitutions in proposing how to rectify that treatment.

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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Abrial, J.-R.: The B-Book: Assigning Programs to Meanings. Cambridge University Press, Cambridge (1996)

    Book  MATH  Google Scholar 

  2. Cavalcanti, A., Woodcock, J.: A weakest-precondition semantics for Z. The Computer Journal 41(1), 663–675 (1998)

    Article  Google Scholar 

  3. Deutsch, M., Henson, M.C., Reeves, S.: Operation refinement and monotonicity in the schema calculus. In: Bert, D., P. Bowen, J., King, S. (eds.) ZB 2003. LNCS, vol. 2651, pp. 103–126. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  4. Dijkstra, E.W.: A Discipline of Programming. Prentice-Hall International, Englewood Cliffs (1976)

    MATH  Google Scholar 

  5. Dunne, S.E.: A theory of generalised substitutions. In: Bert, D., P. Bowen, J., C. Henson, M., Robinson, K. (eds.) B 2002 and ZB 2002. LNCS, vol. 2272, pp. 270–290. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  6. Groves, L.: Refinement and the Z schema calculus. In: Derrick, J., Boiten, E., Woodcock, J., von Wright, J. (eds.) REFINE 2002, an FME-sponsored Refinement Workshop in collaboration with BCS FACS, Copenhagen, July 2002. Electronic Notes in Theoretical Computer Science, Elsevier, Amsterdam (2002), http://www.elsevier.nl/locate/entcs

    Google Scholar 

  7. Hehner, E.C.R.: Bunch theory: a simple set theory for computer science. Information Processing Letters 12(1), 26–30 (1981)

    Article  MATH  MathSciNet  Google Scholar 

  8. Hehner, E.C.R.: A Practical Theory of Programming. Springer, Heidelberg (1993)

    MATH  Google Scholar 

  9. Hoare, C.A.R., Jifeng, H.: Unifying Theories of Programming. Prentice-Hall, Englewood Cliffs (1998)

    Google Scholar 

  10. Derrick, J., Boiten, E.: Refinement in Z and Object-Z. Springer, Heidelberg (2001)

    MATH  Google Scholar 

  11. Smith, G.: The Object-Z Specification Language. Advances in Formal Methods. Kluwer Academic Publishers, Dordrecht (2000)

    MATH  Google Scholar 

  12. Smith, G.: Recursive schema definitions in Object-Z. In: P. Bowen, J., Dunne, S., Galloway, A., King, S. (eds.) B 2000, ZUM 2000, and ZB 2000. LNCS, vol. 1878, pp. 42–58. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  13. Tarski, A.: A lattice-theoretical fixed-point theorem and its applications. Pacific Journal of Mathematics 5, 285–309 (1955)

    MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Dunne, S. (2004). Understanding Object-Z Operations as Generalised Substitutions. In: Boiten, E.A., Derrick, J., Smith, G. (eds) Integrated Formal Methods. IFM 2004. Lecture Notes in Computer Science, vol 2999. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-24756-2_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-24756-2_18

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-21377-2

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

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics