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 / V28. Algebraic geometry

Mathlib.AlgebraicGeometry.Group.Affine

56 declarations. Mathlib docs · Source

The equivalence between Hopf algebras and affine group schemes

This file constructs Spec as a functor from R-Hopf algebras to group schemes over Spec R, shows it is full and faithful, and has affine group schemes as essential image.

We want to show that affine group schemes correspond to Hopf algebras. This can easily be done categorically assuming both categories on either side are defined thoughtfully. However, the categorical version will not be workable with if we do not also have links to the non-categorical notions. Therefore, one solution would be to build the left, top and right edges of the following diagram so that the bottom edge can be obtained by composing the three.

  Cogrp Mod_R ≌ Grp AffSch_{Spec R} ≌ Aff Grp Sch_{Spec R}
      ↑ ↓                                      ↑ ↓
R-Hopf algebras         ⇄       Affine group schemes over Spec R

If we do not care about going back from affine group schemes over Spec R to R-Hopf algebras (e.g. because all our affine group schemes are given as the Spec of some algebra), then we can follow the following simpler diagram:

  Cogrp Mod_R   ⥤        Grp Sch_{Spec R}
      ↑ ↓                        ↓
R-Hopf algebras → Affine group schemes over Spec R

where the top ⥤ comes from the essentially surjective functor Cogrp Mod_R ⥤ Grp Sch_{Spec R}, so that in particular we do not easily know that its inverse is given by Γ.

Left edge: R-Hopf algebras correspond to cogroup objects under R

Ways to turn an unbundled R-Hopf algebra into a bundled cogroup object under R, and vice versa, are already provided in Mathlib.Algebra.Category.CommHopfAlgCat.

Top edge: Spec as a functor on Hopf algebras

In this section we bundle Spec as a functor from R-Hopf algebras to affine group schemes over Spec R.

Right edge: The essential image of Spec on Hopf algebras

In this section we show that the essential image of R-Hopf algebras under Spec is precisely affine group schemes over Spec R.

theorem AlgebraicGeometry.Scheme.Hom.asOver.congr_simp E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f f_1 : X.Hom Y) (e_f : f = f_1) (S : AlgebraicGeometry.Scheme) [inst : X.Over S]
  [inst_1 : Y.Over S] [inst_2 : f.IsOver S], f.asOver S = f_1.asOver S

theorem Bialgebra.comulBialgHom.congr_simp E1 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Bialgebra R A]
  [inst_3 : Coalgebra.IsCocomm R A], Bialgebra.comulBialgHom R A = Bialgebra.comulBialgHom R A

def AlgebraicGeometry.algSpec E1 #

(R : CommRingCat) → CategoryTheory.Functor (CommAlgCat ↑R)ᵒᵖ (CategoryTheory.Over (AlgebraicGeometry.Spec R))

Spec as a functor from R-algebras to schemes over Spec R.

def AlgebraicGeometry.algΓ E1 #

(R : CommRingCat) → CategoryTheory.Functor (CategoryTheory.Over (AlgebraicGeometry.Spec R)) (CommAlgCat ↑R)ᵒᵖ

The Gamma functor as a functor from schemes over Spec R to R-algebras.

instance AlgebraicGeometry.preservesLimitsOfSize_algSpec E0 #

∀ {R : CommRingCat},
  CategoryTheory.Limits.PreservesLimitsOfSize.{w, v, u, u, u + 1, u + 1} (AlgebraicGeometry.algSpec R)

instance AlgebraicGeometry.preservesColimitsOfSize_algΓ E0 #

∀ {R : CommRingCat}, CategoryTheory.Limits.PreservesColimitsOfSize.{w, v, u, u, u + 1, u + 1} (AlgebraicGeometry.algΓ R)

theorem AlgebraicGeometry.algSpec_obj_hom E0 #

∀ {R : CommRingCat} (X : (CommAlgCat ↑R)ᵒᵖ),
  ((AlgebraicGeometry.algSpec R).obj X).hom =
    AlgebraicGeometry.Spec.map (CommRingCat.ofHom (algebraMap ↑R ↑(Opposite.unop X)))

theorem AlgebraicGeometry.algSpec_map_left E0 #

∀ {R : CommRingCat} {X Y : (CommAlgCat ↑R)ᵒᵖ} (f : X ⟶ Y),
  CategoryTheory.Over.Hom.left ((AlgebraicGeometry.algSpec R).map f) =
    AlgebraicGeometry.Spec.map (CategoryTheory.Under.Hom.right ((commAlgCatEquivUnder R).functor.map f.unop))

theorem AlgebraicGeometry.preservesTerminalIso_algSpec E1 #

∀ {R : CommRingCat},
  CategoryTheory.CartesianMonoidalCategory.preservesTerminalIso (AlgebraicGeometry.algSpec R) =
    CategoryTheory.Over.isoMk (CategoryTheory.Iso.refl (AlgebraicGeometry.Spec R)) ⋯

theorem AlgebraicGeometry.preservesTerminalIso_algSpec_inv_left E0 #

∀ {R : CommRingCat},
  CategoryTheory.Over.Hom.left
      (CategoryTheory.CartesianMonoidalCategory.preservesTerminalIso (AlgebraicGeometry.algSpec R)).inv =
    CategoryTheory.CategoryStruct.id (AlgebraicGeometry.Spec R)

theorem AlgebraicGeometry.prodComparison_algSpec_left E0 #

∀ {R : CommRingCat} (X Y : (CommAlgCat ↑R)ᵒᵖ),
  CategoryTheory.Over.Hom.left
      (CategoryTheory.CartesianMonoidalCategory.prodComparison (AlgebraicGeometry.algSpec R) X Y) =
    (AlgebraicGeometry.pullbackSpecIso ↑R ↑(Opposite.unop X) ↑(Opposite.unop Y)).inv

theorem AlgebraicGeometry.prodComparisonIso_algSpec_inv_left E0 #

∀ {R : CommRingCat} (X Y : (CommAlgCat ↑R)ᵒᵖ),
  CategoryTheory.Over.Hom.left
      (CategoryTheory.CartesianMonoidalCategory.prodComparisonIso (AlgebraicGeometry.algSpec R) X Y).inv =
    (AlgebraicGeometry.pullbackSpecIso ↑R ↑(Opposite.unop X) ↑(Opposite.unop Y)).hom

instance AlgebraicGeometry.braidedAlgSpec E0 #

{R : CommRingCat} → (AlgebraicGeometry.algSpec R).Braided

Spec as a functor from R-algebras to schemes over Spec R is braided.

The monoidal data is copied from Functor.Braided.ofChosenFiniteProducts so that ε, η are definitionally 𝟙 (Spec R) and μ, δ are definitionally pullbackSpecIso.

theorem AlgebraicGeometry.ε_algSpec_left E0 #

∀ {R : CommRingCat},
  CategoryTheory.Over.Hom.left (CategoryTheory.Functor.LaxMonoidal.ε (AlgebraicGeometry.algSpec R)) =
    CategoryTheory.CategoryStruct.id (AlgebraicGeometry.Spec R)

theorem AlgebraicGeometry.η_algSpec_left E0 #

∀ {R : CommRingCat},
  CategoryTheory.Over.Hom.left (CategoryTheory.Functor.OplaxMonoidal.η (AlgebraicGeometry.algSpec R)) =
    CategoryTheory.CategoryStruct.id (AlgebraicGeometry.Spec R)

theorem AlgebraicGeometry.δ_algSpec_left E0 #

∀ {R : CommRingCat} (X Y : (CommAlgCat ↑R)ᵒᵖ),
  CategoryTheory.Over.Hom.left (CategoryTheory.Functor.OplaxMonoidal.δ (AlgebraicGeometry.algSpec R) X Y) =
    (AlgebraicGeometry.pullbackSpecIso ↑R ↑(Opposite.unop X) ↑(Opposite.unop Y)).inv

theorem AlgebraicGeometry.μ_algSpec_left E0 #

∀ {R : CommRingCat} (X Y : (CommAlgCat ↑R)ᵒᵖ),
  CategoryTheory.Over.Hom.left (CategoryTheory.Functor.LaxMonoidal.μ (AlgebraicGeometry.algSpec R) X Y) =
    (AlgebraicGeometry.pullbackSpecIso ↑R ↑(Opposite.unop X) ↑(Opposite.unop Y)).hom

instance AlgebraicGeometry.algSpec.instFull E0 #

∀ {R : CommRingCat}, (AlgebraicGeometry.algSpec R).Full

Spec is full on R-algebras.

instance AlgebraicGeometry.algSpec.instFaithful E0 #

∀ {R : CommRingCat}, (AlgebraicGeometry.algSpec R).Faithful

Spec is faithful on R-algebras.

def AlgebraicGeometry.algSpec.fullyFaithful E1 #

{R : CommRingCat} → (AlgebraicGeometry.algSpec R).FullyFaithful

Spec is fully faithful on R-algebras, with inverse Gamma.

abbrev AlgebraicGeometry.bialgSpec E1 #

(R : CommRingCat) →
  CategoryTheory.Functor (CommBialgCat ↑R)ᵒᵖ (CategoryTheory.Mon (CategoryTheory.Over (AlgebraicGeometry.Spec R)))

Spec as a functor from R-bialgebras to monoid schemes over Spec R.

instance AlgebraicGeometry.bialgSpec.instFull E0 #

∀ {R : CommRingCat}, (AlgebraicGeometry.bialgSpec R).Full

Spec is full on R-bialgebras.

instance AlgebraicGeometry.bialgSpec.instFaithful E0 #

∀ {R : CommRingCat}, (AlgebraicGeometry.bialgSpec R).Faithful

Spec is faithful on R-bialgebras.

def AlgebraicGeometry.bialgSpec.fullyFaithful E1 #

{R : CommRingCat} → (AlgebraicGeometry.bialgSpec R).FullyFaithful

Spec is fully faithful on R-bialgebras, with inverse Gamma.

abbrev AlgebraicGeometry.hopfSpec E1 #

(R : CommRingCat) →
  CategoryTheory.Functor (CommHopfAlgCat ↑R)ᵒᵖ (CategoryTheory.Grp (CategoryTheory.Over (AlgebraicGeometry.Spec R)))

Spec as a functor from R-Hopf algebras to group schemes over Spec R.

instance AlgebraicGeometry.hopfSpec.instFull E0 #

∀ {R : CommRingCat}, (AlgebraicGeometry.hopfSpec R).Full

Spec is full on R-Hopf algebras.

instance AlgebraicGeometry.hopfSpec.instFaithful E0 #

∀ {R : CommRingCat}, (AlgebraicGeometry.hopfSpec R).Faithful

Spec is faithful on R-Hopf algebras.

def AlgebraicGeometry.hopfSpec.fullyFaithful E1 #

{R : CommRingCat} → (AlgebraicGeometry.hopfSpec R).FullyFaithful

Spec is fully faithful on R-Hopf algebras, with inverse Gamma.

theorem AlgebraicGeometry.specOverSpec_over E1 #

∀ {R A : CommRingCat} [inst : Algebra ↑R ↑A],
  AlgebraicGeometry.Spec A ↘ AlgebraicGeometry.Spec R =
    AlgebraicGeometry.Spec.map (CommRingCat.ofHom (algebraMap ↑R ↑A))

instance AlgebraicGeometry.specOverSpec E0 #

{R A : CommRingCat} → [Algebra ↑R ↑A] → (AlgebraicGeometry.Spec A).Over (AlgebraicGeometry.Spec R)

instance AlgebraicGeometry.locallyOfFiniteType_specOverSpec E0 #

∀ {R A : CommRingCat} [inst : Algebra ↑R ↑A] [Algebra.FiniteType ↑R ↑A],
  AlgebraicGeometry.LocallyOfFiniteType (AlgebraicGeometry.Spec A ↘ AlgebraicGeometry.Spec R)

theorem AlgebraicGeometry.one_def E0 #

∀ {R A : CommRingCat} [inst : Bialgebra ↑R ↑A],
  CategoryTheory.MonObj.one =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Functor.LaxMonoidal.ε (AlgebraicGeometry.algSpec R))
      ((AlgebraicGeometry.algSpec R).map CategoryTheory.MonObj.one)

instance AlgebraicGeometry.instMonObjSpecAsOverSpec E0 #

{R A : CommRingCat} →
  [inst : Bialgebra ↑R ↑A] → CategoryTheory.MonObj ((AlgebraicGeometry.Spec A).asOver (AlgebraicGeometry.Spec R))

theorem AlgebraicGeometry.one_spec_asOver_spec E1 #

∀ {R A : CommRingCat} [inst : Bialgebra ↑R ↑A],
  CategoryTheory.MonObj.one =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Functor.LaxMonoidal.ε (AlgebraicGeometry.algSpec R))
      (CategoryTheory.Over.homMk (AlgebraicGeometry.Spec.map (CommRingCat.ofHom ↑(Bialgebra.counitAlgHom ↑R ↑A))) ⋯)

theorem AlgebraicGeometry.one_spec_asOver_spec_left E1 #

∀ {R A : CommRingCat} [inst : Bialgebra ↑R ↑A],
  CategoryTheory.Over.Hom.left CategoryTheory.MonObj.one =
    AlgebraicGeometry.Spec.map (CommRingCat.ofHom ↑(Bialgebra.counitAlgHom ↑R ↑A))

theorem AlgebraicGeometry.mul_spec_asOver_spec_left E1 #

∀ {R A : CommRingCat} [inst : Bialgebra ↑R ↑A],
  CategoryTheory.Over.Hom.left CategoryTheory.MonObj.mul =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.pullbackSpecIso ↑R ↑A ↑A).hom
      (AlgebraicGeometry.Spec.map (CommRingCat.ofHom ↑(Bialgebra.comulAlgHom ↑R ↑A)))

instance AlgebraicGeometry.isCommMonObj_spec_asOver_spec E0 #

∀ {R A : CommRingCat} [inst : Bialgebra ↑R ↑A] [Coalgebra.IsCocomm ↑R ↑A],
  CategoryTheory.IsCommMonObj ((AlgebraicGeometry.Spec A).asOver (AlgebraicGeometry.Spec R))

instance AlgebraicGeometry.instGrpObjSpecAsOverSpec E0 #

{R A : CommRingCat} →
  [inst : HopfAlgebra ↑R ↑A] → CategoryTheory.GrpObj ((AlgebraicGeometry.Spec A).asOver (AlgebraicGeometry.Spec R))

instance AlgebraicGeometry.instCommGrpObjSpecAsOverSpec E0 #

{R A : CommRingCat} →
  [inst : HopfAlgebra ↑R ↑A] →
    [Coalgebra.IsCocomm ↑R ↑A] →
      CategoryTheory.CommGrpObj ((AlgebraicGeometry.Spec A).asOver (AlgebraicGeometry.Spec R))

instance AlgebraicGeometry.instIsOverMapOfHomSpecOf E0 #

∀ {R S T : Type u} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T] [inst_3 : Algebra R S]
  [inst_4 : Algebra R T] (f : S →ₐ[R] T),
  AlgebraicGeometry.Scheme.Hom.IsOver (AlgebraicGeometry.Spec.map (CommRingCat.ofHom f.toRingHom))
    (AlgebraicGeometry.Spec ↧R)

def AlgebraicGeometry.Spec.mapMulEquiv E1 #

{R S T : Type u} →
  [inst : CommRing R] →
    [inst_1 : CommRing S] →
      [inst_2 : CommRing T] →
        [inst_3 : Bialgebra R S] →
          [inst_4 : Algebra R T] →
            WithConv (S →ₐ[R] T) ≃*
              ((AlgebraicGeometry.Spec ↧T).asOver (AlgebraicGeometry.Spec ↧R) ⟶
                (AlgebraicGeometry.Spec ↧S).asOver (AlgebraicGeometry.Spec ↧R))

Spec.map as a MulEquiv on hom-sets.

def AlgebraicGeometry.algΓAlgSpecAdjunction E1 #

(R : CommRingCat) → AlgebraicGeometry.algΓ R ⊣ AlgebraicGeometry.algSpec R

The adjunction between Spec and Γ as functors between commutative R-algebras and schemes over Spec R.

instance AlgebraicGeometry.instAlgebraCarrierObjOppositeOpensCarrierCarrierCommRingCatPresheafOpOpensTopOfOverSpecOfIsAffine E0 #

{R : CommRingCat} →
  {X : AlgebraicGeometry.Scheme} →
    [X.Over (AlgebraicGeometry.Spec R)] → [AlgebraicGeometry.IsAffine X] → Algebra ↑R ↑(X.presheaf.obj (Opposite.op ⊤))

The global sections of an affine scheme over Spec R are a R-algebra.

theorem AlgebraicGeometry.algebraMap_presheafObj E1 #

∀ {R : CommRingCat} {X : AlgebraicGeometry.Scheme} [inst : X.Over (AlgebraicGeometry.Spec R)]
  [inst_1 : AlgebraicGeometry.IsAffine X],
  algebraMap ↑R ↑(X.presheaf.obj (Opposite.op ⊤)) =
    CommRingCat.Hom.hom
      (AlgebraicGeometry.Spec.fullyFaithful.preimage
          (CategoryTheory.CategoryStruct.comp X.isoSpec.inv (X ↘ AlgebraicGeometry.Spec R))).unop

instance AlgebraicGeometry.instIsOverToSpecΓSpec E0 #

∀ {R : CommRingCat} {X : AlgebraicGeometry.Scheme} [inst : X.Over (AlgebraicGeometry.Spec R)]
  [inst_1 : AlgebraicGeometry.IsAffine X], AlgebraicGeometry.Scheme.Hom.IsOver X.toSpecΓ (AlgebraicGeometry.Spec R)

instance AlgebraicGeometry.instIsOverHomSchemeIsoSpecSpec E0 #

∀ {R : CommRingCat} {X : AlgebraicGeometry.Scheme} [inst : X.Over (AlgebraicGeometry.Spec R)]
  [inst_1 : AlgebraicGeometry.IsAffine X], AlgebraicGeometry.Scheme.Hom.IsOver X.isoSpec.hom (AlgebraicGeometry.Spec R)

instance AlgebraicGeometry.instBialgebraCarrierObjOppositeOpensCarrierCarrierCommRingCatPresheafOpOpensTopOfMonObjOverSchemeSpecAsOverOfIsAffine E0 #

{R : CommRingCat} →
  {M : AlgebraicGeometry.Scheme} →
    [inst : M.Over (AlgebraicGeometry.Spec R)] →
      [CategoryTheory.MonObj (M.asOver (AlgebraicGeometry.Spec R))] →
        [AlgebraicGeometry.IsAffine M] → Bialgebra ↑R ↑(M.presheaf.obj (Opposite.op ⊤))

The global sections of an affine monoid scheme over Spec R are a R-bialgebra.

instance AlgebraicGeometry.instHopfAlgebraCarrierObjOppositeOpensCarrierCarrierCommRingCatPresheafOpOpensTopOfGrpObjOverSchemeSpecAsOverOfIsAffine E0 #

{R : CommRingCat} →
  {G : AlgebraicGeometry.Scheme} →
    [inst : G.Over (AlgebraicGeometry.Spec R)] →
      [CategoryTheory.GrpObj (G.asOver (AlgebraicGeometry.Spec R))] →
        [AlgebraicGeometry.IsAffine G] → HopfAlgebra ↑R ↑(G.presheaf.obj (Opposite.op ⊤))

The global sections of an affine group scheme over Spec R are a R-Hopf algebra.

def AlgebraicGeometry.pullbackSpecIso' E1 #

(R S T : Type u) →
  [inst : CommRing R] →
    [inst_1 : CommRing S] →
      [inst_2 : CommRing T] →
        [inst_3 : Algebra R S] →
          [inst_4 : Algebra R T] →
            CategoryTheory.Limits.pullback (AlgebraicGeometry.Spec ↧S ↘ AlgebraicGeometry.Spec ↧R)
                (AlgebraicGeometry.Spec ↧T ↘ AlgebraicGeometry.Spec ↧R) ≅
              AlgebraicGeometry.Spec ↧(TensorProduct R S T)

The isomorphism between the fiber product of two schemes Spec S and Spec T over a scheme Spec R and the Spec of the tensor product S ⊗[R] T.

This is a version of pullbackSpecIso stated in terms of specOverSpec. TODO: Unify with pullbackSpecIso once OverClass is refactored to not bundle the morphism.

theorem AlgebraicGeometry.pullbackSpecIso'_symmetry E1 #

∀ {R S T : Type u} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T] [inst_3 : Algebra R S]
  [inst_4 : Algebra R T],
  (CategoryTheory.Limits.pullbackSymmetry (AlgebraicGeometry.Spec ↧T ↘ AlgebraicGeometry.Spec ↧R)
          (AlgebraicGeometry.Spec ↧S ↘ AlgebraicGeometry.Spec ↧R) ≪≫
        AlgebraicGeometry.pullbackSpecIso' R S T).hom =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.pullbackSpecIso' R T S).hom
      (AlgebraicGeometry.Spec.map (CommRingCat.ofHom ↑(Algebra.TensorProduct.comm R S T)))

instance AlgebraicGeometry.instIsOverHomSchemeTransPullbackSymmetryOverSpecOfInferInstanceOverClassPullbackSpecIso' E0 #

∀ {R S T : Type u} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T] [inst_3 : Algebra R S]
  [inst_4 : Algebra R T],
  AlgebraicGeometry.Scheme.Hom.IsOver
    (CategoryTheory.Limits.pullbackSymmetry (AlgebraicGeometry.Spec ↧T ↘ AlgebraicGeometry.Spec ↧R)
          (AlgebraicGeometry.Spec ↧S ↘ AlgebraicGeometry.Spec ↧R) ≪≫
        AlgebraicGeometry.pullbackSpecIso' R S T).hom
    (AlgebraicGeometry.Spec ↧S)

theorem AlgebraicGeometry.μ_pullback_left_fst E1 #

∀ (R S T : Type u) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T] [inst_3 : Algebra R S]
  [inst_4 : Algebra R T],
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Over.Hom.left
        (CategoryTheory.Functor.LaxMonoidal.μ
          (CategoryTheory.Over.pullback (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (algebraMap R S))))
          (CategoryTheory.Over.mk (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (algebraMap R T))))
          (CategoryTheory.Over.mk (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (algebraMap R T))))))
      (CategoryTheory.Limits.pullback.fst
        (CategoryTheory.MonoidalCategoryStruct.tensorObj
            (CategoryTheory.Over.mk (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (algebraMap R T))))
            (CategoryTheory.Over.mk (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (algebraMap R T))))).hom
        (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (algebraMap R S)))) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Over.Hom.left
        (CategoryTheory.MonoidalCategoryStruct.tensorHom
          (AlgebraicGeometry.Scheme.Hom.asOver
            (CategoryTheory.Limits.pullbackSymmetry (AlgebraicGeometry.Spec ↧T ↘ AlgebraicGeometry.Spec ↧R)
                  (AlgebraicGeometry.Spec ↧S ↘ AlgebraicGeometry.Spec ↧R) ≪≫
                AlgebraicGeometry.pullbackSpecIso' R S T).hom
            (AlgebraicGeometry.Spec ↧S))
          (AlgebraicGeometry.Scheme.Hom.asOver
            (CategoryTheory.Limits.pullbackSymmetry (AlgebraicGeometry.Spec ↧T ↘ AlgebraicGeometry.Spec ↧R)
                  (AlgebraicGeometry.Spec ↧S ↘ AlgebraicGeometry.Spec ↧R) ≪≫
                AlgebraicGeometry.pullbackSpecIso' R S T).hom
            (AlgebraicGeometry.Spec ↧S))))
      (CategoryTheory.CategoryStruct.comp
        (AlgebraicGeometry.pullbackSpecIso S (TensorProduct R S T) (TensorProduct R S T)).hom
        (CategoryTheory.CategoryStruct.comp
          (AlgebraicGeometry.Spec.map
            (CommRingCat.ofHom
              (Algebra.TensorProduct.mapRingHom (algebraMap R S) Algebra.TensorProduct.includeRight.toRingHom
                Algebra.TensorProduct.includeRight.toRingHom ⋯ ⋯)))
          (AlgebraicGeometry.pullbackSpecIso R T T).inv))

instance AlgebraicGeometry.instIsMonHomOverSchemeSpecOfAsOverHomTransPullbackSymmetryOverInferInstanceOverClassPullbackSpecIso' E0 #

∀ {R S T : Type u} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T] [inst_3 : Algebra R S]
  [inst_4 : Bialgebra R T],
  CategoryTheory.IsMonHom
    (AlgebraicGeometry.Scheme.Hom.asOver
      (CategoryTheory.Limits.pullbackSymmetry (AlgebraicGeometry.Spec ↧T ↘ AlgebraicGeometry.Spec ↧R)
            (AlgebraicGeometry.Spec ↧S ↘ AlgebraicGeometry.Spec ↧R) ≪≫
          AlgebraicGeometry.pullbackSpecIso' R S T).hom
      (AlgebraicGeometry.Spec ↧S))

theorem AlgebraicGeometry.essImage_algSpec E0 #

∀ {R : CommRingCat} {G : CategoryTheory.Over (AlgebraicGeometry.Spec R)},
  (AlgebraicGeometry.algSpec R).essImage G ↔ AlgebraicGeometry.IsAffine G.left

The essential image of R-algebras under Spec is precisely affine schemes over Spec R.

theorem AlgebraicGeometry.essImage_bialgSpec E0 #

∀ {R : CommRingCat} {G : CategoryTheory.Mon (CategoryTheory.Over (AlgebraicGeometry.Spec R))},
  (AlgebraicGeometry.bialgSpec R).essImage G ↔ AlgebraicGeometry.IsAffine G.X.left

The essential image of R-bialgebras under Spec is precisely affine monoid schemes over Spec R.

theorem AlgebraicGeometry.essImage_hopfSpec E0 #

∀ {R : CommRingCat} {G : CategoryTheory.Grp (CategoryTheory.Over (AlgebraicGeometry.Spec R))},
  (AlgebraicGeometry.hopfSpec R).essImage G ↔ AlgebraicGeometry.IsAffine G.X.left

The essential image of R-Hopf algebras under Spec is precisely affine group schemes over Spec R.