All Projects → scmu → foundations-harper

scmu / foundations-harper

Licence: other
Agda proofs for some of the theorems in Robert Harper's Practical Foundations of Programming Languages.

Programming Languages

Agda
84 projects

foundations-harper

Agda proofs for some of the theorems in Robert Harper's Practical Foundations of Programming Languages. Languages from the followings chapters of the book are defined:

  • Ch 4. Statics: L{num str}.
  • Ch 8. Function Definitions and Values: L{num str fun}.
  • Ch 9. Gödel's T.
  • Ch 10. Plotkin’s PCF
  • Ch 20. Girard’s System F.

For each language, we basically define its typing rules, its small step semantics, and prove the subject reduction (preservation) and progress theorems.

The proofs represents terms in Arthur Charguéraud's locally nameless style with cofinite quantification, with my own little variation: terms are indexed by number of bound variables. Terms are thus always locally closed. I found this made some proofs much easier.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].