Skip to main content
Log in

The clean termination of Pascal programs

  • Published:
Acta Informatica Aims and scope Submit manuscript

Abstract

The axiomatic definition of PASCAL takes no account of the finite bounds of real computers. It is proposed that the bounds of differing machines may be accounted for in the PASCAL definition by the use of an axiom schema with machine dependent parameters. If these parameters are available to the program prover and to the program it is possible to prove the clean termination of a program on a particular bounded machine. The use of a parameterised definition for all PASCAL machines, means that clean termination can be guaranteed over a range of machines. In particular a programmer may prove his program against a set of bounds chosen for ease of proof, as long as the implemented machine is “larger”.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Hoare, C.A.R.: An Axiomatic Basis for Computer Programming, CACM 12, 576–583 (1969)

    Google Scholar 

  2. Hoare, C.A.R.: An Axiomatic Definition of the Programming Language PASCAL. Lecture Notes in Computer Science, vol. 5. International Symposium in Theoretical Programming, Berlin-Heidelberg-New York: Springer-Verlag 1974

    Google Scholar 

  3. Hoare, C.A.R., Lauer, P.E.: Consistent and Complementary Formal Theories of the Semantics of Programming Languages, Acta Informatica 3, 135–153 (1974)

    Google Scholar 

  4. Hoare, C.A.R., Wirth, N.: An Axiomatic Definition of the Programming Language PASCAL, Acta Informatica 2, 335–355 (1973)

    Google Scholar 

  5. Jensen, K., Wirth, N.: PASCAL User Manual, 2nd Edition, Berlin-Heidelberg-New York: Springer-Verlag 1975

    Google Scholar 

  6. Knuth, D.E.: Art of Computer Programming, vol. 2, Seminumerical Algorithms, Addison-Wesley.

  7. Sites, R.L.: Proving that Computer Programs Terminate Cleanly, Stamford Report, CS-74-418, 1974

  8. Wirth, N.: On PASCAL Code Generation, and the CDC 6000 Computer. STAN-CS-72-257, Computer Science Dept., Stanford University, 1972

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Coleman, D., Hughes, J.W. The clean termination of Pascal programs. Acta Informatica 11, 195–210 (1979). https://doi.org/10.1007/BF00289066

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF00289066

Key words

Navigation