Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/Mathlib/RingTheory/LocalRing/MaximalIdeal/     Datei vom 15.10.2026 mit Größe 760 B image not shown  

Quelle  Defs.lean   Sprache: Lean

 

/-
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

Messung
CHZG
9210010097

¤ Dauer der Verarbeitung: 0.2 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland