Skip to main content

A Dependent Type Theory with Names and Binding

  • Conference paper
  • First Online:
Computer Science Logic (CSL 2004)

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

Included in the following conference series:

Abstract

We consider the problem of providing formal support for working with abstract syntax involving variable binders. Gabbay and Pitts have shown in their work on Fraenkel-Mostowski (FM) set theory how to address this through first-class names: in this paper we present a dependent type theory for programming and reasoning with such names. Our development is based on a categorical axiomatisation of names, with freshness as its central notion. An associated adjunction captures constructions known from FM theory: the freshness quantifier И, name-binding, and unique choice of fresh names. The Schanuel topos — the category underlying FM set theory — is an instance of this axiomatisation. Working from the categorical structure, we define a dependent type theory which it models. This uses bunches to integrate the monoidal structure corresponding to freshness, from which we define novel multiplicative dependent products ∏ * and sums ∑ *, as well as a propositions-as-types generalisation H of the freshness quantifier.

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. Cardelli, L., Gardner, P., Ghelli, G.: Manipulating trees with hidden labels. In: Gordon, A.D. (ed.) FOSSACS 2003. LNCS, vol. 2620, Springer, Heidelberg (2003)

    Google Scholar 

  2. Cardelli, L., Gordon, A.: Logical properties of name restriction. In: Abramsky, S. (ed.) TLCA 2001. LNCS, vol. 2044, Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  3. Despeyroux, J., Felty, A., Hirschowitz, A.: Higher-order abstract syntax in Coq. In: Dezani-Ciancaglini, M., Plotkin, G. (eds.) TLCA 1995. LNCS, vol. 902. Springer, Heidelberg (1995)

    Chapter  Google Scholar 

  4. Fiore, M., Plotkin, G., Turi, D.: Abstract syntax and variable binding. In: Proceedings of LICS 1999 (1999)

    Google Scholar 

  5. Fiore, M., Turi, D.: Semantics of name and value passing. In: Proceedings of LICS 2001 (2001)

    Google Scholar 

  6. Gabbay, M.: FM-HOL, a higher-order theory of names. In: Workshop on Thirty Five years of Automath (2002)

    Google Scholar 

  7. Gabbay, M.J., Pitts, A.M.: A new approach to abstract syntax with variable binding. Formal Aspects of Computing 13, 341–363 (2002)

    Article  Google Scholar 

  8. Hofmann, M.: On the interpretation of type theory in locally cartesian closed categories. In: Pacholski, L., Tiuryn, J. (eds.) CSL 1994. LNCS, vol. 933, Springer, Heidelberg (1995)

    Chapter  Google Scholar 

  9. Hofmann, M.: Semantical analysis of higher-order abstract syntax. In: Proceedings of LICS 1999 (1999)

    Google Scholar 

  10. Hofmann, M.: Safe recursion with higher types and BCK-algebra. Annals of Pure and Applied Logic 104(1–3), 113–166 (2000)

    Article  MathSciNet  Google Scholar 

  11. Honsell, F., Miculan, M., Scagnetto, I.: An axiomatic approach to metareasoning on nominal algebras in HOAS. In: Orejas, F., Spirakis, P.G., van Leeuwen, J. (eds.) ICALP 2001. LNCS, vol. 2076, p. 963. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  12. Jacobs, B.: Categorical Logic and Type Theory. Elsevier Science, Amsterdam (1999)

    MATH  Google Scholar 

  13. Johnstone, P.T.: Sketches of an Elephant: A Topos Theory Compendium. Oxford University Press, Oxford (2002)

    MATH  Google Scholar 

  14. Lietz, P.: A fibrational theory of geometric morphisms. Master’s thesis, TU Darmstadt (May 1998)

    Google Scholar 

  15. MacLane, S., Moerdijk, I.: Sheaves in Geometry and Logic: A First Introduction to Topos Theory. Springer, Heidelberg (1992)

    Google Scholar 

  16. Menni, M.: About N-quantifiers. Applied Categorical Structures 11(5), 421–445 (2003)

    Article  MathSciNet  Google Scholar 

  17. O’Hearn, P.: On bunched typing. Journal of Functional Programming 13(4), 747–796 (2003)

    Article  MathSciNet  Google Scholar 

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

    Article  MathSciNet  Google Scholar 

  19. Pitts, A.M., Gabbay, M.J.: A metalanguage for programming with bound names modulo renaming. In: Backhouse, R., Oliveira, J.N. (eds.) MPC 2000. LNCS, vol. 1837, Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  20. Pym, D.: The Semantics and Proof Theory of the Logic of Bunched Implications. Kluwer Academic Publishers, Dordrecht (1999)

    MATH  Google Scholar 

  21. Seely, R.A.G.: Locally cartesian closed categories and type theory. In: Math. Proc. Cambridge Philos. Soc., vol. 95, pp. 33–48 (1984)

    Google Scholar 

  22. Taylor, P.: Practical Foundations of Mathematics. Cambridge University Press, Cambridge (1999)

    MATH  Google Scholar 

  23. Urban, C., Pitts, A.M., Gabbay, M.J.: Nominal unification. In: Baaz, M., Makowsky, J.A. (eds.) CSL 2003. LNCS, vol. 2803, Springer, Heidelberg (2003)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Schöpp, U., Stark, I. (2004). A Dependent Type Theory with Names and Binding. In: Marcinkowski, J., Tarlecki, A. (eds) Computer Science Logic. CSL 2004. Lecture Notes in Computer Science, vol 3210. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30124-0_20

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-30124-0_20

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-23024-3

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

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics