Lune

POPL2024Top-tier venue

Internal Parametricity, without an Interval

Thorsten Altenkirch, Yorgo Chamoun, Ambrus Kaposi, Michael Shulman

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • AdapTT: Functoriality for Dependent Type Casts cites Multimodal Dependent Type Theory
  • Canonicity for Indexed Inductive-Recursive Types cites Normalization for Multimodal Type Theory
  • Normalization for Multimodal Type Theory cites Multimodal Dependent Type Theory
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

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

Builds on4

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

Related papers

  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 citations
  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 citations
Dusk over the sea between two cliffs drawn in fine vertical lines