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#3124 #9500

Closed
wants to merge 1,746 commits into from

Conversation

semorrison
Copy link
Contributor

@semorrison semorrison commented Jan 7, 2024

These are adaptations required for Leo's implementation of simprocs from leanprover/lean4#3124.

This is a PR to bump/v4.6.0. Before it can be merged we need to merge

I've updated a number of Mathlib tactics to adjust to the new type signatures in the simplifier, and these changes need to be reviewed carefully.


Open in Gitpod

nth_rewrite 2 [← swap_inv]
nth_rewrite 3 [← swap_inv]
Copy link
Member

Choose a reason for hiding this comment

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

Did simprocs really make a difference here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, this one is from leanprover/lean4#2539, which landed in nightly-2024-01-03.

I thought we already had an adaptation PR for that, so perhaps this is a change that landed in Mathlib master and so was ad-hoc fixed on nightly-testing in the meantime.

I propose just rolling it in here to avoid the overhead of a separate PR.

test/matrix.lean Outdated Show resolved Hide resolved
@semorrison
Copy link
Contributor Author

!bench

@leanprover-bot
Copy link
Collaborator

Here are the benchmark results for commit 5be9c98.Found no runs to compare against.

@jcommelin
Copy link
Member

Thanks 🎉

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels Jan 12, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jan 12, 2024
These are adaptations required for Leo's implementation of simprocs from leanprover/lean4#3124. 

This is a PR to `bump/v4.6.0`. Before it can be merged we need to merge 
- [x] leanprover-community/batteries#496
- [x] leanprover-community/aesop#93
and then to update the lakefile so both dependencies point at the `bump/v4.6.0` branches.

I've updated a number of Mathlib tactics to adjust to the new type signatures in the simplifier, and these changes need to be reviewed carefully.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@mathlib-bors
Copy link

mathlib-bors bot commented Jan 12, 2024

Pull request successfully merged into bump/v4.6.0.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: adaptations for leanprover/lean4#3124 [Merged by Bors] - chore: adaptations for leanprover/lean4#3124 Jan 12, 2024
@mathlib-bors mathlib-bors bot closed this Jan 12, 2024
@mathlib-bors mathlib-bors bot deleted the lean-pr-testing-3124 branch January 12, 2024 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has been sent to bors. v4.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants