Observational Equality: Now For Good - Inria - Institut national de recherche en sciences et technologies du numérique
Article Dans Une Revue Proceedings of the ACM on Programming Languages Année : 2022

Observational Equality: Now For Good

Résumé

Building on the recent extension of dependent type theory with a universe of definitionally proof-irrelevant types, we introduce TT obs , a new type theory based on the setoidal interpretation of dependent type theory. TT obs equips every type with an identity relation that satisfies function extensionality, propositional extensionality, and definitional uniqueness of identity proofs (UIP). Compared to other existing proposals to enrich dependent type theory with these principles, our theory features a notion of reduction that is normalizing and provides an algorithmic canonicity result, which we formally prove in Agda using the logical relation framework of Abel et al. Our paper thoroughly develops the meta-theoretical properties of TT obs , such as the decidability of the conversion and of the type checking, as well as consistency. We also explain how to extend our theory with quotient types, and we introduce a setoidal version of Swan's Id types that turn it into a proper extension of MLTT with inductive equality.
Fichier principal
Vignette du fichier
main.pdf (677.91 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03367052 , version 1 (06-10-2021)
hal-03367052 , version 2 (20-10-2021)
hal-03367052 , version 3 (09-11-2021)
hal-03367052 , version 4 (10-11-2021)

Identifiants

Citer

Loïc Pujet, Nicolas Tabareau. Observational Equality: Now For Good. Proceedings of the ACM on Programming Languages, 2022, 6 (POPL), pp.1-29. ⟨10.1145/3498693⟩. ⟨hal-03367052v4⟩
1513 Consultations
3273 Téléchargements

Altmetric

Partager

More