An Introduction to Type Theory
Part 2
Tallinn, September 2003 http://www.cs.nott.ac.uk/˜txa/tallinn/
Thorsten Altenkirch University of Nottingham
An Introduction to Type Theory – p.1/46
An Introduction to Type Theory Part 2 Tallinn, September 2003 - - PowerPoint PPT Presentation
An Introduction to Type Theory Part 2 Tallinn, September 2003 http://www.cs.nott.ac.uk/txa/tallinn/ Thorsten Altenkirch University of Nottingham An Introduction to Type Theory p.1/46 Plan of the course 1. Intuitionistic logic from a
Tallinn, September 2003 http://www.cs.nott.ac.uk/˜txa/tallinn/
Thorsten Altenkirch University of Nottingham
An Introduction to Type Theory – p.1/46
An Introduction to Type Theory – p.2/46
An Introduction to Type Theory – p.3/46
An Introduction to Type Theory – p.3/46
An Introduction to Type Theory – p.3/46
An Introduction to Type Theory – p.3/46
An Introduction to Type Theory – p.3/46
An Introduction to Type Theory – p.3/46
An Introduction to Type Theory – p.3/46
An Introduction to Type Theory – p.4/46
An Introduction to Type Theory – p.4/46
An Introduction to Type Theory – p.4/46
An Introduction to Type Theory – p.5/46
An Introduction to Type Theory – p.5/46
An Introduction to Type Theory – p.5/46
An Introduction to Type Theory – p.5/46
An Introduction to Type Theory – p.5/46
An Introduction to Type Theory – p.5/46
An Introduction to Type Theory – p.5/46
An Introduction to Type Theory – p.5/46
An Introduction to Type Theory – p.6/46
Pattern matching We have to keep track of the steps in
An Introduction to Type Theory – p.6/46
Pattern matching We have to keep track of the steps in
Elimination constants Get replaced by their dependent
An Introduction to Type Theory – p.6/46
An Introduction to Type Theory – p.7/46
An Introduction to Type Theory – p.7/46
An Introduction to Type Theory – p.7/46
An Introduction to Type Theory – p.8/46
An Introduction to Type Theory – p.8/46
An Introduction to Type Theory – p.9/46
How to form ?
An Introduction to Type Theory – p.9/46
How to form ?
✂✁ ✄ ✟ ✂✁ ✄ ✠An Introduction to Type Theory – p.9/46
How to form ?
✂✁ ✄ ✟ ✂✁ ✄ ✠How to construct ?
An Introduction to Type Theory – p.9/46
How to form ?
✂✁ ✄ ✟ ✂✁ ✄ ✠How to construct ?
An Introduction to Type Theory – p.9/46
An Introduction to Type Theory – p.10/46
How to form ?
An Introduction to Type Theory – p.10/46
How to form ?
An Introduction to Type Theory – p.10/46
How to form ?
How to prove ?
An Introduction to Type Theory – p.10/46
How to form ?
How to prove ?
An Introduction to Type Theory – p.10/46
An Introduction to Type Theory – p.11/46
An Introduction to Type Theory – p.11/46
An Introduction to Type Theory – p.11/46
An Introduction to Type Theory – p.12/46
An Introduction to Type Theory – p.12/46
An Introduction to Type Theory – p.12/46
An Introduction to Type Theory – p.12/46
An Introduction to Type Theory – p.12/46
An Introduction to Type Theory – p.13/46
An Introduction to Type Theory – p.13/46
An Introduction to Type Theory – p.13/46
An Introduction to Type Theory – p.13/46
An Introduction to Type Theory – p.14/46
An Introduction to Type Theory – p.14/46
An Introduction to Type Theory – p.14/46
An Introduction to Type Theory – p.15/46
An Introduction to Type Theory – p.15/46
An Introduction to Type Theory – p.15/46
An Introduction to Type Theory – p.16/46
An Introduction to Type Theory – p.16/46
An Introduction to Type Theory – p.16/46
An Introduction to Type Theory – p.16/46
An Introduction to Type Theory – p.16/46
An Introduction to Type Theory – p.16/46
An Introduction to Type Theory – p.16/46
An Introduction to Type Theory – p.16/46
An Introduction to Type Theory – p.17/46
An Introduction to Type Theory – p.17/46
An Introduction to Type Theory – p.18/46
An Introduction to Type Theory – p.18/46
An Introduction to Type Theory – p.18/46
An Introduction to Type Theory – p.18/46
An Introduction to Type Theory – p.19/46
An Introduction to Type Theory – p.19/46
An Introduction to Type Theory – p.19/46
An Introduction to Type Theory – p.20/46
An Introduction to Type Theory – p.20/46
An Introduction to Type Theory – p.20/46
An Introduction to Type Theory – p.20/46
An Introduction to Type Theory – p.21/46
An Introduction to Type Theory – p.22/46
An Introduction to Type Theory – p.22/46
primitive recursion We obtain simply typed primitive
An Introduction to Type Theory – p.22/46
primitive recursion We obtain simply typed primitive
induction When reading
✂✁ ✄ ✠An Introduction to Type Theory – p.22/46
An Introduction to Type Theory – p.23/46
An Introduction to Type Theory – p.23/46
An Introduction to Type Theory – p.24/46
An Introduction to Type Theory – p.24/46
An Introduction to Type Theory – p.24/46
An Introduction to Type Theory – p.25/46
An Introduction to Type Theory – p.25/46
An Introduction to Type Theory – p.26/46
An Introduction to Type Theory – p.26/46
An Introduction to Type Theory – p.26/46
An Introduction to Type Theory – p.26/46
An Introduction to Type Theory – p.27/46
An Introduction to Type Theory – p.27/46
An Introduction to Type Theory – p.27/46
An Introduction to Type Theory – p.28/46
An Introduction to Type Theory – p.28/46
An Introduction to Type Theory – p.28/46
An Introduction to Type Theory – p.28/46
An Introduction to Type Theory – p.29/46
An Introduction to Type Theory – p.29/46
An Introduction to Type Theory – p.29/46
An Introduction to Type Theory – p.30/46
An Introduction to Type Theory – p.30/46
An Introduction to Type Theory – p.30/46
An Introduction to Type Theory – p.30/46
An Introduction to Type Theory – p.30/46
An Introduction to Type Theory – p.31/46
An Introduction to Type Theory – p.31/46
An Introduction to Type Theory – p.31/46
An Introduction to Type Theory – p.31/46
An Introduction to Type Theory – p.31/46
An Introduction to Type Theory – p.31/46
An Introduction to Type Theory – p.31/46
An Introduction to Type Theory – p.32/46
An Introduction to Type Theory – p.32/46
An Introduction to Type Theory – p.33/46
An Introduction to Type Theory – p.34/46
An Introduction to Type Theory – p.35/46
An Introduction to Type Theory – p.35/46
An Introduction to Type Theory – p.35/46
An Introduction to Type Theory – p.36/46
An Introduction to Type Theory – p.36/46
An Introduction to Type Theory – p.36/46
An Introduction to Type Theory – p.37/46
An Introduction to Type Theory – p.38/46
An Introduction to Type Theory – p.38/46
An Introduction to Type Theory – p.39/46
An Introduction to Type Theory – p.39/46
An Introduction to Type Theory – p.39/46
An Introduction to Type Theory – p.40/46
An Introduction to Type Theory – p.40/46
An Introduction to Type Theory – p.40/46
An Introduction to Type Theory – p.40/46
An Introduction to Type Theory – p.41/46
How to form ?
An Introduction to Type Theory – p.41/46
How to form ?
An Introduction to Type Theory – p.41/46
How to form ?
How to construct?
An Introduction to Type Theory – p.41/46
How to form ?
How to construct?
✁ ✟An Introduction to Type Theory – p.41/46
An Introduction to Type Theory – p.42/46
An Introduction to Type Theory – p.42/46
An Introduction to Type Theory – p.42/46
An Introduction to Type Theory – p.43/46
decl Leq_elim :
(Leq x1 x2)
✂TYPE
✁(
C_Leq (le0 n))
✂(
(C_Leq x1)
✂C_Leq (leS x1))
✂C_Leq z [[C_Leq:
(Leq x1 x2)
✂TYPE][f_le0:
C_Leq (le0 n1)] [f_leS:
(C_Leq x1)
✂C_Leq (leS x1)][n1:Nat][m,n|Nat] [x1:Leq m n] Leq_elim C_Leq f_le0 f_leS (le0 n1)
✄f_le0 n1 || Leq_elim C_Leq f_le0 f_leS (leS x1)
✄f_leS x1 (Leq_elim C_Leq f_le0 f_leS x1)]
An Introduction to Type Theory – p.44/46
An Introduction to Type Theory – p.45/46
An Introduction to Type Theory – p.45/46
An Introduction to Type Theory – p.45/46
An Introduction to Type Theory – p.45/46
An Introduction to Type Theory – p.45/46
An Introduction to Type Theory – p.46/46
An Introduction to Type Theory – p.46/46
An Introduction to Type Theory – p.46/46