Propositions as Types
The Curry-Howard Correspondence Jim Royer
Types Seminar
January 28, 2014
Jim Royer (Types Seminar) Propositions as Types January 28, 2014 1 / 15
References
[1] Chapter 6 of: Basic Simple Type Theory, J. Roger Hindley, Cambridge, 1997. [2] “The formulae-as-types notion of construction,” Howard, William A. (1980) in [4], 479–490. (Original paper manuscript from 1969.) http://www.cs.cmu.edu/~crary/819-f09/Howard80.pdf [3] “From λ-calculus to cartesian closed categories,” J. Lambek (1980) in [4] 375–402. (See http://www.math.uchicago.edu/~may/VIGRE/VIGRE2010/ REUPapers/Berger.pdf.) [4] To H.B. Curry: Essays on Combinatory Logic, Lambda Calculus and Formalism, Seldin, Jonathan P. and Hindley, J. Roger (Editors), Academic Press, 1980
Jim Royer (Types Seminar) Propositions as Types January 28, 2014 2 / 15
Intuitionistic implicational logic
This is also called minimal logic. Formulæ: F ::= X | F1 → F2 Rules: →E: σ → τ σ τ →I: [σ] . . . τ σ → τ
Each (→I) application discharges some, all, or none
- f the occurrences of σ
above τ and has a discharge label that lists the locations/addresses of each of these occurrences. Discharged occurrences of σ at leaves must be marked by “[ ·]”.
Jim Royer (Types Seminar) Propositions as Types January 28, 2014 3 / 15
Sample proof
Proof of (a → a → c) → a → c: [a → a → c]
(0011)
[a]
(0012) (→E)
a → c
(001)
[a]
(002) (→E)
c
(00)
(→I)
a @ 0012,002
a → c
(0)
(→I)
a → a → c @ 0011
(a → a → c) → a → c
(ǫ)
(d1d2 · · · dk) = position in the proof ϕ @ d1d2 · · · dk = discharge label
Jim Royer (Types Seminar) Propositions as Types January 28, 2014 4 / 15