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: make List.mem_split an alias of List.append_of_mem #11060

Closed
wants to merge 7 commits into from

Conversation

dwrensha
Copy link
Member

List.mem_split duplicates List.append_of_mem from Std:
https://github.com/leanprover/std4/blob/a756b7d643ae5dcd7bf314e99f8e493e5d81b9ed/Std/Data/List/Lemmas.lean#L94-L96

This PR makes it an alias.


Open in Gitpod

@dwrensha
Copy link
Member Author

cc @digama0, who suggested that I should make a PR about this.

This duplication was found by tryTacticAtEachStep.

@dwrensha
Copy link
Member Author

I could additionally add a @[deprecated] attribute, if that is desired.

@dwrensha dwrensha added the awaiting-review The author would like community review of the PR label Feb 28, 2024
@Ruben-VandeVelde
Copy link
Collaborator

Yeah, I would also deprecate and remove the uses in mathlib

@dwrensha
Copy link
Member Author

dwrensha commented Mar 1, 2024

Yeah, I would also deprecate and remove the uses in mathlib

done

Copy link
Collaborator

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

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

maintainer merge

Copy link

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

@riccardobrasca
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 Mar 24, 2024
mathlib-bors bot pushed a commit that referenced this pull request Mar 24, 2024
`List.mem_split` duplicates `List.append_of_mem` from `Std`:
https://github.com/leanprover/std4/blob/a756b7d643ae5dcd7bf314e99f8e493e5d81b9ed/Std/Data/List/Lemmas.lean#L94-L96

This PR makes it an alias.



Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
@mathlib-bors
Copy link

mathlib-bors bot commented Mar 24, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: make List.mem_split an alias of List.append_of_mem [Merged by Bors] - chore: make List.mem_split an alias of List.append_of_mem Mar 24, 2024
@mathlib-bors mathlib-bors bot closed this Mar 24, 2024
@mathlib-bors mathlib-bors bot deleted the List.mem_split branch March 24, 2024 07:25
utensil pushed a commit that referenced this pull request Mar 26, 2024
`List.mem_split` duplicates `List.append_of_mem` from `Std`:
https://github.com/leanprover/std4/blob/a756b7d643ae5dcd7bf314e99f8e493e5d81b9ed/Std/Data/List/Lemmas.lean#L94-L96

This PR makes it an alias.



Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Louddy pushed a commit that referenced this pull request Apr 15, 2024
`List.mem_split` duplicates `List.append_of_mem` from `Std`:
https://github.com/leanprover/std4/blob/a756b7d643ae5dcd7bf314e99f8e493e5d81b9ed/Std/Data/List/Lemmas.lean#L94-L96

This PR makes it an alias.



Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
atarnoam pushed a commit that referenced this pull request Apr 16, 2024
`List.mem_split` duplicates `List.append_of_mem` from `Std`:
https://github.com/leanprover/std4/blob/a756b7d643ae5dcd7bf314e99f8e493e5d81b9ed/Std/Data/List/Lemmas.lean#L94-L96

This PR makes it an alias.



Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
uniwuni pushed a commit that referenced this pull request Apr 19, 2024
`List.mem_split` duplicates `List.append_of_mem` from `Std`:
https://github.com/leanprover/std4/blob/a756b7d643ae5dcd7bf314e99f8e493e5d81b9ed/Std/Data/List/Lemmas.lean#L94-L96

This PR makes it an alias.



Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
callesonne pushed a commit that referenced this pull request Apr 22, 2024
`List.mem_split` duplicates `List.append_of_mem` from `Std`:
https://github.com/leanprover/std4/blob/a756b7d643ae5dcd7bf314e99f8e493e5d81b9ed/Std/Data/List/Lemmas.lean#L94-L96

This PR makes it an alias.



Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

None yet

4 participants