[Merged by Bors] - feat(RingTheory/Radical): Theorems for coprime elements + alpha#15331
[Merged by Bors] - feat(RingTheory/Radical): Theorems for coprime elements + alpha#15331
Conversation
PR summary 024a80ca52Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
Mathlib/RingTheory/Radical.lean
Outdated
| -- Theorems for commutative rings | ||
|
|
||
| -- TODO: This holds for "nontrivial" monoids - do not need ring assumption. | ||
| theorem radical_ne_zero (a : R) : radical a ≠ 0 := by |
There was a problem hiding this comment.
Yes, please state it in the generality that works.
Mathlib/RingTheory/Radical.lean
Outdated
| rw [Finset.prod_disjUnion (disjoint_primeFactors hc)] | ||
|
|
||
| theorem radical_neg {a : R} : radical (-a) = radical a := | ||
| neg_one_mul a ▸ (radical_eq_of_associated <| associated_unit_mul_left a (-1) isUnit_one.neg) |
There was a problem hiding this comment.
I thought I added a lemma that a and -a are associated at some point. Can you please look for it?
There was a problem hiding this comment.
I'm looking at Algebra.Associated.Basic now, and I can find neg_left or neg_right which can be used combined with rfl, but not exactly something like Associated (-a) a. Should I look for different file?
There was a problem hiding this comment.
radical_eq_of_associated (.neg_right .rfl) (or some thing similar; not tested) is still shorter than this though.
There was a problem hiding this comment.
@erdOne Just updated - radical_eq_of_associated Associated.rfl.neg_left worked!
Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com>
|
@Ruben-VandeVelde Hi, let me know if there are anything that I may update, thanks! |
Mathlib/RingTheory/Radical.lean
Outdated
| rw [Finset.prod_disjUnion (disjoint_primeFactors hc)] | ||
|
|
||
| theorem radical_neg {a : R} : radical (-a) = radical a := | ||
| neg_one_mul a ▸ (radical_eq_of_associated <| associated_unit_mul_left a (-1) isUnit_one.neg) |
There was a problem hiding this comment.
radical_eq_of_associated (.neg_right .rfl) (or some thing similar; not tested) is still shorter than this though.
Co-authored-by: Andrew Yang <36414270+erdOne@users.noreply.github.com>
…er-community/mathlib4 into feature/element-radical-coprime
|
✌️ seewoo5 can now approve this pull request. To approve and merge a pull request, simply reply with |
Co-authored-by: Johan Commelin <johan@commelin.net>
|
bors r+ |
Co-authored-by: Jineon Baek <jcpaik@jcpaik-desktop.local> Co-authored-by: Seewoo Lee <49933279+seewoo5@users.noreply.github.com>
|
Pull request successfully merged into master. Build succeeded: |
More theorems on element radical, especially multiplicativity of radical for coprime elements.
radicaltoUniqueFactorizationDomain#15826