/-
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.MaximalIdeal.Basic
/-!
# Residue Field of local rings
## Main definitions
* `IsLocalRing.ResidueField`: The quotient of a local ring by its maximal ideal.
* `IsLocalRing.residue`: The quotient map from a local ring to its residue field.
-/
@[expose] public section
namespace IsLocalRing
variable (R : Type*) [CommRing R] [IsLocalRing R]
/-- The residue field of a local ring is the quotient of the ring by its maximal ideal. -/
@[wikidata Q7315530]
def ResidueField :=
R ⧸ maximalIdeal R
deriving CommRing, Inhabited
noncomputable instance ResidueField.field : Field (ResidueField R) :=
fast_instance% Ideal.Quotient.field (maximalIdeal R)
/-- The quotient map from a local ring to its residue field. -/
def residue : R →+* ResidueField R :=
Ideal.Quotient.mk _
end IsLocalRing
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland