Idempotent elements of a group with zero #
@[instance_reducible]
@[simp]
theorem IsIdempotentElem.iff_eq_zero_or_one {G₀ : Type u_2} [MonoidWithZero G₀] [IsLeftCancelMulZero G₀] {p : G₀} :
theorem IsIdempotentElem.eq_zero_or_one {G₀ : Type u_2} [MonoidWithZero G₀] [IsLeftCancelMulZero G₀] {p : G₀} :
IsIdempotentElem p → p = 0 ∨ p = 1
Alias of the forward direction of IsIdempotentElem.iff_eq_zero_or_one.