feat(Algebra/Algebra/Operations): add Submodule.mul_eq_bot#37626
feat(Algebra/Algebra/Operations): add Submodule.mul_eq_bot#37626NoahW314 wants to merge 7 commits intoleanprover-community:masterfrom
Submodule.mul_eq_bot#37626Conversation
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. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. 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 summary 63868fe5baImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
lgtm |
|
|
||
| instance [NoZeroDivisors R] : NoZeroDivisors (Ideal R) where | ||
| eq_zero_or_eq_zero_of_mul_eq_zero := mul_eq_bot.1 | ||
| theorem mul_eq_bot [NoZeroDivisors R] : I * J = ⊥ ↔ I = ⊥ ∨ J = ⊥ := Submodule.mul_eq_bot |
| obtain ⟨Wy, h_Wy_le, h_Wx_ne⟩ := hgt (M + span A {y}) (lt_add _ hy) (ne_bot_of_gt (lt_add _ hy)) | ||
| use Wx + Wy | ||
| rw [Multiset.map_add, Multiset.prod_add] | ||
| refine ⟨le_trans (mul_le_mul' h_Wx_le h_Wy_le) ?_, mt Ideal.mul_eq_bot.mp ?_⟩ |
There was a problem hiding this comment.
I guess this change can now be reverted?
bors d+
Thanks!
|
✌️ NoahW314 can now approve this pull request. To approve and merge a pull request, simply reply with |
Generalize
Ideal.mul_eq_botto work for submodules as well.