Maximal ideal of local rings #
We define the maximal ideal of a local ring as the ideal of all nonunits.
Main definitions #
IsLocalRing.maximalIdeal: The unique maximal ideal for a local rings. Its carrier set is the set of nonunits.
The ideal of elements that are not units.
Equations
- IsLocalRing.maximalIdeal R = let __spread.0 := IsLocalRing.nonunitsAddSubmonoid R; { toAddSubmonoid := __spread.0, smul_mem' := ⋯ }