Martin-Löf à la Coq - Inria - Institut national de recherche en sciences et technologies du numérique
Communication Dans Un Congrès Année : 2024

Martin-Löf à la Coq

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. CPP '24: 13th ACM SIGPLAN International Conference on Certified Programs and Proofs, Jan 2024, London UK, United Kingdom. pp.230-245, ⟨10.1145/3636501.3636951⟩. ⟨hal-04214008v2⟩
215 Consultations
151 Téléchargements

Altmetric

Partager

More