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(*): do not nolint simp_nf #2734

Closed
wants to merge 1 commit into from
Closed

Conversation

gebner
Copy link
Member

@gebner gebner commented May 18, 2020

The nolint simp_nf for subgroup.coe_coe was hiding an actual nontermination issue. Please just ping me if you're unsure about the simp_nf linter.

@bryangingechen
Copy link
Collaborator

@digama0 and I discussed some related simp_nf lints briefly here.

Since this PR removes the division_ring versions of inv_zero and div_zero, should we also remove the previously-discussed inv_one, div_one, zero_div and inv_inv' from algebra.field?

@gebner
Copy link
Member Author

gebner commented May 18, 2020

Ok, I missed the discussion. There was just too much going on on zulip.

should we also remove the previously-discussed inv_one, div_one, zero_div and inv_inv' from algebra.field?

I think so but maybe in another PR. There's a lot of lemmas in group_with_zero that we could unprime.

The message doesn't give any hints as to which lemma is bad

@digama0 Do you remember what this was about? The linter output clearly calls out both lemmas involved in the issue:

#print inv_one /- simp can prove this:
  by simp only [inv_one']
One of the lemmas above could be a duplicate.
If that's not the case try reordering lemmas or adding @[priority].
 -/

@robertylewis robertylewis added the awaiting-review The author would like community review of the PR label May 19, 2020
@robertylewis
Copy link
Member

I think this is a good change and as Gabriel says, more unpriming can happen later.

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 May 21, 2020
bors bot pushed a commit that referenced this pull request May 21, 2020
The `nolint simp_nf` for `subgroup.coe_coe` was hiding an actual nontermination issue.  Please just ping me if you're unsure about the `simp_nf` linter.
@bors
Copy link

bors bot commented May 21, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title fix(*): do not nolint simp_nf [Merged by Bors] - fix(*): do not nolint simp_nf May 21, 2020
@bors bors bot closed this May 21, 2020
@bors bors bot deleted the nsnnl branch May 21, 2020 22:09
cipher1024 pushed a commit to cipher1024/mathlib that referenced this pull request Mar 15, 2022
The `nolint simp_nf` for `subgroup.coe_coe` was hiding an actual nontermination issue.  Please just ping me if you're unsure about the `simp_nf` linter.
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

4 participants