This repository contains a mechanized PER model for Gödel's System T
(call-by-name variant) in Coq. The relational model is more powerful
than the predicate model since it allows one to prove that Nat
to Nat
.
I find it slightly trickier to mechanize call-by-name version than the
call-by-value version since the base case for the Nat
type becomes
slightly more complicated.