{
  "id": "sledgehammer",
  "name": "Sledgehammer",
  "org": "Isabelle project (main author Jasmin Blanchette)",
  "aka": [],
  "summary": "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.",
  "details": "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.",
  "kind": "hammer",
  "access": "open-source",
  "output": "Isabelle proof text (usually a one-line metis or smt call; optionally a structured Isar proof)",
  "checked_by": [
    "isabelle"
  ],
  "in_tcb": false,
  "in_tcb_note": "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.",
  "domains": [
    "mathematics",
    "software"
  ],
  "claims": [
    {
      "claim": "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%.",
      "source": "https://doi.org/10.4230/LIPIcs.ITP.2025.38",
      "as_of": "2025-09",
      "evidence_level": "self-reported"
    },
    {
      "claim": "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%).",
      "source": "https://doi.org/10.4230/LIPIcs.ITP.2022.8",
      "as_of": "2022-08",
      "evidence_level": "self-reported"
    }
  ],
  "links": {
    "homepage": "https://isabelle.in.tum.de/",
    "docs": "https://isabelle.in.tum.de/doc/sledgehammer.pdf"
  },
  "last_release": {
    "version": "Isabelle2026",
    "date": "2026-10",
    "source": "https://isabelle.in.tum.de/"
  },
  "last_checked": "2026-11-26",
  "attestation": "maintainer",
  "claimed_by_authors": false,
  "sources": [
    {
      "url": "https://isabelle.in.tum.de/doc/sledgehammer.pdf",
      "title": "Hammering Away: A User's Guide to Sledgehammer for Isabelle/HOL (supported provers, reconstruction, type encodings)",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://github.com/isabelle-prover/mirror-isabelle/blob/master/src/HOL/SMT.thy",
      "title": "Isabelle SMT.thy (smt_oracle defaults to false)",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://isabelle.in.tum.de/doc/isar-ref.pdf",
      "title": "Isabelle/Isar reference manual, section on oracles and thm_oracles",
      "accessed": "2026-11-26"
    }
  ],
  "computed": {
    "kind": "automation",
    "methodology_version": "0.1",
    "built": "2026-11-26",
    "links": {
      "html": "/automation/sledgehammer/",
      "json": "/automation/sledgehammer.json",
      "markdown": "/automation/sledgehammer.md"
    }
  }
}