A relationally parametric model of dependent type theory
Atkey, Robert and Ghani, Neil and Johann, Patricia; (2014) A relationally parametric model of dependent type theory. In: POPL '14 Proceedings of the 41st ACM SIGPLAN-SIGACT. ACM, USA, pp. 503-515. ISBN 9781450325448 (https://doi.org/10.1145/2535838.2535852)
Preview |
Text.
Filename: Atkey_etal_POPL_2014_A_relationally_parametric_model_of_dependent_type_theory.pdf
Accepted Author Manuscript Download (551kB)| Preview |
Abstract
Reynolds' theory of relational parametricity captures the invariance of polymorphically typed programs under change of data representation. Reynolds' original work exploited the typing discipline of the polymorphically typed lambda-calculus System F, but there is now considerable interest in extending relational parametricity to type systems that are richer and more expressive than that of System F. This paper constructs parametric models of predicative and impredicative dependent type theory. The significance of our models is twofold. Firstly, in the impredicative variant we are able to deduce the existence of initial algebras for all indexed=functors. To our knowledge, ours is the first account of parametricity for dependent types that is able to lift the useful deduction of the existence of initial algebras in parametric models of System F to the dependently typed setting. Secondly, our models offer conceptual clarity by uniformly expressing relational parametricity for dependent types in terms of reflexive graphs, which allows us to unify the interpretations of types and kinds, instead of taking the relational interpretation of types as a primitive notion. Expressing our model in terms of reflexive graphs ensures that it has canonical choices for the interpretations of the standard type constructors of dependent type theory, except for the interpretation of the universe of small types, where we formulate a refined interpretation tailored for relational parametricity. Moreover, our reflexive graph model opens the door to generalisations of relational parametricity, for example to higher-dimensional relational parametricity.
ORCID iDs
Atkey, Robert ORCID: https://orcid.org/0000-0002-4414-5047, Ghani, Neil ORCID: https://orcid.org/0000-0002-3988-2560 and Johann, Patricia;-
-
Item type: Book Section ID code: 52461 Dates: DateEvent24 January 2014PublishedSubjects: Science > Mathematics > Electronic computers. Computer science Department: Faculty of Science > Computer and Information Sciences Depositing user: Pure Administrator Date deposited: 02 Apr 2015 10:29 Last modified: 24 Nov 2024 01:31 Related URLs: URI: https://strathprints.strath.ac.uk/id/eprint/52461