Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Mathlib/RingTheory/Nilpotent/Defs.lean
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,20 @@ theorem IsUnit.isNilpotent_unit_mul_of_commute_iff [MonoidWithZero R] {r u : R}
IsNilpotent (u * r) ↔ IsNilpotent r :=
h_comm ▸ hu.isNilpotent_mul_unit_of_commute_iff h_comm

@[simp]
theorem isNilpotent_op [MonoidWithZero R] {x : R} :
IsNilpotent (MulOpposite.op x) ↔ IsNilpotent x := by
simp_rw [IsNilpotent, ← MulOpposite.op_pow, MulOpposite.op_eq_zero_iff]

alias ⟨_, IsNilpotent.op⟩ := isNilpotent_op

@[simp]
theorem isNilpotent_unop [MonoidWithZero R] {x : Rᵐᵒᵖ} :
IsNilpotent (MulOpposite.unop x) ↔ IsNilpotent x :=
isNilpotent_op.symm

alias ⟨_, IsNilpotent.unop⟩ := isNilpotent_unop

section NilpotencyClass

section ZeroPow
Expand Down Expand Up @@ -120,6 +134,13 @@ end MonoidWithZero

end NilpotencyClass

@[simp]
theorem isReduced_mulOpposite_iff [MonoidWithZero R] : IsReduced Rᵐᵒᵖ ↔ IsReduced R := by
simp [isReduced_iff]

instance [MonoidWithZero R] [IsReduced R] : IsReduced Rᵐᵒᵖ :=
isReduced_mulOpposite_iff.mpr ‹_›

theorem isReduced_of_injective [MonoidWithZero R] [MonoidWithZero S] {F : Type*}
[FunLike F R S] [MonoidWithZeroHomClass F R S]
(f : F) (hf : Function.Injective f) [IsReduced S] :
Expand Down
Loading