Documentation

Mathlib.RingTheory.Spectrum.Prime.Topology

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 #

Main results #

In the prime spectrum of a commutative semiring:

@[instance_reducible]

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.

theorem PrimeSpectrum.isOpen_iff {R : Type u} [CommSemiring R] (U : Set (PrimeSpectrum R)) :
IsOpen U ∃ (s : Set R), U = zeroLocus s

The antitone order embedding of closed subsets of Spec R into ideals of R.

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.

    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.

    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.

      Instances For

        basicOpen r is the open subset containing all prime ideals not containing r.

        Instances For
          @[simp]
          theorem PrimeSpectrum.mem_basicOpen {R : Type u} [CommSemiring R] (f : R) (x : PrimeSpectrum R) :
          x basicOpen f fx.asIdeal
          theorem PrimeSpectrum.basicOpen_mul {R : Type u} [CommSemiring R] (f g : R) :
          @[simp]
          theorem PrimeSpectrum.basicOpen_pow {R : Type u} [CommSemiring R] (f : R) (n : ) (hn : 0 < n) :
          theorem PrimeSpectrum.eq_biUnion_of_isOpen {R : Type u} [CommSemiring R] {s : Set (PrimeSpectrum R)} (hs : IsOpen s) :
          s = ⋃ (r : R), ⋃ (_ : (basicOpen r)s), (basicOpen r)
          theorem PrimeSpectrum.comap_basicOpen {R : Type u} {S : Type v} [CommSemiring R] [CommSemiring S] (f : R →+* S) (x : R) :
          (TopologicalSpace.Opens.comap { toFun := comap f, continuous_toFun := }) (basicOpen x) = basicOpen (f x)
          theorem PrimeSpectrum.iSup_basicOpen_eq_top_iff {R : Type u} [CommSemiring R] {ι : Type u_1} {f : ιR} :
          ⨆ (i : ι), basicOpen (f i) = Ideal.span (Set.range f) =
          theorem PrimeSpectrum.comap_evalRingHom_basicOpen {ι : Type u_1} {R : ιType u_2} [(i : ι) → CommRing (R i)] [DecidableEq ι] (i : ι) (f : R i) :
          theorem PrimeSpectrum.sigmaToPi_mk_basicOpen {ι : Type u_1} {R : ιType u_2} [(i : ι) → CommRing (R i)] [DecidableEq ι] (i : ι) (f : R i) :
          theorem PrimeSpectrum.isOpenEmbedding_sigmaToPi {ι : Type u_1} (R : ιType u_2) [(i : ι) → CommRing (R i)] :
          noncomputable def PrimeSpectrum.sigmaToPiHomeo {ι : Type u_3} (R : ιType u_4) [(i : ι) → CommRing (R i)] [Finite ι] :
          (i : ι) × PrimeSpectrum (R i) ≃ₜ PrimeSpectrum ((i : ι) → R i)

          If ι is finite, the disjoint union of the prime spectra of the R i is homeomorphic to the prime spectrum of the product.

          Instances For
            @[simp]
            theorem PrimeSpectrum.sigmaToPiHomeo_apply {ι : Type u_1} {R : ιType u_2} [(i : ι) → CommRing (R i)] [Finite ι] (p : (i : ι) × PrimeSpectrum (R i)) :

            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.

            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) prime ideals.

              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.

                    theorem PrimeSpectrum.denseRange_comap_iff_minimalPrimes {R : Type u_1} {S : Type u_2} [CommSemiring R] [CommSemiring S] (f : R →+* S) :
                    DenseRange (comap f) ∀ (I : Ideal R) (h : I minimalPrimes R), { asIdeal := I, isPrime := } Set.range (comap f)

                    Stacks Tag 00FL

                    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.

                    Instances For

                      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.

                      Instances For
                        theorem PrimeSpectrum.basicOpen_eq_zeroLocus_of_mul_add {R : Type u} [CommSemiring R] (e f : R) (mul : e * f = 0) (add : e + f = 1) :
                        theorem PrimeSpectrum.zeroLocus_eq_basicOpen_of_mul_add {R : Type u} [CommSemiring R] (e f : R) (mul : e * f = 0) (add : e + f = 1) :
                        theorem PrimeSpectrum.isClopen_basicOpen_of_mul_add {R : Type u} [CommSemiring R] (e f : R) (mul : e * f = 0) (add : e + f = 1) :
                        theorem PrimeSpectrum.exists_mul_eq_zero_add_eq_one_basicOpen_eq_of_isClopen {R : Type u} [CommSemiring R] {s : Set (PrimeSpectrum R)} (hs : IsClopen s) :
                        ∃ (e : R) (f : R), e * f = 0 e + f = 1 s = (basicOpen e) s = (basicOpen f)
                        theorem PrimeSpectrum.isClopen_iff_mul_add {R : Type u} [CommSemiring R] {s : Set (PrimeSpectrum R)} :
                        IsClopen s ∃ (e : R) (f : R), e * f = 0 e + f = 1 s = (basicOpen e)
                        theorem PrimeSpectrum.isClopen_iff_mul_add_zeroLocus {R : Type u} [CommSemiring R] {s : Set (PrimeSpectrum R)} :
                        IsClopen s ∃ (e : R) (f : R), e * f = 0 e + f = 1 s = zeroLocus {e}
                        noncomputable def PrimeSpectrum.mulZeroAddOneEquivClopens {R : Type u} [CommSemiring R] :
                        { e : R × R // e.1 * e.2 = 0 e.1 + e.2 = 1 } ≃o TopologicalSpace.Clopens (PrimeSpectrum R)

                        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.

                        Instances For
                          theorem PrimeSpectrum.closure_image_comap_zeroLocus {R : Type u_1} {S : Type u_2} [CommRing R] [CommRing S] (f : R →+* S) (I : Ideal S) :

                          Zero loci of minimal prime ideals over I are irreducible components in zeroLocus I and any irreducible component is a zero locus of some minimal prime ideal.

                          Instances For

                            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.

                            Instances For

                              The closed point in the prime spectrum of a local ring.

                              Instances For
                                theorem PrimeSpectrum.isClopen_iff {R : Type u} [CommRing R] {s : Set (PrimeSpectrum R)} :
                                IsClopen s ∃ (e : R), IsIdempotentElem e s = (basicOpen e)

                                Clopen subsets in the prime spectrum of a commutative ring are in 1-1 correspondence with idempotent elements in the ring.

                                Instances For