Repository navigation
[Merged by Bors] - chore(Data/Fintype/Defs): remove unnecessary variable in instance - #43862
Julian-Kuelshammer wants to merge 6 commits into
Conversation
Welcome new contributor!Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the If you haven't already done so, please come to Zulip and join the Lean community. |
PR summary b039193c4aImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
|
||
| instance decidableMemRangeFintype [Fintype α] [DecidableEq β] (f : α → β) : | ||
| DecidablePred (· ∈ Set.range f) := fun _ => Fintype.decidableExistsFintype | ||
| DecidablePred (· ∈ Set.range f) := fun _ ↦ Fintype.decidableExistsFintype |
There was a problem hiding this comment.
I wouldn't do these changes. These are style changes, and there's no consensus on => vs ↦.
↦ is usually preferred for new statements/proofs, but we shouldn't be changing old code this way until there's a consensus.
There was a problem hiding this comment.
@themathqueen Thanks for the feedback, I have now reverted these changes and only removed the unnecessary variable.
|
awaiting-review |
|
-awaiting-author |
|
Thanks and welcome! maintainer merge |
|
🚀 Pull request has been placed on the maintainer queue by jjdishere. |
|
Thanks! bors merge |
…3862) In #43425, it was discovered that an instance contained an unnecessary variable. This is removed in this PR. Co-authored-by: Julian Kuelshammer <[email protected]>
|
Pull request successfully merged into master. Build succeeded: |
In #43425, it was discovered that an instance contained an unnecessary variable. This is removed in this PR.