Back to Search Start Over

Toward Automatic Program Synthesis.

Authors :
Manna, Zohar
Waldinger, Richard I.
Gries, D.
Source :
Communications of the ACM. Mar1971, Vol. 14 Issue 3, p151-165. 15p. 13 Diagrams, 3 Graphs.
Publication Year :
1971

Abstract

An elementary outline of the theorem-proving approach to automatic program synthesis Is given, without dwelling on technical details. The method Is Illustrated by the automatic construction of both recursive and Iterative programs operating on natural numbers, lists, ant frees. In order to construct a program satisfying certain specifications, a theorem induced by those specifications is proved, and the desired program Is extracted from the proof. The same technique is applied to transform recursively defined functions into iterative programs, frequently with a major gain in efficiency. It is emphasized that hi order to construct a program with loops or with recursion, the principle of mathematical Induction must be applied. The relation between the version of the induction rule used and the form of the program constructed is explored in some detail. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
00010782
Volume :
14
Issue :
3
Database :
Academic Search Index
Journal :
Communications of the ACM
Publication Type :
Periodical
Accession number :
5226483
Full Text :
https://doi.org/10.1145/362566.362568