arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.06376cs.PLcs.LO
收藏

马丁-勒夫

Martin-Löf à la Coq

Arthur Adjedj, Meven Lennon-Bertrand, Kenji Maillard, Pierre-Marie Pédrot, Loïc Pujet

摘要:

我们在Coq证明助手中提出了Martin-Löf类型论(MLTT)的元理论的广泛机械化。我们的开发建立在Agda中已有的工作的基础上,不仅展示了转换的可判定性,而且还展示了类型检查的可判定性,使用双向类型检查指导的方法。从我们的可判定性证明,我们获得了一个认证和可执行的类型检查器的一个成熟的版本的MLTT与$Π$,$Σ$,$\mathbb{N}$,和身份类型的支持,和一个宇宙。此外,我们的发展不依赖于不可预测性,归纳递归或任何超越MLTT的公理,具有索引归纳类型和少数谓词宇宙的模式,将对象理论和元理论之间的差距缩小到仅仅是宇宙的差异。最后,我们解释了我们的形式化选择,面向模块化的发展依赖于Coq的功能,例如元编程设施提供的战术和宇宙多态性。

英文摘要:

We present an extensive mechanization of the meta-theory 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 $Π$, $Σ$, $\mathbb{N}$, and identity types, and one universe. Furthermore, our development does not rely on impredicativity, induction-recursion or any axiom beyond MLTT with a schema for indexed inductive types and a handful of predicative universes, narrowing the gap between the object theory and the meta-theory to a mere difference in universes. Finally, we explain our formalization choices, geared towards a modular development relying on Coq's features, e.g. meta-programming facilities provided by tactics and universe polymorphism.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑