skip to main content
10.1145/800105.803416acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
Article
Free Access

Computability and completeness in logics of programs (Preliminary Report)

Published:04 May 1977Publication History

ABSTRACT

Dynamic logic is a generalization of first order logic in which quantifiers of the form “for all χ...” are replaced by phrases of the form “after executing program α...”. This logic subsumes most existing first-order logics of programs that manipulate their environment, including Floyd's and Hoare's logics of partial correctness and Manna and Waldinger's logic of total correctness, yet is more closely related to classical first-order logic than any other proposed logic of programs. We consider two issues: how hard is the validity problem for the formulae of dynamic logic, and how might one axiomatize dynamic logic? We give bounds on the validity problem for some special cases, including a Π02-completeness result for the partial correctness theories of uninterpreted flowchart programs. We also demonstrate the completeness of an axiomatization of dynamic logic relative to arithmetic.

References

  1. 1.de Bakker, J.W., and W.P. de Roever. A calculus for recursive program schemes, in Automata, Languages and Programming (ed. Nivat), 167-196. North Holland, 1972.Google ScholarGoogle Scholar
  2. 2.Basu, S. K. and R. T. Yeh. Strong Verification of Programs. IEEE Trans. Software Engineering, SE-1, 3, 339-345.Sept. 75. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3.Burstall, R.M. Program Proving as Hand Simulation with a Little Induction. IFIP 1974, Stockholm.Google ScholarGoogle Scholar
  4. 4.Cook, S.A. Axiomatic and Interpretive Semantics for an Algol Fragment. TR-79, Toronto, Feb. 1975.Google ScholarGoogle Scholar
  5. 5.Dijkstra, E. A Discipline of Programming. Prentice-Hall, Englewood Cliffs, N.J. 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6.Harel, D., A. Pnueli and J. Stavi. A complete axiomatic system for proving deductions about recursive programs. Proc. Ninth Ann. ACM Symp. on Theory of Computing, Boulder, Col., May 1977. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7.Hitchcock, P. and D. Park. Induction Rules and Termination Proofs. In Automata, Languages and Programming (ed. Nivat, M.), IRIA. North-Holland, 1973.Google ScholarGoogle Scholar
  8. 8.Hoare, C.A.R. An Axiomatic Basis for Computer Programming. CACM 12, 576-580, 1969. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.Hughes, C.E. and M.J. Cresswell. An Introduction to Modal Logic. London: Methuen and Co Ltd. 1972.Google ScholarGoogle Scholar
  10. 10.Kripke, S. Semantical considerations on Modal Logic. Acta Philosophica Fennica, 83-94, 1963.Google ScholarGoogle Scholar
  11. 11.Luckham, D., D. Park and M. Paterson. On Formalized Computer Programs. J.CSS 3, 2, 119-127. May 1970.Google ScholarGoogle Scholar
  12. 12.Manna, Z. and R. Waldinger. Is "sometime" sometimes better than "always"? Intermittent assertions in proving program correctness. Proc. 2nd Int.Conf. on Software Engineering, Oct. 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. 13.Pratt, V.R. Semantical Considerations on Floyd-Hoare Logic. 17th IEEE Symposium on Foundations of Computer Science, Oct. 1976.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. 14.Rogers, H. Theory of Recursive Functions and Effective Computability. McCraw-Hill, 1967. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. 15.Tarski, A. The semantic conception of truth and the foundations of semantics. Philos. and Phenom. Res, 4, 341-376, 1944.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Computability and completeness in logics of programs (Preliminary Report)

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in
              • Published in

                cover image ACM Conferences
                STOC '77: Proceedings of the ninth annual ACM symposium on Theory of computing
                May 1977
                318 pages
                ISBN:9781450374095
                DOI:10.1145/800105

                Copyright © 1977 ACM

                Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                Publisher

                Association for Computing Machinery

                New York, NY, United States

                Publication History

                • Published: 4 May 1977

                Permissions

                Request permissions about this article.

                Request Permissions

                Check for updates

                Qualifiers

                • Article

                Acceptance Rates

                STOC '77 Paper Acceptance Rate31of87submissions,36%Overall Acceptance Rate1,469of4,586submissions,32%

                Upcoming Conference

                STOC '24
                56th Annual ACM Symposium on Theory of Computing (STOC 2024)
                June 24 - 28, 2024
                Vancouver , BC , Canada

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader