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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
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.
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.
B. Barras. Coq en Coq. Technical Report, RR-3026, Inria, Institut National de Recherche en Informatique et en Automatique, 1996.
A. Bove. A Machine-assisted Proof that Well Typed Expressions Cannot Go Wrong. Technical Report, DCS, Chalmers University, 1998.
J. Cartmell. Generalised Algebraic Theories and Contextual Categories. Annals of Pure and Applied Logic, Vol. 32, pp. 209–243, 1986.
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.
T. Coquand and P. Dybjer. Intuitionistic model constructions and normalization proofs. Mathematical Structures in Computer Science, Vol. 7, pp. 75–94, Feb. 1997.
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.
P. Dybjer. Inductive Families. Formal Aspects of Computing, Vol. 6, No. 4, pp. 440–465, 1994.
P. Dybjer. Internal Type Theory. Lecture Notes in Computer Science, Vol. 1158, pp. 120–134, 1996.
M. Hofmann. Syntax and Semantics of Dependent Types. Semantics of Logic of Computation, P. Dybjer and A. Pitts, eds. Cambridge University Press, 1997.
G. Huet. Residual Theory in λ-Calculus: A Formal Development. Journal of Functional Programming, Vol. 4, No. 3, pp. 371–394, 1994.
B. Jacobs. Simply typed and untyped Lambda Calculus revisited. Applications of Categories in Computer Science, Vol. 177, pp.119–142, Cambridge University Press, 1991.
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.
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.
B. Nordström and K. Petersson and J. M. Smith. Programming in Martin-Löf’s type theory: An Introduction. Oxford: Clarendon, 1990.
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.
A. M. Pitts. Categorical Logic. Handbook of Logic in Computer Science, Oxford University Press, 1997.
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.
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.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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