Back to Search Start Over

Touring the MetaCoq Project (Invited Paper)

Authors :
Matthieu Sozeau
Sozeau, Matthieu
Gallinette : vers une nouvelle génération d'assistant à la preuve (LS2N - équipe GALLINETTE)
Inria Rennes – Bretagne Atlantique
Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)-Laboratoire des Sciences du Numérique de Nantes (LS2N)
Université de Nantes - UFR des Sciences et des Techniques (UN UFR ST)
Université de Nantes (UN)-Université de Nantes (UN)-École Centrale de Nantes (ECN)-Centre National de la Recherche Scientifique (CNRS)-IMT Atlantique (IMT Atlantique)
Institut Mines-Télécom [Paris] (IMT)-Institut Mines-Télécom [Paris] (IMT)-Université de Nantes - UFR des Sciences et des Techniques (UN UFR ST)
Institut Mines-Télécom [Paris] (IMT)-Institut Mines-Télécom [Paris] (IMT)
Laboratoire des Sciences du Numérique de Nantes (LS2N)
Gallinette : vers une nouvelle génération d'assistant à la preuve (GALLINETTE)
IMT Atlantique Bretagne-Pays de la Loire (IMT Atlantique)
Université de Nantes (UN)-Université de Nantes (UN)-École Centrale de Nantes (ECN)-Centre National de la Recherche Scientifique (CNRS)-IMT Atlantique Bretagne-Pays de la Loire (IMT Atlantique)
Université de Nantes (UN)-Université de Nantes (UN)-École Centrale de Nantes (ECN)-Centre National de la Recherche Scientifique (CNRS)
Source :
LFMTP 2021-Logical Frameworks and Meta-Languages: Theory and Practice, LFMTP 2021-Logical Frameworks and Meta-Languages: Theory and Practice, Jul 2021, Pittsburg, United States. pp.1-17, LFMTP 2021-Logical Frameworks and Meta-Languages: Theory and Practice, Jul 2021, Pittsburg, United States
Publication Year :
2021
Publisher :
HAL CCSD, 2021.

Abstract

Proof assistants are getting more widespread use in research and industry to provide certified and independently checkable guarantees about theories, designs, systems and implementations. However, proof assistant implementations themselves are seldom verified, although they take a major share of the trusted code base in any such certification effort. In this area, proof assistants based on Higher-Order Logic enjoy stronger guarantees, as self-certified implementations have been available for some years. One cause of this difference is the inherent complexity of dependent type theories together with their extensions with inductive types, universe polymorphism and complex sort systems, and the gap between theory on paper and practical implementations in efficient programming languages. MetaCoq is a collaborative project that aims to tackle these difficulties to provide the first fully-certified realistic implementation of a type checker for the full calculus underlying the Coq proof assistant. To achieve this, we refined the sometimes blurry, if not incorrect, specification and implementation of the system. We show how theoretical tools from this community such as bidirectional type-checking, Tait-Martin-L\"of/Takahashi's confluence proof technique and monadic and dependently-typed programming can help construct the following artefacts: a specification of Coq's syntax and type theory, the Polymorphic Cumulative Calculus of (Co)-Inductive Constructions (PCUIC); a monad for the manipulation of raw syntax and interaction with the Coq system; a verification of PCUIC's metatheory, whose main results are the confluence of reduction, type preservation and principality of typing; a realistic, correct and complete type-checker for PCUIC; a sound type and proof erasure procedure from PCUIC to untyped lambda-calculus, i.e., the core of the extraction mechanism of Coq.<br />Comment: In Proceedings LFMTP 2021, arXiv:2107.07376

Details

Language :
English
Database :
OpenAIRE
Journal :
LFMTP 2021-Logical Frameworks and Meta-Languages: Theory and Practice, LFMTP 2021-Logical Frameworks and Meta-Languages: Theory and Practice, Jul 2021, Pittsburg, United States. pp.1-17, LFMTP 2021-Logical Frameworks and Meta-Languages: Theory and Practice, Jul 2021, Pittsburg, United States
Accession number :
edsair.doi.dedup.....388494761c04b6c5c44d4c8adececc67