Lune

POPL2025顶会

All Your Base Are Belong to Us: Sort Polymorphism for Proof Assistants

Josselin Poiret, Gaëtan Gilbert, Kenji Maillard, Pierre-Marie Pédrot, Matthieu Sozeau, Nicolas Tabareau, Éric Tanter

摘要

Proof assistants based on dependent type theory, such as Coq, Lean and Agda, use different universes to classify types, typically combining a predicative hierarchy of universes for computationally-relevant types, and an impredicative universe of proof-irrelevant propositions. In general, a universe is characterized by its sort, such as Type or Prop, and its level, in the case of a predicative sort. Recent research has also highlighted the potential of introducing more sorts in the type theory of the proof assistant as a structuring means to address the coexistence of different logical or computational principles, such as univalence, exceptions, or definitional proof irrelevance. This diversity raises concrete and subtle issues from both theoretical and practical perspectives. In particular, in order to avoid duplicating definitions to inhabit all (combinations of) universes, some sort of polymorphism is needed. Universe level polymorphism is well-known and effective to deal with hierarchies, but the handling of polymorphism between sorts is currently ad hoc and limited in all major proof assistants, hampering reuse and extensibility. This work develops sort polymorphism and its metatheory, studying in particular monomorphization, large elimination, and parametricity. We implement sort polymorphism in Coq and present examples from a new sort-polymorphic prelude of basic definitions and automation. Sort polymorphism is a natural solution that effectively addresses the limitations of current approaches and prepares the ground for future multi-sorted type theories.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Bounded Sort Polymorphism with Elimination Constraints 引用了 Normalization for Multimodal Type Theory
  • Bounded Sort Polymorphism with Elimination Constraints 引用了 Multimodal Dependent Type Theory
  • Observational equality: now for good 引用了 The taming of the rew: a type theory with computational assumptions
  • Incremental Certified Programming 引用了 The taming of the rew: a type theory with computational assumptions
  • Normalization for Multimodal Type Theory 引用了 Multimodal Dependent Type Theory
  • The taming of the rew: a type theory with computational assumptions 引用了 Coq Coq correct! verification of type checking and erasure for Coq, in Coq
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. Bounded Sort Polymorphism with Elimination ConstraintsJohann Rosain, Tomás Díaz, Kenji Maillard, Matthieu Sozeau 等POPL 2026
  2. Incremental Certified ProgrammingTomás Díaz, Kenji Maillard, Nicolas Tabareau, Éric TanterOOPSLA 2025

它引用的 Paper7

  1. Coq Coq correct! verification of type checking and erasure for Coq, in CoqMatthieu Sozeau, Simon Boulier, Yannick Forster, Nicolas Tabareau 等POPL 2020 · 67 次引用
  2. Multimodal Dependent Type TheoryDaniel Gratzer, G. A. Kavvos, Andreas Nuyts, Lars BirkedalLICS 2020 · 36 次引用
  3. Observational equality: now for goodLoïc Pujet, Nicolas TabareauPOPL 2022 · 26 次引用
  4. The taming of the rew: a type theory with computational assumptionsJesper Cockx, Nicolas Tabareau, Théo WinterhalterPOPL 2021 · 24 次引用
  5. Normalization for Multimodal Type TheoryDaniel GratzerLICS 2022 · 23 次引用

相关 Paper

  1. Normalisation for First-Class Universe LevelsNils Anders Danielsson, Naïm Camille Favier, Ondrej KubánekPOPL 2026 · 1 次引用
  2. Definitional Proof Irrelevance Made AccessibleThiago Felicissimo, Yann Leray, Loïc Pujet, Nicolas Tabareau 等LICS 2026
  3. Impredicative Observational EqualityLoïc Pujet, Nicolas TabareauPOPL 2023 · 14 次引用
  4. An Order-Theoretic Analysis of Universe PolymorphismKuen-Bang Hou (Favonia), Carlo Angiuli, Reed MullanixPOPL 2023 · 4 次引用
  5. Extensible Metatheory Mechanization via Family PolymorphismEnde Jin, Nada Amin, Yizhou ZhangPLDI 2023 · 10 次引用
黄昏的海面,两侧是细线勾勒的悬崖