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] - fix(*): remove some simp lemmas #6541

Closed
wants to merge 2 commits into from

Conversation

fpvandoorn
Copy link
Member

@fpvandoorn fpvandoorn commented Mar 4, 2021

All of these simp lemmas are also declared in core.
Maybe one of the copies can be removed in a future PR, but this PR is just to remove the duplicate simp attributes.

This is part of fixing linting problems in core, done in leanprover-community/lean#545.
Most of the duplicate simp lemmas are fixed in core, but I prefer to remove the simp attribute here in mathlib if the simp lemmas were already used in core.

These are all already declared in core
@fpvandoorn fpvandoorn added the awaiting-review The author would like community review of the PR label Mar 4, 2021
@bryangingechen
Copy link
Collaborator

If there's duplication between mathlib and core that we're not addressing now, maybe the duplicate lemmas should be tagged with "TODO" comments?

@bryangingechen
Copy link
Collaborator

Thanks!
bors r+

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Mar 5, 2021
bors bot pushed a commit that referenced this pull request Mar 5, 2021
All of these simp lemmas are also declared in core. 
Maybe one of the copies can be removed in a future PR, but this PR is just to remove the duplicate simp attributes.

This is part of fixing linting problems in core, done in leanprover-community/lean#545. 
Most of the duplicate simp lemmas are fixed in `core`, but I prefer to remove the simp attribute here in mathlib if the simp lemmas were already used in core.
@bors
Copy link

bors bot commented Mar 5, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title fix(*): remove some simp lemmas [Merged by Bors] - fix(*): remove some simp lemmas Mar 5, 2021
@bors bors bot closed this Mar 5, 2021
@bors bors bot deleted the core_lint branch March 5, 2021 08:42
b-mehta pushed a commit that referenced this pull request Apr 2, 2021
All of these simp lemmas are also declared in core. 
Maybe one of the copies can be removed in a future PR, but this PR is just to remove the duplicate simp attributes.

This is part of fixing linting problems in core, done in leanprover-community/lean#545. 
Most of the duplicate simp lemmas are fixed in `core`, but I prefer to remove the simp attribute here in mathlib if the simp lemmas were already used in core.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants