Impredicative Observational Equality - Archive ouverte HAL
Article Dans Une Revue Proceedings of the ACM on Programming Languages Année : 2023

Impredicative Observational Equality

Résumé

In dependent type theory, impredicativity is a powerful logical principle that allows the definition of propositions that quantify over arbitrarily large types, potentially resulting in self-referential propositions. Impredicativity can provide a system with increased logical strength and flexibility, but in counterpart it comes with multiple incompatibility results. In particular, Abel and Coquand showed that adding definitional uniqueness of identity proofs (UIP) to the main proof assistants that support impredicative propositions (Coq and Lean) breaks the normalization procedure, and thus the type-checking algorithm. However, it was not known whether this stems from a fundamental incompatibility between UIP and impredicativity or if a more suitable algorithm could decide type-checking for a type theory that supports both. In this paper, we design a theory that handles both UIP and impredicativity by extending the recently introduced observational type theory TTobs with an impredicative universe of definitionally proof-irrelevant types, as initially proposed in the seminal work on observational equality of Altenkirch et al. We prove decidability of conversion for the resulting system, that we call CCobs , by harnessing proof-irrelevance to avoid computing with impredicative proof terms. Additionally, we prove normalization for CCobs in plain Martin-Löf type theory, thereby showing that adding proof-irrelevant impredicativity does not increase the computational content of the theory.
Fichier principal
Vignette du fichier
main.pdf (696.81 Ko) Télécharger le fichier
Origine Accord explicite pour ce dépôt

Dates et versions

hal-03857705 , version 1 (17-11-2022)
hal-03857705 , version 2 (28-11-2022)

Identifiants

Citer

Loïc Pujet, Nicolas Tabareau. Impredicative Observational Equality. Proceedings of the ACM on Programming Languages, 2023, Proceedings of the ACM on programming languages, 7 (POPL), pp.74. ⟨10.1145/3571739⟩. ⟨hal-03857705v2⟩
847 Consultations
570 Téléchargements

Altmetric

Partager

More