# Definition of nilpotent elements #

This file defines the notion of a nilpotent element and proves the immediate consequences. For results that require further theory, see Mathlib.RingTheory.Nilpotent.Basic and Mathlib.RingTheory.Nilpotent.Lemmas.

## Main definitions #

• IsNilpotent
• Commute.isNilpotent_mul_left
• Commute.isNilpotent_mul_right
• nilpotencyClass
def IsNilpotent {R : Type u_1} [Zero R] [Pow R ] (x : R) :

An element is said to be nilpotent if some natural-number-power of it equals zero.

Note that we require only the bare minimum assumptions for the definition to make sense. Even MonoidWithZero is too strong since nilpotency is important in the study of rings that are only power-associative.

Equations
Instances For
theorem IsNilpotent.mk {R : Type u_1} [Zero R] [Pow R ] (x : R) (n : ) (e : x ^ n = 0) :
@[simp]
theorem isNilpotent_of_subsingleton {R : Type u_1} {x : R} [Zero R] [Pow R ] [] :
@[simp]
theorem IsNilpotent.zero {R : Type u_1} [] :
theorem not_isNilpotent_one {R : Type u_1} [] [] :
theorem IsNilpotent.pow_succ (n : ) {S : Type u_3} [] {x : S} (hx : ) :
IsNilpotent (x ^ n.succ)
theorem IsNilpotent.of_pow {R : Type u_1} [] {x : R} {m : } (h : IsNilpotent (x ^ m)) :
theorem IsNilpotent.pow_of_pos {n : } {S : Type u_3} [] {x : S} (hx : ) (hn : n 0) :
@[simp]
theorem IsNilpotent.pow_iff_pos {n : } {S : Type u_3} [] {x : S} (hn : n 0) :
theorem IsNilpotent.map {R : Type u_1} {S : Type u_2} [] [] {r : R} {F : Type u_3} [FunLike F R S] [] (hr : ) (f : F) :
theorem IsNilpotent.map_iff {R : Type u_1} {S : Type u_2} [] [] {r : R} {F : Type u_3} [FunLike F R S] [] {f : F} (hf : ) :
theorem IsUnit.isNilpotent_mul_unit_of_commute_iff {R : Type u_1} [] {r : R} {u : R} (hu : ) (h_comm : Commute r u) :
theorem IsUnit.isNilpotent_unit_mul_of_commute_iff {R : Type u_1} [] {r : R} {u : R} (hu : ) (h_comm : Commute r u) :
noncomputable def nilpotencyClass {R : Type u_1} (x : R) [Zero R] [Pow R ] :

If x is nilpotent, the nilpotency class is the smallest natural number k such that x ^ k = 0. If x is not nilpotent, the nilpotency class takes the junk value 0.

Equations
Instances For
@[simp]
theorem nilpotencyClass_eq_zero_of_subsingleton {R : Type u_1} {x : R} [Zero R] [Pow R ] [] :
theorem isNilpotent_of_pos_nilpotencyClass {R : Type u_1} {x : R} [Zero R] [Pow R ] (hx : ) :
theorem pow_nilpotencyClass {R : Type u_1} {x : R} [Zero R] [Pow R ] (hx : ) :
= 0
theorem nilpotencyClass_eq_succ_iff {R : Type u_1} {x : R} [] {k : } :
= k + 1 x ^ (k + 1) = 0 x ^ k 0
@[simp]
theorem nilpotencyClass_zero {R : Type u_1} [] [] :
@[simp]
theorem pos_nilpotencyClass_iff {R : Type u_1} {x : R} [] [] :
theorem pow_pred_nilpotencyClass {R : Type u_1} {x : R} [] [] (hx : ) :
x ^ ( - 1) 0
theorem eq_zero_of_nilpotencyClass_eq_one {R : Type u_1} {x : R} [] (hx : ) :
x = 0
@[simp]
theorem nilpotencyClass_eq_one {R : Type u_1} {x : R} [] [] :
x = 0
theorem isReduced_iff (R : Type u_3) [Zero R] [Pow R ] :
∀ (x : R), x = 0
class IsReduced (R : Type u_3) [Zero R] [Pow R ] :

A structure that has zero and pow is reduced if it has no nonzero nilpotent elements.

• eq_zero : ∀ (x : R), x = 0

A reduced structure has no nonzero nilpotent elements.

Instances
theorem IsReduced.eq_zero {R : Type u_3} [Zero R] [Pow R ] [self : ] (x : R) :
x = 0

A reduced structure has no nonzero nilpotent elements.

@[instance 900]
instance isReduced_of_noZeroDivisors {R : Type u_1} [] [] :
Equations
• =
@[instance 900]
instance isReduced_of_subsingleton {R : Type u_1} [Zero R] [Pow R ] [] :
Equations
• =
theorem IsNilpotent.eq_zero {R : Type u_1} {x : R} [Zero R] [Pow R ] [] (h : ) :
x = 0
@[simp]
theorem isNilpotent_iff_eq_zero {R : Type u_1} {x : R} [] [] :
x = 0
theorem isReduced_of_injective {R : Type u_1} {S : Type u_2} [] [] {F : Type u_3} [FunLike F R S] [] (f : F) (hf : ) [] :
instance instIsReducedForall (ι : Type u_4) (R : ιType u_3) [(i : ι) → Zero (R i)] [(i : ι) → Pow (R i) ] [∀ (i : ι), IsReduced (R i)] :
IsReduced ((i : ι) → R i)
Equations
• =
def IsRadical {R : Type u_1} [Dvd R] [Pow R ] (y : R) :

An element y in a monoid is radical if for any element x, y divides x whenever it divides a power of x.

Equations
Instances For
theorem isRadical_iff_pow_one_lt {R : Type u_1} {y : R} [] (k : ) (hk : 1 < k) :
∀ (x : R), y x ^ ky x
theorem Commute.isNilpotent_mul_left {R : Type u_1} {x : R} {y : R} [] (h_comm : Commute x y) (h : ) :
theorem Commute.isNilpotent_mul_right {R : Type u_1} {x : R} {y : R} [] (h_comm : Commute x y) (h : ) :