Skip to main content

Formalising Formulas-as-Types-as-Objects

  • Conference paper
  • First Online:
Book cover Types for Proofs and Programs (TYPES 1999)

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

Included in the following conference series:

  • 237 Accesses

Abstract

We describe a formalisation of the Curry-Howard-Lawvere correspondence between the natural deduction system for minimal logic, the typed lambda calculus and Cartesian closed categories. We formalise the type of natural deduction proof trees as a family of sets Γ ⊢ A indexed by the current assumption list Γ and the conclusion A and organise numerous useful lemmas about proof trees categorically. We prove categorical properties about proof trees up to (syntactic) identity as well as up to ßη-convertibility. We prove that our notion of proof trees is equivalent in an appropriate sense to more traditional representations of lambda terms.

The formalisation is carried out in the proof assistant ALF for Martin- Löf type theory.

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. T. Altenkirch. A formalisation of the strong normalisation proof for system F in LEGO. Lecture Notes in Computer Science, Vol. 664, pp.13–28,Springer-Verlag, 1993.

    MATH  Google Scholar 

  2. T. Altenkirch and M. Hofmann and T. Streicher. Categorical Reconstruction of a Reduction Free Normalization Proof. Lecture Notes in Computer Science, Vol. 953, pp. 182–199, 1995.

    Google Scholar 

  3. B. Barras. Coq en Coq. Technical Report, RR-3026, Inria, Institut National de Recherche en Informatique et en Automatique, 1996.

    Google Scholar 

  4. A. Bove. A Machine-assisted Proof that Well Typed Expressions Cannot Go Wrong. Technical Report, DCS, Chalmers University, 1998.

    Google Scholar 

  5. J. Cartmell. Generalised Algebraic Theories and Contextual Categories. Annals of Pure and Applied Logic, Vol. 32, pp. 209–243, 1986.

    Article  MathSciNet  MATH  Google Scholar 

  6. C. Coquand. From Semantics to Rules: A Machine Assisted Analysis. Proceedings of the 7th Workshop on Computer Science Logic, pp. 91–105, Springer-Verlag LNCS 832, 1993.

    Chapter  Google Scholar 

  7. T. Coquand and P. Dybjer. Intuitionistic model constructions and normalization proofs. Mathematical Structures in Computer Science, Vol. 7, pp. 75–94, Feb. 1997.

    Google Scholar 

  8. D. Čubrić and P. Dybjer and P. Scott. Normalization and the Yoneda embedding. Mathematical Structures in Computer Science, Vol. 8, No.2, pp. 153–192, Apr. 1998.

    Article  MathSciNet  MATH  Google Scholar 

  9. P. Dybjer. Inductive Families. Formal Aspects of Computing, Vol. 6, No. 4, pp. 440–465, 1994.

    Article  MATH  Google Scholar 

  10. P. Dybjer. Internal Type Theory. Lecture Notes in Computer Science, Vol. 1158, pp. 120–134, 1996.

    Google Scholar 

  11. M. Hofmann. Syntax and Semantics of Dependent Types. Semantics of Logic of Computation, P. Dybjer and A. Pitts, eds. Cambridge University Press, 1997.

    Google Scholar 

  12. G. Huet. Residual Theory in λ-Calculus: A Formal Development. Journal of Functional Programming, Vol. 4, No. 3, pp. 371–394, 1994.

    Article  MathSciNet  MATH  Google Scholar 

  13. B. Jacobs. Simply typed and untyped Lambda Calculus revisited. Applications of Categories in Computer Science, Vol. 177, pp.119–142, Cambridge University Press, 1991.

    MathSciNet  MATH  Google Scholar 

  14. L. Magnusson and B. Nordström. The ALF Proof Editor and Its Proof Engine. Types for Proofs and Programs, pp. 213–237, Springer-Verlag LNCS 806, Henk Barendregt and Tobias Nipkow, eds, 1994.

    Chapter  Google Scholar 

  15. J. McKinna and R. Pollack. Some Type Theory and Lambda Calculus Formalised. Journal of Automated Reasoning, Special Issue on Formalised Mathematical Theories, ed. F. Pfenning, 1998.

    Google Scholar 

  16. B. Nordström and K. Petersson and J. M. Smith. Programming in Martin-Löf’s type theory: An Introduction. Oxford: Clarendon, 1990.

    Google Scholar 

  17. A. Obtulowicz and A. Wiweger. Categorical, Functorial and Algebraic Aspects of the Type Free Lambda Calculus. Universal Algebra and Applications, pp. 399–422, Banach Center Publications 9. 1982.

    MathSciNet  MATH  Google Scholar 

  18. A. M. Pitts. Categorical Logic. Handbook of Logic in Computer Science, Oxford University Press, 1997.

    Google Scholar 

  19. A. Saïbi. Formalisation of a λ-Calculus with Explicit Substitutions in Coq. Proceedings of the International Workshop on Types for Proofs and Programs, pp. 183–202, P. Dybjer and B. Nordström and J. Smith, eds, Springer-Verlag LNCS 996, 1994.

    Chapter  Google Scholar 

  20. R. A. G. Seely. Locally cartesian closed categories and type theory. Mathematical Proceedings of the Cambridge Philosophical Society, Vol. 95, pp. 33–48, Cambridge Philosophical Society, 1984.

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2000 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Haiyan, Q. (2000). Formalising Formulas-as-Types-as-Objects. In: Coquand, T., Dybjer, P., Nordström, B., Smith, J. (eds) Types for Proofs and Programs. TYPES 1999. Lecture Notes in Computer Science, vol 1956. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44557-9_11

Download citation

  • DOI: https://doi.org/10.1007/3-540-44557-9_11

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-41517-6

  • Online ISBN: 978-3-540-44557-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics