IMC010: Type Theory and Coq


Structure of the course

The course consists of six parts:

1. Lectures on the type theory of Coq

Freek will use the first five weeks to teach part of:

using the schedule:

8 Septemberintroduction & lambda calculusslides, with pauses
15 Septemberpropositional logic & simple typeschapters 1 & 2
slides, with pauses
coq file
22 Septemberpredicate logic & dependent typeschapters 4 & 6
slides, with pauses
coq file
29 Septemberinductive typeschapter 3
6 Octobersecond-order logic & polymorphic typeschapters 7 & 8

2. Coq practicum

There will be a Coq practicum corresponding to Femke's course notes. For this you need to install Coq and download a

The completed files need to be handed in in Brightspace. Finishing this practicum is obligatory to be able to pass the course, but there will not be a grade for it.

3. Lectures on metatheory

Then Herman will use the next three weeks to teach part of:

using the schedule:

13 Octoberprincipal types & type checkingsections 4.1-4.3, 6.4
slides, exercises, answers
20 OctoberChurch-Rosser propertysection 3.1
slides, exercises, answers
10 Novembernormalization of λ→ and λ2sections 4.4, 5.6
slides, exercises, answers

This concludes the first half of the course.

4. Exam

The exam will not be at the end of the course but halfway through. Therefore the subject of the exam will be just the lectures by Freek and Herman, and not the topic of the reading group.

The date of the exam will be:

? Novemberthree hour exam on the theory in ? 

See at the end of this web page for some material to practise for the exam, like old exams from last years.

5. Reading group with presentations

In the second half of the course we read papers about a specific topic related to a recent research publication (a different topic every year). The topic of this year will be probably be parametricity and logical relations.

The presentations are by the students in pairs. These presentations are 45 minutes, and should contain both examples, as well as the gist of the proofs in the paper. It is more important to explain the important points of the paper well, then to cover everything in full detail.

The papers for this year will be determined later.

6. Coq project

Each student has to do a small Coq project. This project can be chosen from

but if students have a suggestion for an interesting project that they want to do, that is also allowed.

The deadline for the Coq project is 20 January 2023.


You will get three marks: for the exam, the Coq presentations, and the Coq project (items 4, 5 and 6 above). The final mark for the course is the average of those three marks, rounded to a half integral number. A mark of 5.5 will be rounded up to 6, and the mark for the exam has to be at least 5.0.

Some supporting material

Supporting documents

Paper exercises

Old exams