Mathlib update tools, side by side

Five things a Lean maintainer already opens when a bump goes red. Each does its job. Leanbump picks up where the version change ends and the build errors begin: on 7 broken pilot projects it took 5 to a green lake build, every diff published.

See the repair results Scan your project free Read the bump guide

Dependabot

Lean 4 support is a proposed change, "Add Lean 4 ecosystem support" (dependabot-core PR #13787), opened 2025-12-15 and still open at its last activity on 2026-01-20. It updates lean-toolchain and lake-manifest.json; the PR does not describe any repair of your code. Source: dependabot/dependabot-core#13787 (checked 2026-12-05).

Use it for: a pull request the day a new version exists, once it ships. Where Leanbump picks up: that pull request goes red. The benchmark shows what the red looked like on 7 real projects and how each was repaired.

mathlib-update-action

Runs on a schedule, tries the update and builds. When the build fails, the on_update_fails setting decides what happens: silent, issue or pr, default issue. 5 stars. Source: leanprover-community/mathlib-update-action (README, checked 2026-12-05).

Use it for: being told the day Mathlib moves. Where Leanbump picks up: your Action opened an issue. Paste the repo URL into the scan and get the file and line of deprecated names it finds, with the replacement where Mathlib names one, in seconds. The errors that are not renames are what the repair results cover.

lean-update

A GitHub Action that attempts to update Lean and the dependencies of a Lean project and, when the update fails, defaults to opening an issue (on_update_fails). 9 stars. Source: leanprover-community/lean-update (README, checked 2026-12-05).

Use it for: keeping a repository on the newest dependencies automatically. Where Leanbump picks up: when it files the failure, the scan turns that issue into a worklist of renamed names.

/bump-mathlib in mathlib-quality

A Claude Code command whose README table describes it as "Bump mathlib version and fix breakage". 38 stars. No benchmarks or pass rates in the README. Source: CBirkbeck/mathlib-quality (README, checked 2026-12-05).

Use it for: an agent that edits your code on your machine. Pair it with: the rename lookup, which answers for names whose alias has been deleted, and the benchmark, which shows what a bump broke in 8 public projects, with the commands to re-run each.

A general coding agent (Claude Code, Cursor)

Anthropic describes Claude Code as "an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools". Source: Claude Code documentation (checked 2026-12-05).

Use it for: any repair, in your own checkout, steered by you: the most flexible option on this page. Where Leanbump picks up: a result you can read before you start. Each benchmark row shows the compiler's errors, the labelled change (rename, signature change or reproof) and the rebuild count, so you know what a bump of your size has cost others, and which repairs changed what a theorem says.

What Leanbump adds

Paste your repo URL

Facts about other projects were read from their public pages on 2026-12-05. Wrong or out of date? Send a correction and it is fixed.