Skip to main content

Programs: Formal specification with Z

  • Chapter
Mathematical Logic for Computer Science
  • 356 Accesses

Abstract

Suppose that you are asked to develop a program. The first thing that you must do is to write a specification of the program: what the program must do. Formally, a specification is a precondition and a postcondition, and the correctness of the program is defined relative to a specific precondition and postcondition. In practice, predicate calculus and number theory as we have presented them are inconvenient for writing specifications, and other notations have been devised.

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 74.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

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.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag London

About this chapter

Cite this chapter

Ben-Ari, M. (2001). Programs: Formal specification with Z. In: Mathematical Logic for Computer Science. Springer, London. https://doi.org/10.1007/978-1-4471-0335-6_10

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-0335-6_10

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-85233-319-5

  • Online ISBN: 978-1-4471-0335-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics