Commit 2025-07-22 20:14 75b9c0d2
View on Github →fix(NonZeroDivisors): swap left and right (#27224) Towards #22997 (see also zulip):
- Swap the definitions of
nonZeroDivisorsLeftandnonZeroDivisorsRight, so as to conform to the convention in the literature (see https://en.wikipedia.org/wiki/Zero_divisor) and connects to mathlib'sIsLeftRegularandIsRightRegularrespectively without the presence of commutativity hypotheses. - Redefine
nonZeroDivisorsto be the intersection ofnonZeroDivisorsLeftandnonZeroDivisorsRight, in analogy withIsRegular. - Swap
Commute.isNilpotent_mul_left/right(_iff)as the names were also contrary to convention. (If the statements are left unchanged then the proofs need to be changed.)