# CoqHammer (Łukasz Czajka, Cezary Kaliszyk and contributors)

> A hammer for Rocq: it sends goals to external provers, then rebuilds the proof with its own tactics, so the final proof is ordinary Rocq.

Its hammer tactic picks likely useful lemmas with machine learning, translates the goal to external provers (Vampire, CVC4, E or Z3), and, when one succeeds, suggests a replacement tactic built on CoqHammer's own sauto proof search. That tactic makes no external calls.

- Kind: hammer
- Access: open-source
- Output: A Rocq tactic call (sauto family) that replaces the hammer call
- Checked by: rocq
- In the trusted base: no — The external provers are only used as hints. The proof is rebuilt in Rocq by the sauto tactics without extra axioms, and Rocq's kernel checks it. The translation to the external provers is not sound in general, but this only affects whether a proof is found, not whether an accepted proof is correct.
- Domains: mathematics, software

## Claims

| Claim | Evidence | As of | Source |
|---|---|---|---|
| Proved 40.8% of the theorems of the Coq standard library in push-button mode, in about 40 s of real time on an 8-CPU machine. | self-reported | 2018-02 | [source](https://doi.org/10.1007/s10817-018-9458-4) |
| With sauto for proof reconstruction, the hammer succeeded on 39.1% of problems from a collection of Coq libraries and 25.6% from CompCert; 87-97% of the problems solved by the external provers could be re-proved in Coq. | self-reported | 2020-06 | [source](https://doi.org/10.1007/978-3-030-51054-1_3) |

---
Last checked 2026-11-26. Data: [JSON](/automation/coqhammer.json) · Page: [HTML](/automation/coqhammer/) · Methodology v0.1: [/methodology/](/methodology/) · Corrections: [/contribute/](/contribute/)
