README.md
August 21, 2026 ยท View on GitHub
CoqHammer (dev) for Rocq 9.2 (use other branches for other versions of Rocq)
CoqHammer video tutorial: part 1 (sauto), part 2 (hammer).
Since version 1.3, the CoqHammer system consists of two major separate components.
-
The
sautogeneral proof search tactic for the Calculus of Inductive Construction. -
The
hammerautomated reasoning tool which combines learning from previous proofs with the translation of problems to the logics of external automated systems and the reconstruction of successfully found proofs with thesautoprocedure.
See the CoqHammer webpage for documentation and installation instructions.
Premise selection options
Set Hammer DefinitionPremises K.reserves bounded slots within each predictor premise budget for accessible definitions referenced by the goal or hypotheses (including grouped inductives and constructors). Candidates are ordered by rarity, then size and name. At mostKand one eighth of the budget (rounded up) are reserved; the predictor fills the remaining slots, so these definitions do not increase the budget. The default is32;0disables reserved definition premises.Set Hammer DefinitionFeatures G.expands the predictor query with the plain constant dependencies taken from definitions of rare seed constants mentioned by the goal or hypotheses. A seed constant is expanded when at mostGaccessible definitions refer to it. The default is16;0disables definition-feature expansion.
Unset Hammer DefinitionPremises. and Unset Hammer DefinitionFeatures.
restore their respective defaults.
Requirements
Copyright and license
Copyright (c) 2017-2026, Lukasz Czajka.
Copyright (c) 2017-2018, Cezary Kaliszyk, University of Innsbruck.
Distributed under the terms of LGPL 2.1, see the file LICENSE.
See CREDITS for a full list of contributors.