Skip to content

chore: upgrade Lean toolchain to v4.32.0 - #144

Merged
mfornet merged 1 commit into
mainfrom
claude/toolchain-v4-32-0-upgrade-0a89d1
Jul 14, 2026
Merged

chore: upgrade Lean toolchain to v4.32.0#144
mfornet merged 1 commit into
mainfrom
claude/toolchain-v4-32-0-upgrade-0a89d1

Conversation

@mfornet

@mfornet mfornet commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

What

Upgrades the pinned Lean toolchain from v4.31.0 → v4.32.0, and moves Mathlib to its matching v4.32.0 tag.

Changes

  • lean-toolchain (+ the 5 per-package copies lake keeps in sync) → leanprover/lean4:v4.32.0
  • interpreter/lakefile.toml: mathlib revv4.32.0
  • docbuild/lakefile.toml: doc-gen4 rev092d6318789e7bb9160ade1e85bdbcc0abfd7f6e (doc-gen4 main, pinned at v4.32.0)
  • README.md: Lean badge → v4.32.0
  • Regenerated all 5 lake-manifest.json files via lake update

Why

Routine toolchain maintenance — track the latest stable Lean/Mathlib release.

Verification

Ran lake update + lake build per package against the freshly-fetched Mathlib cache. No proof or API breakages — the bump required zero source changes.

  • interpreter — 3050 jobs
  • codelib — 3048 jobs
  • programs (main proof target: all theorems + native_decide checks) — 3064 jobs
  • verifier — 42 jobs
  • ⚠️ docbuild — doc-gen4's Lean sources compile cleanly under v4.32.0; the executable link step fails locally only because the shared .lake/packages/MD4Lean cache holds x86_64 C objects on an arm64 host — a pre-existing cross-arch cache artifact, not introduced here. docbuild is not wired into CI.

Reviewer notes

CI needs no changes: the workflows read the toolchain from lean-toolchain and key their caches on hashFiles('lean-toolchain'), so they pick up v4.32.0 automatically.

🤖 Generated with Claude Code

Bump the pinned Lean toolchain from v4.31.0 to v4.32.0 and move Mathlib
to its matching v4.32.0 tag. All packages (interpreter, codelib, programs,
verifier) build clean with no proof or API changes required; regenerated
lake manifests accordingly. Also bump doc-gen4 to its v4.32.0-compatible
commit and update the README Lean badge.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Verifier report preview: https://talos-verifier-report-pr-144.vercel.app

(This URL is stable for this PR — it always points to the latest build of 7f7dc97.)

@mfornet
mfornet requested a review from Copilot July 14, 2026 11:24
@mfornet
mfornet merged commit 5c40dc9 into main Jul 14, 2026
5 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs routine toolchain maintenance for the Talos Lean 4 monorepo by bumping the pinned Lean version to v4.32.0 and aligning pinned dependencies (notably Mathlib) to the corresponding revisions, with regenerated Lake manifests to reflect the updated dependency graph.

Changes:

  • Bump all pinned lean-toolchain files from leanprover/lean4:v4.31.0 to leanprover/lean4:v4.32.0.
  • Update Mathlib to v4.32.0 (via interpreter/lakefile.toml) and regenerate per-package lake-manifest.json lockfiles.
  • Update docbuild’s doc-gen4 pin and refresh the README badge to reflect the new Lean version.

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
lean-toolchain Pins repo-wide Lean toolchain to v4.32.0.
README.md Updates Lean version badge to v4.32.0.
interpreter/lean-toolchain Aligns interpreter package toolchain pin to v4.32.0.
interpreter/lakefile.toml Updates Mathlib requirement to tag v4.32.0.
interpreter/lake-manifest.json Regenerated lockfile reflecting updated Mathlib/toolchain.
codelib/lean-toolchain Aligns CodeLib package toolchain pin to v4.32.0.
codelib/lake-manifest.json Regenerated lockfile reflecting updated toolchain/deps.
programs/lean/lean-toolchain Aligns Programs package toolchain pin to v4.32.0.
programs/lean/lake-manifest.json Regenerated lockfile reflecting updated toolchain/deps.
verifier/lean-toolchain Aligns Verifier package toolchain pin to v4.32.0.
verifier/lake-manifest.json Regenerated lockfile reflecting updated toolchain/deps.
docbuild/lean-toolchain Aligns docbuild package toolchain pin to v4.32.0.
docbuild/lakefile.toml Updates doc-gen4 pin to a v4.32.0-compatible commit.
docbuild/lake-manifest.json Regenerated lockfile reflecting updated doc-gen4/toolchain/deps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lean-toolchain
@@ -1 +1 @@
leanprover/lean4:v4.31.0
leanprover/lean4:v4.32.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants