(Translated by https://www.hiragana.jp/)
Proof of a program: FIND: Communications of the ACM: Vol 14, No 1 skip to main content
article
Free Access

Proof of a program: FIND

Published:01 January 1971Publication History
Skip Abstract Section

Abstract

A proof is given of the correctness of the algorithm “Find.” First, an informal description is given of the purpose of the program and the method used. A systematic technique is described for constructing the program proof during the process of coding it, in such a way as to prevent the intrusion of logical errors. The proof of termination is treated as a separate exercise. Finally, some conclusions relating to general programming methodology are drawn.

References

  1. 1 NAUR, P. Proof of algorithms by general snapshots. BIT 6 (1966) 310-316.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2 DIJKSTRA, E. W. A constructive approach to the problem of program correctness. BIT 8 (1968), 174-186.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3 HOARE, C. A. R. An axiomatic approach to computer programming. Comm. ACM 12, 10 (Oct. 1969), 576-580, 583. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4 HOARE, C. A. R. Algorithm 65, Find. Comm. ACM s, 7 (July 1961), 321. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5 NAUR, P. Programming by action clusters. BIT 9 (1969), 25O-258.Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6 DIJKSTRA, E. W. Structured Programming {EWD249} T.H.E. (privately circulated).Google ScholarGoogle Scholar
  7. 7 FLOYD, R. W. Assigning meanings to programs. Proc. Amer. Math. Soc. Symposium in Applied Mathematics, Vol. 19, pp. 19-31.Google ScholarGoogle Scholar
  8. 8 KING, J. C. A program verifier. Ph.D. Th., Carnegie-Mellon U., Pittsburg, Pa., Sept. 1969. Google ScholarGoogle ScholarDigital LibraryDigital Library

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

Full Access

  • Published in

    cover image Communications of the ACM
    Communications of the ACM  Volume 14, Issue 1
    Jan. 1971
    55 pages
    ISSN:0001-0782
    EISSN:1557-7317
    DOI:10.1145/362452
    Issue’s Table of Contents

    Copyright © 1971 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: 1 January 1971

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • article

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader