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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights 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