/-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau, Chris Hughes, Mario Carneiro
-/
module
public import Mathlib.RingTheory.LocalRing.Basic
/-!
# 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.
-/
@[expose] public section
namespace IsLocalRing
variable (R : Type*) [CommSemiring R] [IsLocalRing R]
/-- The ideal of elements that are not units. -/
def maximalIdeal : Ideal R where
__ := nonunitsAddSubmonoid R
smul_mem' _ _ := mul_mem_nonunits_right
end IsLocalRing
¤ Dauer der Verarbeitung: 0.247 Sekunden
¤
*Bot Zugriff