chore: bump toolchain to v4.32.0-rc1#468
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 torefs/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?becamemkDocString? : Option (PPContext → IO String), so the manifest-hover info leaf now wraps the rendered string in anIOaction (EvalTools.Markers).SimpleGraph'ssymmandlooplessfields moved from theSymmetric/Irreflexivepredicates to theStd.Symm/Std.Irreflclasses; the symmetry proofs are now supplied through thesymm.symmfield, matching mathlib's own instances (MarkoffGraph,ShannonCapacityPentagon).Mathlib.LinearAlgebra.PiTensorProductwas split into a directory, soSchurWeylnow importsMathlib.LinearAlgebra.PiTensorProduct.Basic.The
generated/workspaces are left toregenerate-main.ymlto 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'sbenchmark-snapshotadvances itself via therepository_dispatchfromnotify-leaderboard.yml.🤖 Prepared with Claude Code