-
Notifications
You must be signed in to change notification settings - Fork 6
Abstracts.2020.STLCCC
Fabian edited this page Nov 3, 2020
·
27 revisions
by Andreas Abel and Sandro Stucki
Two-part lecture series scheduled for Nov 5 and 12, 2020. Previously held in three parts.
- Recapitulation of simply-typed λ-calculus (STLC) with
product
A × B
and unit1
types - Explicit substitutions
Δ ⊢ t ∘ σ : A
forΓ ⊢ t : A
andΔ ⊢ σ : Γ
- Equational theory
Γ ⊢ t = u : A
for STLC with product and unit types, and explicit substitutions. The point is that substitution was defined by inspection of the syntax of terms but is now axiomatized. - Nameless presentation (de Bruijn style)
- Reduce de Bruijn indices
n
to weakenings0 ∘ pⁿ
of the first de Bruijn index0
- Show that the set of terms
Γ ⊢ t : A
is in bijection with substitutionsΓ ⊢ σ : ε.A
, but also with functionsε.ΠΓ ⊢ f : A
whereΠΓ
is the left-associated iterated product type ofΓ ::= ε | Γ.A
. The point is that the judgement oft
is asymmetric while the judgements ofσ
andf
are symmetric, a pair ofσ₁
andσ₂
or a pair off₁
andf₂
may be composed.
- Categories: Basic definition of the algebra of functions
- Cartesian closed categories (CCCs) with a choice of
- Terminal object
- Binary products
- Exponential/internal hom objects
- The internal language of a CCC
- Implementing the internal language of a CCC in STLC with product and unit types
Reading on this lecture:
- Wikipedia, Curry-Howard-Lambek-Correspondence
- Andreas Abel, Lambda-Kalkül, Kapitel 7 (7.0, 7.3, 7.4) und 9 (9.0, 9.1, 9.3, 9.4) (in German)
- Jonathan Prieto-Cubides, The Simply Typed Lambda Calculus, slides: From named terms to de Bruijn terms; type-checking. Based on Agda code by gergoerdi
- Steve Awodey, Category theory, Section 6.6
- Joachim Lambek and Philip J. Scott, Introduction to higher order categorical logic
Further reading on categorical logic of typed λ-calculus:
- Simon Castellan and Pierre Clairambault and Peter Dybjer, Categories with Families: Unityped, Simply Typed, and Dependently Typed, see Section 4 for the simply-typed case
Further reading on λ-calculus:
- Peter Selinger, Lecture Notes on the Lambda Calculus
- Ralph Loader, Notes on Simply Typed Lambda Calculus