Reasoning about arrays

0Citations
Citations of this article
9Readers
Mendeley users who have this article in their library.

Abstract

The use of complete and precise assertions, developed by Floyd and Hoare, is a powerful method for avoiding programming errors. For nontrivial programs, however, such assertions become extremely tedious when written in first-order predicate calculus.In the case of array-manipulating programs, this tedium can be alleviated by several notational and conceptual devices: (1) partition diagrams, which relate intervals of subscript values; (2) pointwise extension, which reduces the need for explicit quantification; and (3) a hierarchy of useful equivalence relations among array values.The effectiveness of these ideas is illustrated by programs for binary search and for merging. © 1980, ACM. All rights reserved.

Cite

CITATION STYLE

APA

Reynolds, J. C. (1980). Reasoning about arrays. ACM SIGPLAN Notices, 15(1), 23. https://doi.org/10.1145/954127.954128

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free