Step 54 / 64

Master’s level

Rings with one gate

A local ring keeps a single maximal ideal: everything outside it is invertible.

Start with a concrete example

In ordinary integers, 5+(−4)=1, but neither 5 nor −4 has an integer reciprocal. A local ring satisfies a rule that forbids this pattern: if two elements add to 1, at least one has a multiplicative inverse.

A small check: try the idea

Think with the concrete example above. You can try again.

In the ordinary integers, are 5 and −4 invertible merely because their sum is 1?

Read the answer and reasoning

No; neither has an integer reciprocal. 1/5 and −1/4 are not integers. This example is why the integers fail the displayed local-ring condition.

Build the idea in three steps

  1. A unit is an element with a true inverse: in ℤ only ±1; in the Eisenstein world the six rotations; on a prime clock, every nonzero card. A ring is local when it keeps exactly one gate: a single collection m of non-units, and everything outside it can be inverted.
  2. The displayed definition compresses the gate into one compact promise: whenever a + b = 1, at least one of a and b must be a unit. If two separate gates existed, one could split one between them and break the promise — so one promise forges exactly one maximal ideal.
  3. The endgame speaks local throughout: the deformation-ring and R = T excerpts both carry [IsLocalRing A] in their hypothesis rows. Dividing a local ring by its gate gives the residue field — the tiny world where residual data is read and matched.

A small example

ℤ fails the test: a = 5 and b = −4 satisfy a + b = 1, and neither is a unit — ℤ has a gate at every prime. The ℓ-adic world ℤ_ℓ passes: its elements invert exactly when ℓ does not divide them, so of any pair summing to one, at least one is outside the gate.

Lean definition · original excerpt

Mathlib · db584cd · Defs.lean

/-- A semiring is local if it is nontrivial and `a` or `b` is a unit whenever `a + b = 1`.Note that `IsLocalRing` is a predicate. -/@[wikidata Q1142704]class IsLocalRing (R : Type*) [Semiring R] : Prop extends Nontrivial R where  of_is_unit_or_is_unit_of_add_one ::  /-- in a local ring `R`, if `a + b = 1`, then either `a` is a unit or `b` is a unit. In another  word, for every `a : R`, either `a` is a unit or `1 - a` is a unit. -/  isUnit_or_isUnit_of_add_one {a b : R} (h : a + b = 1) : IsUnit a ∨ IsUnit b

How to read this Lean

The class combines Nontrivial with isUnit_or_isUnit_of_add_one. For a commutative ring this characterizes having exactly one maximal ideal. A quotient by a proper ideal is again local. The deformation and patching arguments explicitly require local-ring hypotheses; they do not make every polynomial ring or arbitrary localization local.

Where this idea is used

12. The workshops agree13. Pip’s impossible quilt
I’m lost · Help

Mika’s help desk

Rings with one gate

One thing at a time

Read the three explanation steps first. The Lean source is there for a closer look afterwards; you do not have to read it first.

In simpler words

A local ring keeps a single maximal ideal: everything outside it is invertible.

Earlier ideas are listed under “Start with these ideas” on this page.

A small clue

ℤ fails the test: a = 5 and b = −4 satisfy a + b = 1, and neither is a unit — ℤ has a gate at every prime. The ℓ-adic world ℤ_ℓ passes: its elements invert exactly when ℓ does not divide them, so of any pair summing to one, at least one is outside the gate.

Close this panel to return to the exact place you were reading. These are prepared hints for this page.

Start with the first small story →