Documentation

Mathlib.AlgebraicGeometry.GammaSpecAdjunction

Adjunction between Γ and Spec #

We define the adjunction ΓSpec.adjunction : Γ ⊣ Spec by defining the unit (toΓSpec, in multiple steps in this file) and counit (done in Spec.lean) and checking that they satisfy the left and right triangle identities. The constructions and proofs make use of maps and lemmas defined and proved in Mathlib/AlgebraicGeometry/StructureSheaf.lean extensively.

Notice that since the adjunction is between contravariant functors, you get to choose one of the two categories to have arrows reversed, and it is equally valid to present the adjunction as Spec ⊣ Γ (Spec.to_LocallyRingedSpace.right_op ⊣ Γ), in which case the unit and the counit would switch to each other.

Main definition #

The canonical map from the underlying set to the prime spectrum of Γ(X).

Instances For

    The preimage of a basic open in Spec Γ(X) under the unit is the basic open in X defined by the same element (they are equal as sets).

    The canonical (bundled) continuous map from the underlying topological space of X to the prime spectrum of its global sections.

    Instances For
      @[reducible, inline]

      The preimage in X of a basic open in Spec Γ(X) (as an open set).

      Instances For

        The preimage is the basic open in X defined by the same element r.

        @[reducible, inline]

        The map from the global sections Γ(X) to the sections on the (preimage of) a basic open.

        Instances For

          Define the sheaf hom on individual basic opens for the unit.

          Instances For

            Characterization of the sheaf hom on basic opens, direction ← (next lemma) is used at various places, but → is not used in this file.

            The canonical morphism of sheafed spaces from X to the spectrum of its global sections.

            Instances For

              The canonical morphism from X to the spectrum of its global sections.

              Instances For

                On a locally ringed space X, the preimage of the zero locus of the prime spectrum of Γ(X, ⊤) under toΓSpec agrees with the associated zero locus on X.

                The adjunction Γ ⊣ Spec from CommRingᵒᵖ to LocallyRingedSpace.

                Instances For

                  The adjunction Γ ⊣ Spec from CommRingᵒᵖ to Scheme.

                  Instances For

                    Given f, g : X ⟶ Spec(R), if the two induced maps R ⟶ Γ(X) are equal, then f = g.

                    The canonical map X ⟶ Spec Γ(X, ⊤). This is the unit of the Γ-Spec adjunction.

                    Instances For
                      @[deprecated AlgebraicGeometry.Scheme.toSpecΓ_apply (since := "2025-10-17")]

                      Alias of AlgebraicGeometry.Scheme.toSpecΓ_apply.

                      Immediate consequences of the adjunction.

                      The functor Spec.toLocallyRingedSpace : CommRingCatᵒᵖ ⥤ LocallyRingedSpace is fully faithful.

                      Instances For

                        The functor Spec : CommRingCatᵒᵖ ⥤ Scheme is fully faithful.

                        Instances For
                          theorem AlgebraicGeometry.Spec.map_inj {R S : CommRingCat} {φ ψ : R S} :
                          map φ = map ψ φ = ψ
                          noncomputable def AlgebraicGeometry.Spec.preimage {R S : CommRingCat} (f : Spec S Spec R) :
                          R S

                          The preimage under Spec.

                          Instances For
                            theorem AlgebraicGeometry.Spec.map_surjective {R S : CommRingCat} :
                            Function.Surjective map

                            Useful for replacing f by Spec.map φ everywhere in proofs.

                            noncomputable def AlgebraicGeometry.Spec.homEquiv {R S : CommRingCat} :
                            (Spec S Spec R) (R S)

                            Spec is fully faithful

                            Instances For