Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 1c4b5ec

Browse files
committed
feat(ring_theory/ideals): quotient map to residue field as ring hom (#2597)
1 parent 14aa1f7 commit 1c4b5ec

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/ring_theory/ideals.lean

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,11 +479,15 @@ variables [local_ring α] [local_ring β]
479479
variable (α)
480480
def residue_field := (nonunits_ideal α).quotient
481481

482-
namespace residue_field
483-
484-
noncomputable instance : field (residue_field α) :=
482+
noncomputable instance residue_field.field : field (residue_field α) :=
485483
ideal.quotient.field (nonunits_ideal α)
486484

485+
/-- The quotient map from a local ring to it's residue field. -/
486+
def residue : α →+* (residue_field α) :=
487+
ideal.quotient.mk_hom _
488+
489+
namespace residue_field
490+
487491
variables {α β}
488492
noncomputable def map (f : α →+* β) [is_local_ring_hom f] :
489493
residue_field α →+* residue_field β :=

0 commit comments

Comments
 (0)