Issue No. 06 - November (1980 vol. 6)
J.L. Bentley , Departments of Computer Science and Mathematics, Carnegie-Mellon University
In this paper we study the problem of designing and specifying standard program components applicable to a wide variety of tasks; we choose for this study the specific problem domain of data structures for general searching problems. Within this domain Bentley and Saxe  have developed transformations for converting solutions of simple searching problems to solutions of more complex problems. We discuss one of those transformations, specify precisely the transformation and its conditions of applicability, and prove its correctness; we accomplish this by casting it in terms of abstract data types-specifically by using the Alphard form mechanism. The costs of the structures derived by this transformation are only slightly greater than the costs of the original structures, and the correctness of the transformation definition together with the correctness of the original structure assure the correctness of the derived structure. The transformation we describe has already been used to develop a number of new algorithms, and it represents a new level of generality in software engineering tools.
transformations on data structures, Abstract data types, generic definitions, program verification, searching problems
M. Shaw and J. Bentley, "An Alphard Specification of a Correct and Efficient Transformation on Data Structures," in IEEE Transactions on Software Engineering, vol. 6, no. , pp. 572-584, 1980.