EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Hammer for Coq: Automation for Dependent Type Theory

Łukasz Czajka, Cezary Kaliszyk iD

Journal of Automated Reasoning · 2018-06 · 61 (1-4) · 423-453

DOI: 10.1007/s10817-018-9458-4 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Journal of Automated Reasoning, online erschienen am 27.02.2018. Verfasst von Łukasz Czajka und 1 weiteren Autor:innen. Beteiligte Einrichtung: University of Innsbruck, Innsbruck, Austria. Die Arbeit wurde bisher 104-mal zitiert (Crossref) und nennt 75 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: European Research Council, Austrian Science Fund.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Hammers provide most powerful general purpose automation for proof assistants based on HOL and set theory today. Despite the gaining popularity of the more advanced versions of type theory, such as those based on the Calculus of Inductive Constructions, the construction of hammers for such foundations has been hindered so far by the lack of translation and reconstruction components. In this paper, we present an architecture of a full hammer for dependent type theory together with its implementation for the Coq proof assistant. A key component of the hammer is a proposed translation from the Calculus of Inductive Constructions, with certain extensions introduced by Coq, to untyped first-order logic. The translation is "sufficiently" sound and complete to be of practical use for automated theorem provers. We also introduce a proof reconstruction mechanism based on an eauto-type algorithm combined with limited rewriting, congruence closure and some forward reasoning. The algorithm is able to re-prove in the Coq logic most of the theorems established by the ATPs. Together with machine-learning based selection of relevant premises this constitutes a full hammer system. The performance of the whole procedure is evaluated in a bootstrapping scenario emulating the development of the Coq standard library. For each theorem in the library only the previous theorems and proofs can be used. We show that 40.8% of the theorems can be proved in a push-button mode in about 40 s of real time on a 8-CPU system.

Schlagwörter

Stichwörter der Autor:innen

Calculus of inductive constructionsCoqHammerProof automation

Autor:innen und Institutionen

  • University of Innsbruck, Innsbruck, Austria.

ORCID-Profile: Cezary Kaliszyk

Förderung

  • European Research Council
  • Austrian Science Fund

Zitieren

APA

Czajka, Ł., & Kaliszyk, C. (2018). Hammer for Coq: Automation for Dependent Type Theory. Journal of Automated Reasoning, 61(1-4), 423-453. https://doi.org/10.1007/s10817-018-9458-4

Vancouver

Czajka Ł, Kaliszyk C. Hammer for Coq: Automation for Dependent Type Theory. Journal of Automated Reasoning. 2018;61(1-4):423-453. doi:10.1007/s10817-018-9458-4

BibTeX
@article{Czajka2018,
  author = {Czajka, Łukasz and Kaliszyk, Cezary},
  title = {Hammer for Coq: Automation for Dependent Type Theory},
  journal = {Journal of Automated Reasoning},
  year = {2018},
  volume = {61},
  number = {1-4},
  pages = {423--453},
  doi = {10.1007/s10817-018-9458-4}
}
Kostenlos starten →