The Zariski topology on the prime spectrum of a commutative (semi)ring #
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).
Main definitions #
PrimeSpectrum.zariskiTopology: the Zariski topology on the prime spectrum, whose closed sets are zero loci (zeroLocus).PrimeSpectrum.basicOpen: the complement of the zero locus of a single element. ThebasicOpens form a topological basis of the Zariski topology:PrimeSpectrum.isTopologicalBasis_basic_opens.PrimeSpectrum.comap: the continuous map between prime spectra induced by a ring homomorphism.IsLocalRing.closedPoint: the maximal ideal of a local ring is the unique closed point in its prime spectrum.
Main results #
PrimeSpectrum.instSpectralSpace: every prime spectrum is a spectral space, i.e. it is quasi-compact, sober (in particular T0), quasi-separated, and its compact open subsets form a topological basis.PrimeSpectrum.discreteTopology_iff_finite_and_krullDimLE_zero: the prime spectrum of a commutative semiring is discrete iff it is finite and the semiring has zero Krull dimension or is trivial.PrimeSpectrum.localization_comap_range,PrimeSpectrum.localization_comap_isEmbedding: localization at a submonoid of a commutative semiring induces an embedding between the prime spectra, with range consisting of prime ideals disjoint from the submonoid.PrimeSpectrum.localization_away_comap_range: for localization away from an element, the range of the embedding is thebasicOpenassociated to the element.PrimeSpectrum.comap_isEmbedding_of_surjective: a surjective ring homomorphism between commutative semirings induces an embedding between the prime spectra.PrimeSpectrum.isClosedEmbedding_comap_of_surjective: a surjective ring homomorphism between commutative rings induces a closed embedding between the prime spectra.PrimeSpectrum.primeSpectrumProdHomeo: the prime spectrum of a product semiring is homeomorphic to the disjoint union of the prime spectra.PrimeSpectrum.stableUnderSpecialization_range_iff: the range ofPrimeSpectrum.comap _is closed iff it is stable under specialization.PrimeSpectrum.denseRange_comap_iff_minimalPrimes,PrimeSpectrum.denseRange_comap_iff_ker_le_nilRadical: the range ofcomap fis dense iff it contains all minimal primes, iff the kernel offis contained in the nilradical.PrimeSpectrum.isClosedMap_comap_of_isIntegral:comap fis a closed map iffis integral.PrimeSpectrum.isIntegral_of_isClosedMap_comap_mapRingHom:f : R →+* Sis integral ifcomap (Polynomial.mapRingHom f : R[X] →+* S[X])is a closed map.
In the prime spectrum of a commutative semiring:
PrimeSpectrum.isClosed_iff_zeroLocus_radical_ideal,PrimeSpectrum.isRadical_vanishingIdeal,PrimeSpectrum.zeroLocus_eq_iff,PrimeSpectrum.vanishingIdeal_anti_mono_iff: closed subsets correspond to radical ideals.PrimeSpectrum.isClosed_singleton_iff_isMaximal: closed points correspond to maximal ideals.PrimeSpectrum.isIrreducible_iff_vanishingIdeal_isPrime: irreducible closed subsets correspond to prime ideals.minimalPrimes.equivIrreducibleComponents: irreducible components correspond to minimal primes.PrimeSpectrum.mulZeroAddOneEquivClopens: clopen subsets correspond to pairs of elements that add up to 1 and multiply to 0 in the semiring.PrimeSpectrum.isIdempotentElemEquivClopens: (if the semiring is a ring) clopen subsets correspond to idempotents in the ring.
The Zariski topology on the prime spectrum of a commutative (semi)ring is defined via the closed sets of the topology: they are exactly those sets that are the zero locus of a subset of the ring.
The antitone order embedding of closed subsets of Spec R into ideals of R.
Equations
- PrimeSpectrum.closedsEmbedding R = OrderEmbedding.ofMapLEIff (fun (s : (TopologicalSpace.Closeds (PrimeSpectrum R))ᵒᵈ) => PrimeSpectrum.vanishingIdeal ↑(OrderDual.ofDual s)) ⋯
Instances For
The prime spectrum of a commutative (semi)ring is a compact topological space.
The prime spectrum of a commutative semiring has discrete Zariski topology iff it is finite and the semiring has Krull dimension zero or is trivial.
The prime spectrum of a semiring has discrete Zariski topology iff there are only finitely many maximal ideals and their intersection is contained in the nilradical.
Alias of PrimeSpectrum.localization_comap_range.
The embedding has closed range if the domain (and therefore the codomain) is a ring,
see PrimeSpectrum.isClosedEmbedding_comap_of_surjective.
On the other hand, comap (Nat.castRingHom (ZMod 2)) does not have closed range.
Homeomorphism between prime spectra induced by an isomorphism of semirings.
Equations
- PrimeSpectrum.homeomorphOfRingEquiv e = { toFun := PrimeSpectrum.comap ↑e.symm, invFun := PrimeSpectrum.comap ↑e, left_inv := ⋯, right_inv := ⋯, continuous_toFun := ⋯, continuous_invFun := ⋯ }
Instances For
The comap of a surjective ring homomorphism is a closed embedding between the prime spectra.
The prime spectrum of R × S is homeomorphic
to the disjoint union of PrimeSpectrum R and PrimeSpectrum S.
Equations
Instances For
basicOpen r is the open subset containing all prime ideals not containing r.
Equations
- PrimeSpectrum.basicOpen r = { carrier := {x : PrimeSpectrum R | r ∉ x.asIdeal}, is_open' := ⋯ }
Instances For
If the prime spectrum of a commutative semiring R has discrete Zariski topology, then R is canonically isomorphic to the product of its localizations at the (finitely many) maximal ideals.
Equations
Instances For
The specialization order #
We endow PrimeSpectrum R with a partial order, where x ≤ y if and only if y ∈ closure {x}.
nhds as an order embedding.
Instances For
If x specializes to y, then there is a natural map from the localization of y to the
localization of x.
Instances For
If f : Spec S → Spec R is specializing and surjective, the topology on Spec R is the
quotient topology induced by f.
If f : Spec S → Spec R is generalizing and surjective, the topology on Spec R is the
quotient topology induced by f.
Zero loci of prime ideals are closed irreducible sets in the Zariski topology and any closed irreducible set is a zero locus of some prime ideal.
Equations
- PrimeSpectrum.pointsEquivIrreducibleCloseds R = { toEquiv := irreducibleSetEquivPoints.symm.trans OrderDual.toDual, map_rel_iff' := ⋯ }
Instances For
Clopen subsets in the prime spectrum of a commutative semiring are in order-preserving
bijection with pairs of elements with product 0 and sum 1. (By definition, (e₁, f₁) ≤ (e₂, f₂)
iff e₁ * e₂ = e₁.) Both elements in such pairs must be idempotents, but there may exists
idempotents that do not form such pairs (does not have a "complement"). For example, in the
semiring {0, 0.5, 1} with ⊔ as + and ⊓ as *, 0.5 has no complement.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Alias of RingHom.IsIntegral.comap_surjective.
Zero loci of minimal prime ideals of R are irreducible components in Spec R and any
irreducible component is a zero locus of some minimal prime ideal.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The closed point in the prime spectrum of a local ring.
Equations
- IsLocalRing.closedPoint R = { asIdeal := IsLocalRing.maximalIdeal R, isPrime := ⋯ }
Instances For
Equations
- IsLocalRing.instOrderTopPrimeSpectrum R = { top := IsLocalRing.closedPoint R, le_top := ⋯ }
Clopen subsets in the prime spectrum of a commutative ring are in 1-1 correspondence with idempotent elements in the ring.