Skip to content

Commit 26ccd1e

Browse files
committed
feat (Mathlib/Algebra/Regular/Basic.lean): Add lemmas on RightRegular (#9464)
A couple of lemmas on RightRegular that could be useful for future work on Localization
1 parent 401d914 commit 26ccd1e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Mathlib/Algebra/Regular/Basic.lean

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,15 @@ theorem IsLeftRegular.right_of_commute {a : R}
8888
fun x y xy => h <| (ca x).trans <| xy.trans <| (ca y).symm
8989
#align is_left_regular.right_of_commute IsLeftRegular.right_of_commute
9090

91+
theorem IsRightRegular.left_of_commute {a : R}
92+
(ca : ∀ b, Commute a b) (h : IsRightRegular a) : IsLeftRegular a := by
93+
simp_rw [@Commute.symm_iff R _ a] at ca
94+
exact fun x y xy => h <| (ca x).trans <| xy.trans <| (ca y).symm
95+
96+
theorem Commute.isRightRegular_iff {a : R} (ca : ∀ b, Commute a b) :
97+
IsRightRegular a ↔ IsLeftRegular a :=
98+
⟨IsRightRegular.left_of_commute ca, IsLeftRegular.right_of_commute ca⟩
99+
91100
theorem Commute.isRegular_iff {a : R} (ca : ∀ b, Commute a b) : IsRegular a ↔ IsLeftRegular a :=
92101
fun h => h.left, fun h => ⟨h, h.right_of_commute ca⟩⟩
93102
#align commute.is_regular_iff Commute.isRegular_iff

0 commit comments

Comments
 (0)