Acta Informatica

, Volume 8, Issue 2, pp 145–152

Rules of inference for procedure calls

  • George W. Ernst
Article

Summary

The semantics of procedures and parameters were formalized by Hoare [2] in terms of axioms and rules of inference. Igarashi et al. [4] reformulated Hoare's system. This paper extends their rule of inference for procedure calls to allow
  1. i)

    actual variable parameters to occur in actual value parameters;

     
  2. ii)

    the body of a procedure to contain global variables that do not occur in assignment positions;

     
  3. iii)

    post-conditions and “internal” assertions of a procedure to refer to the initial values of variable parameters.

     

None of these are allowed in Hoare's system or the system of Igarashi, London and Luckham. An attractive feature of these extensions is that they do not increase the complexity of the rules of inference.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Hoare, C.A.R.: An axiomatic basis for computer programming. Comm. ACM 12, 576–581 (1969)CrossRefGoogle Scholar
  2. 2.
    Hoare, C.A.R.: Procedures and parameters: An axiomatic approach. In: Symposium on semantics of algorithmic languages (E. Engler, ed.), Lecture Notes in Mathematics, Vol. 188, pp. 102–116. Berlin-Heidelberg-New York: Springer 1971Google Scholar
  3. 3.
    Hookway, R.J., Ernst, G.W.: A program verification system. ACM '76: Proceedings of the annual conference, pp. 504–508. New York: Association for Computing Machinery 1976Google Scholar
  4. 4.
    Igarashi, S., London, R.L., Luckham, D.C.: Automatic program verification. I. A logical basis and its implementation. Acta Informatica 4, 145–182 (1975)Google Scholar
  5. 5.
    Jensen, K., With, N.: PASCAL user manual and report, 2nd ed. Lecture Notes in Computer Science, Vol. 18. Berlin-Heidelberg-New York: Springer 1975Google Scholar

Copyright information

© Springer-Verlag 1977

Authors and Affiliations

  • George W. Ernst
    • 1
  1. 1.Department of Computer Engineering and Information SciencesCase Western Reserve UniversityClevelandUSA

Personalised recommendations