Skip to main content

Encoding the Pure Lambda Calculus into Hierarchical Graph Rewriting

  • Conference paper
Book cover Rewriting Techniques and Applications (RTA 2008)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 5117))

Included in the following conference series:

Abstract

Fine-grained reformulation of the lambda calculus is expected to solve several difficulties with the notion of substitutions—definition, implementation and cost properties. However, previous attempts including those using explicit substitutions and those using Interaction Nets were not ideally simple when it came to the encoding of the pure (as opposed to weak) lambda calculus. This paper presents a novel, fine-grained, and highly asynchronous encoding of the pure lambda calculus using LMNtal, a hierarchical graph rewriting language, and discusses its properties. The major strength of the encoding is that it is significantly simpler than previous encodings, making it promising as an alternative formulation, rather than just the encoding, of the pure lambda calculus. The membrane construct of LMNtal plays an essential role in encoding colored tokens and operations on them. The encoding has been tested using the publicly available LMNtal implementation.

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. Abadi, M., Cardelli, L., Curien, P.-L., Lévy, J.-J.: Explicit Substitutions. Journal of Functional Programming 1(4), 375–416 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  2. Bloo, R., Geuvers, H.: Explicit Substitution: on the Edge of Strong Normalization. Theoretical Computer Science 211(1–2), 375–395 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  3. Berry, G., Boudol, G.: The Chemical Abstract Machine. In: Proc. POPL 1990, pp. 81–94. ACM, New York (1990)

    Chapter  Google Scholar 

  4. Curien, P.-L., Hardin, T., Lévy, J.-J.: Confluence Properties of Weak and Strong Calculi of Explicit Substitutions. J. ACM 43(2), 362–397 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  5. Fernández, M., Mackie, I., Sinot, F.-R.: Closed Reduction: Explicit Substitutions without α-conversion. Mathematical Structures in Computer Science 15(2), 343–381 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  6. Lafont, Y.: Interaction Nets. In: Proc. POPL 1990, pp. 95–108. ACM, New York (1990)

    Chapter  Google Scholar 

  7. Lamping, J.: An Algorithm for Optimal Lambda-Calculus Reductions. In: Proc. POPL 1990, pp. 16–30. ACM, New York (1990)

    Chapter  Google Scholar 

  8. Lang, F.: Modèles de la β-réduction pour les implantations. Ph.D. Thesis, Ècole Normale Supérieure de Lyon (1998)

    Google Scholar 

  9. Mackie, I.: YALE: Yet Another Lambda Evaluator Based on Interaction Nets. In: Proc. ICFP 1998, pp. 117–128. ACM, New York (1998)

    Chapter  Google Scholar 

  10. Mackie, I.: Efficient λ-Evaluation with Interaction Nets. In: van Oostrom, V. (ed.) RTA 2004. LNCS, vol. 3091, pp. 155–169. Springer, Heidelberg (2004)

    Google Scholar 

  11. Melliès, P.-A.: Typed λ -Calculi with Explicit Substitutions May Not Terminate. In: Dezani-Ciancaglini, M., Plotkin, G. (eds.) TLCA 1995. LNCS, vol. 902, pp. 328–334. Springer, Heidelberg (1995)

    Chapter  Google Scholar 

  12. Sinot, F.-R.: Call-by-Name and Call-by-Value as Token-Passing Interaction Nets. In: Urzyczyn, P. (ed.) TLCA 2005. LNCS, vol. 3461, pp. 386–400. Springer, Heidelberg (2005)

    Google Scholar 

  13. Peyton Jones, S.L.: The Implementation of Functional Programming Languages. Prentice-Hall, Englewood Cliffs (1987)

    MATH  Google Scholar 

  14. Ueda, K., Kato, N.: LMNtal: a Language Model with Links and Membranes. In: Mauri, G., Păun, G., Jesús Pérez-Jímenez, M., Rozenberg, G., Salomaa, A. (eds.) WMC 2004. LNCS, vol. 3365, pp. 110–125. Springer, Heidelberg (2005)

    Google Scholar 

  15. Ueda, K.: Encoding Distributed Process Calculi into LMNtal. Electronic Notes in Theoretical Computer Science 209, 187–200 (2008)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Andrei Voronkov

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ueda, K. (2008). Encoding the Pure Lambda Calculus into Hierarchical Graph Rewriting. In: Voronkov, A. (eds) Rewriting Techniques and Applications. RTA 2008. Lecture Notes in Computer Science, vol 5117. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-70590-1_27

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-70590-1_27

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-70588-8

  • Online ISBN: 978-3-540-70590-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics