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: remove Data/UnionFind #14556

Closed
wants to merge 3 commits into from

Conversation

grunweg
Copy link
Collaborator

@grunweg grunweg commented Jul 9, 2024

Its implementation has been improved in lean4lean and batteries; the mathlib implementation can be removed in favour of these.

Searching github for 'import Mathlib.Data.UnionFind' only yields forks of mathlib (either explicit or manual); hence this seems safe to remove without a deprecation period.


Search query used: https://github.com/search?q=lang%3ALean+%22import+Mathlib.Data.UnionFind%22&type=code&p=1

Open in Gitpod

Its implementation has been improved in lean4lean and batteries;
the mathlib implementation can be removed in favour of these.

Searching github for 'import Mathlib.Data.UnionFind' only yields forks
of mathlib (either explicit or manual); hence this seems safe to remove
without a deprecation period.
Copy link

github-actions bot commented Jul 9, 2024

PR summary e440615b6c

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Data.UnionFind 38 0 -38 (-100.00%)
Import changes for all files
Files Import difference
Mathlib.Data.UnionFind -38

Declarations diff

- UFModel
- UFModel.Agrees
- UFModel.Models
- UFNode
- UnionFind
- find
- findAux
- get_eq
- get_eq'
- link
- lt_rankMax
- lt_rankMax'
- mk'
- mkEmpty
- model'
- parent_eq
- parent_eq'
- parent_lt
- rank
- rankMax
- rankMaxAux
- rank_lt
- set
- setParentBump
- size
- union
-- rank_eq
-- setParent
-- size_eq
---- empty
---- push

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

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

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jul 9, 2024
@kim-em
Copy link
Contributor

kim-em commented Jul 10, 2024

bors d+

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jul 10, 2024

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

@grunweg grunweg added awaiting-CI and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) labels Jul 10, 2024
@grunweg
Copy link
Collaborator Author

grunweg commented Jul 10, 2024

Thanks for the quick review!
bors r+

mathlib-bors bot pushed a commit that referenced this pull request Jul 10, 2024
Its implementation has been improved in `lean4lean` and `batteries`; the mathlib implementation can be removed in favour of these.

Searching github for 'import Mathlib.Data.UnionFind' only yields forks of mathlib (either explicit or manual); hence this seems safe to remove without a deprecation period.
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jul 10, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: remove Data/UnionFind [Merged by Bors] - chore: remove Data/UnionFind Jul 10, 2024
@mathlib-bors mathlib-bors bot closed this Jul 10, 2024
@mathlib-bors mathlib-bors bot deleted the MR-remove-unionfind branch July 10, 2024 11:07
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants