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.Spectrum.Prime.Defs

16 declarations. Mathlib docs · Source

Prime spectrum of a commutative (semi)ring as a type

The prime spectrum of a commutative (semi)ring is the type of all prime ideals.

For the Zariski topology, see Mathlib/RingTheory/Spectrum/Prime/Topology.lean.

(It is also naturally endowed with a sheaf of rings, which is constructed in AlgebraicGeometry.StructureSheaf.)

Main definitions

  • PrimeSpectrum R: The prime spectrum of a commutative (semi)ring R, i.e., the set of all prime ideals of R.

The specialization order

We endow PrimeSpectrum R with a partial order induced from the ideal lattice. This is exactly the specialization order. See the corresponding section at Mathlib/RingTheory/Spectrum/Prime/Topology.lean.

def PrimeSpectrum.ctorIdx E1 #

{R : Type u_1} → {inst : CommSemiring R} → PrimeSpectrum R → ℕ

theorem PrimeSpectrum.mk.inj E1 #

∀ {R : Type u_1} {inst : CommSemiring R} {asIdeal : Ideal R} {isPrime : asIdeal.IsPrime} {asIdeal_1 : Ideal R}
  {isPrime_1 : asIdeal_1.IsPrime},
  { asIdeal := asIdeal, isPrime := isPrime } = { asIdeal := asIdeal_1, isPrime := isPrime_1 } → asIdeal = asIdeal_1

theorem PrimeSpectrum.mk.injEq E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (asIdeal : Ideal R) (isPrime : asIdeal.IsPrime) (asIdeal_1 : Ideal R)
  (isPrime_1 : asIdeal_1.IsPrime),
  ({ asIdeal := asIdeal, isPrime := isPrime } = { asIdeal := asIdeal_1, isPrime := isPrime_1 }) = (asIdeal = asIdeal_1)

structure PrimeSpectrum E3 #

(R : Type u_1) → [CommSemiring R] → Type u_1

The prime spectrum of a commutative (semi)ring R is the type of all prime ideals of R.

It is naturally endowed with a topology (the Zariski topology), and a sheaf of commutative rings (see Mathlib/AlgebraicGeometry/StructureSheaf.lean). It is a fundamental building block in algebraic geometry.

theorem PrimeSpectrum.ext E1 #

∀ {R : Type u_1} {inst : CommSemiring R} {x y : PrimeSpectrum R}, x.asIdeal = y.asIdeal → x = y

theorem PrimeSpectrum.ext_iff E0 #

∀ {R : Type u_1} {inst : CommSemiring R} {x y : PrimeSpectrum R}, x = y ↔ x.asIdeal = y.asIdeal

ctor PrimeSpectrum.mk E0 #

{R : Type u_1} → [inst : CommSemiring R] → (asIdeal : Ideal R) → asIdeal.IsPrime → PrimeSpectrum R

abbrev PrimeSpectrum.asIdeal E1 #

{R : Type u_1} → [inst : CommSemiring R] → PrimeSpectrum R → Ideal R

instance PrimeSpectrum.isPrime E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (self : PrimeSpectrum R), self.asIdeal.IsPrime

instance PrimeSpectrum.instCoeIdeal E0 #

{R : Type u_1} → [inst : CommSemiring R] → Coe (PrimeSpectrum R) (Ideal R)

instance PrimeSpectrum.instPartialOrder E0 #

{R : Type u_1} → [inst : CommSemiring R] → PartialOrder (PrimeSpectrum R)

theorem PrimeSpectrum.asIdeal_le_asIdeal E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (x y : PrimeSpectrum R), x.asIdeal ≤ y.asIdeal ↔ x ≤ y

theorem PrimeSpectrum.asIdeal_lt_asIdeal E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (x y : PrimeSpectrum R), x.asIdeal < y.asIdeal ↔ x < y

def PrimeSpectrum.equivSubtype E1 #

(R : Type u_1) → [inst : CommSemiring R] → PrimeSpectrum R ≃o { I // I.IsPrime }

The prime spectrum is in bijection with the set of prime ideals.

theorem PrimeSpectrum.equivSubtype_apply_coe E0 #

∀ (R : Type u_1) [inst : CommSemiring R] (I : PrimeSpectrum R), ↑((PrimeSpectrum.equivSubtype R) I) = I.asIdeal

theorem PrimeSpectrum.equivSubtype_symm_apply_asIdeal E0 #

∀ (R : Type u_1) [inst : CommSemiring R] (I : { I // I.IsPrime }),
  ((RelIso.symm (PrimeSpectrum.equivSubtype R)) I).asIdeal = ↑I