Skip to main content

On Functions and Types: A Tutorial

  • Conference paper
  • First Online:
SOFSEM 2002: Theory and Practice of Informatics (SOFSEM 2002)

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

Abstract

The introduction of a general definition of function was key to Frege’s formalisation of logic. Self-application of functions was at the heart of Russell’s paradox in 1902. This led Russell to introduce type theory in order to control the application of functions and hence to avoid the paradox. Since, different type systems have been introduced, each allowing different functional power. Eight of these influential systems have been unified in the so-called Barendregt cube. These eight systems use different binders for functions and types and do not allow types to have the same instantiation right as functions. De Bruijn in his Automath did not make these distinctions. In this tutorial, we discuss the modern, as well as de Bruijn’s framework of functions and types and study the cube in different frameowrks.

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. S. Abramsky, Dov M. Gabbay, and T. S.E. Maibaum, editors. Handbook of Logic in Computer Science, Volume 2: Background: Computational Structures. Oxford University Press, 1992. 92

    Google Scholar 

  2. H.P. Barendregt. The Lambda Calculus: its Syntaxand Semantics. Studies in Logic and the Foundations of Mathematics 103. North-Holland, Amsterdam, revised edition, 1984. 78

    Google Scholar 

  3. H.P. Barendregt. Lambda calculi with types. In [1], pages 117–309. Oxford University Press, 1992. 74, 76, 77, 78, 79, 81

    Google Scholar 

  4. R. Bloo. Preservation of Termination for Explicit Substitutions. PhD thesis, Eindhoven University of Technology, 1997. 92

    Google Scholar 

  5. N.G. de Bruijn. The mathematical language AUTOMATH, its usage and some of its extensions. In M. Laudet, D. Lacombe, and M. Schuetzenberger, editors, Symposium on Automatic Demonstration, pages 29–61, IRIA, Versailles, 1968. Springer Verlag, Berlin, 1970. Lecture Notes in Mathematics 125; also in [24], pages 73-100. 78

    Google Scholar 

  6. A. Church. A formulation of the simple theory of types. The Journal of Symbolic Logic, 5:56–68, 1940. 77, 78

    Article  MATH  MathSciNet  Google Scholar 

  7. T. Coquand and G. Huet. The calculus of constructions. Information and Computation, 76:95–120, 1988. 78

    Article  MathSciNet  MATH  Google Scholar 

  8. G. Frege. Begriffsschrift, eine der arithmetischen nachgebildete Formelsprache des reinen Denkens. Nebert, Halle, 1879. Also in [14], pages 1–82. 75

    Google Scholar 

  9. G. Frege. deFunktion und Begri., Vortrag gehalten in der Sitzung vom 9. Januar der Jenaischen Gesellschaft für Medicin und Naturwissenschaft. Hermann Pohle, Jena, 1891. English translation in [23], pages 137–156. 76

    Google Scholar 

  10. G. Frege. Grundgesetze der Arithmetik, begriffschriftlich abgeleitet, volume I. Pohle, Jena, 1892. Reprinted 1962 (Olms, Hildesheim).

    Google Scholar 

  11. G. Frege. Grundgesetze der Arithmetik, begriffschriftlich abgeleitet, volume II. Pohle, Jena, 1903. Reprinted 1962 (Olms, Hildesheim).

    Google Scholar 

  12. J.-Y. Girard. Interprétation fonctionelle et élimination des coupures dans l’arithmétique d’ordre supérieur. PhD thesis, Université Paris VII, 1972. 78

    Google Scholar 

  13. R. Harper, F. Honsell, and G. Plotkin. A framework for defining logics. In Proceedings Second Symposium on Logic in Computer Science, pages 194–204, Washington D. C., 1987. IEEE. 78

    Google Scholar 

  14. J. van Heijenoort, editor. From Frege to Gödel: A Source Book in Mathematical Logic, 1879-1931. Harvard University Press, Cambridge, Massachusetts, 1967. 93

    MATH  Google Scholar 

  15. J. R. Hindley and J. P. Seldin. Introduction to Combinators and λ-calculus, volume 1 of London Mathematical Society Student Texts. Cambridge University Press, 1986. 78

    Google Scholar 

  16. W.A. Howard. The formulas-as-types notion of construction. In [27], pages 479–490, 1980. 78

    Google Scholar 

  17. F. Kamareddine, R. Bloo, and R. Nederpelt. On μ conversion in the λ-cube and the combination with abbreviations. Annals of Pure and Applied Logic, 97:27–45, 1999. 82, 87

    Article  MATH  MathSciNet  Google Scholar 

  18. F. Kamareddine, T. Laan, and R. Nederpelt. Revisiting the notion of function. Logic and Algebraic Programming, to appear. 87, 88, 90, 91

    Google Scholar 

  19. F. Kamareddine, T. Laan, and R. Nederpelt. Types in logic and mathematics before 1940. Bulletin of Symbolic Logic, 8(2):185–245, 2002. 74

    Article  MathSciNet  Google Scholar 

  20. F._Kamareddine and R.P. Nederpelt. Canonical typing and II-conversion in the Barendregt Cube. Journal of Functional Programming, 6(2):245–267, 1996. 75, 81, 86, 92

    Article  MATH  MathSciNet  Google Scholar 

  21. T. Laan. The Evolution of Type Theory in Logic and Mathematics. PhD thesis, Eindhoven University of Technology, 1997. 74, 87, 88

    Google Scholar 

  22. G. Longo and E. Moggi. Constructive natural deduction and its modest interpretation. Technical Report CMU-CS-88-131, Carnegie Mellono University, Pittsburgh, USA, 1988. 78

    Google Scholar 

  23. B. McGuinness, editor. Gottlob Frege: Collected Papers on Mathematics, Logic, and Philosophy. Basil Blackwell, Oxford, 1984. 93

    Google Scholar 

  24. R.P. Nederpelt, J.H. Geuvers, and R. C. de Vrijer, editors. Selected Papers on Automath. Studies in Logic and the Foundations of Mathematics 133. North-Holland, Amsterdam, 1994. 74, 76, 84, 92

    Google Scholar 

  25. G. R. Renardel de Lavalette. Strictness analysis via abstract interpretation for recursively defined types. Information and Computation, 99:154–177, 1991. 78

    Article  Google Scholar 

  26. J. C. Reynolds. Towards a theory of type structure, volume 19 of Lecture Notes in Computer Science, pages 408–425. Springer, 1974. 78

    Google Scholar 

  27. J.P. Seldin and J.R. Hindley, editors. To H. B. Curry: Essays on Combinatory Logic, Lambda Calculus and Formalism. Academic Press, New York, 1980. 93

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Kamareddine, F. (2002). On Functions and Types: A Tutorial. In: Grosky, W.I., Plášil, F. (eds) SOFSEM 2002: Theory and Practice of Informatics. SOFSEM 2002. Lecture Notes in Computer Science, vol 2540. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-36137-5_4

Download citation

  • DOI: https://doi.org/10.1007/3-540-36137-5_4

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-00145-4

  • Online ISBN: 978-3-540-36137-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics