Lune

POPL2024顶会

Internal Parametricity, without an Interval

Thorsten Altenkirch, Yorgo Chamoun, Ambrus Kaposi, Michael Shulman

摘要

Parametricity is a property of the syntax of type theory implying, e.g., that there is only one function having the type of the polymorphic identity function. Parametricity is usually proven externally, and does not hold internally. Internalising it is difficult because once there is a term witnessing parametricity, it also has to be parametric itself and this results in the appearance of higher dimensional cubes. In previous theories with internal parametricity, either an explicit syntax for higher cubes is present or the theory is extended with a new sort for the interval. In this paper we present a type theory with internal parametricity which is a simple extension of Martin-Löf type theory: there are a few new type formers, term formers and equations. Geometry is not explicit in this syntax, but emergent: the new operations and equations only refer to objects up to dimension 3. We show that this theory is modelled by presheaves over the BCH cube category. Fibrancy conditions are not needed because we use span-based rather than relational parametricity. We define a gluing model for this theory implying that external parametricity and canonicity hold. The theory can be seen as a special case of a new kind of modal type theory, and it is the simplest setting in which the computational properties of higher observational type theory can be demonstrated.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • AdapTT: Functoriality for Dependent Type Casts 引用了 Multimodal Dependent Type Theory
  • Canonicity for Indexed Inductive-Recursive Types 引用了 Normalization for Multimodal Type Theory
  • Normalization for Multimodal Type Theory 引用了 Multimodal Dependent Type Theory
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. Internal and Observational Parametricity for Cubical AgdaAntoine Van Muylder, Andreas Nuyts, Dominique DevriesePOPL 2024 · 2 次引用
  2. AdapTT: Functoriality for Dependent Type CastsArthur Adjedj, Meven Lennon-Bertrand, Thibaut Benjamin, Kenji MaillardPOPL 2026 · 1 次引用
  3. Canonicity for Indexed Inductive-Recursive TypesAndrás KovácsPOPL 2026 · 1 次引用

它引用的 Paper4

  1. Multimodal Dependent Type TheoryDaniel Gratzer, G. A. Kavvos, Andreas Nuyts, Lars BirkedalLICS 2020 · 36 次引用
  2. Normalization for Multimodal Type TheoryDaniel GratzerLICS 2022 · 23 次引用
  3. Large and Infinitary Quotient Inductive-Inductive TypesAndrás Kovács, Ambrus KaposiLICS 2020 · 7 次引用
  4. Internal and Observational Parametricity for Cubical AgdaAntoine Van Muylder, Andreas Nuyts, Dominique DevriesePOPL 2024 · 2 次引用

相关 Paper

  1. Parametricity and Semi-Cubical TypesHugo MoeneclaeyLICS 2021
  2. From Semantics to Syntax: A Type Theory for Comprehension CategoriesNiyousha Najmaei, Niels van der Weide, Benedikt Ahrens, Paige Randall NorthPOPL 2026
  3. Impredicative Observational EqualityLoïc Pujet, Nicolas TabareauPOPL 2023 · 14 次引用
  4. Eliminating Reversals from Cubical Type TheoriesEvan Cavallo, Christian SattlerLICS 2026
  5. Bialgebraic Reasoning on Higher-order Program EquivalenceSergey Goncharov, Stefan Milius, Stelios Tsampas, Henning UrbatLICS 2024 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖