Skip to content

chore: bump Lean toolchain to v4.32.2 - #12

Open
kim-em wants to merge 1 commit into
digama0:masterfrom
kim-em:chore/bump-toolchain-v4.32.2
Open

chore: bump Lean toolchain to v4.32.2#12
kim-em wants to merge 1 commit into
digama0:masterfrom
kim-em:chore/bump-toolchain-v4.32.2

Conversation

@kim-em

@kim-em kim-em commented Aug 4, 2026

Copy link
Copy Markdown

This PR bumps the toolchain to Lean v4.32.2, following lean4lean master (which moved there in digama0/lean4lean#30, "chore: bump Lean toolchain to v4.32.2"), and moves mathlib to its matching v4.32.2 tag. No source change was needed: lake build completes with only the three pre-existing sorrys, two in upstream Lean4Lean/Theory/Inductive.lean and one in consistency.

Requiring mathlib last is what keeps lake exe cache get working. lean4lean and mathlib both pull in batteries, and at v4.32.2 they no longer agree: lean4lean asks for the v4.32.2 tag, mathlib pins 023ce7d, and the tag adds only a lean-toolchain bump and a docs lakefile change on top of that commit. Mathlib's olean cache is keyed on its dependency sources, so resolving batteries to the tag makes the cache lookup miss and mathlib build from source. The later require wins, so mathlib now goes last; the comment in the lakefile claimed the first require wins and has been corrected.

🤖 Prepared with Claude Code

Follow lean4lean master, which moved to v4.32.2 in digama0/lean4lean#30, and move
mathlib to its matching v4.32.2 tag. No source change was needed: `lake build`
reports only the three pre-existing `sorry`s (two in upstream
`Lean4Lean/Theory/Inductive.lean`, one in `consistency`).

Requiring mathlib last is what keeps `lake exe cache get` working. lean4lean and
mathlib both pull in batteries, and at v4.32.2 they no longer agree: lean4lean asks
for the `v4.32.2` tag while mathlib pins `023ce7d`, which the tag only adds a
`lean-toolchain` bump and a docs lakefile change on top of. Mathlib's olean cache is
keyed on its dependency sources, so resolving batteries to the tag makes the cache
lookup miss and mathlib build from source. The later require wins, so mathlib goes
last; the comment in the lakefile said the opposite and has been corrected.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017x8crJD7VZZZohyfeoHg1o
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.

1 participant