Skip to content

Conversation

@tydeu
Copy link
Member

@tydeu tydeu commented Nov 2, 2025

This PR changes the math and math-lax templates for lake new and lake init to use the version of Mathlib corresponding to the current Lean toolchain. Thus, lake +x.y.z new <pkg> math will use the Mathlib for Lean x.y.z. On the other hand, lake update on such packages will no longer update Mathlib automatically. Users will need to change the Mathlib revision in the configuration file before updating.

This change was inspired by a discussion on the community Zulip.

@tydeu tydeu added the changelog-lake Lake label Nov 2, 2025
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Nov 2, 2025
@leanprover-bot
Copy link
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI can not be attempted yet, as the nightly-testing-2025-10-31 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-manual, reference manual CI should run now. You can force reference manual CI using the force-manual-ci label. (2025-11-02 23:26:54)

leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Nov 2, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Nov 2, 2025
@leanprover-community-bot leanprover-community-bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Nov 3, 2025
@leanprover-community-bot
Copy link
Collaborator

leanprover-community-bot commented Nov 3, 2025

Mathlib CI status (docs):

@tydeu tydeu marked this pull request as ready for review November 3, 2025 01:15
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Nov 3, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Nov 3, 2025
@tydeu tydeu added this pull request to the merge queue Nov 3, 2025
Merged via the queue into leanprover:master with commit d23dcc8 Nov 3, 2025
18 checks passed
@tydeu tydeu deleted the lake/math-toolchain branch November 3, 2025 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-mathlib CI has verified that Mathlib builds against this PR changelog-lake Lake toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants