HammerIsabelle project (main author Jasmin Blanchette)

Sledgehammer

Isabelle/HOL's built-in hammer: it sends a goal to external provers and SMT solvers, then suggests a short proof that Isabelle checks itself.

Open source mathematics, software

It picks likely useful lemmas, sends the goal to automatic provers (such as E, Vampire and Zipperposition) and SMT solvers (such as cvc5, veriT and Z3), and when one succeeds suggests a proof, usually a call to the metis or smt method. It can also try Isabelle's own proof methods without external provers.

Does it have to be trusted?

No.

It produces Isabelle proof text (usually a one-line metis or smt call; optionally a structured Isar proof), checked by Isabelle/HOL. A wrong or malicious answer is rejected by the checker, so a proof's trustworthiness rests on the checker, not on Sledgehammer.

The external provers are not trusted: their output only guides the search, and the proof is redone inside Isabelle, whose kernel checks every inference. A proof found through an unsound encoding simply fails to replay. One exception is opt-in: with the smt_oracle option (off by default), Isabelle accepts SMT solver results without checking them, and the resulting theorems are tagged as depending on an oracle, which thm_oracles shows.

Claims

Public claims about what it can do, with how well each is backed.

  1. On 5,000 goals from 20 sessions of the Isabelle distribution and the Archive of Formal Proofs, Sledgehammer's default portfolio of external provers (30 s timeout) proved 72.1%; together with its ATP-free mode, 74.6%.

    Self-reported · Sep 2025 · source

  2. In a study of 17 provers on 5,000 goals from 50 Archive of Formal Proofs entries, a sequence of 16 prover configurations run for 30 s each proved 3,440 goals (68.8%).

    Self-reported · Aug 2022 · source

esc