Skip to main content
Log in

A Canonical Locally Named Representation of Binding

  • Published:
Journal of Automated Reasoning Aims and scope Submit manuscript

Abstract

This paper is about completely formal representation of languages with binding. We have previously written about a representation following an approach going back to Frege, based on first-order syntax using distinct syntactic classes for locally bound variables vs. global or free variables (Sato and Pollack, J Symb Comput 45:598–616, 2010). The present paper differs from our previous work by being more abstract. Whereas we previously gave a particular concrete function for canonically choosing the names of binders, here we characterize abstractly the properties required of such a choice function to guarantee canonical representation, and focus on the metatheory of the representation, proving that it is in substitution preserving isomorphism with the nominal Isabelle representation of pure lambda terms. This metatheory is formalized in Isabelle/HOL. The final section outlines a formalization in Matita of a challenging language with multiple binding and simultaneous substitution. The Isabelle and Matita proof files are available online.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Ambler, S.J., Crole, R.L., Momigliano, A.: A definitional approach to primitive recursion over higher order abstract syntax. In: MERLIN ’03: Proceedings of the 2003 Workshop on Mechanized Reasoning About Languages with Variable Binding, pp. 1–11. ACM Press (2003)

  2. Aydemir, B., Charguéraud, A., Pierce, B.C., Pollack, R., Weirich, S.: Engineering formal metatheory. In: Proceedings of the 35th Annual ACM SIGPLAN-SIGACT Symposium on Principles on Programming Languages, pp. 3–15. ACM Press (2008)

  3. Bengtson, J., Parrow, J.: Psi-calculi in isabelle. In: TPHOLs. LNCS, vol. 5674 (2009)

  4. Berghofer, S., Urban, C.: Nominal inversion principles. In: Theorem Proving in Higher Order Logics, TPHOLs 2008. LNCS. Springer-Verlag (2008)

  5. Curry, H.B., Feys, R.: Combinatory Logic, vol. 1. North Holland (1958)

  6. de Bruijn, N.G.: Lambda calculus notation with nameless dummies, a tool for automatic formula manipulation, with application to the Church-Rosser theorem. Indag. Math., 34(5), 381–392 (1972)

    Google Scholar 

  7. Frege, G.: Begriffsschrift, eine der arithmetischen nachgebildete Formelsprache des reinen Denkens. Halle (1879) (Translated in van Heijenoort, J.: From Frege to Gödel: a source book in mathematical logic, 1879–1931, pp. 1-82. Harvard University Press, Cambridge, MA (1967))

  8. Gabbay, M., Pitts, A.: A new approach to abstract syntax involving binders. In: Longo, G. (ed.) Proceedings of the 14th Annual Symposium on Logic in Computer Science (LICS’99), pp. 214–224 (1999)

  9. Gentzen, G.: Untersuchungen über das logische schliessen. Math. Zeitschrift 39, 176–210 (1934) (English translation in Szabo, M.E. (ed.): The Collected Papers of Gerhard Gentzen. North Holland (1969))

    Article  MathSciNet  Google Scholar 

  10. Gordon, A.: A mechanism of name-carrying syntax up to alpha-conversion. In: Higher Order Logic Theorem Proving and its Applications. Proceedings, 1993. LNCS 780, pp. 414–426. Springer-Verlag (1993)

  11. Gordon, A., Melham, T.: Five axioms of alpha conversion. In: Von Wright, J., Grundy, J., Harrison, J. (eds.) Ninth Conference on Theorem Proving in Higher Order Logics TPHOL’96, Turku. LNCS, vol. 1125, pp. 173–190. Springer-Verlag (1996)

  12. Harper, R., Honsell, F., Plotkin, G.: A framework for defining logics. J. ACM 40(1), 143–184 (1993) (Preliminary version in LICS’87)

    Article  MathSciNet  MATH  Google Scholar 

  13. Harper, R., Licata, D.R.: Mechanizing metatheory in a logical framework. J. Funct. Program. 17(4–5) (2007)

  14. Honsell, F., Miculan, M., Scagnetto, I.: The theory of contexts for first order and higher order abstract syntax. Electronic Notes Theor. Comp. Sci. 62, 116–135 (2002)

    Article  Google Scholar 

  15. McKinna, J., Pollack, R.: Pure type systems formalized. In: Bezem, M., Groote, J.F. (eds.) Proceedings of the International Conference on Typed Lambda Calculi and Applications, TLCA’93, Utrecht. LNCS, number 664, pp. 289–305. Springer-Verlag (1993)

  16. McKinna, J., Pollack, R.: Some lambda calculus and type theory formalized. J. Autom. Reason. 23(3–4), 373–409 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  17. Pfenning, F., Schürmann, C.: System description: twelf: a meta-logical framework for deductive systems. In: Proceedings of the 16th International Conference on Automated Deduction (CADE-16). LNAI, Springer-Verlag (1999)

  18. Pitts, A.M.: Nominal logic, a first order theory of names and binding. Inf. Comput. 186, 165–193 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  19. Pollack, R.: The theory of LEGO: a proof checker for the extended calculus of constructions. Ph.D. thesis, Univ. of Edinburgh (1994)

  20. Pottinger, G.: A tour of the multivariate lambda calculus. In: Dunn, J.M., Gupta, A. (eds.) Truth or Consequences: Essays in Honor of Nuel Belnap. Kluwer (1990)

  21. Prawitz, D.: Natural Deduction: Proof Theoretical Study. Almquist and Wiksell, Stockholm (1965)

    MATH  Google Scholar 

  22. Sato, M.: External and internal syntax of the λ-calculus. In: Buchberger, B., Ida, T., Kutsia, T. (eds.) Proc. of the Austrian-Japanese Workshop on Symbolic Computation in Software Science, SCSS 2008. RISC-Linz Report Series, number 08–08, pp. 176–195 (2008)

  23. Sato, M., Pollack, R.: External and internal syntax of the λ-calculus. J. Symb. Comput. 45, 598–616 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  24. Stoughton, A.: Substitution revisited. Theor. Comp. Sci. 17, 317–325 (1988)

    Article  MathSciNet  Google Scholar 

  25. Urban, C., Berghofer, S., Norrish, M.: Barendregt’s variable convention in rule inductions. In: Automated Deduction—CADE-21. LNCS, number 4603, pp. 35–50. Springer-Verlag (2007)

  26. Urban, C.: Nominal techniques in isabelle/hol. J. Autom. Reason. 40(4), 327–356 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  27. Urban, C., Pollack, R.: Strong induction principles in the locally nameless representation of binders (preliminary notes). Presented at (ACM) Workshop on Mechanizing Metatheory (2007)

  28. van Heijenoort, J.: From Frege to Gödel: A Source Book in Mathematical Logic, 1879–1931. Harvard University Press, Cambridge, MA (1967)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Randy Pollack.

Additional information

Pollack is partially supported by the project CerCo which acknowledges the financial support of the Future and Emerging Technologies (FET) programme within the Seventh Framework Programme for Research of the European Commission, under FET-Open grant number: 243881.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Pollack, R., Sato, M. & Ricciotti, W. A Canonical Locally Named Representation of Binding. J Autom Reasoning 49, 185–207 (2012). https://doi.org/10.1007/s10817-011-9229-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10817-011-9229-y

Keywords

Navigation