Concept
Curry howard correspondence
Journey Statuslearning Tags
Remark. Brouwer-Heyting-Kolmogorov (BHK) interpretation makes this correspondence explicit:
- Propositions ~ types.
- Proofs ~ terms inhabiting those types.
| Logic | Programming |
|---|---|
| Proposition | Type |
| Proof of | Term of type |
| Function type | |
| Product type | |
| Sum type | |
| Dependent function | |
| Dependent pair |
- BHK: A proof of is a function transforming proofs of into proofs of .
- Program: A term of type is a function transforming terms of type to terms of type .