-
Notifications
You must be signed in to change notification settings - Fork 373
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: delete Init.Data.Fin.Basic
#15762
Conversation
Parcly-Taxel
commented
Aug 13, 2024
PR summary d620d3df16
|
File | Base Count | Head Count | Change |
---|---|---|---|
Mathlib.Init.Data.Fin.Basic | 1 | 0 | -1 (-100.00%) |
Mathlib.Data.List.Nodup | 329 | 328 | -1 (-0.30%) |
Mathlib.Data.List.Range | 335 | 334 | -1 (-0.30%) |
Import changes for all files
Files | Import difference |
---|---|
There are 3292 files with changed transitive imports: this is too many to display! |
Declarations diff
No declarations were harmed in the making of this PR! 🐙
You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>
The doc-module for script/declarations_diff.sh
contains some details about this script.
-- These two aren't deprecated because `ne_of_val_ne` and `val_ne_of_ne` | ||
-- use `¬a = b` instead of `a ≠ b`. TODO: fix or rename in Lean core. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment has not been addressed. But seemingly this syntactic difference does not cause any problems in mathlib.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we open a PR to core that changes these two lemmas to use ≠
? That seems uncontroversial to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've merged this now.
Instead of a `Not (Eq …)` term use the proper `≠` in `Fin.ne_of_val_ne`, to make it symmetric with `Fin.val_ne_of_ne`, and move the former to the same place as the latter. This answers a query of @eric-weiser at leanprover-community/mathlib4#15762 (comment)
Instead of a `Not (Eq …)` term use the proper `≠` in `Fin.ne_of_val_ne`, to make it symmetric with `Fin.val_ne_of_ne`, and move the former to the same place as the latter. This answers a query of @eric-wieser at leanprover-community/mathlib4#15762 (comment)
bors merge |
Pull request successfully merged into master. Build succeeded: |
Init.Data.Fin.Basic
Init.Data.Fin.Basic