首页    期刊浏览 2024年10月06日 星期日
登录注册

文章基本信息

  • 标题:Internalizing Relational Parametricity in the Extensional Calculus of Constructions
  • 本地全文:下载
  • 作者:Neelakantan R. Krishnaswami ; Derek Dreyer
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2013
  • 卷号:23
  • 页码:432-451
  • DOI:10.4230/LIPIcs.CSL.2013.432
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:We give the first relationally parametric model of the extensional calculus of constructions. Our model remains as simple as traditional PER models of types, but unlike them, it additionally permits the relating of terms that implement abstract types in different ways. Using our model, we can validate the soundness of quotient types, as well as derive strong equality axioms for Church-encoded data, such as the usual induction principles for Church naturals and booleans, and the eta law for strong dependent pair types. Furthermore, we show that such equivalences, justified by relationally parametric reasoning, may soundly be internalized (i.e., added as equality axioms to our type theory). Thus, we demonstrate that it is possible to interpret equality in a dependently-typed setting using parametricity. The key idea behind our approach is to interpret types as so-called quasi-PERs (or zigzag-complete relations), which enable us to model the symmetry and transitivity of equality while at the same time allowing abstract types with different representations to be equated.
  • 关键词:Relational parametricity; dependent types; quasi-PERs
国家哲学社会科学文献中心版权所有