Skip to main content

Extending models of second order predicate logic to models of second order dependent type theory

  • Conference paper
  • First Online:

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

Abstract

We describe a method for constructing a model of second order dependent type theory out of a model of classical second order predicate logic. Apart from the construction being of interest by itself, this also suggests a way of proving the completeness of the formulas-as-types embedding from second order predicate logic to second order dependent type theory. Under this embedding, formulas are interpreted as types, and derivability (of a formaula) in the logic should correspond to inhabitation (i.e. the associated type being nonempty) in the type system. This correspondence works in one way (called soundness): if a formula is derivable, then the associated type is inhabited (there is a term of that type). It's an open problem whether the correspondence works in the other direction (called completeness): if the type associated with formula ϕ is inhabited, then ϕ is derivable. Now, the completeness would be proved if any model M of second order logic could be extended to a model S(M) of second order dependent type theory in a faithful way, i.e. for all formulas ϕ, ϕ is true in M if and only if ϕ is inhabited in S(M). Here we prove this equivalence for models M that are full models of classical second order predicate logic. The extension of M to S(M) is constructed by adding to the basic domain of M all λ-terms and defining a smart equivalence relation on the set we thus obtain. The types are then interpreted as subsets of terms of this extended λ-calculus. The models construction is a variant of the one defined in [Stefanova and Geuvers 1996] for the Calcuklus of Constructions.

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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. H.P. Barendregt, The lambda calculus: its syntax and semantics, revised edition. Studies in Logic and the Foundations of Mathematics, North Holland.

    Google Scholar 

  2. H.P. Barendregt, Typed lambda calculi. In Handbook of Logic in Computer Science, eds. Abramski et al., Oxford Univ. Press.

    Google Scholar 

  3. S. Berardi, Type dependence and constructive mathematics, Ph.D. thesis, Universita di Torino, Italy.

    Google Scholar 

  4. S. Berardi, Encoding of data types in Pure Construction Calculus: a semantic justification, in Logical Environments, eds. G. Huet and G. Plotkin, Cambridge University Press, pp 30–60.

    Google Scholar 

  5. Th. Coquand, Metamathematical investigations of a calculus of constructions. In Logic and Computer Science, ed. P.G. Odifreddi, APIC series, vol. 31, Academic Press, pp 91–122.

    Google Scholar 

  6. Th. Coquand and G. Huet, The calculus of constructions, Information and Computation, 76, pp 95–120.

    Google Scholar 

  7. D. van Dalen, Logic and Structure, third edition. Springer Verlag.

    Google Scholar 

  8. J.H. Geuvers, Logics and Type systems, PhD. Thesis, University of Nijmegen, Netherlands.

    Google Scholar 

  9. J.H. Geuvers, The Calculus of Constructions and Higher Order Logic, in The Curry-Howard isomorphism, ed. Ph. de Groote, Volume 8 of the “Cahiers du Centre de logique” (Université catholique de Louvain), Academia, Louvain-la-Neuve (Belgium), pp. 139–191.

    Google Scholar 

  10. M. Stefanova and J.H. Geuvers, A simple semantics for the Calculus of Constructions, to appear in the Proceedings of the ESPRIT-BRA ‘Types’ meeting, Turin, Italy, 1995.

    Google Scholar 

  11. J.-Y. Girard, Y. Lafont and P. Taylor, Proofs and types, Camb. Tracts in Theoretical Computer Science 7, Cambridge University Press.

    Google Scholar 

  12. R. Harper, F. Honsell and G. Plotkin, A framework for defining logics. Proceedings Second Symposium on Logic in Computer Science, (Ithaca, N.Y.), IEEE, Washington DC, pp 194–204.

    Google Scholar 

  13. W.A. Howard, The formulas-as-types notion of construction. In To H.B. Curry: Essays on Combinatory Logic, Lambda Calculus and Formalism, eds. J.P. Seldin, J.R. Hindley, AcademicPress, New York, pp 479–490.

    Google Scholar 

  14. G. Longo and E. Moggi, Constructive Natural Deduction and its “Modest” Interpretation. Report CMU-CS-88-131.

    Google Scholar 

  15. R.P. Nederpelt, J.H. Geuvers and R.C. de Vrijer (editors), Selected Papers on Automath, Volume 133 in Studies in Logic and the Foundations of Mathematics, North-Holland, Amsterdam, 1994, pp 1024.

    Google Scholar 

  16. T. Streicher, Independence of the induction principle and the axiom of choice in the pure calculus of constructions, TCS 103(2), pp 395–409.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Dirk van Dalen Marc Bezem

Rights and permissions

Reprints and permissions

Copyright information

© 1997 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Geuvers, H. (1997). Extending models of second order predicate logic to models of second order dependent type theory. In: van Dalen, D., Bezem, M. (eds) Computer Science Logic. CSL 1996. Lecture Notes in Computer Science, vol 1258. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-63172-0_38

Download citation

  • DOI: https://doi.org/10.1007/3-540-63172-0_38

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-63172-9

  • Online ISBN: 978-3-540-69201-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics