Skip to Main content Skip to Navigation
New interface
Conference papers

Impredicative Observational Equality

Abstract : 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.
Complete list of metadata

https://hal.archives-ouvertes.fr/hal-03857705
Contributor : Loïc Pujet Connect in order to contact the contributor
Submitted on : Thursday, November 17, 2022 - 2:05:51 PM
Last modification on : Thursday, December 1, 2022 - 10:22:05 AM

File

main.pdf
Files produced by the author(s)

Identifiers

Citation

Loïc Pujet, Nicolas Tabareau. Impredicative Observational Equality. POPL 2023 - 50th ACM SIGPLAN Symposium on Principles of Programming Languages, Jan 2023, Boston, United States. ⟨10.1145/3571739⟩. ⟨hal-03857705v1⟩

Share

Metrics

Record views

0

Files downloads

0