This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 298
[Merged by Bors] - feat(data/nat/modeq): add modeq and dvd lemmas from Apostol Chapter 5 #11787
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Are we sure these theorems or anything similar to them aren't in mathlib already? They all seem pretty basic. |
They do, but I couldn't resolve them with |
vihdzp
suggested changes
Feb 3, 2022
stuart-presnell
added
the
awaiting-review
The author would like community review of the PR
label
Feb 4, 2022
@vihdzp I think I've addressed all your comments now. Thanks very much for your helpful suggestions, especially the suggested lemma names. |
kmill
reviewed
Feb 8, 2022
kmill
reviewed
Feb 8, 2022
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.
As far as I can tell, these are new lemmas, thanks.
kmill
changed the title
feat(data/nat/modeq): various lemmas from Apostol Chapter 5
feat(data/nat/modeq): add modeq and dvd lemmas from Apostol Chapter 5
Feb 9, 2022
Thanks @stuart-presnell for the PR and @vihdzp for the detailed review! bors merge |
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
Feb 15, 2022
bors bot
pushed a commit
that referenced
this pull request
Feb 15, 2022
…#11787) Various lemmas about `modeq` from Chapter 5 of Apostol (1976) Introduction to Analytic Number Theory: * `mul_left_iff` and `mul_right_iff`: Apostol, Theorem 5.3 * `dvd_iff_of_modeq_of_dvd`: Apostol, Theorem 5.5 * `gcd_eq_of_modeq`: Apostol, Theorem 5.6 * `eq_of_modeq_of_abs_lt`: Apostol, Theorem 5.7 * `modeq_cancel_left_div_gcd`: Apostol, Theorem 5.4; plus other cancellation lemmas following from this.
Pull request successfully merged into master. Build succeeded: |
bors
bot
changed the title
feat(data/nat/modeq): add modeq and dvd lemmas from Apostol Chapter 5
[Merged by Bors] - feat(data/nat/modeq): add modeq and dvd lemmas from Apostol Chapter 5
Feb 15, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
ready-to-merge
All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Various lemmas about
modeq
from Chapter 5 of Apostol (1976) Introduction to Analytic Number Theory:mul_left_iff
andmul_right_iff
: Apostol, Theorem 5.3dvd_iff_of_modeq_of_dvd
: Apostol, Theorem 5.5gcd_eq_of_modeq
: Apostol, Theorem 5.6eq_of_modeq_of_abs_lt
: Apostol, Theorem 5.7modeq_cancel_left_div_gcd
: Apostol, Theorem 5.4; plus other cancellation lemmas following from this.