Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - chore: adaptations for leanprover/lean4#2923 #9011

Closed
wants to merge 8 commits into from

Conversation

kim-em
Copy link
Contributor

@kim-em kim-em commented Dec 12, 2023

This PR is targeting the bump/v4.5.0 branch. It contains the adaptations required for leanprover/lean4#2923, which have now landed in the 2023-12-12 nightly toolchain.

The only changes are in simp [...] says ... statements, where some spurious lemmas are now no longer reported.

Many further simp only statements in Mathlib contain spurious lemmas which would now no longer be produced by a fresh simp?, and I would strongly encourage anyone interested in removing these! For now such changes will need to be made in a PR targeting bump/v4.5.0 (like this PR), or in January they can be done on master.


Open in Gitpod

Copy link
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

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

bors d+

Please summarize the changes in the PR description; I think the answer is "the changes are only to the output of says for simp"?

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Dec 13, 2023

✌️ semorrison can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

Co-authored-by: Eric Wieser <[email protected]>
@kim-em
Copy link
Contributor Author

kim-em commented Dec 14, 2023

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Dec 14, 2023
mathlib-bors bot pushed a commit that referenced this pull request Dec 14, 2023
This PR is targeting the `bump/v4.5.0` branch. It contains the adaptations required for leanprover/lean4#2923, which have now landed in the `2023-12-12` nightly toolchain.

The only changes are in `simp [...] says ...` statements, where some spurious lemmas are now no longer reported.

*Many* further `simp only` statements in Mathlib contain spurious lemmas which would now no longer be produced by a fresh `simp?`, and I would strongly encourage anyone interested in removing these! For now such changes will need to be made in a PR targeting `bump/v4.5.0` (like this PR), or in January they can be done on `master`.



Co-authored-by: Scott Morrison <[email protected]>
example [AddCommGroup α] (x y z : α) (_w : x = y + z) : x - x = 0 := by
abel_nf at *
Copy link
Member

Choose a reason for hiding this comment

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

What changed here?

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Dec 14, 2023

Pull request successfully merged into bump/v4.5.0.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: adaptations for leanprover/lean4#2923 [Merged by Bors] - chore: adaptations for leanprover/lean4#2923 Dec 14, 2023
@mathlib-bors mathlib-bors bot closed this Dec 14, 2023
@mathlib-bors mathlib-bors bot deleted the adapt_2923 branch December 14, 2023 00:32
mathlib-bors bot pushed a commit that referenced this pull request Dec 22, 2023
…h. (#9188)

This PR:
* bumps to lean-toolchain to `v4.5.0-rc1`
* bumps the Std and Aesop dependencies to their versions using `v4.5.0-rc1`
* merge the already reviewed changes from the `bump/v4.5.0` branch
  * adaptations for leanprover/lean4#2923 in #9011
  * adaptations for leanprover/lean4#2973 in #9161
  * adaptations for leanprover/lean4#2964 in #9176

Co-authored-by: Scott Morrison <[email protected]>
Co-authored-by: Eric Wieser <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants