Skip to content

chore: remove unnecessary % operations at Fin.mod and Fin.div#2688

Merged
leodemoura merged 2 commits intomasterfrom
finModDiv
Oct 21, 2023
Merged

chore: remove unnecessary % operations at Fin.mod and Fin.div#2688
leodemoura merged 2 commits intomasterfrom
finModDiv

Conversation

@leodemoura
Copy link
Copy Markdown
Member

We now have the missing proofs Nat.mod_le and Nat.div_le_self in core.
See: leanprover-community/batteries#286 (comment)

We now have the missing proofs `Nat.mod_le` and `Nat.div_le_self` in
core.
See:
leanprover-community/batteries#286 (comment)
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Oct 15, 2023
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request Oct 15, 2023
@ghost ghost added the breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan label Oct 15, 2023
@ghost
Copy link
Copy Markdown

ghost commented Oct 15, 2023

@digama0
Copy link
Copy Markdown
Collaborator

digama0 commented Oct 15, 2023

This will have a fair amount of fallout in mathlib.

@leodemoura
Copy link
Copy Markdown
Member Author

This will have a fair amount of fallout in mathlib.

There is no rush to merge this PR. It is here just to address a suggestion at leanprover-community/batteries#286

ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request Oct 15, 2023
@digama0
Copy link
Copy Markdown
Collaborator

digama0 commented Oct 16, 2023

(I am in favor of the change, but it seems low priority and will need some mathlib cleanup. Maybe when Scott has some free time... 😉 )

@kim-em kim-em self-assigned this Oct 16, 2023
kim-em added a commit to leanprover-community/batteries that referenced this pull request Oct 16, 2023
@kim-em
Copy link
Copy Markdown
Collaborator

kim-em commented Oct 16, 2023

Strangely, it required only trivial cleanup in Std, and then nothing in Mathlib!

@ghost ghost added builds-mathlib CI has verified that Mathlib builds against this PR and removed breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan labels Oct 16, 2023
@leodemoura leodemoura merged commit 52f1000 into master Oct 21, 2023
kim-em added a commit to leanprover-community/batteries that referenced this pull request Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-mathlib CI has verified that Mathlib builds against this PR toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants