Local rings that are not commutative #
This file records basic facts about possibly noncommutative local rings. Their only idempotents
are 0 and 1, and locality transfers along a ring equivalence; these facts apply to endomorphism
rings in the Krull-Schmidt theorem. In characteristic two the idempotent criterion identifies the
zeros of the Artin–Schreier map t ↦ t² + t, without a finiteness assumption.
Main results #
TauCeti.IsLocalRing.eq_zero_or_eq_one_of_isIdempotentElem: an idempotent of a local ring is0or1.TauCeti.IsLocalRing.isDedekindFiniteMonoid: a local ring is Dedekind-finite.TauCeti.IsLocalRing.sq_add_self_eq_zero_iff: in characteristic two,t² + t = 0exactly whent = 0ort = 1.TauCeti.IsLocalRing.of_ringEquiv: a semiring equivalent to a local semiring is local.TauCeti.IsLocalRing.isUnit_natCast_of_not_dvd: if the primepis not a unit, every natural number prime topis a unit.
An idempotent of a local ring is 0 or 1. Mathlib's
IsLocalRing.isUnit_or_isUnit_one_sub_self is stated over a commutative ring, so the splitting of
1 = a + (1 - a) is taken here from IsLocalRing.isUnit_or_isUnit_of_isUnit_add, which holds over
any semiring.
A local ring is Dedekind-finite: a left inverse is also a right inverse.
A semiring equivalent to a local semiring is local. Mathlib's RingEquiv.isLocalRing asks the
source to be commutative, since it goes through IsLocalRing.of_surjective; transporting the
defining condition on a pair of elements summing to a unit needs no commutativity.