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 AlgebraicGeometry.PrimeSpectrum.Basic
.
(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)ringR
, i.e., the set of all prime ideals ofR
.zeroLocus s
: The zero locus of a subsets
ofR
is the subset ofPrimeSpectrum R
consisting of all prime ideals that contains
.vanishingIdeal t
: The vanishing ideal of a subsett
ofPrimeSpectrum R
is the intersection of points int
(viewed as prime ideals).
Conventions #
We denote subsets of (semi)rings with s
, s'
, etc...
whereas we denote subsets of prime spectra with t
, t'
, etc...
Inspiration/contributors #
The contents of this file draw inspiration from https://github.com/ramonfmir/lean-scheme which has contributions from Ramon Fernandez Mir, Kevin Buzzard, Kenny Lau, and Chris Hughes (on an earlier repository).
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 AlgebraicGeometry.StructureSheaf
).
It is a fundamental building block in algebraic geometry.
- asIdeal : Ideal R
- isPrime : self.asIdeal.IsPrime
Instances For
Alias of PrimeSpectrum.isPrime
.
Equations
- ⋯ = ⋯
The prime spectrum of the zero ring is empty.
Equations
- ⋯ = ⋯
The map from the direct sum of prime spectra to the prime spectrum of a direct product.
Equations
- PrimeSpectrum.primeSpectrumProdOfSum R S (Sum.inl { asIdeal := I, isPrime := isPrime }) = { asIdeal := I.prod ⊤, isPrime := ⋯ }
- PrimeSpectrum.primeSpectrumProdOfSum R S (Sum.inr { asIdeal := J, isPrime := isPrime }) = { asIdeal := ⊤.prod J, isPrime := ⋯ }
Instances For
The prime spectrum of R × S
is in bijection with the disjoint unions of the prime spectrum of
R
and the prime spectrum of S
.
Equations
- PrimeSpectrum.primeSpectrumProd R S = (Equiv.ofBijective (PrimeSpectrum.primeSpectrumProdOfSum R S) ⋯).symm
Instances For
The zero locus of a set s
of elements of a commutative (semi)ring R
is the set of all
prime ideals of the ring that contain the set s
.
An element f
of R
can be thought of as a dependent function on the prime spectrum of R
.
At a point x
(a prime ideal) the function (i.e., element) f
takes values in the quotient ring
R
modulo the prime ideal x
. In this manner, zeroLocus s
is exactly the subset of
PrimeSpectrum R
where all "functions" in s
vanish simultaneously.
Equations
- PrimeSpectrum.zeroLocus s = {x : PrimeSpectrum R | s ⊆ ↑x.asIdeal}
Instances For
The vanishing ideal of a set t
of points of the prime spectrum of a commutative ring R
is
the intersection of all the prime ideals in the set t
.
An element f
of R
can be thought of as a dependent function on the prime spectrum of R
.
At a point x
(a prime ideal) the function (i.e., element) f
takes values in the quotient ring
R
modulo the prime ideal x
. In this manner, vanishingIdeal t
is exactly the ideal of R
consisting of all "functions" that vanish on all of t
.
Equations
- PrimeSpectrum.vanishingIdeal t = ⨅ x ∈ t, x.asIdeal
Instances For
zeroLocus
and vanishingIdeal
form a galois connection.
zeroLocus
and vanishingIdeal
form a galois connection.
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.AlgebraicGeometry.PrimeSpectrum.Basic
.
Equations
- PrimeSpectrum.instPartialOrder = PartialOrder.lift PrimeSpectrum.asIdeal ⋯
Equations
- PrimeSpectrum.instOrderBotOfIsDomain = OrderBot.mk ⋯
In a noetherian ring, every ideal contains a product of prime ideals ([samuel, § 3.3, Lemma 3])
In a noetherian integral domain which is not a field, every non-zero ideal contains a non-zero product of prime ideals; in a field, the whole ring is a non-zero ideal containing only 0 as product or prime ideals ([samuel, § 3.3, Lemma 3])
The pullback of an element of PrimeSpectrum S
along a ring homomorphism f : R →+* S
.
The bundled continuous version is PrimeSpectrum.comap
.
Equations
- f.specComap y = { asIdeal := Ideal.comap f y.asIdeal, isPrime := ⋯ }