TSPL: Course notes
Staff
- Instructor Philip Wadler
- Teaching assistant Tudor Ferariu
Lectures and tutorials
Lectures take place Monday and Wednesday. Each lecture is immediately followed by a tutorial.
- 12.10–14.00 Monday Lecture and Tutorial Old Medical School MST Teaching Room 13 (01M.473) - Doorway 3
- 12.10–14.00 Wednesday Lecture and Tutorial Appleton Tower AT 2.12
- 12.10–14.00 Friday Lecture and Tutorial (week 1 only) Old Medical School MST Teaching Room 13 (01M.473) - Doorway 3
Links
Schedule
Week | Mon | Wed | Fri | |
---|---|---|---|---|
1 | 18 Sep Naturals | 20 Sep Induction | 22 Sep Relations | |
2 | 25 Sep | 28 Sep | ||
3 | 2 Oct Equality (no class, read on your own) | 4 Oct Isomorphism (no class, read on your own) | ||
4 | 9 Oct Connectives | 11 Oct Negation & Quantifiers | ||
5 | 16 Oct Decidable | 18 Oct Lambda | ||
6 | 23 Oct Lambda & Properties | 25 Oct Properties | ||
7 | 30 Oct DeBruijn | 1 Nov More | ||
8 | 6 Nov Inference | 8 Nov Untyped | ||
9 | 13 Nov Untyped | 15 Nov Eval | ||
10 | 20 Nov extra tutorial | 23 Nov extra tutorial | ||
11 | 27 Nov Propositions as Types | 29 Nov (no class) |
Assessment
Assessment for the course is as follows.
- five courseworks, sixteen points each, 80%
- optional project, take a research paper and formalise its development, 20%
In order to conform with the University’s Common Marking Scheme, students may typically get only 10 points or less (out of 20) on the optional project. Attempting the optional project may not be a good use of time compared to other courses where there are easier marks to be had.
Coursework
For instructions on how to set up Agda for PLFA see Getting Started.
- Assignment 1 cw1 due 12 noon Thursday 5 October (Week 3)
- Assignment 2 cw2 due 12 noon Thursday 19 October (Week 5)
- Assignment 3 cw3 due 12 noon Thursday 2 November (Week 7)
- Assignment 4 cw4 due 12 noon Thursday 16 November (Week 9)
- Assignment 5 cw5 due 12 noon Thursday 23 November (Week 10) Use file Exam. Despite the rubric, do all three questions.
How to submit coursework
Go to the TSPL Learn course and select “Assessment” from the left hand menu. Select the “Assignment Submission” folder and then click on the link “submit your coursework here”. This will take you to the Gradescope interface.
For anyone who has sat an online exam, Gradescope should look familiar. Gradescope programming assignments differ from exams in that it offers three options for submitting your work:
- Drag and drop your code file(s) into Gradescope
- Submit a GitHub repository
- Submit a Bitbucket repository
For the last two, you need to link your account to submit from GitHub or Bitbucket if you have not already. Instructions to do so are here.
Optional project
The optional project is to take a research paper and formalise all or part of it in Agda. In the past, some students have submitted superb optional projects that contributed to ongoing research. Talk to me about what you would like to submit.
- Optional project cw6 due 12 noon Thursday 1 December (Week 11)
Additional reading
John Reynolds, Three Approaches to Type Structure, Mathematical Foundations of Software Development, LNCS 185, pages 97–138, 1985.
Henk Barendregt, Introduction to generalized type systems Journal of Functional Programming, 1(2): 125–154, 1991.
Vladimir Gapayev, Michael Levin, Benjamin Pierce. Recursive Subtyping Revealed, International Conference on Functional Programming, 2000.
Philip Wadler. Propositions as Types, Communications of the ACM, 58(12): 75–84, December 2015.