Relational Parametricity for a Polymorphic Linear Lambda Calculus
This is the formalism of relational parametricity for PDILL (a term calculus of Polymorphic Dual Intuitionistic Linear Logic), LinF (Linear System F^o) and System F, which has been mechanized using the Coq proof assistant. The code runs with Coq 8.2pl1 (July 2009).
The formalism includes:
- A proof about the safety of the calculus.
- A proof about open and closed logical relations and parametricity.
- A proof about its soundness and completeness respect to contextual equivalence. and
- A number of applications including empty types, free theorems and type encoding.