Skip to content

chore: bump toolchain to v4.32.0-rc1#468

Merged
kim-em merged 1 commit into
mainfrom
chore/bump-toolchain-v4.32.0-rc1
Jun 26, 2026
Merged

chore: bump toolchain to v4.32.0-rc1#468
kim-em merged 1 commit into
mainfrom
chore/bump-toolchain-v4.32.0-rc1

Conversation

@kim-em

@kim-em kim-em commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

This PR moves the benchmark from the v4.30.0 release to the v4.32.0-rc1 prerelease: Lean v4.32.0-rc1, mathlib 360da6fa (the v4.32.0-rc1 tag), and lean4-cli v4.32.0-rc1. It bumps the lean4export pin to refs/tags/v4.32.0-rc1 (3de59f10) in lockstep, since comparator reads workspace .oleans with lean4export and the olean header must match the toolchain (ci.yml, SECURITY.md, README.md).

Four source adaptations were needed for the Lean/mathlib API drift:

  • Elab.DelabTermInfo.docString? became mkDocString? : Option (PPContext → IO String), so the manifest-hover info leaf now wraps the rendered string in an IO action (EvalTools.Markers).
  • SimpleGraph's symm and loopless fields moved from the Symmetric / Irreflexive predicates to the Std.Symm / Std.Irrefl classes; the symmetry proofs are now supplied through the symm.symm field, matching mathlib's own instances (MarkoffGraph, ShannonCapacityPentagon).
  • Mathlib.LinearAlgebra.PiTensorProduct was split into a directory, so SchurWeyl now imports Mathlib.LinearAlgebra.PiTensorProduct.Basic.

The generated/ workspaces are left to regenerate-main.yml to commit after merge, as on every source change; CI regenerates them in-tree and builds them, so the new toolchain is exercised end to end here. The companion lean4export bump for the submission pipeline is leanprover/lean-eval-submissions#485 (filed separately), and the leaderboard's benchmark-snapshot advances itself via the repository_dispatch from notify-leaderboard.yml.

🤖 Prepared with Claude Code

Move the benchmark from the v4.30.0 release to the v4.32.0-rc1
prerelease: Lean v4.32.0-rc1, mathlib 360da6fa (the v4.32.0-rc1 tag),
and lean4-cli v4.32.0-rc1.

Bump the lean4export pin to refs/tags/v4.32.0-rc1 (3de59f10) in
lockstep, since comparator reads workspace .oleans with lean4export and
the olean header must match the toolchain.

Adapt source to mathlib / Lean API changes:
- Elab.DelabTermInfo.docString? became mkDocString? : Option (PPContext
  -> IO String) (EvalTools.Markers).
- SimpleGraph.symm / loopless fields changed from Symmetric / Irreflexive
  to the Std.Symm / Std.Irrefl classes; provide the proof via the
  symm.symm field (MarkoffGraph, ShannonCapacityPentagon).
- Mathlib.LinearAlgebra.PiTensorProduct was split into a directory;
  import PiTensorProduct.Basic (SchurWeyl).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kim-em kim-em merged commit a9d4cfb into main Jun 26, 2026
1 check passed
@kim-em kim-em deleted the chore/bump-toolchain-v4.32.0-rc1 branch June 26, 2026 18:51
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