Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Hammer for Coq: automation for dependent type theory
Czajka Ł., Kaliszyk C. Journal of Automated Reasoning61 (1-4):423-453,2018.Type:Article
Date Reviewed: Jan 3 2019

Interactive theorem proving is today seeing an explosion of use similar to what computer algebra systems (CASs) saw in the late 1980s. But there is another aspect to mathematics that CASs do not do: reasoning and proofs.

Proof systems come in two flavors: automated (generic ones like Vampire, Z3, and E, as well as model checkers, satisfiability (SAT), and satisfiability modulo theory (SMT) solvers) and interactive (such as Coq, Agda, Lean, Isabelle, and Mizar). The latter are still relatively difficult to use--even relatively straightforward proofs can be tedious. This is where hammers come in: they provide heuristic automation aimed at relieving such tedium.

Somewhat ironically, the power of current hammers relies crucially on machine learning. The search space of proofs is simply too large for any kind of exhaustive search, and no good heuristics have yet been designed by humans. However, the libraries of current systems are large enough that machine learning algorithms seem to be able to do the job fairly well.

The paper provides details on the design of one such hammer for Coq. It first gives an excellent overview of the general problem and the current state of the art for all systems. Other sections cover the type theory handled by the system, the translation from type theory to first-order logic with equality, and the all-important proof reconstruction step. This last step is complex because the proof language of most automated provers is very different than the tactic language of Coq. This is followed by a thorough evaluation of the results, both through systematic testing and some case studies.

The paper is also remarkable for its honesty: not only is a hammer a delicate pile of heuristics, but some parts of the presented translation are unsound. The authors make a solid case that, in practice, this is not an issue. The details are rather technical, so the interested reader should read the paper’s lucid and explicit description.

Anyone interested in how machine learning can be applied to heuristic proof search would benefit from reading the “Related Work” and “Premise Selection” sections. The rest of the paper will be of interest to specialists attempting to build a hammer of their own. The design choices that were made are quite well explained. And, as behooves modern scholarship, the source code is available online.

Reviewer:  Jacques Carette Review #: CR146369 (1904-0128)
Bookmark and Share
  Featured Reviewer  
 
Mathematical Software (G.4 )
 
 
Proof Theory (F.4.1 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Mathematical Software": Date
Mathematical applications of electronic spreadsheets
Arganbright D., McGraw-Hill, Inc., New York, NY, 1984. Type: Book (9789780070024298)
May 1 1985
The NAG Library: a beginners guide
Phillips J., Oxford University Press, Inc., New York, NY, 1987. Type: Book (9789780198532637)
May 1 1988
Numerical software tools in C
Kempf J., Prentice-Hall, Inc., Upper Saddle River, NJ, 1987. Type: Book (9789780136272748)
Apr 1 1988
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy