The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V10. Commutative algebra II: valuations, Dedekind domains, local algebra

Mathlib.RingTheory.LocalRing.Defs

4 declarations. Mathlib docs · Source

class IsLocalRing E3 #

(R : Type u_1) → [Semiring R] → Prop

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.

instance IsLocalRing.toNontrivial E0 #

∀ {R : Type u_1} {inst : Semiring R} [self : IsLocalRing R], Nontrivial R

ctor IsLocalRing.of_is_unit_or_is_unit_of_add_one E0 #

∀ {R : Type u_1} [inst : Semiring R] [toNontrivial : Nontrivial R],
  (∀ {a b : R}, a + b = 1 → IsUnit a ∨ IsUnit b) → IsLocalRing R

theorem IsLocalRing.isUnit_or_isUnit_of_add_one E1 #

∀ {R : Type u_1} {inst : Semiring R} [self : IsLocalRing R] {a b : R}, a + b = 1 → IsUnit a ∨ IsUnit b

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.