Skip to main content

General Recursion on Second Order Term Algebras

  • Conference paper
  • First Online:
Rewriting Techniques and Applications (RTA 2001)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2051))

Included in the following conference series:

Abstract

Extensions of the simply typed lambda calculus have been used as a metalanguage to represent “higher order term algebras”, such as, for instance, formulas of the predicate calculus. In this representation bound variables of the object language are represented by bound variables of the metalanguage. This choice has various advantages but makes the notion of “recursive definition” on higher order term algebras more subtle than the corresponding notion on first order term algebras. Despeyroux, Pfenning and Schürmann pointed out the problems that arise in the proof of a canonical form theorem when one combines higher order representations with primitive recursion.

In this paper we consider a stronger scheme of recursion and we prove that it captures all partial recursive functions on second order term algebras. We illustrate the system by considering typed programs to reduce to normal form terms of the untyped lambda calculus, encoded as elements of a second order term algebra. First order encodings based on de Bruijn indexes are also considered. The examples also show that a version of the intersection type disciplines can be helpful in some cases to prove the existence of a canonical form. Finally we consider interpretations of our typed systems in the pure lambda calculus and a new gödelization of the pure lambda calculus.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. M. Abadi, L. Cardelli, P.-L. Curien, J.-J. Lévy. Explicit Substitutions. Journal of Functional Programming, 1(4): 375–416, 1991

    MATH  MathSciNet  Google Scholar 

  2. A. Asperti and C. Laneve. Interaction Systems I, The Theory of Optimal Reductions. Mathematical Structures in Computer Science, 45(4): 457–504, 1995

    MathSciNet  Google Scholar 

  3. H. Barendregt. Self-interpretation in lambda calculus. Journal of Functional Programming, 1(2): 229–233, 1991

    MATH  MathSciNet  Google Scholar 

  4. H. Barendregt, M. Coppo, and M. Dezani-Ciancaglini. A filter lambda model and the completeness of type assignment. J. Symbolic Logic, 48: 931–940, 1983

    Article  MATH  MathSciNet  Google Scholar 

  5. S. Bellantoni and S. Cook. New recursion-theoretic characterization of the poly-time functions. Computational Complexity, 2: 97–110, 1992

    Article  MATH  MathSciNet  Google Scholar 

  6. A. Berarducci and C. Böhm. A self-interpreter of lambda calculus having a normal form. 6th Workshop, CSL’ 92, San Miniato, Italy, E. Börger & al. eds. LNCS 702: 85–99, Springer-Verlag, 1992

    Google Scholar 

  7. C. Böhm and A. Berarducci. Automatic synthesis of typed Λ-programs on term algebras. Theoretical Computer Science 39: 135–154, 1985

    Article  MATH  MathSciNet  Google Scholar 

  8. C. Böhm. Fixed Point Equations Inside the Algebra of Normal Form. Fundamenta Informaticae, 37(4): 329–342, 1999

    Google Scholar 

  9. C. Böhm, A. Piperno and S. Guerrini. Lambda-definition of function(al)s by normal forms. In: ESOP’94, LNCS 788: 135–149, Springer-Verlag, 1994

    Google Scholar 

  10. S. Byun, R. Kennaway, R. Sleep. Lambda-definable term rewriting systems. Second Asian Computing Science Conference, ASIAN’ 96, Singapore, December 2–5, 1996, LNCS 1179:105–115, Springer-Verlag, 1996

    Google Scholar 

  11. R. L. Constable and S. F. Smith. Computational foundations of basic recursive function theory. Theoretical Computer Science, 121: 89–112, 1993

    Article  MATH  MathSciNet  Google Scholar 

  12. J. Despeyroux, F. Pfenning, C. Schürmann. Primitive Recursion for Higher-Order Abstract Syntax. In: R. Hindley, ed., Proc. TLCA’97 Conf., LNCS 1210: 147–163, Springer-Verlag, 1997

    Google Scholar 

  13. M. Gabbay, A. Pitts. A New Approach to Abstract Syntax Involving Binders. In: Proc. 14th Symp. Logic in Comp. Sci. (LICS) Trento, Italy: 214–224, IEEE, Washington, 1999.

    Google Scholar 

  14. R. Harper, F. Honsell, G. Plotkin. A framework for defining logics. Journal of the ACM, 40(1): 143–184, 1993

    Article  MATH  MathSciNet  Google Scholar 

  15. Y. Lafont. Interaction Combinators. Information and Computation 137(1): 69–101, 1997

    Article  MATH  MathSciNet  Google Scholar 

  16. D. Leivant, J.-Y. Marion. Lambda calculus characterizations of polytime. Fundamenta Informaticae, 19: 167–184, 1993

    MATH  MathSciNet  Google Scholar 

  17. T. Æ. Mogensen. Efficient Self-Interpretation in Lambda Calculus. Journal of Functional Programming, 2(3): 354–364, 1992

    Article  MathSciNet  Google Scholar 

  18. M. Ayala-Rincón, F. Kamareddine. Unification via λs e-Style of Explicit Substitution. In: International Conference on Principles and Practice of Declarative Programming, PPDP’00, ACM Publications:163–174, 2000

    Google Scholar 

  19. S. Ronchi della Rocca and B. Venneri. Principal type schemes for an extended type theory. Theoretical Computer Science, 28:151–169, 1984

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Additional information

Dedicated to Nicolaas G. de Bruijn

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Berarducci, A., Böhm, C. (2001). General Recursion on Second Order Term Algebras. In: Middeldorp, A. (eds) Rewriting Techniques and Applications. RTA 2001. Lecture Notes in Computer Science, vol 2051. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45127-7_4

Download citation

  • DOI: https://doi.org/10.1007/3-540-45127-7_4

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-42117-7

  • Online ISBN: 978-3-540-45127-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics