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(data/finsupp/basic): add missing decidable argument #10649

Closed

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Dec 6, 2021

While finsupp.erase is classical and requires no decidability, finset.erase is not so.

Without this argument, this lemma does not apply in the general case, and introduces mismatching decidable instances. With it, a congr is no longer needed elsewhere in mathlib.


Open in Gitpod

While `finsupp.erase` is classical and requires no decidability, `finset.erase` is not so.
Without this argument, this lemma does not apply in the general case, and introduces mismatching decidable instances.
@eric-wieser eric-wieser added awaiting-review The author would like community review of the PR awaiting-CI The author would like to see what CI has to say before doing more work. labels Dec 6, 2021
@github-actions github-actions bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Dec 7, 2021
@urkud
Copy link
Member

urkud commented Dec 7, 2021

Thanks!
bors merge

@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 Dec 7, 2021
@bryangingechen
Copy link
Collaborator

bors r+

bors bot pushed a commit that referenced this pull request Dec 8, 2021
While `finsupp.erase` is classical and requires no decidability, `finset.erase` is not so.

Without this argument, this lemma does not apply in the general case, and introduces mismatching decidable instances. With it, a `congr` is no longer needed elsewhere in mathlib.
@bors
Copy link

bors bot commented Dec 8, 2021

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Dec 8, 2021
While `finsupp.erase` is classical and requires no decidability, `finset.erase` is not so.

Without this argument, this lemma does not apply in the general case, and introduces mismatching decidable instances. With it, a `congr` is no longer needed elsewhere in mathlib.
@bors
Copy link

bors bot commented Dec 8, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title fix(data/finsupp/basic): add missing decidable argument [Merged by Bors] - fix(data/finsupp/basic): add missing decidable argument Dec 8, 2021
@bors bors bot closed this Dec 8, 2021
@bors bors bot deleted the eric-wieser/finsupp.support_erase-decidable branch December 8, 2021 07:15
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