Martin-Löf à la Coq - Archive ouverte HAL
Pré-Publication, Document De Travail Année : 2024

Martin-Löf à la Coq

Résumé

We present an extensive mechanization of the metatheory of Martin-Löf Type Theory (MLTT) in the Coq proof assistant. Our development builds on pre-existing work in Agda to show not only the decidability of conversion, but also the decidability of type checking, using an approach guided by bidirectional type checking. From our proof of decidability, we obtain a certified and executable type checker for a full-fledged version of MLTT with support for Π, Σ, ℕ, and Id types, and one universe. Our development does not rely on impredicativity, induction-recursion or any axiom beyond MLTT extended with indexed inductive types and a handful of predicative universes, thus narrowing the gap between the object theory and the metatheory to a mere difference in universes. Furthermore, our formalization choices are geared towards a modular development that relies on Coq's features, e.g. universe polymorphism and metaprogramming with tactics.
Fichier principal
Vignette du fichier
main.pdf (790.15 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04214008 , version 1 (21-09-2023)
hal-04214008 , version 2 (08-01-2024)

Licence

Identifiants

Citer

Arthur Adjedj, Meven Lennon-Bertrand, Kenji Maillard, Pierre-Marie Pédrot, Loïc Pujet. Martin-Löf à la Coq. 2024. ⟨hal-04214008v2⟩
201 Consultations
151 Téléchargements

Altmetric

Partager

More