feat(NumberTheory/Divisors): Add infinite_setOf_divisors_iff#35805
feat(NumberTheory/Divisors): Add infinite_setOf_divisors_iff#35805adrianmartir wants to merge 2 commits intoleanprover-community:masterfrom
infinite_setOf_divisors_iff#35805Conversation
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. 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 https://leanprover.zulipchat.com/, introduce yourself, and mention your new PR. Thank you again for joining our community. |
✅ PR Title Formatted CorrectlyThe title of this PR has been updated to match our commit style conventions. |
PR summary 0fbcb39f55Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diff
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 No changes to technical debt.You can run this locally as
|
infinite_setOf_divisors.infinite_setOf_divisors
|
The pr description is a bit confusing! It should have the other part of the iff in. And this should probably be a @[simp] lemma |
infinite_setOf_divisorsinfinite_setOf_divisors_iff
369c54f to
5aefc07
Compare
|
Indeed, I had written the PR description incorrectly. I fixed it now, renamed the lemma and added it as a simp lemma. I also wasn't sure if this was the best place to put the lemma, since the file is mainly about I also do have an integer version for the lemma, which I did not include here. |
This proves that the set of divisors
{ m | m | n }of a natural numbernis infinite if and only ifnis zero. The first proof draft was by @Aristotle-Harmonic.