Internalizing Parametricity
Doktorsavhandling, 2016

Parametricity results have recently been proved for dependently-typed calculi such as the Calculus of Constructions. However these results are meta theorems, and although the theorems can be stated as internal propositions, they cannot be proved internally. In this thesis, we develop a dependent type-theory in which each instance of the parametricity theorem, including those for open terms, can be proved internally. For instance we can prove inside the system that each term of type (X : *) -> X -> X is an identity. We show three successive proposals for a solution to this problem, each an improvement of the previous one. In the first one we introduce a dependent type theory with special syntax for hypercubes. In the second proposal we outline a colored type theory, which provides a simplification of the type theory with hypercubes. In the third and final proposal, we give a more definite presentation of the colored type theory. We also prove its consistency by a modification of the presheaf model of dependent type theory. We believe that our final colored type theory is simple enough to provide a basis for a proof assistant where proofs relying on parametricity can be performed internally.

Type structure

Presheaf Model


Lambda Calculus


Opponent: Tarmo Uustalu


Guilhem Moulin

Chalmers, Data- och informationsteknik, Datavetenskap

A Computational Interpretation of Parametricity

IEEE Symposium on Logic in Computer Science. 27th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), Dubrovnik, Croatia, June 25-28, 2012,; (2012)p. 135-144

Paper i proceeding

Type-Theory In Color

SIGPLAN Notices (ACM Special Interest Group on Programming Languages),; Vol. 48(2013)p. 61-71

Artikel i vetenskaplig tidskrift

A Presheaf Model of Parametric Type Theory

Electronic Notes in Theoretical Computer Science,; Vol. 319(2015)p. 67-82

Artikel i vetenskaplig tidskrift


Datavetenskap (datalogi)



Doktorsavhandlingar vid Chalmers tekniska högskola. Ny serie: 4065


Opponent: Tarmo Uustalu