Skip to content

Commit 39ca77e

Browse files
committed
doc(RingTheory): fix local ring doc comment (#39765)
The predicate for local rings was updated to the current definition on non-commutative semirings back in mathlib3, but the outdated comment stating that local rings are commutative rings with a unique maximal ideal has not been updated since.
1 parent bbd0fbe commit 39ca77e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Mathlib/RingTheory/LocalRing/Defs.lean

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ public import Mathlib.Algebra.Ring.Defs
1212
1313
# Local rings
1414
15-
Define local rings as commutative rings having a unique maximal ideal.
15+
Define the notion of a local ring for non-commutative semirings. In the commutative case,
16+
this is shown to be equivalent to the familiar definition that there exists a unique
17+
maximal ideal in `IsLocalRing.of_unique_max_ideal` and `IsLocalRing.maximal_ideal_unique`.
1618
1719
## Main definitions
1820
1921
* `IsLocalRing`: A predicate on semirings, stating that for any pair of elements that
20-
adds up to `1`, one of them is a unit. In the commutative case this is shown to be equivalent
21-
to the condition that there exists a unique maximal ideal, see
22-
`IsLocalRing.of_unique_max_ideal` and `IsLocalRing.maximal_ideal_unique`.
22+
adds up to `1`, one of them is a unit.
2323
2424
-/
2525

0 commit comments

Comments
 (0)