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

69 declarations. Mathlib docs · Source

Inverse limits of schemes with affine transition maps

In this file, we develop API for inverse limits of schemes with affine transition maps, following EGA IV 8 and https://stacks.math.columbia.edu/tag/01YT.

Cofiltered Limits and Schemes of Finite Type

Given a cofiltered diagram D of quasi-compact S-schemes with affine transition maps, and another scheme X of finite type over S. Then the canonical map colim Homₛ(Dᵢ, X) ⟶ Homₛ(lim Dᵢ, X) is injective. In other words, for each pair of a : Homₛ(Dᵢ, X) and b : Homₛ(Dⱼ, X) that give rise to the same map Homₛ(lim Dᵢ, X), there exists a k with fᵢ : k ⟶ i and fⱼ : k ⟶ j such that D(fᵢ) ≫ a = D(fⱼ) ≫ b. This results is formalized in Scheme.exists_hom_hom_comp_eq_comp_of_locallyOfFiniteType.

We first reduce to the case i = j, and the goal is to reduce to the case where X and S are affine, where the result follows from commutative algebra.

To achieve this, we show that there exists some i₀ ⟶ i such that for each x, a x and b x are contained in the same component (i.e. given an open cover 𝒰ₛ of S, and 𝒰ₓ of X refining 𝒰ₛ, the range of x ↦ (a x, b x) falls in the diagonal part ⋃ᵢⱼ 𝒰ₓⱼ ×[𝒰ₛᵢ] 𝒰ₓⱼ). Then we may restrict to the sub-diagram over i₀ (which is cofinal because D is cofiltered), and check locally on X, reducing to the affine case.

For the actual implementation, we wrap i, a, b, the limit cone lim Dᵢ, and open covers of X and S into a structure ExistsHomHomCompEqCompAux for convenience.

See the injective part of (1) => (3) of https://stacks.math.columbia.edu/tag/01ZC.

Sections of the limit

Let D be a cofiltered diagram of schemes with affine transition maps. Consider the canonical map colim Γ(Dᵢ, ⊤) ⟶ Γ(lim Dᵢ, ⊤).

If D consists of quasicompact schemes, then this map is injective. More generally, we show that if s t : Γ(Dᵢ, U) have equal image in lim Dᵢ, then they are equal at some Γ(Dⱼ, Dⱼᵢ⁻¹ U). See AlgebraicGeometry.exists_app_map_eq_map_of_isLimit.

If D consists of qcqs schemes, then this map is surjective. Specifically, we show that any s : Γ(lim Dᵢ, ⊤) comes from Γ(Dᵢ, ⊤) for some i. See AlgebraicGeometry.exists_appTop_π_eq_of_isLimit.

These two results imply that PreservesLimit D Scheme.Γ.rightOp, which is available as an instance.

theorem AlgebraicGeometry.ExistsHomHomCompEqCompAux.mk.inj E1 #

∀ {I : Type u} {inst : CategoryTheory.Category.{u, u} I} {S X : AlgebraicGeometry.Scheme}
  {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} {t : D ⟶ (CategoryTheory.Functor.const I).obj S} {f : X ⟶ S}
  {c : CategoryTheory.Limits.Cone D} {hc : CategoryTheory.Limits.IsLimit c} {i : I} {a : D.obj i ⟶ X}
  {ha : t.app i = CategoryTheory.CategoryStruct.comp a f} {b : D.obj i ⟶ X}
  {hb : t.app i = CategoryTheory.CategoryStruct.comp b f}
  {hab : CategoryTheory.CategoryStruct.comp (c.π.app i) a = CategoryTheory.CategoryStruct.comp (c.π.app i) b}
  {𝒰S : S.OpenCover} {h𝒰S : ∀ (i : 𝒰S.I₀), AlgebraicGeometry.IsAffine (𝒰S.X i)}
  {𝒰X :
    (i : (CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f 𝒰S).I₀) →
      ((CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f 𝒰S).X i).OpenCover}
  {h𝒰X :
    ∀ (i : (CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f 𝒰S).I₀) (j : (𝒰X i).I₀),
      AlgebraicGeometry.IsAffine ((𝒰X i).X j)}
  {c_1 : CategoryTheory.Limits.Cone D} {hc_1 : CategoryTheory.Limits.IsLimit c_1} {i_1 : I} {a_1 : D.obj i_1 ⟶ X}
  {ha_1 : t.app i_1 = CategoryTheory.CategoryStruct.comp a_1 f} {b_1 : D.obj i_1 ⟶ X}
  {hb_1 : t.app i_1 = CategoryTheory.CategoryStruct.comp b_1 f}
  {hab_1 :
    CategoryTheory.CategoryStruct.comp (c_1.π.app i_1) a_1 = CategoryTheory.CategoryStruct.comp (c_1.π.app i_1) b_1}
  {𝒰S_1 : S.OpenCover} {h𝒰S_1 : ∀ (i : 𝒰S_1.I₀), AlgebraicGeometry.IsAffine (𝒰S_1.X i)}
  {𝒰X_1 :
    (i : (CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f 𝒰S_1).I₀) →
      ((CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f 𝒰S_1).X i).OpenCover}
  {h𝒰X_1 :
    ∀ (i : (CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f 𝒰S_1).I₀) (j : (𝒰X_1 i).I₀),
      AlgebraicGeometry.IsAffine ((𝒰X_1 i).X j)},
  { c := c, hc := hc, i := i, a := a, ha := ha, b := b, hb := hb, hab := hab, 𝒰S := 𝒰S, h𝒰S := h𝒰S, 𝒰X := 𝒰X,
        h𝒰X := h𝒰X } =
      { c := c_1, hc := hc_1, i := i_1, a := a_1, ha := ha_1, b := b_1, hb := hb_1, hab := hab_1, 𝒰S := 𝒰S_1,
        h𝒰S := h𝒰S_1, 𝒰X := 𝒰X_1, h𝒰X := h𝒰X_1 } →
    c = c_1 ∧ hc ≍ hc_1 ∧ i = i_1 ∧ a ≍ a_1 ∧ b ≍ b_1 ∧ 𝒰S = 𝒰S_1 ∧ 𝒰X ≍ 𝒰X_1

def AlgebraicGeometry.ExistsHomHomCompEqCompAux.ctorIdx E1 #

{I : Type u} →
  {inst : CategoryTheory.Category.{u, u} I} →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} → AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f → ℕ

theorem AlgebraicGeometry.ExistsHomHomCompEqCompAux.mk.injEq E0 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] {S X : AlgebraicGeometry.Scheme}
  {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} {t : D ⟶ (CategoryTheory.Functor.const I).obj S} {f : X ⟶ S}
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) (i : I) (a : D.obj i ⟶ X)
  (ha : t.app i = CategoryTheory.CategoryStruct.comp a f) (b : D.obj i ⟶ X)
  (hb : t.app i = CategoryTheory.CategoryStruct.comp b f)
  (hab : CategoryTheory.CategoryStruct.comp (c.π.app i) a = CategoryTheory.CategoryStruct.comp (c.π.app i) b)
  (𝒰S : S.OpenCover) [h𝒰S : ∀ (i : 𝒰S.I₀), AlgebraicGeometry.IsAffine (𝒰S.X i)]
  (𝒰X :
    (i : (CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f 𝒰S).I₀) →
      ((CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f 𝒰S).X i).OpenCover)
  [h𝒰X :
    ∀ (i : (CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f 𝒰S).I₀) (j : (𝒰X i).I₀),
      AlgebraicGeometry.IsAffine ((𝒰X i).X j)]
  (c_1 : CategoryTheory.Limits.Cone D) (hc_1 : CategoryTheory.Limits.IsLimit c_1) (i_1 : I) (a_1 : D.obj i_1 ⟶ X)
  (ha_1 : t.app i_1 = CategoryTheory.CategoryStruct.comp a_1 f) (b_1 : D.obj i_1 ⟶ X)
  (hb_1 : t.app i_1 = CategoryTheory.CategoryStruct.comp b_1 f)
  (hab_1 :
    CategoryTheory.CategoryStruct.comp (c_1.π.app i_1) a_1 = CategoryTheory.CategoryStruct.comp (c_1.π.app i_1) b_1)
  (𝒰S_1 : S.OpenCover) (h𝒰S_1 : ∀ (i : 𝒰S_1.I₀), AlgebraicGeometry.IsAffine (𝒰S_1.X i))
  (𝒰X_1 :
    (i : (CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f 𝒰S_1).I₀) →
      ((CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f 𝒰S_1).X i).OpenCover)
  (h𝒰X_1 :
    ∀ (i : (CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f 𝒰S_1).I₀) (j : (𝒰X_1 i).I₀),
      AlgebraicGeometry.IsAffine ((𝒰X_1 i).X j)),
  ({ c := c, hc := hc, i := i, a := a, ha := ha, b := b, hb := hb, hab := hab, 𝒰S := 𝒰S, h𝒰S := h𝒰S, 𝒰X := 𝒰X,
        h𝒰X := h𝒰X } =
      { c := c_1, hc := hc_1, i := i_1, a := a_1, ha := ha_1, b := b_1, hb := hb_1, hab := hab_1, 𝒰S := 𝒰S_1,
        h𝒰S := h𝒰S_1, 𝒰X := 𝒰X_1, h𝒰X := h𝒰X_1 }) =
    (c = c_1 ∧ hc ≍ hc_1 ∧ i = i_1 ∧ a ≍ a_1 ∧ b ≍ b_1 ∧ 𝒰S = 𝒰S_1 ∧ 𝒰X ≍ 𝒰X_1)

theorem CategoryTheory.IsCofiltered.infTo.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsCofiltered C] (O : Finset C)
  (H : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y))) {X : C} (m : X ∈ O),
  CategoryTheory.IsCofiltered.infTo O H m = CategoryTheory.IsCofiltered.infTo O H m

theorem AlgebraicGeometry.ExistsHomHomCompEqCompAux.i'.congr_simp E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] {S X : AlgebraicGeometry.Scheme}
  {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} {t : D ⟶ (CategoryTheory.Functor.const I).obj S} {f : X ⟶ S}
  [inst_1 : ∀ (i : I), CompactSpace ↥(D.obj i)] [inst_2 : CategoryTheory.IsCofiltered I]
  [inst_3 : ∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)]
  (A A_1 : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f), A = A_1 → A.i' = A_1.i'

theorem AlgebraicGeometry.Scheme.nonempty_of_isLimit E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofilteredOrEmpty I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] [∀ (i : I), Nonempty ↥(D.obj i)]
  [∀ (i : I), CompactSpace ↥(D.obj i)], Nonempty ↥c.pt

Suppose we have a cofiltered diagram of nonempty quasi-compact schemes, whose transition maps are affine. Then the limit is also nonempty.

theorem AlgebraicGeometry.exists_mem_of_isClosed_of_nonempty E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofilteredOrEmpty I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] (Z : (i : I) → Set ↥(D.obj i)),
  (∀ (i : I), IsClosed (Z i)) →
    (∀ (i : I), (Z i).Nonempty) →
      (∀ (i : I), IsCompact (Z i)) →
        (∀ {i i' : I} (f : i ⟶ i'), Set.MapsTo (⇑(D.map f)) (Z i) (Z i')) → ∃ s, ∀ (i : I), (c.π.app i) s ∈ Z i

Suppose we have a cofiltered diagram of schemes whose transition maps are affine. The limit of a family of compatible nonempty quasicompact closed sets in the diagram is also nonempty.

theorem AlgebraicGeometry.exists_mem_of_isClosed_of_nonempty' E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofilteredOrEmpty I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] {j : I} (Z : (i : I) → (i ⟶ j) → Set ↥(D.obj i)),
  (∀ (i : I) (hij : i ⟶ j), IsClosed (Z i hij)) →
    (∀ (i : I) (hij : i ⟶ j), (Z i hij).Nonempty) →
      (∀ (i : I) (hij : i ⟶ j), IsCompact (Z i hij)) →
        (∀ (i i' : I) (hi'i : i' ⟶ i) (hij : i ⟶ j),
            Set.MapsTo (⇑(D.map hi'i)) (Z i' (CategoryTheory.CategoryStruct.comp hi'i hij)) (Z i hij)) →
          ∃ s, ∀ (i : I) (hij : i ⟶ j), (c.π.app i) s ∈ Z i hij

A variant of exists_mem_of_isClosed_of_nonempty where the closed sets are only defined for the objects over a given j : I.

theorem AlgebraicGeometry.exists_map_eq_top E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] [∀ (i : I), CompactSpace ↥(D.obj i)] {i : I}
  (U : (D.obj i).Opens),
  (TopologicalSpace.Opens.map (c.π.app i).base).obj U = ⊤ →
    ∃ j fji, (TopologicalSpace.Opens.map (D.map fji).base).obj U = ⊤

Let { Dᵢ } be a cofiltered diagram of compact schemes with affine transition maps. If U ⊆ Dⱼ contains the image of limᵢ Dᵢ ⟶ Dⱼ, then it contains the image of some Dₖ ⟶ Dⱼ.

def AlgebraicGeometry.opensDiagram E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme) →
      (i : I) → (D.obj i).Opens → CategoryTheory.Functor (CategoryTheory.Over i) AlgebraicGeometry.Scheme

Given a diagram { Dᵢ } of schemes and an open U ⊆ Dᵢ, this is the diagram of { Dⱼᵢ⁻¹ U }_{j ≤ i}.

theorem AlgebraicGeometry.opensDiagram_map E0 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme) (i : I)
  (U : (D.obj i).Opens) {j k : CategoryTheory.Over i} (f : j ⟶ k),
  (AlgebraicGeometry.opensDiagram D i U).map f =
    AlgebraicGeometry.Scheme.Hom.resLE (D.map (CategoryTheory.Over.Hom.left f))
      ((TopologicalSpace.Opens.map (D.map k.hom).base).obj U) ((TopologicalSpace.Opens.map (D.map j.hom).base).obj U) ⋯

theorem AlgebraicGeometry.opensDiagram_obj E0 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme) (i : I)
  (U : (D.obj i).Opens) (j : CategoryTheory.Over i),
  (AlgebraicGeometry.opensDiagram D i U).obj j = ↑((TopologicalSpace.Opens.map (D.map j.hom).base).obj U)

def AlgebraicGeometry.opensDiagramι E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme) →
      (i : I) → (U : (D.obj i).Opens) → AlgebraicGeometry.opensDiagram D i U ⟶ (CategoryTheory.Over.forget i).comp D

The map Dⱼᵢ⁻¹ U ⟶ Dᵢ from the restricted diagram to the original diagram.

theorem AlgebraicGeometry.opensDiagramι_app E0 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme) (i : I)
  (U : (D.obj i).Opens) (j : CategoryTheory.Over i),
  (AlgebraicGeometry.opensDiagramι D i U).app j = ((TopologicalSpace.Opens.map (D.map j.hom).base).obj U).ι

instance AlgebraicGeometry.instIsOpenImmersionAppOverSchemeOpensDiagramι E0 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme) (i : I)
  (U : (D.obj i).Opens) (j : CategoryTheory.Over i),
  AlgebraicGeometry.IsOpenImmersion ((AlgebraicGeometry.opensDiagramι D i U).app j)

def AlgebraicGeometry.opensCone E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme) →
      CategoryTheory.Limits.Cone D →
        (i : I) → (U : (D.obj i).Opens) → CategoryTheory.Limits.Cone (AlgebraicGeometry.opensDiagram D i U)

Given a diagram { Dᵢ } of schemes and an open U ⊆ Dᵢ, the preimage of U ⊆ Dᵢ under the map lim Dᵢ ⟶ Dᵢ is the limit of { Dⱼᵢ⁻¹ U }_{j ≤ i}. This is the underlying cone, and it is limiting as witnessed by isLimitOpensCone below.

theorem AlgebraicGeometry.opensCone_pt E0 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (i : I) (U : (D.obj i).Opens),
  (AlgebraicGeometry.opensCone D c i U).pt = ↑((TopologicalSpace.Opens.map (c.π.app i).base).obj U)

theorem AlgebraicGeometry.opensCone_π_app E0 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (i : I) (U : (D.obj i).Opens) (j : CategoryTheory.Over i),
  (AlgebraicGeometry.opensCone D c i U).π.app j =
    AlgebraicGeometry.Scheme.Hom.resLE (c.π.app j.left) ((TopologicalSpace.Opens.map (D.map j.hom).base).obj U)
      ((TopologicalSpace.Opens.map (c.π.app i).base).obj U) ⋯

def AlgebraicGeometry.isLimitOpensCone E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme) →
      (c : CategoryTheory.Limits.Cone D) →
        CategoryTheory.Limits.IsLimit c →
          [CategoryTheory.IsCofiltered I] →
            (i : I) → (U : (D.obj i).Opens) → CategoryTheory.Limits.IsLimit (AlgebraicGeometry.opensCone D c i U)

Given a diagram { Dᵢ }_{i ∈ I} of schemes and an open U ⊆ Dᵢ, the preimage of U ⊆ Dᵢ under the map lim Dᵢ ⟶ Dᵢ is the limit of { Dⱼᵢ⁻¹ U }_{j ≤ i}.

instance AlgebraicGeometry.instIsAffineHomMapOverSchemeOpensDiagram E0 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] {i : I} (U : (D.obj i).Opens)
  {j k : CategoryTheory.Over i} (f : j ⟶ k),
  AlgebraicGeometry.IsAffineHom ((AlgebraicGeometry.opensDiagram D i U).map f)

theorem AlgebraicGeometry.exists_map_preimage_le_map_preimage E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] {i : I} {U V : (D.obj i).Opens},
  IsCompact ↑U →
    (TopologicalSpace.Opens.map (c.π.app i).base).obj U ≤ (TopologicalSpace.Opens.map (c.π.app i).base).obj V →
      ∃ j fji, (TopologicalSpace.Opens.map (D.map fji).base).obj U ≤ (TopologicalSpace.Opens.map (D.map fji).base).obj V

theorem AlgebraicGeometry.exists_map_preimage_eq_map_preimage E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] {i : I} {U V : (D.obj i).Opens},
  IsCompact ↑U →
    IsCompact ↑V →
      (TopologicalSpace.Opens.map (c.π.app i).base).obj U = (TopologicalSpace.Opens.map (c.π.app i).base).obj V →
        ∃ j fji,
          (TopologicalSpace.Opens.map (D.map fji).base).obj U = (TopologicalSpace.Opens.map (D.map fji).base).obj V

theorem AlgebraicGeometry.isBasis_preimage_isAffineOpen E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)],
  TopologicalSpace.Opens.IsBasis
    {x | ∃ i V, ∃ (_ : AlgebraicGeometry.IsAffineOpen V), (TopologicalSpace.Opens.map (c.π.app i).base).obj V = x}

theorem AlgebraicGeometry.exists_preimage_eq E0 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] (U : c.pt.Opens),
  IsCompact ↑U → ∃ i V, IsCompact ↑V ∧ (TopologicalSpace.Opens.map (c.π.app i).base).obj V = U

theorem AlgebraicGeometry.isAffineHom_π_app E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] (i : I), AlgebraicGeometry.IsAffineHom (c.π.app i)

theorem AlgebraicGeometry.Scheme.compactSpace_of_isLimit E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] [∀ (i : I), CompactSpace ↥(D.obj i)],
  CompactSpace ↥c.pt

structure AlgebraicGeometry.ExistsHomHomCompEqCompAux E0 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme) →
        (D ⟶ (CategoryTheory.Functor.const I).obj S) → (X ⟶ S) → Type (u + 1)

(Implementation) An auxiliary structure used to prove Scheme.exists_hom_hom_comp_eq_comp_of_locallyOfFiniteType. See the section docstring.

ctor AlgebraicGeometry.ExistsHomHomCompEqCompAux.mk E0 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} →
            (c : CategoryTheory.Limits.Cone D) →
              CategoryTheory.Limits.IsLimit c →
                (i : I) →
                  (a : D.obj i ⟶ X) →
                    t.app i = CategoryTheory.CategoryStruct.comp a f →
                      (b : D.obj i ⟶ X) →
                        t.app i = CategoryTheory.CategoryStruct.comp b f →
                          CategoryTheory.CategoryStruct.comp (c.π.app i) a =
                              CategoryTheory.CategoryStruct.comp (c.π.app i) b →
                            (𝒰S : S.OpenCover) →
                              [h𝒰S : ∀ (i : 𝒰S.I₀), AlgebraicGeometry.IsAffine (𝒰S.X i)] →
                                (𝒰X :
                                    (i : (CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f 𝒰S).I₀) →
                                      ((CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f 𝒰S).X i).OpenCover) →
                                  [h𝒰X :
                                      ∀ (i : (CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f 𝒰S).I₀)
                                        (j : (𝒰X i).I₀), AlgebraicGeometry.IsAffine ((𝒰X i).X j)] →
                                    AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f

abbrev AlgebraicGeometry.ExistsHomHomCompEqCompAux.c E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} → AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f → CategoryTheory.Limits.Cone D

(Implementation) The limit cone. See the section docstring.

abbrev AlgebraicGeometry.ExistsHomHomCompEqCompAux.hc E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} →
            (self : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f) → CategoryTheory.Limits.IsLimit self.c

(Implementation) The limit cone is a limit. See the section docstring.

abbrev AlgebraicGeometry.ExistsHomHomCompEqCompAux.i E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} → AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f → I

(Implementation) The index on which a and b lives. See the section docstring.

abbrev AlgebraicGeometry.ExistsHomHomCompEqCompAux.a E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} → (self : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f) → D.obj self.i ⟶ X

(Implementation) a. See the section docstring.

theorem AlgebraicGeometry.ExistsHomHomCompEqCompAux.ha E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] {S X : AlgebraicGeometry.Scheme}
  {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} {t : D ⟶ (CategoryTheory.Functor.const I).obj S} {f : X ⟶ S}
  (self : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f), t.app self.i = CategoryTheory.CategoryStruct.comp self.a f

abbrev AlgebraicGeometry.ExistsHomHomCompEqCompAux.b E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} → (self : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f) → D.obj self.i ⟶ X

(Implementation) b. See the section docstring.

theorem AlgebraicGeometry.ExistsHomHomCompEqCompAux.hb E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] {S X : AlgebraicGeometry.Scheme}
  {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} {t : D ⟶ (CategoryTheory.Functor.const I).obj S} {f : X ⟶ S}
  (self : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f), t.app self.i = CategoryTheory.CategoryStruct.comp self.b f

theorem AlgebraicGeometry.ExistsHomHomCompEqCompAux.hab E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] {S X : AlgebraicGeometry.Scheme}
  {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} {t : D ⟶ (CategoryTheory.Functor.const I).obj S} {f : X ⟶ S}
  (self : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f),
  CategoryTheory.CategoryStruct.comp (self.c.π.app self.i) self.a =
    CategoryTheory.CategoryStruct.comp (self.c.π.app self.i) self.b

abbrev AlgebraicGeometry.ExistsHomHomCompEqCompAux.𝒰S E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} → AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f → S.OpenCover

(Implementation) An open cover on S. See the section docstring.

instance AlgebraicGeometry.ExistsHomHomCompEqCompAux.h𝒰S E0 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] {S X : AlgebraicGeometry.Scheme}
  {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} {t : D ⟶ (CategoryTheory.Functor.const I).obj S} {f : X ⟶ S}
  (self : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f) (i : self.𝒰S.I₀), AlgebraicGeometry.IsAffine (self.𝒰S.X i)

abbrev AlgebraicGeometry.ExistsHomHomCompEqCompAux.𝒰X E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} →
            (self : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f) →
              (i : (CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f self.𝒰S).I₀) →
                ((CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f self.𝒰S).X i).OpenCover

(Implementation) A family of open covers refining 𝒰S. See the section docstring.

instance AlgebraicGeometry.ExistsHomHomCompEqCompAux.h𝒰X E0 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] {S X : AlgebraicGeometry.Scheme}
  {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} {t : D ⟶ (CategoryTheory.Functor.const I).obj S} {f : X ⟶ S}
  (self : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f)
  (i : (CategoryTheory.Precoverage.ZeroHypercover.pullback₁ f self.𝒰S).I₀) (j : (self.𝒰X i).I₀),
  AlgebraicGeometry.IsAffine ((self.𝒰X i).X j)

theorem AlgebraicGeometry.ExistsHomHomCompEqCompAux.exists_index E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] {S X : AlgebraicGeometry.Scheme}
  {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} {t : D ⟶ (CategoryTheory.Functor.const I).obj S} {f : X ⟶ S}
  [∀ (i : I), CompactSpace ↥(D.obj i)] [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)]
  (A : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f),
  ∃ i' hii',
    ⇑(CategoryTheory.CategoryStruct.comp (D.map hii') (CategoryTheory.Limits.pullback.lift A.a A.b ⋯)) ⁻¹'
        (↑(AlgebraicGeometry.Scheme.Pullback.diagonalCoverDiagonalRange f A.𝒰S A.𝒰X))ᶜ =
      ∅

def AlgebraicGeometry.ExistsHomHomCompEqCompAux.i' E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} →
            [∀ (i : I), CompactSpace ↥(D.obj i)] →
              [CategoryTheory.IsCofiltered I] →
                [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] →
                  AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f → I

(Implementation) The index i' such that a and b restricted onto i' maps into the diagonal components. See the section docstring.

def AlgebraicGeometry.ExistsHomHomCompEqCompAux.hii' E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} →
            [inst_1 : ∀ (i : I), CompactSpace ↥(D.obj i)] →
              [inst_2 : CategoryTheory.IsCofiltered I] →
                [inst_3 : ∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] →
                  (A : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f) → A.i' ⟶ A.i

(Implementation) The map from i' to i. See the section docstring.

def AlgebraicGeometry.ExistsHomHomCompEqCompAux.g E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} →
            [inst_1 : ∀ (i : I), CompactSpace ↥(D.obj i)] →
              [inst_2 : CategoryTheory.IsCofiltered I] →
                [inst_3 : ∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] →
                  (A : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f) →
                    D.obj A.i' ⟶ CategoryTheory.Limits.pullback f f

(Implementation) The map sending x to (a x, b x), which should fall in the diagonal component. See the section docstring.

theorem AlgebraicGeometry.ExistsHomHomCompEqCompAux.range_g_subset E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] {S X : AlgebraicGeometry.Scheme}
  {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} {t : D ⟶ (CategoryTheory.Functor.const I).obj S} {f : X ⟶ S}
  [inst_1 : ∀ (i : I), CompactSpace ↥(D.obj i)] [inst_2 : CategoryTheory.IsCofiltered I]
  [inst_3 : ∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)]
  (A : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f),
  Set.range ⇑A.g ⊆ ↑(AlgebraicGeometry.Scheme.Pullback.diagonalCoverDiagonalRange f A.𝒰S A.𝒰X)

def AlgebraicGeometry.ExistsHomHomCompEqCompAux.𝒰D₀ E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} →
            [inst_1 : ∀ (i : I), CompactSpace ↥(D.obj i)] →
              [inst_2 : CategoryTheory.IsCofiltered I] →
                [inst_3 : ∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] →
                  (A : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f) → (D.obj A.i').OpenCover

(Implementation) The covering of D(i') by the pullback of the diagonal components of X ×ₛ X. See the section docstring.

def AlgebraicGeometry.ExistsHomHomCompEqCompAux.𝒰D E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} →
            [inst_1 : ∀ (i : I), CompactSpace ↥(D.obj i)] →
              [inst_2 : CategoryTheory.IsCofiltered I] →
                [inst_3 : ∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] →
                  (A : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f) → (D.obj A.i').OpenCover

(Implementation) An affine open cover refining 𝒰D₀. See the section docstring.

def AlgebraicGeometry.ExistsHomHomCompEqCompAux.D' E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} →
            [inst_1 : ∀ (i : I), CompactSpace ↥(D.obj i)] →
              [inst_2 : CategoryTheory.IsCofiltered I] →
                [inst_3 : ∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] →
                  (A : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f) →
                    A.𝒰D.I₀ → CategoryTheory.Functor (CategoryTheory.Over A.i') AlgebraicGeometry.Scheme

(Implementation) The diagram restricted to Over i'. See the section docstring.

def AlgebraicGeometry.ExistsHomHomCompEqCompAux.c' E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} →
            [inst_1 : ∀ (i : I), CompactSpace ↥(D.obj i)] →
              [inst_2 : CategoryTheory.IsCofiltered I] →
                [inst_3 : ∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] →
                  (A : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f) →
                    (j : A.𝒰D.I₀) → CategoryTheory.Limits.Cone (A.D' j)

(Implementation) The limit cone restricted to Over i'. See the section docstring.

def AlgebraicGeometry.ExistsHomHomCompEqCompAux.hc' E1 #

{I : Type u} →
  [inst : CategoryTheory.Category.{u, u} I] →
    {S X : AlgebraicGeometry.Scheme} →
      {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} →
        {t : D ⟶ (CategoryTheory.Functor.const I).obj S} →
          {f : X ⟶ S} →
            [inst_1 : ∀ (i : I), CompactSpace ↥(D.obj i)] →
              [inst_2 : CategoryTheory.IsCofiltered I] →
                [inst_3 : ∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] →
                  (A : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f) →
                    (j : A.𝒰D.I₀) → CategoryTheory.Limits.IsLimit (A.c' j)

(Implementation) The limit cone restricted to Over i' is still a limit because the diagram is cofiltered. See the section docstring.

theorem AlgebraicGeometry.ExistsHomHomCompEqCompAux.exists_eq E0 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] {S X : AlgebraicGeometry.Scheme}
  {D : CategoryTheory.Functor I AlgebraicGeometry.Scheme} {t : D ⟶ (CategoryTheory.Functor.const I).obj S} {f : X ⟶ S}
  [inst_1 : ∀ (i : I), CompactSpace ↥(D.obj i)] [AlgebraicGeometry.LocallyOfFiniteType f]
  [inst_3 : CategoryTheory.IsCofiltered I] [inst_4 : ∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)]
  (A : AlgebraicGeometry.ExistsHomHomCompEqCompAux D t f) [∀ (i : I), AlgebraicGeometry.IsAffineHom (A.c.π.app i)]
  (j : A.𝒰D.I₀),
  ∃ k hki',
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.Precoverage.ZeroHypercover.pullback₁ (D.map hki') A.𝒰D).f j)
        (CategoryTheory.CategoryStruct.comp (D.map (CategoryTheory.CategoryStruct.comp hki' A.hii')) A.a) =
      CategoryTheory.CategoryStruct.comp ((CategoryTheory.Precoverage.ZeroHypercover.pullback₁ (D.map hki') A.𝒰D).f j)
        (CategoryTheory.CategoryStruct.comp (D.map (CategoryTheory.CategoryStruct.comp hki' A.hii')) A.b)

theorem AlgebraicGeometry.Scheme.exists_hom_comp_eq_comp_of_locallyOfFiniteType E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] {S X : AlgebraicGeometry.Scheme}
  (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme) (t : D ⟶ (CategoryTheory.Functor.const I).obj S) (f : X ⟶ S)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [∀ (i : I), CompactSpace ↥(D.obj i)]
  [AlgebraicGeometry.LocallyOfFiniteType f] [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] {i : I} (a b : D.obj i ⟶ X),
  t.app i = CategoryTheory.CategoryStruct.comp a f →
    t.app i = CategoryTheory.CategoryStruct.comp b f →
      CategoryTheory.CategoryStruct.comp (c.π.app i) a = CategoryTheory.CategoryStruct.comp (c.π.app i) b →
        ∃ k hik, CategoryTheory.CategoryStruct.comp (D.map hik) a = CategoryTheory.CategoryStruct.comp (D.map hik) b

theorem AlgebraicGeometry.Scheme.exists_hom_hom_comp_eq_comp_of_locallyOfFiniteType E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] {S X : AlgebraicGeometry.Scheme}
  (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme) (t : D ⟶ (CategoryTheory.Functor.const I).obj S) (f : X ⟶ S)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [∀ (i : I), CompactSpace ↥(D.obj i)]
  [AlgebraicGeometry.LocallyOfFiniteType f] [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] {i : I} (a : D.obj i ⟶ X),
  t.app i = CategoryTheory.CategoryStruct.comp a f →
    ∀ {j : I} (b : D.obj j ⟶ X),
      t.app j = CategoryTheory.CategoryStruct.comp b f →
        CategoryTheory.CategoryStruct.comp (c.π.app i) a = CategoryTheory.CategoryStruct.comp (c.π.app j) b →
          ∃ k hik hjk,
            CategoryTheory.CategoryStruct.comp (D.map hik) a = CategoryTheory.CategoryStruct.comp (D.map hjk) b

Given a cofiltered diagram D of quasi-compact S-schemes with affine transition maps, and another scheme X of finite type over S. Then the canonical map colim Homₛ(Dᵢ, X) ⟶ Homₛ(lim Dᵢ, X) is injective.

In other words, for each pair of a : Homₛ(Dᵢ, X) and b : Homₛ(Dⱼ, X) that give rise to the same map Homₛ(lim Dᵢ, X), there exists a k with fᵢ : k ⟶ i and fⱼ : k ⟶ j such that D(fᵢ) ≫ a = D(fⱼ) ≫ b.

theorem AlgebraicGeometry.exists_appTop_map_eq_zero_of_isAffine_of_isLimit E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ (i : I), AlgebraicGeometry.IsAffine (D.obj i)] (i : I) (s : ↑((D.obj i).presheaf.obj (Opposite.op ⊤))),
  (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.appTop (c.π.app i))) s = 0 →
    ∃ j f, (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.appTop (D.map f))) s = 0

theorem AlgebraicGeometry.exists_appTop_map_eq_zero_of_isLimit E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] {i : I} [CompactSpace ↥(D.obj i)]
  (s : ↑((D.obj i).presheaf.obj (Opposite.op ⊤))),
  (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.appTop (c.π.app i))) s = 0 →
    ∃ j f, (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.appTop (D.map f))) s = 0

theorem AlgebraicGeometry.exists_app_map_eq_zero_of_isLimit E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] {i : I} {U : (D.obj i).Opens},
  IsCompact ↑U →
    ∀ (s : ↑((D.obj i).presheaf.obj (Opposite.op U))),
      (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.app (c.π.app i) U)) s = 0 →
        ∃ j f, (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.app (D.map f) U)) s = 0

theorem AlgebraicGeometry.exists_app_map_eq_map_of_isLimit E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] {i : I} {U : (D.obj i).Opens},
  IsCompact ↑U →
    ∀ (s t : ↑((D.obj i).presheaf.obj (Opposite.op U))),
      (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.app (c.π.app i) U)) s =
          (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.app (c.π.app i) U)) t →
        ∃ j f,
          (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.app (D.map f) U)) s =
            (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.app (D.map f) U)) t

theorem AlgebraicGeometry.exists_appTop_π_eq_of_isAffine_of_isLimit E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ (i : I), AlgebraicGeometry.IsAffine (D.obj i)] (s : ↑(c.pt.presheaf.obj (Opposite.op ⊤))),
  ∃ i t, (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.appTop (c.π.app i))) t = s

theorem AlgebraicGeometry.exists_appTop_π_eq_of_isLimit E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] (s : ↑(c.pt.presheaf.obj (Opposite.op ⊤)))
  [∀ (i : I), CompactSpace ↥(D.obj i)] [∀ (i : I), QuasiSeparatedSpace ↥(D.obj i)],
  ∃ i t, s = (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.appTop (c.π.app i))) t

theorem AlgebraicGeometry.nonempty_isColimit_Γ_mapCocone E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] [∀ (i : I), CompactSpace ↥(D.obj i)]
  [∀ (i : I), QuasiSeparatedSpace ↥(D.obj i)],
  Nonempty (CategoryTheory.Limits.IsColimit (AlgebraicGeometry.Scheme.Γ.mapCocone c.op))

instance AlgebraicGeometry.instPreservesLimitSchemeOppositeCommRingCatRightOpΓOfIsAffineHomMapOfCompactSpaceOfQuasiSeparatedSpaceCarrierCarrierObj E0 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  [CategoryTheory.IsCofiltered I] [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)]
  [∀ (i : I), CompactSpace ↥(D.obj i)] [∀ (i : I), QuasiSeparatedSpace ↥(D.obj i)],
  CategoryTheory.Limits.PreservesLimit D AlgebraicGeometry.Scheme.Γ.rightOp

theorem AlgebraicGeometry.Scheme.exists_isQuasiAffine_of_isLimit E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] [∀ (i : I), CompactSpace ↥(D.obj i)]
  [∀ (i : I), QuasiSeparatedSpace ↥(D.obj i)] [c.pt.IsQuasiAffine], ∃ i, (D.obj i).IsQuasiAffine

Suppose { Xᵢ } is an inverse system of qcqs schemes with affine transition maps. If lim Xᵢ is quasi-affine, then some Xᵢ is quasi-affine.

theorem AlgebraicGeometry.Scheme.exists_isAffine_of_isLimit E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] [∀ (i : I), CompactSpace ↥(D.obj i)]
  [∀ (i : I), QuasiSeparatedSpace ↥(D.obj i)] [AlgebraicGeometry.IsAffine c.pt],
  ∃ i, AlgebraicGeometry.IsAffine (D.obj i)

Suppose { Xᵢ } is an inverse system of qcqs schemes with affine transition maps. If lim Xᵢ is affine, then some Xᵢ is affine.

theorem AlgebraicGeometry.exists_isAffineOpen_preimage_eq E0 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] [∀ (i : I), QuasiSeparatedSpace ↥(D.obj i)]
  (U : c.pt.Opens),
  AlgebraicGeometry.IsAffineOpen U →
    ∃ i V, AlgebraicGeometry.IsAffineOpen V ∧ (TopologicalSpace.Opens.map (c.π.app i).base).obj V = U

Stacks Tag 01Z4 (Affine open version of (1).)

theorem AlgebraicGeometry.Scheme.exists_isOpenCover_and_isAffine_of_finite E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] [∀ (i : I), CompactSpace ↥(D.obj i)]
  [∀ (i : I), QuasiSeparatedSpace ↥(D.obj i)] {J : Type u_1} [Finite J] (U : J → c.pt.Opens),
  TopologicalSpace.IsOpenCover U →
    (∀ (i : J), AlgebraicGeometry.IsAffineOpen (U i)) →
      ∃ i V,
        TopologicalSpace.IsOpenCover V ∧
          ∀ (j : J),
            AlgebraicGeometry.IsAffineOpen (V j) ∧ U j = (TopologicalSpace.Opens.map (c.π.app i).base).obj (V j)

theorem AlgebraicGeometry.Scheme.exists_isOpenCover_and_isAffine E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] [∀ (i : I), CompactSpace ↥(D.obj i)]
  [∀ (i : I), QuasiSeparatedSpace ↥(D.obj i)] {J : Type u_1} (U : J → c.pt.Opens),
  TopologicalSpace.IsOpenCover U →
    (∀ (i : J), AlgebraicGeometry.IsAffineOpen (U i)) →
      ∃ i s V,
        TopologicalSpace.IsOpenCover V ∧
          ∀ (j : ↥s),
            AlgebraicGeometry.IsAffineOpen (V j) ∧ U ↑j = (TopologicalSpace.Opens.map (c.π.app i).base).obj (V j)

Suppose { Xᵢ } is an inverse system of qcqs schemes with affine transition maps. Then any affine open cover of lim Xᵢ comes from a finite level.

theorem AlgebraicGeometry.Scheme.OpenCover.exists_of_isCofiltered_of_finite E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)] [∀ (i : I), CompactSpace ↥(D.obj i)]
  [∀ (i : I), QuasiSeparatedSpace ↥(D.obj i)] (𝒰 : c.pt.OpenCover) [∀ (i : 𝒰.I₀), AlgebraicGeometry.IsAffine (𝒰.X i)]
  [Finite 𝒰.I₀],
  ∃ i R f,
    ∃ (_ :
      CategoryTheory.Presieve.ofArrows (fun i ↦ AlgebraicGeometry.Spec (R i)) f ∈
        AlgebraicGeometry.Scheme.zariskiPrecoverage.coverings (D.obj i)),
      ∃ g, ∀ (j : 𝒰.I₀), CategoryTheory.IsPullback (g j) (𝒰.f j) (f j) (c.π.app i)

Variant of Scheme.exists_isOpenCover_and_isAffine_of_finite in terms of Scheme.OpenCover.

theorem AlgebraicGeometry.Scheme.exists_π_app_comp_eq_of_locallyOfFinitePresentation E1 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] {S X : AlgebraicGeometry.Scheme}
  (D : CategoryTheory.Functor I AlgebraicGeometry.Scheme) (t : D ⟶ (CategoryTheory.Functor.const I).obj S) (f : X ⟶ S)
  (c : CategoryTheory.Limits.Cone D) (hc : CategoryTheory.Limits.IsLimit c) [CategoryTheory.IsCofiltered I]
  [AlgebraicGeometry.LocallyOfFinitePresentation f] [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (D.map f)]
  [∀ (i : I), CompactSpace ↥(D.obj i)] [∀ (i : I), QuasiSeparatedSpace ↥(D.obj i)] (a : c.pt ⟶ X),
  CategoryTheory.CategoryStruct.comp c.π t =
      (CategoryTheory.Functor.const I).map (CategoryTheory.CategoryStruct.comp a f) →
    ∃ i g, CategoryTheory.CategoryStruct.comp (c.π.app i) g = a ∧ CategoryTheory.CategoryStruct.comp g f = t.app i

Given a cofiltered diagram of qcqs schemes Dᵢ over S with affine transition maps. If X is locally of finite presentation over S, then any S-morphism lim Dᵢ ⟶ X factors through some lim Dᵢ ⟶ Dⱼ ⟶ X for some j.

instance AlgebraicGeometry.Scheme.preservesColimit_yoneda E0 #

∀ {I : Type u} [inst : CategoryTheory.Category.{u, u} I] {S : AlgebraicGeometry.Scheme}
  (D : CategoryTheory.Functor I (CategoryTheory.Over S)) [CategoryTheory.IsCofiltered I]
  [∀ {i j : I} (f : i ⟶ j), AlgebraicGeometry.IsAffineHom (CategoryTheory.Over.Hom.left (D.map f))]
  [∀ (i : I), CompactSpace ↥(D.obj i).left] [∀ (i : I), QuasiSeparatedSpace ↥(D.obj i).left] (X : CategoryTheory.Over S)
  [AlgebraicGeometry.LocallyOfFinitePresentation X.hom],
  CategoryTheory.Limits.PreservesColimit D.op (CategoryTheory.yoneda.obj X)

Hom_S(-, X) sends a cofiltered limit of qcqs S-schemes with affine transition maps to a filtered colimit if X is locally of finite presentation over X.