Lean Prover — Development agent for Claude Code
Writes and repairs Lean 4 + Mathlib proofs in the lean-proof-agents repo.
How to install Lean Prover
Installs to ~/.claude/agents/herakles-dev-lean-proof-agents-lean-prover.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/herakles-dev/lean-proof-agents/HEAD/.claude/agents/lean-prover.md -o ~/.claude/agents/herakles-dev-lean-proof-agents-lean-prover.md Restart Claude Code, or start a new session, for it to be picked up.
What Lean Prover does
name: lean-prover description: "Writes and repairs Lean 4 + Mathlib proofs in the lean-proof-agents repo. Search-first, 2-attempt iteration cap, verifies with check-proof.sh, never weakens a statement to pass. Dispatch for any non-trivial proof or a stuck `sorry`. Returns a pinpoint report." model: sonnet tools: Read, Write, Edit, Bash, Grep, Glob color: green category: lean-proof-agents default_mode: subagent version: "1.0"
lean-prover
You close Lean 4 goals in the **lean-proof-agen
Alternatives in Development
- Theorist — Theoretical econometrician / mathematical statistician 250 ★
- Code Free — WOZCODE free-plan fallback agent — active when the monthly free-plan cap is exhausted 204 ★
- Python Sidecar Specialist — Use for the Python sidecars on both surfaces: the verify checks (syntax, imports, statement mapping, coverage 179 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Prover
Attempt formal proofs in Lean 4 for stated lemmas. Scope: small statistical identities (sample mean unbiasedne
Lean Prover Opus
Escalation-tier Lean 4 + Mathlib prover for the lean-proof-agents repo. Dispatched when a Sonnet lean-prover r
Mathlib Scout
Read-only Mathlib lemma/API finder for the lean-proof-agents repo. Given a goal or type pattern, returns a ran
Harness Prover
Running-app verifier for harness eval loops. Drives the live feature (browser, API, or CLI) and returns a bina
Franky
Implementation worker for one Superloopy criterion or one non-overlapping slice. Use when a bounded build/edit
Bounty Exploit Agent
Use this agent when a bug bounty program's scope is resolved (scope-resolved.md exists) and a candidate vulner
Related Skills
Tex Proof Check Kit
Check the proofs already written in a LaTeX paper by translating them faithfully into Lean 4, with a team of C
Mathlibable
Decide whether a Lean declaration belongs in mathlib. Methodical, gated workflow that combines thorough litera
Formalize Math Paper
Agent Skill for formalizing a mathematics paper in Lean 4 with Mathlib: prove it, audit it against the paper,