skip to main content
article
Free Access

Tree-Manipulating Systems and Church-Rosser Theorems

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

Abstract

Subtree replacement systems form a broad class of tree-manipulating systems. Systems with the “Church-Rosser property” are appropriate for evaluation or translation processes: the end result of a complete sequence of applications of the rules does not depend on the order in which the rules were applied. Theoretical and practical advantages of such flexibility are sketched. Values or meanings for trees can be defined by simple mathematical systems and then computed by the cheapest available algorithm, however intricate that algorithm may be.

We derive sufficient conditions for the Church-Rosser property and discuss their applications to recursive definitions, to the lambda calculus, and to parallel programming. Only the first application is treated in detail. We extend McCarthy's recursive calculus by allowing a choice between call-by-value and call-by-name. We show that recursively defined functions are single-valued despite the nondeterminism of the evaluation algorithm. We also show that these functions solve their defining equations in a “canonical” manner.

References

  1. 1 BLUM, E.K. Towards a theory of semantics and compilers for programming languages. J. Comput. Syst. Sci. 8 (1969), 248-275.Google ScholarGoogle Scholar
  2. 2 BRAINERI), W.S. Tree generating regular systems. Inform. and Contr. t4 (1969), 217-231.Google ScholarGoogle Scholar
  3. 3 CHURCH, A., ANn ROSSEa, J B Some properties of conversion Trans. Amer Math Soc. 89 (1936), 472-482.Google ScholarGoogle Scholar
  4. 4 CURRY, H. B., AND FEYS, R. Combinatory Logic. North-Holland Pub. Co., Amsterdam, 1958.Google ScholarGoogle Scholar
  5. 5 HINDLEY, R. The Church-Rosser property and a result in combinatory logic. Ph.D. Th., U. of Newcastle-upon-Tyne, England, 1964.Google ScholarGoogle Scholar
  6. 6 tIINDLEY, R. An abstract form of the Church-Rosser theorem, Part I. J. Symbolic Logic 84 (1969), 545-560.Google ScholarGoogle Scholar
  7. 7 KARP, R. M., AND MILLER, R.E. Parallel program schemata. J. Comput. Syst. Sci. 8 (1969), 147-195.Google ScholarGoogle Scholar
  8. 8 KLEENE, S.C. Introduction to Metamathematzcs. Van Nostrand, New York, 1952.Google ScholarGoogle Scholar
  9. 9 I~/{_~RTIN-LoF, P. A theory of types (unpublished manuscript, 1971).Google ScholarGoogle Scholar
  10. 10 McCARTHY, J. Recursive functions of symbolic expressions and their computation by machine. Comm. A CM 8, 4 (Apr. 1960), 184-195. Google ScholarGoogle Scholar
  11. 11 MCCARTHY, J. Basis for a mathematical theory of computation In Computer Programming and Formal Systems, P. Braffort, and D. Hirschberg (Eds), North-Holland Pub. Co, 1963, pp. 33-70.Google ScholarGoogle Scholar
  12. 12 MINSKY, M. Form and content in computer science. J. ACM 17, 2 (Apr. 1970), 197-215. Google ScholarGoogle Scholar
  13. 13 MITSCHKE, G. Eine algebraische Behandlung yon ;~-K-Kalkul und Kombinatorischer Logik. Ph.D. Th., Rheinischen Friedrich-Wilhelms U., Bonn, Germany, 1970.Google ScholarGoogle Scholar
  14. 14 MoRRIs, J. H. JR Lambda-calculus models of programming languages. Proj. MAC, Rep. MAC-TR-57, MIT, Cambridge, Mass., 1968.Google ScholarGoogle Scholar
  15. 15 NAuR, P. (Ed.) Revised report on the algorithmic language ALGOL 60 Comm. ACM 6, 1 (Jan. 1963), 1-17. Google ScholarGoogle Scholar
  16. 16 ROSEN, B.K. Subtree replacement systems. Tech Rep. 2-71, Ctr. for Res. in Computing Technology, Harvard U., Cambridge, Mass., 1971.Google ScholarGoogle Scholar
  17. 17 SANCHIS, L.E. Functionals defined by recursion. Notre Dame J. Formal Logic 8 (1967), 161-174.Google ScholarGoogle Scholar
  18. 18 SCHROER, D.E. The Church-Rosser theorem. Ph.D. Th., Cornell U., ithaca, N.Y., 1965.Google ScholarGoogle Scholar
  19. 19 STRONG, H. R. JR. Translating recurslon equations into flowcharts Second Annual ACM Syrup. on Theory of Computing, Northampton, Mass , 1970, 184-197. Google ScholarGoogle Scholar
  20. 20 THATCHER, J.W. Characterizing derivation trees of context-free grammars through a generalization of finite automata theory. J. Comput. Syst. Sci. 1 (1967), 317-322.Google ScholarGoogle Scholar

Index Terms

  1. Tree-Manipulating Systems and Church-Rosser Theorems

        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 20, Issue 1
          Jan. 1973
          190 pages
          ISSN:0004-5411
          EISSN:1557-735X
          DOI:10.1145/321738
          Issue’s Table of Contents

          Copyright © 1973 ACM

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 1 January 1973
          Published in jacm Volume 20, 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