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] - chore: delete Init.Data.Fin.Basic #15762

Closed
wants to merge 2 commits into from

Conversation

Parcly-Taxel
Copy link
Collaborator


Open in Gitpod

@Parcly-Taxel Parcly-Taxel added the tech debt Tracking cross-cutting technical debt, see e.g. the "Technical debt counters" stream on zulip label Aug 13, 2024
Copy link

github-actions bot commented Aug 13, 2024

PR summary d620d3df16

Import changes for modified files

Dependency changes

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.

Comment on lines -29 to -30
-- 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.
Copy link
Member

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.

Copy link
Member

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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

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.

Parcly-Taxel added a commit to Parcly-Taxel/lean4 that referenced this pull request Aug 13, 2024
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)
github-merge-queue bot pushed a commit to leanprover/lean4 that referenced this pull request Aug 14, 2024
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)
@kim-em
Copy link
Contributor

kim-em commented Aug 14, 2024

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Aug 14, 2024
mathlib-bors bot pushed a commit that referenced this pull request Aug 14, 2024
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Aug 14, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: delete Init.Data.Fin.Basic [Merged by Bors] - chore: delete Init.Data.Fin.Basic Aug 14, 2024
@mathlib-bors mathlib-bors bot closed this Aug 14, 2024
@mathlib-bors mathlib-bors bot deleted the del-idfb branch August 14, 2024 02:32
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 9, 2024
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has been sent to bors. tech debt Tracking cross-cutting technical debt, see e.g. the "Technical debt counters" stream on zulip
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants