{
  "id": "leanhammer",
  "name": "LeanHammer",
  "org": "Carnegie Mellon University",
  "aka": [
    "LeanPremise"
  ],
  "summary": "A hammer for Lean 4: it picks useful lemmas with a neural model, runs several proof searches in parallel, and suggests a tactic script the Lean kernel checks.",
  "details": "Its searches include Aesop, grind, the Zipperposition prover via Lean-auto with the proof rebuilt by Duper, and cvc5 via Lean-SMT. It was evaluated on Mathlib and on projects outside Mathlib.",
  "kind": "hammer",
  "access": "open-source",
  "output": "A Lean 4 tactic script (for example aesop, duper or smt calls) that replaces the hammer call",
  "checked_by": [
    "lean4"
  ],
  "in_tcb": false,
  "in_tcb_note": "Zipperposition and cvc5 are not trusted. A Zipperposition proof is redone in Lean by Duper, and Lean-SMT replays cvc5's proof in Lean, returning any steps it cannot replay as open goals. The Lean kernel checks the final proof.",
  "domains": [
    "mathematics"
  ],
  "claims": [
    {
      "claim": "On 500 held-out Mathlib theorems, LeanHammer proved 33.3% with its large premise-selection model (trying all four pipeline variants), and 37.3% when combining its three model sizes. The evaluated version used Aesop and Zipperposition with Duper; the current release also uses grind and cvc5.",
      "source": "https://arxiv.org/abs/2506.07477",
      "as_of": "2026-02",
      "evidence_level": "self-reported"
    },
    {
      "claim": "LeanPremise lets LeanHammer solve 21% more goals than existing premise selectors.",
      "source": "https://arxiv.org/abs/2506.07477",
      "as_of": "2026-02",
      "evidence_level": "self-reported"
    }
  ],
  "links": {
    "repo": "https://github.com/JOSHCLUNE/LeanHammer",
    "paper": "https://arxiv.org/abs/2506.07477"
  },
  "last_release": {
    "version": "v4.36.0",
    "date": "2026-11-26",
    "source": "https://github.com/JOSHCLUNE/LeanHammer/releases/tag/v4.36.0"
  },
  "last_checked": "2026-11-26",
  "attestation": "maintainer",
  "claimed_by_authors": false,
  "sources": [
    {
      "url": "https://github.com/JOSHCLUNE/LeanHammer",
      "title": "LeanHammer README (components, supported Lean versions v4.20.0 to v4.36.0)",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://github.com/ufmg-smite/lean-smt",
      "title": "Lean-SMT README (replays cvc5 proofs; holes become Lean goals)",
      "accessed": "2026-11-26"
    }
  ],
  "computed": {
    "kind": "automation",
    "methodology_version": "0.1",
    "built": "2026-11-26",
    "links": {
      "html": "/automation/leanhammer/",
      "json": "/automation/leanhammer.json",
      "markdown": "/automation/leanhammer.md"
    }
  }
}