Skip to main content
Log in

Axiomatic approach to total correctness of programs

  • Published:
Acta Informatica Aims and scope Submit manuscript

Summary

We present here an axiomatic approach which enables one to prove by formal methods that his program is “totally correct” (i.e., it terminates and is logically correct—does what it is supposed to do). The approach is similar to Hoare's approach [3] for proving that a program is “partially correct” (i.e., that whenever it terminates it produces correct results). Our extension to Hoare's method lies in the possibility of proving both correctness and termination by one unified formalism. One can choose to prove total correctness by a single step, or by incremental proof steps, each step establishing more properties of the program.

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. Floyd, R. W.: Assigning meanings to programs. In: Schwartz, J. T. (ed.): Mathematical aspects of computer science. Proc. Symposia in Applied Mathematics 19. Providence (R.I.): Amer. Math. Soc. 1967, p. 19–32

    Google Scholar 

  2. Hoare, C. A. R.: Algorithm 65-Find. Comm. ACM 4, 321 (1961)

    Google Scholar 

  3. Hoare, C. A. R.: An axiomatic basis of computer programming. Comm. ACM 12, 576–580, 583 (1969)

    Google Scholar 

  4. Hoare, C. A. R.: Proof of a program: FIND. Comm. ACM 14, 39–45 (1971)

    Google Scholar 

  5. Igarashi, S., London, R. L., Luckham, D. C.: Automatic program verification I: A logical basis and its implementation. Computer Science Department, Stanford University, STAN-CS-73-365, May 1973

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Manna, Z., Pnueli, A. Axiomatic approach to total correctness of programs. Acta Informatica 3, 243–263 (1974). https://doi.org/10.1007/BF00288637

Download citation

  • Received:

  • Issue Date:

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

Keywords

Navigation