Find in Library
Search millions of books, articles, and more
Indexed Open Access Databases
Internal Parametricity for Cubical Type Theory
oleh: Evan Cavallo, Robert Harper
Format: | Article |
---|---|
Diterbitkan: | Logical Methods in Computer Science e.V. 2021-11-01 |
Deskripsi
We define a computational type theory combining the contentful equality structure of cartesian cubical type theory with internal parametricity primitives. The combined theory supports both univalence and its relational equivalent, which we call relativity. We demonstrate the use of the theory by analyzing polymorphic functions between higher inductive types, observe how cubical equality regularizes parametric type theory, and examine the similarities and discrepancies between cubical and parametric type theory, which are closely related. We also abstract a formal interface to the computational interpretation and show that this also has a presheaf model.