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] - refactor(Tactic/ToAdditive): avoid FindM, got removed in lean4 #14970

Closed
wants to merge 1 commit into from

Conversation

nomeata
Copy link
Collaborator

@nomeata nomeata commented Jul 21, 2024

this code was using an internal data type from Lean4 that was removed in leanprover/lean4#4795 so let's inline the three lines that we need here.


Open in Gitpod

this code was using an internal data type from Lean4 that was
removed in leanprover/lean4#4795
so let's inline the three lines that we need here.
@nomeata nomeata added the easy < 20s of review time. See the lifecycle page for guidelines. label Jul 21, 2024
Copy link

PR summary 08851066d8

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

Copy link
Collaborator

@grunweg grunweg left a comment

Choose a reason for hiding this comment

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

One question; the rest looks good to me. (But note that I'm just locally verifying things; I have no global understanding whatsoever of this code.)

@grunweg
Copy link
Collaborator

grunweg commented Jul 21, 2024

Also, let me add: thanks for taking care of mathlib this way!

nomeata added a commit that referenced this pull request Jul 21, 2024
this code was using an internal data type from Lean4 that was
removed in leanprover/lean4#4795
so let's inline the three lines that we need here.

This is from #14970
Copy link
Collaborator

@grunweg grunweg left a comment

Choose a reason for hiding this comment

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

According to my (necessarily shallow) review, this looks good.
maintainer merge

Copy link

🚀 Pull request has been placed on the maintainer queue by grunweg.

@kim-em
Copy link
Contributor

kim-em commented Jul 21, 2024

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Jul 21, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jul 21, 2024
this code was using an internal data type from Lean4 that was removed in leanprover/lean4#4795 so let's inline the three lines that we need here.
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jul 21, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title refactor(Tactic/ToAdditive): avoid FindM, got removed in lean4 [Merged by Bors] - refactor(Tactic/ToAdditive): avoid FindM, got removed in lean4 Jul 21, 2024
@mathlib-bors mathlib-bors bot closed this Jul 21, 2024
@mathlib-bors mathlib-bors bot deleted the joachim/no-FindM branch July 21, 2024 14:54
@adomani adomani mentioned this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy < 20s of review time. See the lifecycle page for guidelines. maintainer-merge 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