Skip to main content
QUICK REVIEW

[Paper Review] Lecture notes on the lambda calculus

Peter Selinger|arXiv (Cornell University)|Apr 22, 2008
Logic, programming, and type systemsComputer Science10 references23 citations
TL;DR

This comprehensive lecture note series by Peter Selinger provides a rigorous introduction to the lambda calculus, covering untyped and typed systems, the Curry-Howard isomorphism, normalization, polymorphism, type inference, and denotational semantics. The key contribution is a detailed development of fully abstract models for PCF using game semantics, resolving long-standing issues in denotational semantics by capturing sequentiality through strategies in games.

ABSTRACT

This is a set of lecture notes that developed out of courses on the lambda calculus that I taught at the University of Ottawa in 2001 and at Dalhousie University in 2007 and 2013. Topics covered in these notes include the untyped lambda calculus, the Church-Rosser theorem, combinatory algebras, the simply-typed lambda calculus, the Curry-Howard isomorphism, weak and strong normalization, polymorphism, type inference, denotational semantics, complete partial orders, and the language PCF.

Motivation & Objective

  • To provide a structured, pedagogical introduction to the lambda calculus for graduate-level computer science and mathematical logic students.
  • To bridge foundational concepts in logic, computation, and programming language semantics through the lambda calculus.
  • To resolve the challenge of finding a fully abstract denotational semantics for PCF, which had eluded researchers for decades.
  • To demonstrate that game semantics can capture sequentiality in a way that matches operational equivalence in PCF.
  • To establish computational adequacy and soundness between axiomatic, denotational, and operational equivalences in PCF.

Proposed method

  • Uses a step-by-step development of the untyped lambda calculus, including syntax, alpha-equivalence, beta-reduction, and substitution.
  • Applies the Church-Rosser theorem to establish confluence and uniqueness of normal forms in untyped lambda calculus.
  • Introduces combinatory algebras and lambda algebras to model function application and extensionality.
  • Develops the Curry-Howard isomorphism to link simply-typed lambda calculus with intuitionistic logic and natural deduction.
  • Employs complete partial orders (cpo’s) to model denotational semantics, particularly for recursive and higher-order functions.
  • Applies game semantics—specifically history-free strategies—to construct a fully abstract model for PCF, capturing sequential computation.

Experimental results

Research questions

  • RQ1Can a fully abstract denotational semantics be constructed for PCF, given that standard cpo models fail to distinguish certain operational equivalences?
  • RQ2How can sequentiality in higher-order computation be formally captured in a denotational model?
  • RQ3What is the relationship between operational equivalence, axiomatic equivalence, and denotational equality in PCF?
  • RQ4Can game semantics provide a fully abstract model for PCF by modeling interaction between program and environment?
  • RQ5Under what conditions does computational adequacy hold between operational, denotational, and axiomatic equivalences?

Key findings

  • The cpo semantics of PCF is not fully abstract, as demonstrated by counterexamples such as the parallel-or test and the term $\lambda x.\Omega$, which are operationally equivalent but not denotationally equal.
  • Computational adequacy holds for closed programs and values: $M =_{\rm op} V$ if and only if $M =_{\rm den} V$ if and only if $M =_{\rm ax} V$, enabling proof by denotational or axiomatic means.
  • The cpo semantics becomes fully abstract when parallel-or is added to the language, proving that the only obstacle to full abstraction is the absence of parallel constructs.
  • Game semantics—specifically, strategies in games—provides a fully abstract model for PCF by capturing sequentiality through history-free strategies.
  • The work of Abramsky, Jagadeesan, Malacaria, and Hyland & Ong established that game semantics yields a fully abstract model for PCF, resolving a long-standing open problem in denotational semantics.
  • The development shows that soundness and adequacy are key tools: soundness allows proving operational equivalence via denotational equality, and adequacy ensures that denotational equality matches operational behavior for programs and values.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.