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.Limits

103 declarations. Mathlib docs · Source

theorem TopCat.Sheaf.isProductOfDisjoint.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : TopCat} (F : TopCat.Sheaf C X)
  (U V : TopologicalSpace.Opens ↑X) (h : U ⊓ V = ⊥), F.isProductOfDisjoint U V h = F.isProductOfDisjoint U V h

def AlgebraicGeometry.specZIsTerminal E1 #

CategoryTheory.Limits.IsTerminal (AlgebraicGeometry.Spec ↧ℤ)

Spec ℤ is the terminal object in the category of schemes.

def AlgebraicGeometry.specULiftZIsTerminal E1 #

CategoryTheory.Limits.IsTerminal (AlgebraicGeometry.Spec ↧(ULift.{u, 0} ℤ))

Spec ℤ is the terminal object in the category of schemes.

instance AlgebraicGeometry.instHasTerminalScheme E0 #

CategoryTheory.Limits.HasTerminal AlgebraicGeometry.Scheme

instance AlgebraicGeometry.instIsAffineTerminalScheme E0 #

AlgebraicGeometry.IsAffine (⊤_ AlgebraicGeometry.Scheme)

instance AlgebraicGeometry.instHasFiniteLimitsScheme E0 #

CategoryTheory.Limits.HasFiniteLimits AlgebraicGeometry.Scheme

instance AlgebraicGeometry.instOverTerminalScheme E0 #

(X : AlgebraicGeometry.Scheme) → X.Over (⊤_ AlgebraicGeometry.Scheme)

instance AlgebraicGeometry.instIsOverTerminalScheme E0 #

∀ {X Y : AlgebraicGeometry.Scheme} [inst : X.Over (⊤_ AlgebraicGeometry.Scheme)]
  [inst_1 : Y.Over (⊤_ AlgebraicGeometry.Scheme)] (f : X ⟶ Y),
  AlgebraicGeometry.Scheme.Hom.IsOver f (⊤_ AlgebraicGeometry.Scheme)

instance AlgebraicGeometry.instSubsingletonOverTerminalScheme E0 #

∀ {X : AlgebraicGeometry.Scheme}, Subsingleton (X.Over (⊤_ AlgebraicGeometry.Scheme))

def AlgebraicGeometry.Scheme.emptyTo E1 #

(X : AlgebraicGeometry.Scheme) → ∅ ⟶ X

The map from the empty scheme.

theorem AlgebraicGeometry.Scheme.emptyTo_base E0 #

∀ (X : AlgebraicGeometry.Scheme), X.emptyTo.base = TopCat.ofHom { toFun := fun x ↦ x.elim, continuous_toFun := ⋯ }

theorem AlgebraicGeometry.Scheme.emptyTo_c_app E0 #

∀ (X : AlgebraicGeometry.Scheme) (x : (TopologicalSpace.Opens ↥X)ᵒᵖ),
  X.emptyTo.c.app x = CommRingCat.punitIsTerminal.from (X.presheaf.obj x)

theorem AlgebraicGeometry.Scheme.empty_ext_iff E0 #

∀ {X : AlgebraicGeometry.Scheme} {f g : ∅ ⟶ X}, f = g ↔ True

theorem AlgebraicGeometry.Scheme.empty_ext E1 #

∀ {X : AlgebraicGeometry.Scheme} (f g : ∅ ⟶ X), f = g

instance AlgebraicGeometry.Scheme.hom_unique_of_empty_source E0 #

(X : AlgebraicGeometry.Scheme) → Unique (∅ ⟶ X)

def AlgebraicGeometry.emptyIsInitial E1 #

CategoryTheory.Limits.IsInitial ∅

The empty scheme is the initial object in the category of schemes.

theorem AlgebraicGeometry.emptyIsInitial_to E0 #

AlgebraicGeometry.emptyIsInitial.to = AlgebraicGeometry.Scheme.emptyTo

instance AlgebraicGeometry.instIsEmptyCarrierCarrierCommRingCatEmptyCollectionScheme E0 #

IsEmpty ↥∅

instance AlgebraicGeometry.spec_punit_isEmpty E0 #

IsEmpty ↥(AlgebraicGeometry.Spec ↧PUnit.{u + 1})

instance AlgebraicGeometry.isOpenImmersion_of_isEmpty E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [IsEmpty ↥X], AlgebraicGeometry.IsOpenImmersion f

instance AlgebraicGeometry.isIso_of_isEmpty E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [IsEmpty ↥Y], CategoryTheory.IsIso f

def AlgebraicGeometry.isInitialOfIsEmpty E1 #

{X : AlgebraicGeometry.Scheme} → [IsEmpty ↥X] → CategoryTheory.Limits.IsInitial X

A scheme is initial if its underlying space is empty .

def AlgebraicGeometry.specPUnitIsInitial E1 #

CategoryTheory.Limits.IsInitial (AlgebraicGeometry.Spec ↧PUnit.{u + 1})

Spec 0 is the initial object in the category of schemes.

theorem AlgebraicGeometry.isInitial_iff_isEmpty E1 #

∀ {X : AlgebraicGeometry.Scheme}, Nonempty (CategoryTheory.Limits.IsInitial X) ↔ IsEmpty ↥X

instance AlgebraicGeometry.isAffine_of_isEmpty E0 #

∀ {X : AlgebraicGeometry.Scheme} [IsEmpty ↥X], AlgebraicGeometry.IsAffine X

instance AlgebraicGeometry.instHasInitialScheme E0 #

CategoryTheory.Limits.HasInitial AlgebraicGeometry.Scheme

instance AlgebraicGeometry.initial_isEmpty E0 #

IsEmpty ↥(⊥_ AlgebraicGeometry.Scheme)

theorem AlgebraicGeometry.isAffineOpen_bot E1 #

∀ (X : AlgebraicGeometry.Scheme), AlgebraicGeometry.IsAffineOpen ⊥

instance AlgebraicGeometry.instHasStrictInitialObjectsScheme E0 #

CategoryTheory.Limits.HasStrictInitialObjects AlgebraicGeometry.Scheme

instance AlgebraicGeometry.instSubsingletonCarrierObjOppositeOpensCarrierCarrierCommRingCatPresheafOpOpensOfIsEmpty E0 #

∀ {X : AlgebraicGeometry.Scheme} [IsEmpty ↥X] (U : X.Opens), Subsingleton ↑(X.presheaf.obj (Opposite.op U))

instance AlgebraicGeometry.instIsAffineOfSubsingletonCarrierCarrierCommRingCat E0 #

∀ {X : AlgebraicGeometry.Scheme} [Subsingleton ↥X], AlgebraicGeometry.IsAffine X

This is true in general for finite discrete schemes. See below.

theorem AlgebraicGeometry.IsAffineOpen.of_subsingleton E1 #

∀ {X : AlgebraicGeometry.Scheme} {U : X.Opens}, (↑U).Subsingleton → AlgebraicGeometry.IsAffineOpen U

instance AlgebraicGeometry.instCreatesColimitsOfShapeSchemeLocallyRingedSpaceDiscreteForgetToLocallyRingedSpaceOfSmall E0 #

{σ : Type v} →
  [Small.{u, v} σ] →
    CategoryTheory.CreatesColimitsOfShape (CategoryTheory.Discrete σ)
      AlgebraicGeometry.Scheme.forgetToLocallyRingedSpace

instance AlgebraicGeometry.instPreservesColimitsOfShapeSchemeTopCatDiscreteForgetToTopOfSmall E0 #

∀ {σ : Type v} [Small.{u, v} σ],
  CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete σ) AlgebraicGeometry.Scheme.forgetToTop

instance AlgebraicGeometry.instHasColimitsOfShapeDiscreteSchemeOfSmall E0 #

∀ {σ : Type v} [Small.{u, v} σ],
  CategoryTheory.Limits.HasColimitsOfShape (CategoryTheory.Discrete σ) AlgebraicGeometry.Scheme

instance AlgebraicGeometry.instHasCoproductsSchemeOfUnivLE E0 #

∀ [UnivLE.{v, u}], CategoryTheory.Limits.HasCoproducts.{v, u, u + 1} AlgebraicGeometry.Scheme

theorem AlgebraicGeometry.sigmaι_eq_iff E0 #

∀ {σ : Type v} (g : σ → AlgebraicGeometry.Scheme) [inst : Small.{u, v} σ] (i j : σ) (x : ↥(g i)) (y : ↥(g j)),
  (CategoryTheory.Limits.Sigma.ι g i) x = (CategoryTheory.Limits.Sigma.ι g j) y ↔ ⟨i, x⟩ = ⟨j, y⟩

theorem AlgebraicGeometry.disjoint_opensRange_sigmaι E1 #

∀ {σ : Type v} (g : σ → AlgebraicGeometry.Scheme) [inst : Small.{u, v} σ] (i j : σ),
  i ≠ j →
    Disjoint (AlgebraicGeometry.Scheme.Hom.opensRange (CategoryTheory.Limits.Sigma.ι g i))
      (AlgebraicGeometry.Scheme.Hom.opensRange (CategoryTheory.Limits.Sigma.ι g j))

The images of each component in the coproduct is disjoint.

theorem AlgebraicGeometry.isEmpty_of_commSq_sigmaι_of_ne E1 #

∀ {σ : Type v} {g : σ → AlgebraicGeometry.Scheme} [inst : Small.{u, v} σ] {i j : σ} {Z : AlgebraicGeometry.Scheme}
  {a : Z ⟶ g i} {b : Z ⟶ g j},
  CategoryTheory.CommSq a b (CategoryTheory.Limits.Sigma.ι g i) (CategoryTheory.Limits.Sigma.ι g j) → i ≠ j → IsEmpty ↥Z

theorem AlgebraicGeometry.isEmpty_pullback_sigmaι_of_ne E1 #

∀ {σ : Type v} (g : σ → AlgebraicGeometry.Scheme) [inst : Small.{u, v} σ] {i j : σ},
  i ≠ j →
    IsEmpty ↥(CategoryTheory.Limits.pullback (CategoryTheory.Limits.Sigma.ι g i) (CategoryTheory.Limits.Sigma.ι g j))

instance AlgebraicGeometry.instCoproductsOfShapeDisjointSchemeOfSmall E0 #

∀ {σ : Type v} [Small.{u, v} σ], CategoryTheory.Limits.CoproductsOfShapeDisjoint AlgebraicGeometry.Scheme σ

instance AlgebraicGeometry.instHasFiniteCoproductsScheme E0 #

CategoryTheory.Limits.HasFiniteCoproducts AlgebraicGeometry.Scheme

instance AlgebraicGeometry.instMonoCoprodScheme E0 #

CategoryTheory.Limits.MonoCoprod AlgebraicGeometry.Scheme

def AlgebraicGeometry.sigmaOpenCover E1 #

{σ : Type v} → (g : σ → AlgebraicGeometry.Scheme) → [inst : Small.{u, v} σ] → (∐ g).OpenCover

The cover of ∐ X by the Xᵢ.

theorem AlgebraicGeometry.sigmaOpenCover_X E0 #

∀ {σ : Type v} (g : σ → AlgebraicGeometry.Scheme) [inst : Small.{u, v} σ] (a : σ),
  (AlgebraicGeometry.sigmaOpenCover g).X a = g a

theorem AlgebraicGeometry.sigmaOpenCover_I₀ E0 #

∀ {σ : Type v} (g : σ → AlgebraicGeometry.Scheme) [inst : Small.{u, v} σ], (AlgebraicGeometry.sigmaOpenCover g).I₀ = σ

theorem AlgebraicGeometry.sigmaOpenCover_f E0 #

∀ {σ : Type v} (g : σ → AlgebraicGeometry.Scheme) [inst : Small.{u, v} σ] (b : σ),
  (AlgebraicGeometry.sigmaOpenCover g).f b = CategoryTheory.Limits.Sigma.ι g b

def AlgebraicGeometry.sigmaMk E1 #

{ι : Type u} → (f : ι → AlgebraicGeometry.Scheme) → (i : ι) × ↥(f i) ≃ₜ ↥(∐ f)

The underlying topological space of the coproduct is homeomorphic to the disjoint union.

theorem AlgebraicGeometry.sigmaMk_mk E0 #

∀ {ι : Type u} (f : ι → AlgebraicGeometry.Scheme) (i : ι) (x : ↥(f i)),
  (AlgebraicGeometry.sigmaMk f) ⟨i, x⟩ = (CategoryTheory.Limits.Sigma.ι f i) x

theorem AlgebraicGeometry.isOpenImmersion_sigmaDesc E1 #

∀ {σ : Type v} (g : σ → AlgebraicGeometry.Scheme) [inst : Small.{u, v} σ] {X : AlgebraicGeometry.Scheme}
  (α : (i : σ) → g i ⟶ X) [∀ (i : σ), AlgebraicGeometry.IsOpenImmersion (α i)],
  Pairwise (Function.onFun Disjoint fun x ↦ Set.range ⇑(α x)) →
    AlgebraicGeometry.IsOpenImmersion (CategoryTheory.Limits.Sigma.desc α)

theorem AlgebraicGeometry.nonempty_isColimit_cofanMk_of E1 #

∀ {σ : Type v} [Small.{u, v} σ] {X : σ → AlgebraicGeometry.Scheme} {S : AlgebraicGeometry.Scheme}
  (f : (i : σ) → X i ⟶ S) [inst : ∀ (i : σ), AlgebraicGeometry.IsOpenImmersion (f i)],
  ⨆ i, AlgebraicGeometry.Scheme.Hom.opensRange (f i) = ⊤ →
    Pairwise (Function.onFun Disjoint fun x ↦ AlgebraicGeometry.Scheme.Hom.opensRange (f x)) →
      Nonempty (CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofan.mk S f))

S is the disjoint union of Xᵢ if the Xᵢ are covering, pairwise disjoint open subschemes of S.

def AlgebraicGeometry.coprodIsoSigma E1 #

(X Y : AlgebraicGeometry.Scheme) → X ⨿ Y ≅ ∐ fun i ↦ CategoryTheory.Limits.WalkingPair.casesOn i.down X Y

(Implementation Detail) The coproduct of the two schemes is given by indexed coproducts over WalkingPair.

theorem AlgebraicGeometry.ι_left_coprodIsoSigma_inv E1 #

∀ (X Y : AlgebraicGeometry.Scheme),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.Sigma.ι (fun i ↦ CategoryTheory.Limits.WalkingPair.casesOn i.down X Y)
        { down := CategoryTheory.Limits.WalkingPair.left })
      (AlgebraicGeometry.coprodIsoSigma X Y).inv =
    CategoryTheory.Limits.coprod.inl

theorem AlgebraicGeometry.ι_right_coprodIsoSigma_inv E1 #

∀ (X Y : AlgebraicGeometry.Scheme),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.Sigma.ι (fun i ↦ CategoryTheory.Limits.WalkingPair.casesOn i.down X Y)
        { down := CategoryTheory.Limits.WalkingPair.right })
      (AlgebraicGeometry.coprodIsoSigma X Y).inv =
    CategoryTheory.Limits.coprod.inr

instance AlgebraicGeometry.instIsOpenImmersionInlScheme E0 #

∀ (X Y : AlgebraicGeometry.Scheme), AlgebraicGeometry.IsOpenImmersion CategoryTheory.Limits.coprod.inl

instance AlgebraicGeometry.instIsOpenImmersionInrScheme E0 #

∀ (X Y : AlgebraicGeometry.Scheme), AlgebraicGeometry.IsOpenImmersion CategoryTheory.Limits.coprod.inr

theorem AlgebraicGeometry.isCompl_range_inl_inr E1 #

∀ (X Y : AlgebraicGeometry.Scheme),
  IsCompl (Set.range ⇑CategoryTheory.Limits.coprod.inl) (Set.range ⇑CategoryTheory.Limits.coprod.inr)

theorem AlgebraicGeometry.isCompl_opensRange_inl_inr E1 #

∀ (X Y : AlgebraicGeometry.Scheme),
  IsCompl (AlgebraicGeometry.Scheme.Hom.opensRange CategoryTheory.Limits.coprod.inl)
    (AlgebraicGeometry.Scheme.Hom.opensRange CategoryTheory.Limits.coprod.inr)

theorem AlgebraicGeometry.inl_ne_inr E0 #

∀ (X Y : AlgebraicGeometry.Scheme) (x : ↥X) (y : ↥Y),
  CategoryTheory.Limits.coprod.inl x ≠ CategoryTheory.Limits.coprod.inr y

theorem AlgebraicGeometry.inr_ne_inl E0 #

∀ (X Y : AlgebraicGeometry.Scheme) (x : ↥X) (y : ↥Y),
  CategoryTheory.Limits.coprod.inr y ≠ CategoryTheory.Limits.coprod.inl x

def AlgebraicGeometry.coprodMk E1 #

(X Y : AlgebraicGeometry.Scheme) → ↥X ⊕ ↥Y ≃ₜ ↥(X ⨿ Y)

The underlying topological space of the coproduct is homeomorphic to the disjoint union

theorem AlgebraicGeometry.coprodMk_inl E0 #

∀ (X Y : AlgebraicGeometry.Scheme) (x : ↥X),
  (AlgebraicGeometry.coprodMk X Y) (Sum.inl x) = CategoryTheory.Limits.coprod.inl x

theorem AlgebraicGeometry.coprodMk_inr E0 #

∀ (X Y : AlgebraicGeometry.Scheme) (x : ↥Y),
  (AlgebraicGeometry.coprodMk X Y) (Sum.inr x) = CategoryTheory.Limits.coprod.inr x

def AlgebraicGeometry.coprodOpenCover E1 #

(X Y : AlgebraicGeometry.Scheme) → (X ⨿ Y).OpenCover

The open cover of the coproduct of two schemes.

theorem AlgebraicGeometry.nonempty_isColimit_binaryCofanMk_of_isCompl E1 #

∀ {X Y S : AlgebraicGeometry.Scheme} (f : X ⟶ S) (g : Y ⟶ S) [inst : AlgebraicGeometry.IsOpenImmersion f]
  [inst_1 : AlgebraicGeometry.IsOpenImmersion g],
  IsCompl (AlgebraicGeometry.Scheme.Hom.opensRange f) (AlgebraicGeometry.Scheme.Hom.opensRange g) →
    Nonempty (CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.BinaryCofan.mk f g))

If X and Y are open disjoint and covering open subschemes of S, S is the disjoint union of X and Y.

theorem AlgebraicGeometry.isPullback_inl_inl_coprodMap E1 #

∀ {X Y X' Y' : AlgebraicGeometry.Scheme} (f : X ⟶ X') (g : Y ⟶ Y'),
  CategoryTheory.IsPullback f CategoryTheory.Limits.coprod.inl CategoryTheory.Limits.coprod.inl
    (CategoryTheory.Limits.coprod.map f g)

theorem AlgebraicGeometry.isPullback_inr_inr_coprodMap E1 #

∀ {X Y X' Y' : AlgebraicGeometry.Scheme} (f : X ⟶ X') (g : Y ⟶ Y'),
  CategoryTheory.IsPullback g CategoryTheory.Limits.coprod.inr CategoryTheory.Limits.coprod.inr
    (CategoryTheory.Limits.coprod.map f g)

instance AlgebraicGeometry.instFinitaryExtensiveScheme E0 #

CategoryTheory.FinitaryExtensive AlgebraicGeometry.Scheme

def AlgebraicGeometry.Scheme.coprodPresheafObjIso E1 #

{X Y : AlgebraicGeometry.Scheme} →
  (U : (X ⨿ Y).Opens) →
    (X ⨿ Y).presheaf.obj (Opposite.op U) ≅
      X.presheaf.obj (Opposite.op ((TopologicalSpace.Opens.map CategoryTheory.Limits.coprod.inl.base).obj U)) ⨯
        Y.presheaf.obj (Opposite.op ((TopologicalSpace.Opens.map CategoryTheory.Limits.coprod.inr.base).obj U))

The sections on coproducts of schemes are the (categorical) product of the sections on the components

theorem AlgebraicGeometry.Scheme.coprodPresheafObjIso_hom_fst_assoc E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (U : (X ⨿ Y).Opens) {Z : CommRingCat}
  (h : X.presheaf.obj (Opposite.op ((TopologicalSpace.Opens.map CategoryTheory.Limits.coprod.inl.base).obj U)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.coprodPresheafObjIso U).hom
      (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.fst h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.app CategoryTheory.Limits.coprod.inl U) h

theorem AlgebraicGeometry.Scheme.coprodPresheafObjIso_hom_fst E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (U : (X ⨿ Y).Opens),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.coprodPresheafObjIso U).hom
      CategoryTheory.Limits.prod.fst =
    AlgebraicGeometry.Scheme.Hom.app CategoryTheory.Limits.coprod.inl U

theorem AlgebraicGeometry.Scheme.coprodPresheafObjIso_hom_snd_assoc E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (U : (X ⨿ Y).Opens) {Z : CommRingCat}
  (h : Y.presheaf.obj (Opposite.op ((TopologicalSpace.Opens.map CategoryTheory.Limits.coprod.inr.base).obj U)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.coprodPresheafObjIso U).hom
      (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.snd h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.app CategoryTheory.Limits.coprod.inr U) h

theorem AlgebraicGeometry.Scheme.coprodPresheafObjIso_hom_snd E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (U : (X ⨿ Y).Opens),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.coprodPresheafObjIso U).hom
      CategoryTheory.Limits.prod.snd =
    AlgebraicGeometry.Scheme.Hom.app CategoryTheory.Limits.coprod.inr U

def AlgebraicGeometry.coprodSpec E1 #

(R S : Type u) →
  [inst : CommRing R] →
    [inst_1 : CommRing S] → AlgebraicGeometry.Spec ↧R ⨿ AlgebraicGeometry.Spec ↧S ⟶ AlgebraicGeometry.Spec ↧(R × S)

The map Spec R ⨿ Spec S ⟶ Spec (R × S). This is an isomorphism as witnessed by an IsIso instance provided below.

theorem AlgebraicGeometry.coprodSpec_inl_assoc E1 #

∀ (R S : Type u) [inst : CommRing R] [inst_1 : CommRing S] {Z : AlgebraicGeometry.Scheme}
  (h : AlgebraicGeometry.Spec ↧(R × S) ⟶ Z),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.coprod.inl
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.coprodSpec R S) h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (RingHom.fst R S))) h

theorem AlgebraicGeometry.coprodSpec_inl E0 #

∀ (R S : Type u) [inst : CommRing R] [inst_1 : CommRing S],
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.coprod.inl (AlgebraicGeometry.coprodSpec R S) =
    AlgebraicGeometry.Spec.map (CommRingCat.ofHom (RingHom.fst R S))

theorem AlgebraicGeometry.coprodSpec_inr E0 #

∀ (R S : Type u) [inst : CommRing R] [inst_1 : CommRing S],
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.coprod.inr (AlgebraicGeometry.coprodSpec R S) =
    AlgebraicGeometry.Spec.map (CommRingCat.ofHom (RingHom.snd R S))

theorem AlgebraicGeometry.coprodSpec_inr_assoc E1 #

∀ (R S : Type u) [inst : CommRing R] [inst_1 : CommRing S] {Z : AlgebraicGeometry.Scheme}
  (h : AlgebraicGeometry.Spec ↧(R × S) ⟶ Z),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.coprod.inr
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.coprodSpec R S) h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (RingHom.snd R S))) h

theorem AlgebraicGeometry.coprodSpec_coprodMk E1 #

∀ (R S : Type u) [inst : CommRing R] [inst_1 : CommRing S]
  (x : ↥(AlgebraicGeometry.Spec ↧R) ⊕ ↥(AlgebraicGeometry.Spec ↧S)),
  (AlgebraicGeometry.coprodSpec R S)
      ((AlgebraicGeometry.coprodMk (AlgebraicGeometry.Spec ↧R) (AlgebraicGeometry.Spec ↧S)) x) =
    (PrimeSpectrum.primeSpectrumProd R S).symm x

theorem AlgebraicGeometry.coprodSpec_apply E0 #

∀ (R S : Type u) [inst : CommRing R] [inst_1 : CommRing S]
  (x : ↥(AlgebraicGeometry.Spec ↧R ⨿ AlgebraicGeometry.Spec ↧S)),
  (AlgebraicGeometry.coprodSpec R S) x =
    (PrimeSpectrum.primeSpectrumProd R S).symm
      ((AlgebraicGeometry.coprodMk (AlgebraicGeometry.Spec ↧R) (AlgebraicGeometry.Spec ↧S)).symm x)

theorem AlgebraicGeometry.isIso_stalkMap_coprodSpec E1 #

∀ (R S : Type u) [inst : CommRing R] [inst_1 : CommRing S]
  (x : ↥(AlgebraicGeometry.Spec ↧R ⨿ AlgebraicGeometry.Spec ↧S)),
  CategoryTheory.IsIso (AlgebraicGeometry.Scheme.Hom.stalkMap (AlgebraicGeometry.coprodSpec R S) x)

instance AlgebraicGeometry.instIsIsoSchemeCoprodSpec E0 #

∀ (R S : Type u) [inst : CommRing R] [inst_1 : CommRing S], CategoryTheory.IsIso (AlgebraicGeometry.coprodSpec R S)

instance AlgebraicGeometry.instIsIsoSchemeCoprodComparisonOppositeCommRingCatSpec E0 #

∀ (R S : CommRingCatᵒᵖ), CategoryTheory.IsIso (CategoryTheory.Limits.coprodComparison AlgebraicGeometry.Scheme.Spec R S)

instance AlgebraicGeometry.instPreservesColimitsOfShapeOppositeCommRingCatSchemeDiscreteWalkingPairSpec E0 #

CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete CategoryTheory.Limits.WalkingPair)
  AlgebraicGeometry.Scheme.Spec

instance AlgebraicGeometry.instPreservesColimitsOfShapeOppositeCommRingCatSchemeDiscretePEmptySpec E0 #

CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete PEmpty.{1}) AlgebraicGeometry.Scheme.Spec

instance AlgebraicGeometry.instPreservesColimitsOfShapeOppositeCommRingCatSchemeDiscreteSpecOfFinite E0 #

∀ {J : Type u_1} [Finite J],
  CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete J) AlgebraicGeometry.Scheme.Spec

def AlgebraicGeometry.sigmaSpec E1 #

{ι : Type u} →
  (R : ι → CommRingCat) → (∐ fun i ↦ AlgebraicGeometry.Spec (R i)) ⟶ AlgebraicGeometry.Spec ↧((i : ι) → ↑(R i))

The canonical map ∐ Spec Rᵢ ⟶ Spec (Π Rᵢ). This is an isomorphism when the product is finite.

theorem AlgebraicGeometry.ι_sigmaSpec E0 #

∀ {ι : Type u} (R : ι → CommRingCat) (i : ι),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι (fun i ↦ AlgebraicGeometry.Spec (R i)) i)
      (AlgebraicGeometry.sigmaSpec R) =
    AlgebraicGeometry.Spec.map (CommRingCat.ofHom (Pi.evalRingHom (fun i ↦ ↑(R i)) i))

theorem AlgebraicGeometry.ι_sigmaSpec_assoc E0 #

∀ {ι : Type u} (R : ι → CommRingCat) (i : ι) {Z : AlgebraicGeometry.Scheme}
  (h : AlgebraicGeometry.Spec ↧((i : ι) → ↑(R i)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι (fun i ↦ AlgebraicGeometry.Spec (R i)) i)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.sigmaSpec R) h) =
    CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (Pi.evalRingHom (fun i ↦ ↑(R i)) i))) h

instance AlgebraicGeometry.instIsOpenImmersionMapOfHomForallEvalRingHom E0 #

∀ {ι : Type u} (i : ι) (R : ι → Type (max u_1 u)) [inst : (i : ι) → CommRing (R i)],
  AlgebraicGeometry.IsOpenImmersion (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (Pi.evalRingHom (fun x ↦ R x) i)))

instance AlgebraicGeometry.instIsOpenImmersionSigmaSpec E0 #

∀ {ι : Type u} (R : ι → CommRingCat), AlgebraicGeometry.IsOpenImmersion (AlgebraicGeometry.sigmaSpec R)

instance AlgebraicGeometry.instIsIsoSchemeSigmaSpecOfFinite E0 #

∀ {ι : Type u} [Finite ι] (R : ι → CommRingCat), CategoryTheory.IsIso (AlgebraicGeometry.sigmaSpec R)

instance AlgebraicGeometry.instIsAffineSigmaObjScheme E0 #

∀ {σ : Type v} (g : σ → AlgebraicGeometry.Scheme) [inst : Finite σ] [∀ (i : σ), AlgebraicGeometry.IsAffine (g i)],
  AlgebraicGeometry.IsAffine (∐ g)

instance AlgebraicGeometry.instIsAffineCoprodScheme E0 #

∀ {X Y : AlgebraicGeometry.Scheme} [AlgebraicGeometry.IsAffine X] [AlgebraicGeometry.IsAffine Y],
  AlgebraicGeometry.IsAffine (X ⨿ Y)

theorem AlgebraicGeometry.IsAffineOpen.iSup_of_disjoint E1 #

∀ {σ : Type v} {X : AlgebraicGeometry.Scheme} [Finite σ] {U : σ → X.Opens},
  (∀ (i : σ), AlgebraicGeometry.IsAffineOpen (U i)) →
    Pairwise (Function.onFun Disjoint U) → AlgebraicGeometry.IsAffineOpen (iSup U)

theorem AlgebraicGeometry.IsAffineOpen.biSup_of_disjoint E1 #

∀ {σ : Type v} {X : AlgebraicGeometry.Scheme} {s : Set σ},
  s.Finite →
    ∀ {U : σ → X.Opens},
      (∀ i ∈ s, AlgebraicGeometry.IsAffineOpen (U i)) →
        s.Pairwise (Function.onFun Disjoint U) → AlgebraicGeometry.IsAffineOpen (⨆ i ∈ s, U i)

theorem AlgebraicGeometry.IsAffineOpen.sup_of_disjoint E1 #

∀ {X : AlgebraicGeometry.Scheme} {U V : X.Opens},
  AlgebraicGeometry.IsAffineOpen U →
    AlgebraicGeometry.IsAffineOpen V → Disjoint U V → AlgebraicGeometry.IsAffineOpen (U ⊔ V)

instance AlgebraicGeometry.instIsAffineOfFiniteOfDiscreteTopologyCarrierCarrierCommRingCat E0 #

∀ {X : AlgebraicGeometry.Scheme} [Finite ↥X] [DiscreteTopology ↥X], AlgebraicGeometry.IsAffine X

instance AlgebraicGeometry.instMonoObjWalkingSpanCompSchemeSpanForgetNoneWalkingPairSomeMapInitOfIsOpenImmersion E0 #

∀ {U X Y : AlgebraicGeometry.Scheme} (f : U ⟶ X) (g : U ⟶ Y) [AlgebraicGeometry.IsOpenImmersion f]
  [AlgebraicGeometry.IsOpenImmersion g] (i : CategoryTheory.Limits.WalkingPair),
  CategoryTheory.Mono
    (((CategoryTheory.Limits.span f g).comp AlgebraicGeometry.Scheme.forget).map
      (CategoryTheory.Limits.WidePushoutShape.Hom.init i))

instance AlgebraicGeometry.instIsOpenImmersionMapWalkingSpanSchemeSpan E0 #

∀ {U X Y : AlgebraicGeometry.Scheme} (f : U ⟶ X) (g : U ⟶ Y) [AlgebraicGeometry.IsOpenImmersion f]
  [AlgebraicGeometry.IsOpenImmersion g] {i j : CategoryTheory.Limits.WalkingSpan} (t : i ⟶ j),
  AlgebraicGeometry.IsOpenImmersion ((CategoryTheory.Limits.span f g).map t)

instance AlgebraicGeometry.instCartesianMonoidalCategoryScheme E0 #

CategoryTheory.CartesianMonoidalCategory AlgebraicGeometry.Scheme

instance AlgebraicGeometry.instBraidedCategoryScheme E0 #

CategoryTheory.BraidedCategory AlgebraicGeometry.Scheme

theorem AlgebraicGeometry.Scheme.isAffine_of_isLimit E1 #

∀ {I : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} I] {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme}
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c)
  [∀ (i : I), AlgebraicGeometry.IsAffine (D.obj i)], AlgebraicGeometry.IsAffine c.pt