skip to main content
article
Free Access

A Transformation System for Developing Recursive Programs

Authors Info & Claims
Published:01 January 1977Publication History
Skip Abstract Section

Abstract

A system of rules for transforming programs is described, with the programs in the form of recursion equations. An initially very simple, lucid, and hopefully correct program is transformed into a more efficient one by altering the recursion structure. Illustrative examples of program transformations are given, and a tentative implementation is described. Alternative structures for programs are shown, and a possible initial phase for an automatic or semiautomatic program-manipulation system is indicated.

References

  1. 1 AualN, R Some generahsatlon heuristics m proofs by reduction Proc IRIA Symp Proving and Improving Programs, Arc-et-Senans, France, 1975, pp 197-208Google ScholarGoogle Scholar
  2. 2 BORER, R S , AND MOORE, JS Proving theorems about LISP functions J ACM 22, 1 (Jan 1975), 129- 144 Google ScholarGoogle Scholar
  3. 3 CHEATnAM, T E JR , AND WEGBREIT, B A laboratory for the study of automating programming Proc AFIPS 1972 SjCC; Vol 40, AFIPS Press, Montvale, N.J., pp 11-21Google ScholarGoogle Scholar
  4. 4 COURCELLE, B , AND VUILLEMIN, J Semantics and axtomattcs of a simple recurswe language Proc Sixth Annual ACM Symp Theory of Comptg , 1974, pp 13-26 Google ScholarGoogle Scholar
  5. 5 DARLINGTON~ J A semantm approach to automatic program tmprovement Ph D Th, Dep Artif lntel, U of Edinburgh, Edinburgh, 1972Google ScholarGoogle Scholar
  6. 6 DARLINGTON, J , AND BURSTALL, R M A system which automatically improves programs Proc Third Int Joint Conf on Artlf Intel , Stanford, Cahf , 1973, pp. 479-485. (To appear m Acta Informattca, 1976.)Google ScholarGoogle Scholar
  7. 7 DARLINGTON, J Application of program transformation to program synthesis Proc IRIA Symp Proving and Improving Programs, Arc-et-Senans, France. 1975. pp 133-144Google ScholarGoogle Scholar
  8. 8 FLOYD, R.W Algorithm 245, TREESORT 3 Comm ACM 7, 12 (Dec 1964), 701-702 Google ScholarGoogle Scholar
  9. 9 GERUART, S L Correctness-preserving program transformauons Conf Rec Second Symp Prlnoples of Programming Languages, Palo Alto, Calif, 1975, pp 54-66 Google ScholarGoogle Scholar
  10. 10 HOARE, C A R Proof of correctness of data representations Acta Informat~ca 1 (1972), 271-278Google ScholarGoogle Scholar
  11. 11 KNUTH, D E Structured programming w~th go to statements ACM Computmg Surveys 6, 4 (1974), 261-301 Google ScholarGoogle Scholar
  12. 12 MANNA, Z., AND WALDINGER, R Knowledge and reasoning m program synthesis Arttf Intel J 6, 2 (1975), 175-208Google ScholarGoogle Scholar
  13. 13 Moo~E, JS Introducing Iteration into the pure LISP theorem prover CSL-74-3, Xerox Palo Alto Res Ctr, Palo Alto, Callf, 1975Google ScholarGoogle Scholar
  14. 14 PLOTKIN, G Budding in equational theories Machme lntelhgence 7, B Meltzer and D. Michle, Eds , Edinburgh U Press, Edinburgh, 1972, pp 73-90Google ScholarGoogle Scholar
  15. 15 ToPoR, R W Interactive program verification using virtual programs Ph D Th, Dep Artff Intel, U of Edinburgh, Edinburgh, 1975Google ScholarGoogle Scholar

Index Terms

  1. A Transformation System for Developing Recursive Programs

      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 Journal of the ACM
        Journal of the ACM  Volume 24, Issue 1
        Jan. 1977
        175 pages
        ISSN:0004-5411
        EISSN:1557-735X
        DOI:10.1145/321992
        Issue’s Table of Contents

        Copyright © 1977 ACM

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 January 1977
        Published in jacm Volume 24, Issue 1

        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