[Merged by Bors] - feat: isCoprime_mul_units_left, isCoprime_mul_units_right#19133
[Merged by Bors] - feat: isCoprime_mul_units_left, isCoprime_mul_units_right#19133
isCoprime_mul_units_left, isCoprime_mul_units_right#19133Conversation
PR summary 57594724f1Import 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
|
|
There are two things that I can do further (but not sure if it worths to do):
|
Ruben-VandeVelde
left a comment
There was a problem hiding this comment.
I probably would suggest reproving isCoprime_mul_unit_left/right, yes
Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com>
| theorem isCoprime_mul_unit_left (hu : IsUnit x) (y z : R) : | ||
| IsCoprime (x * y) (x * z) ↔ IsCoprime y z := | ||
| isCoprime_mul_units_left hu hu _ _ | ||
|
|
||
| theorem isCoprime_mul_unit_right (hu : IsUnit x) (y z : R) : | ||
| IsCoprime (y * x) (z * x) ↔ IsCoprime y z := | ||
| (isCoprime_mul_unit_right_left hu y (z * x)).trans (isCoprime_mul_unit_right_right hu y z) | ||
| isCoprime_mul_units_right hu hu _ _ |
There was a problem hiding this comment.
Would it be better to remove these two lemmas and add deprecated aliases pointing to your lemmas?
There was a problem hiding this comment.
No, I don't think so
Ruben-VandeVelde
left a comment
There was a problem hiding this comment.
Thanks!
maintainer merge
| theorem isCoprime_mul_unit_left (hu : IsUnit x) (y z : R) : | ||
| IsCoprime (x * y) (x * z) ↔ IsCoprime y z := | ||
| isCoprime_mul_units_left hu hu _ _ | ||
|
|
||
| theorem isCoprime_mul_unit_right (hu : IsUnit x) (y z : R) : | ||
| IsCoprime (y * x) (z * x) ↔ IsCoprime y z := | ||
| (isCoprime_mul_unit_right_left hu y (z * x)).trans (isCoprime_mul_unit_right_right hu y z) | ||
| isCoprime_mul_units_right hu hu _ _ |
There was a problem hiding this comment.
No, I don't think so
|
🚀 Pull request has been placed on the maintainer queue by Ruben-VandeVelde. |
Co-authored-by: Seewoo Lee <49933279+seewoo5@users.noreply.github.com>
|
Pull request successfully merged into master. Build succeeded: |
isCoprime_mul_units_left, isCoprime_mul_units_rightisCoprime_mul_units_left, isCoprime_mul_units_right
Add
isCoprime_mul_units_leftandisCoprime_mul_units_right. These are slight generalizations of same unit versionisCoprime_mul_unit_leftandisCoprime_mul_unit_right. Currently exists as a lemma in #18882.