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

98 declarations. Mathlib docs · Source

Gluing Schemes

Given a family of gluing data of schemes, we may glue them together. Also see the section about "locally directed" gluing, which is a special case where the conditions are easier to check.

Main definitions

  • AlgebraicGeometry.Scheme.GlueData: A structure containing the family of gluing data.
  • AlgebraicGeometry.Scheme.GlueData.glued: The glued scheme. This is defined as the multicoequalizer of ∐ V i j ⇉ ∐ U i, so that the general colimit API can be used.
  • AlgebraicGeometry.Scheme.GlueData.ι: The immersion ι i : U i ⟶ glued for each i : J.
  • AlgebraicGeometry.Scheme.GlueData.isoCarrier: The isomorphism between the underlying space of the glued scheme and the gluing of the underlying topological spaces.
  • AlgebraicGeometry.Scheme.OpenCover.gluedCover: The glue data associated with an open cover.
  • AlgebraicGeometry.Scheme.OpenCover.fromGlued: The canonical morphism 𝒰.gluedCover.glued ⟶ X. This has an is_iso instance.
  • AlgebraicGeometry.Scheme.OpenCover.glueMorphisms: We may glue a family of compatible morphisms defined on an open cover of a scheme.

Main results

  • AlgebraicGeometry.Scheme.GlueData.ι_isOpenImmersion: The map ι i : U i ⟶ glued is an open immersion for each i : J.
  • AlgebraicGeometry.Scheme.GlueData.ι_jointly_surjective : The underlying maps of ι i : U i ⟶ glued are jointly surjective.
  • AlgebraicGeometry.Scheme.GlueData.vPullbackConeIsLimit : V i j is the pullback (intersection) of U i and U j over the glued space.
  • AlgebraicGeometry.Scheme.GlueData.ι_eq_iff : ι i x = ι j y if and only if they coincide when restricted to V i i.
  • AlgebraicGeometry.Scheme.GlueData.isOpen_iff : A subset of the glued scheme is open iff all its preimages in U i are open.

Implementation notes

All the hard work is done in Mathlib/Geometry/RingedSpace/PresheafedSpace/Gluing.lean where we glue presheafed spaces, sheafed spaces, and locally ringed spaces.

Locally directed gluing

We say that a diagram of open immersions is "locally directed" if for any V, W ⊆ U in the diagram, V ∩ W is a union of elements in the diagram. Equivalently, for every x ∈ U in the diagram, the set of elements containing x is directed (and hence the name).

For such a diagram, we can glue them directly since the gluing conditions are always satisfied. The intended usage is to provide the following instances:

  • ∀ {i j} (f : i ⟶ j), IsOpenImmersion (F.map f)
  • (F ⋙ forget).IsLocallyDirected

and to directly use the colimit API. Also see AlgebraicGeometry.Scheme.IsLocallyDirected.openCover for the open cover of the colimit.

theorem AlgebraicGeometry.Scheme.Cover.glueMorphisms.congr_simp E1 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) {Y : AlgebraicGeometry.Scheme} (f f_1 : (x : 𝒰.I₀) → 𝒰.X x ⟶ Y)
  (e_f : f = f_1)
  (hf :
    ∀ (x y : 𝒰.I₀),
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y)) (f x) =
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd (𝒰.f x) (𝒰.f y)) (f y)),
  AlgebraicGeometry.Scheme.Cover.glueMorphisms 𝒰 f hf = AlgebraicGeometry.Scheme.Cover.glueMorphisms 𝒰 f_1 ⋯

theorem AlgebraicGeometry.Scheme.GlueData.mk.inj E1 #

∀ {toGlueData : CategoryTheory.GlueData AlgebraicGeometry.Scheme}
  {f_open : ∀ (i j : toGlueData.J), AlgebraicGeometry.IsOpenImmersion (toGlueData.f i j)}
  {toGlueData_1 : CategoryTheory.GlueData AlgebraicGeometry.Scheme}
  {f_open_1 : ∀ (i j : toGlueData_1.J), AlgebraicGeometry.IsOpenImmersion (toGlueData_1.f i j)},
  { toGlueData := toGlueData, f_open := f_open } = { toGlueData := toGlueData_1, f_open := f_open_1 } →
    toGlueData = toGlueData_1

def AlgebraicGeometry.Scheme.GlueData.ctorIdx E1 #

AlgebraicGeometry.Scheme.GlueData → ℕ

theorem AlgebraicGeometry.Scheme.IsLocallyDirected.tAux.congr_simp E1 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)]
  [inst_2 : (F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] [inst_3 : Quiver.IsThin J] (i j : J),
  AlgebraicGeometry.Scheme.IsLocallyDirected.tAux F i j = AlgebraicGeometry.Scheme.IsLocallyDirected.tAux F i j

theorem AlgebraicGeometry.Scheme.GlueData.mk.injEq E0 #

∀ (toGlueData : CategoryTheory.GlueData AlgebraicGeometry.Scheme)
  (f_open : ∀ (i j : toGlueData.J), AlgebraicGeometry.IsOpenImmersion (toGlueData.f i j))
  (toGlueData_1 : CategoryTheory.GlueData AlgebraicGeometry.Scheme)
  (f_open_1 : ∀ (i j : toGlueData_1.J), AlgebraicGeometry.IsOpenImmersion (toGlueData_1.f i j)),
  ({ toGlueData := toGlueData, f_open := f_open } = { toGlueData := toGlueData_1, f_open := f_open_1 }) =
    (toGlueData = toGlueData_1)

structure AlgebraicGeometry.Scheme.GlueData E3 #

Type (u_1 + 1)

A family of gluing data consists of

  1. An index type J
  2. A scheme U i for each i : J.
  3. A scheme V i j for each i j : J. (Note that this is J × J → Scheme rather than J → J → Scheme to connect to the limits library easier.)
  4. An open immersion f i j : V i j ⟶ U i for each i j : ι.
  5. A transition map t i j : V i j ⟶ V j i for each i j : ι.

such that 6. f i i is an isomorphism. 7. t i i is the identity. 8. V i j ×[U i] V i k ⟶ V i j ⟶ V j i factors through V j k ×[U j] V j i ⟶ V j i via some t' : V i j ×[U i] V i k ⟶ V j k ×[U j] V j i. 9. t' i j k ≫ t' j k i ≫ t' k i j = 𝟙 _.

We can then glue the schemes U i together by identifying V i j with V j i, such that the U i's are open subschemes of the glued space.

ctor AlgebraicGeometry.Scheme.GlueData.mk E0 #

(toGlueData : CategoryTheory.GlueData AlgebraicGeometry.Scheme) →
  (∀ (i j : toGlueData.J), AlgebraicGeometry.IsOpenImmersion (toGlueData.f i j)) → AlgebraicGeometry.Scheme.GlueData

abbrev AlgebraicGeometry.Scheme.GlueData.toGlueData E1 #

AlgebraicGeometry.Scheme.GlueData → CategoryTheory.GlueData AlgebraicGeometry.Scheme

instance AlgebraicGeometry.Scheme.GlueData.f_open E0 #

∀ (self : AlgebraicGeometry.Scheme.GlueData) (i j : self.J), AlgebraicGeometry.IsOpenImmersion (self.f i j)

abbrev AlgebraicGeometry.Scheme.GlueData.toLocallyRingedSpaceGlueData E1 #

AlgebraicGeometry.Scheme.GlueData → AlgebraicGeometry.LocallyRingedSpace.GlueData

The glue data of locally ringed spaces associated to a family of glue data of schemes.

instance AlgebraicGeometry.Scheme.GlueData.instIsOpenImmersionFLocallyRingedSpaceToLocallyRingedSpaceGlueData E0 #

∀ (D : AlgebraicGeometry.Scheme.GlueData) (i j : D.J),
  AlgebraicGeometry.LocallyRingedSpace.IsOpenImmersion (D.toLocallyRingedSpaceGlueData.f i j)

instance AlgebraicGeometry.Scheme.GlueData.instIsOpenImmersionCommRingCatFSheafedSpaceToSheafedSpaceGlueDataToLocallyRingedSpaceGlueData E0 #

∀ (D : AlgebraicGeometry.Scheme.GlueData) (i j : D.J),
  AlgebraicGeometry.SheafedSpace.IsOpenImmersion (D.toLocallyRingedSpaceGlueData.toSheafedSpaceGlueData.f i j)

instance AlgebraicGeometry.Scheme.GlueData.instIsOpenImmersionCommRingCatFPresheafedSpaceToPresheafedSpaceGlueDataToSheafedSpaceGlueDataToLocallyRingedSpaceGlueData E0 #

∀ (D : AlgebraicGeometry.Scheme.GlueData) (i j : D.J),
  AlgebraicGeometry.PresheafedSpace.IsOpenImmersion
    (D.toLocallyRingedSpaceGlueData.toSheafedSpaceGlueData.toPresheafedSpaceGlueData.f i j)

instance AlgebraicGeometry.Scheme.GlueData.instIsOpenImmersionιLocallyRingedSpaceToLocallyRingedSpaceGlueData E0 #

∀ (D : AlgebraicGeometry.Scheme.GlueData) (i : D.J),
  AlgebraicGeometry.LocallyRingedSpace.IsOpenImmersion (D.toLocallyRingedSpaceGlueData.ι i)

def AlgebraicGeometry.Scheme.GlueData.gluedScheme E1 #

AlgebraicGeometry.Scheme.GlueData → AlgebraicGeometry.Scheme

(Implementation). The glued scheme of a glue data. This should not be used outside this file. Use AlgebraicGeometry.Scheme.GlueData.glued instead.

instance AlgebraicGeometry.Scheme.GlueData.instCreatesColimitLocallyRingedSpaceWalkingMultispanProdJMultispanDiagramForgetToLocallyRingedSpace E0 #

(D : AlgebraicGeometry.Scheme.GlueData) →
  CategoryTheory.CreatesColimit D.diagram.multispan AlgebraicGeometry.Scheme.forgetToLocallyRingedSpace

instance AlgebraicGeometry.Scheme.GlueData.instPreservesColimitTopCatWalkingMultispanProdJMultispanDiagramForgetToTop E0 #

∀ (D : AlgebraicGeometry.Scheme.GlueData),
  CategoryTheory.Limits.PreservesColimit D.diagram.multispan AlgebraicGeometry.Scheme.forgetToTop

instance AlgebraicGeometry.Scheme.GlueData.instPreservesColimitWalkingMultispanProdJMultispanDiagramForget E0 #

∀ (D : AlgebraicGeometry.Scheme.GlueData),
  CategoryTheory.Limits.PreservesColimit D.diagram.multispan AlgebraicGeometry.Scheme.forget

instance AlgebraicGeometry.Scheme.GlueData.instHasMulticoequalizerDiagram E0 #

∀ (D : AlgebraicGeometry.Scheme.GlueData), CategoryTheory.Limits.HasMulticoequalizer D.diagram

abbrev AlgebraicGeometry.Scheme.GlueData.glued E3 #

AlgebraicGeometry.Scheme.GlueData → AlgebraicGeometry.Scheme

The glued scheme of a glued space.

abbrev AlgebraicGeometry.Scheme.GlueData.ι E3 #

(D : AlgebraicGeometry.Scheme.GlueData) → (i : D.J) → D.U i ⟶ D.glued

The immersion from D.U i into the glued space.

abbrev AlgebraicGeometry.Scheme.GlueData.isoLocallyRingedSpace E1 #

(D : AlgebraicGeometry.Scheme.GlueData) → D.glued.toLocallyRingedSpace ≅ D.toLocallyRingedSpaceGlueData.glued

The gluing as sheafed spaces is isomorphic to the gluing as presheafed spaces.

theorem AlgebraicGeometry.Scheme.GlueData.ι_isoLocallyRingedSpace_inv E1 #

∀ (D : AlgebraicGeometry.Scheme.GlueData) (i : D.J),
  CategoryTheory.CategoryStruct.comp (D.toLocallyRingedSpaceGlueData.ι i) D.isoLocallyRingedSpace.inv =
    AlgebraicGeometry.Scheme.Hom.toLRSHom (D.ι i)

instance AlgebraicGeometry.Scheme.GlueData.ι_isOpenImmersion E3 #

∀ (D : AlgebraicGeometry.Scheme.GlueData) (i : D.J), AlgebraicGeometry.IsOpenImmersion (D.ι i)

theorem AlgebraicGeometry.Scheme.GlueData.ι_jointly_surjective E3 #

∀ (D : AlgebraicGeometry.Scheme.GlueData) (x : ↥D.glued), ∃ i y, (D.ι i) y = x

theorem AlgebraicGeometry.Scheme.GlueData.glue_condition E0 #

∀ (D : AlgebraicGeometry.Scheme.GlueData) (i j : D.J),
  CategoryTheory.CategoryStruct.comp (D.t i j) (CategoryTheory.CategoryStruct.comp (D.f j i) (D.ι j)) =
    CategoryTheory.CategoryStruct.comp (D.f i j) (D.ι i)

Promoted to higher priority to short circuit simplifier.

theorem AlgebraicGeometry.Scheme.GlueData.glue_condition_assoc E1 #

∀ (D : AlgebraicGeometry.Scheme.GlueData) (i j : D.J) {Z : AlgebraicGeometry.Scheme} (h : D.glued ⟶ Z),
  CategoryTheory.CategoryStruct.comp (D.t i j)
      (CategoryTheory.CategoryStruct.comp (D.f j i) (CategoryTheory.CategoryStruct.comp (D.ι j) h)) =
    CategoryTheory.CategoryStruct.comp (D.f i j) (CategoryTheory.CategoryStruct.comp (D.ι i) h)

Promoted to higher priority to short circuit simplifier.

def AlgebraicGeometry.Scheme.GlueData.vPullbackCone E1 #

(D : AlgebraicGeometry.Scheme.GlueData) → (i j : D.J) → CategoryTheory.Limits.PullbackCone (D.ι i) (D.ι j)

The pullback cone spanned by V i j ⟶ U i and V i j ⟶ U j. This is a pullback diagram (vPullbackConeIsLimit).

def AlgebraicGeometry.Scheme.GlueData.vPullbackConeIsLimit E3 #

(D : AlgebraicGeometry.Scheme.GlueData) → (i j : D.J) → CategoryTheory.Limits.IsLimit (D.vPullbackCone i j)

The following diagram is a pullback, i.e. Vᵢⱼ is the intersection of Uᵢ and Uⱼ in X.

Vᵢⱼ ⟶ Uᵢ
 |      |
 ↓      ↓
 Uⱼ ⟶ X

def AlgebraicGeometry.Scheme.GlueData.isoCarrier E3 #

(D : AlgebraicGeometry.Scheme.GlueData) →
  ↑D.glued.toPresheafedSpace ≅
    D.toLocallyRingedSpaceGlueData.toSheafedSpaceGlueData.toPresheafedSpaceGlueData.toTopGlueData.glued

The underlying topological space of the glued scheme is isomorphic to the gluing of the underlying spaces

theorem AlgebraicGeometry.Scheme.GlueData.ι_isoCarrier_inv E0 #

∀ (D : AlgebraicGeometry.Scheme.GlueData) (i : D.J),
  CategoryTheory.CategoryStruct.comp
      (D.toLocallyRingedSpaceGlueData.toSheafedSpaceGlueData.toPresheafedSpaceGlueData.toTopGlueData.ι i)
      D.isoCarrier.inv =
    (D.ι i).base

def AlgebraicGeometry.Scheme.GlueData.Rel E1 #

(D : AlgebraicGeometry.Scheme.GlueData) → (i : D.J) × ↥(D.U i) → (i : D.J) × ↥(D.U i) → Prop

An equivalence relation on Σ i, D.U i that holds iff 𝖣.ι i x = 𝖣.ι j y. See AlgebraicGeometry.Scheme.GlueData.ι_eq_iff.

theorem AlgebraicGeometry.Scheme.GlueData.ι_eq_iff E3 #

∀ (D : AlgebraicGeometry.Scheme.GlueData) (i j : D.J) (x : ↥(D.U i)) (y : ↥(D.U j)),
  (D.ι i) x = (D.ι j) y ↔ D.Rel ⟨i, x⟩ ⟨j, y⟩

theorem AlgebraicGeometry.Scheme.GlueData.isOpen_iff E3 #

∀ (D : AlgebraicGeometry.Scheme.GlueData) (U : Set ↥D.glued), IsOpen U ↔ ∀ (i : D.J), IsOpen (⇑(D.ι i) ⁻¹' U)

def AlgebraicGeometry.Scheme.GlueData.openCover E1 #

(D : AlgebraicGeometry.Scheme.GlueData) → D.glued.OpenCover

The open cover of the glued space given by the glue data.

theorem AlgebraicGeometry.Scheme.GlueData.openCover_f E1 #

∀ (D : AlgebraicGeometry.Scheme.GlueData) (i : D.J), D.openCover.f i = D.ι i

theorem AlgebraicGeometry.Scheme.GlueData.openCover_X E1 #

∀ (D : AlgebraicGeometry.Scheme.GlueData) (a : D.J), D.openCover.X a = D.U a

theorem AlgebraicGeometry.Scheme.GlueData.openCover_I₀ E1 #

∀ (D : AlgebraicGeometry.Scheme.GlueData), D.openCover.I₀ = D.J

def AlgebraicGeometry.Scheme.Cover.gluedCoverT' E1 #

{X : AlgebraicGeometry.Scheme} →
  (𝒰 : X.OpenCover) →
    (x y z : 𝒰.I₀) →
      CategoryTheory.Limits.pullback (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y))
          (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f z)) ⟶
        CategoryTheory.Limits.pullback (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f z))
          (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f x))

(Implementation) the transition maps in the glue data associated with an open cover.

theorem AlgebraicGeometry.Scheme.Cover.gluedCoverT'_fst_fst E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x y z : 𝒰.I₀),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 x y z)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f z))
          (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f x)))
        (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f z))) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y))
        (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f z)))
      (CategoryTheory.Limits.pullback.snd (𝒰.f x) (𝒰.f y))

theorem AlgebraicGeometry.Scheme.Cover.gluedCoverT'_fst_fst_assoc E1 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x y z : 𝒰.I₀) {Z : AlgebraicGeometry.Scheme} (h : 𝒰.X y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 x y z)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f z))
          (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f x)))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f z)) h)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y))
        (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f z)))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd (𝒰.f x) (𝒰.f y)) h)

theorem AlgebraicGeometry.Scheme.Cover.gluedCoverT'_fst_snd_assoc E1 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x y z : 𝒰.I₀) {Z : AlgebraicGeometry.Scheme} (h : 𝒰.X z ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 x y z)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f z))
          (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f x)))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd (𝒰.f y) (𝒰.f z)) h)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.snd (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y))
        (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f z)))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd (𝒰.f x) (𝒰.f z)) h)

theorem AlgebraicGeometry.Scheme.Cover.gluedCoverT'_fst_snd E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x y z : 𝒰.I₀),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 x y z)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f z))
          (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f x)))
        (CategoryTheory.Limits.pullback.snd (𝒰.f y) (𝒰.f z))) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.snd (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y))
        (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f z)))
      (CategoryTheory.Limits.pullback.snd (𝒰.f x) (𝒰.f z))

theorem AlgebraicGeometry.Scheme.Cover.gluedCoverT'_snd_fst E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x y z : 𝒰.I₀),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 x y z)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.snd (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f z))
          (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f x)))
        (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f x))) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y))
        (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f z)))
      (CategoryTheory.Limits.pullback.snd (𝒰.f x) (𝒰.f y))

theorem AlgebraicGeometry.Scheme.Cover.gluedCoverT'_snd_fst_assoc E1 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x y z : 𝒰.I₀) {Z : AlgebraicGeometry.Scheme} (h : 𝒰.X y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 x y z)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.snd (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f z))
          (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f x)))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f x)) h)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y))
        (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f z)))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd (𝒰.f x) (𝒰.f y)) h)

theorem AlgebraicGeometry.Scheme.Cover.gluedCoverT'_snd_snd_assoc E1 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x y z : 𝒰.I₀) {Z : AlgebraicGeometry.Scheme} (h : 𝒰.X x ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 x y z)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.snd (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f z))
          (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f x)))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd (𝒰.f y) (𝒰.f x)) h)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y))
        (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f z)))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y)) h)

theorem AlgebraicGeometry.Scheme.Cover.gluedCoverT'_snd_snd E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x y z : 𝒰.I₀),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 x y z)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.snd (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f z))
          (CategoryTheory.Limits.pullback.fst (𝒰.f y) (𝒰.f x)))
        (CategoryTheory.Limits.pullback.snd (𝒰.f y) (𝒰.f x))) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y))
        (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f z)))
      (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y))

theorem AlgebraicGeometry.Scheme.Cover.glued_cover_cocycle_fst E1 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x y z : 𝒰.I₀),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 x y z)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 y z x)
        (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 z x y)
          (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y))
            (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f z))))) =
    CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y))
      (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f z))

theorem AlgebraicGeometry.Scheme.Cover.glued_cover_cocycle_snd E1 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x y z : 𝒰.I₀),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 x y z)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 y z x)
        (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 z x y)
          (CategoryTheory.Limits.pullback.snd (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y))
            (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f z))))) =
    CategoryTheory.Limits.pullback.snd (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y))
      (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f z))

theorem AlgebraicGeometry.Scheme.Cover.glued_cover_cocycle E1 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x y z : 𝒰.I₀),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 x y z)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 y z x)
        (AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 z x y)) =
    CategoryTheory.CategoryStruct.id
      (CategoryTheory.Limits.pullback (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y))
        (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f z)))

def AlgebraicGeometry.Scheme.Cover.gluedCover E1 #

{X : AlgebraicGeometry.Scheme} → X.OpenCover → AlgebraicGeometry.Scheme.GlueData

The glue data associated with an open cover. The canonical isomorphism 𝒰.gluedCover.glued ⟶ X is provided by 𝒰.fromGlued.

theorem AlgebraicGeometry.Scheme.Cover.gluedCover_t E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x x_1 : 𝒰.I₀),
  (AlgebraicGeometry.Scheme.Cover.gluedCover 𝒰).t x x_1 = (CategoryTheory.Limits.pullbackSymmetry (𝒰.f x) (𝒰.f x_1)).hom

theorem AlgebraicGeometry.Scheme.Cover.gluedCover_U E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (i : 𝒰.I₀), (AlgebraicGeometry.Scheme.Cover.gluedCover 𝒰).U i = 𝒰.X i

theorem AlgebraicGeometry.Scheme.Cover.gluedCover_V E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x : 𝒰.I₀ × 𝒰.I₀),
  (AlgebraicGeometry.Scheme.Cover.gluedCover 𝒰).V x =
    match x with
    | (x, y) => CategoryTheory.Limits.pullback (𝒰.f x) (𝒰.f y)

theorem AlgebraicGeometry.Scheme.Cover.gluedCover_J E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover), (AlgebraicGeometry.Scheme.Cover.gluedCover 𝒰).J = 𝒰.I₀

theorem AlgebraicGeometry.Scheme.Cover.gluedCover_f E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x x_1 : 𝒰.I₀),
  (AlgebraicGeometry.Scheme.Cover.gluedCover 𝒰).f x x_1 = CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f x_1)

theorem AlgebraicGeometry.Scheme.Cover.gluedCover_t' E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x y z : 𝒰.I₀),
  (AlgebraicGeometry.Scheme.Cover.gluedCover 𝒰).t' x y z = AlgebraicGeometry.Scheme.Cover.gluedCoverT' 𝒰 x y z

def AlgebraicGeometry.Scheme.Cover.fromGlued E1 #

{X : AlgebraicGeometry.Scheme} → (𝒰 : X.OpenCover) → (AlgebraicGeometry.Scheme.Cover.gluedCover 𝒰).glued ⟶ X

The canonical morphism from the gluing of an open cover of X into X. This is an isomorphism, as witnessed by an IsIso instance.

theorem AlgebraicGeometry.Scheme.Cover.ι_fromGlued_assoc E1 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x : 𝒰.I₀) {Z : AlgebraicGeometry.Scheme} (h : X ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((AlgebraicGeometry.Scheme.Cover.gluedCover 𝒰).ι x)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.fromGlued 𝒰) h) =
    CategoryTheory.CategoryStruct.comp (𝒰.f x) h

theorem AlgebraicGeometry.Scheme.Cover.ι_fromGlued E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x : 𝒰.I₀),
  CategoryTheory.CategoryStruct.comp ((AlgebraicGeometry.Scheme.Cover.gluedCover 𝒰).ι x)
      (AlgebraicGeometry.Scheme.Cover.fromGlued 𝒰) =
    𝒰.f x

theorem AlgebraicGeometry.Scheme.Cover.fromGlued_injective E1 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover), Function.Injective ⇑(AlgebraicGeometry.Scheme.Cover.fromGlued 𝒰)

instance AlgebraicGeometry.Scheme.Cover.instIsIsoCommRingCatStalkMapFromGlued E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) (x : ↥(AlgebraicGeometry.Scheme.Cover.gluedCover 𝒰).glued),
  CategoryTheory.IsIso (AlgebraicGeometry.Scheme.Hom.stalkMap (AlgebraicGeometry.Scheme.Cover.fromGlued 𝒰) x)

theorem AlgebraicGeometry.Scheme.Cover.isOpenMap_fromGlued E1 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover), IsOpenMap ⇑(AlgebraicGeometry.Scheme.Cover.fromGlued 𝒰)

theorem AlgebraicGeometry.Scheme.Cover.isOpenEmbedding_fromGlued E1 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover),
  Topology.IsOpenEmbedding ⇑(AlgebraicGeometry.Scheme.Cover.fromGlued 𝒰)

instance AlgebraicGeometry.Scheme.Cover.instEpiTopCatBaseCommRingCatFromGlued E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover), CategoryTheory.Epi (AlgebraicGeometry.Scheme.Cover.fromGlued 𝒰).base

instance AlgebraicGeometry.Scheme.Cover.instIsOpenImmersionFromGlued E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover),
  AlgebraicGeometry.IsOpenImmersion (AlgebraicGeometry.Scheme.Cover.fromGlued 𝒰)

instance AlgebraicGeometry.Scheme.Cover.instIsIsoFromGlued E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover), CategoryTheory.IsIso (AlgebraicGeometry.Scheme.Cover.fromGlued 𝒰)

def AlgebraicGeometry.Scheme.Cover.glueMorphisms E1 #

{X : AlgebraicGeometry.Scheme} →
  (𝒰 : X.OpenCover) →
    {Y : AlgebraicGeometry.Scheme} →
      (f : (x : 𝒰.I₀) → 𝒰.X x ⟶ Y) →
        (∀ (x y : 𝒰.I₀),
            CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y)) (f x) =
              CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd (𝒰.f x) (𝒰.f y)) (f y)) →
          (X ⟶ Y)

Given an open cover of X, and a morphism 𝒰.X x ⟶ Y for each open subscheme in the cover, such that these morphisms are compatible in the intersection (pullback), we may glue the morphisms together into a morphism X ⟶ Y.

Note: If X is exactly (defeq to) the gluing of U i, then using Multicoequalizer.desc suffices.

theorem AlgebraicGeometry.Scheme.Cover.hom_ext E1 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) {Y : AlgebraicGeometry.Scheme} (f₁ f₂ : X ⟶ Y),
  (∀ (x : 𝒰.I₀), CategoryTheory.CategoryStruct.comp (𝒰.f x) f₁ = CategoryTheory.CategoryStruct.comp (𝒰.f x) f₂) →
    f₁ = f₂

theorem AlgebraicGeometry.Scheme.Cover.ι_glueMorphisms E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) {Y : AlgebraicGeometry.Scheme} (f : (x : 𝒰.I₀) → 𝒰.X x ⟶ Y)
  (hf :
    ∀ (x y : 𝒰.I₀),
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y)) (f x) =
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd (𝒰.f x) (𝒰.f y)) (f y))
  (x : 𝒰.I₀), CategoryTheory.CategoryStruct.comp (𝒰.f x) (AlgebraicGeometry.Scheme.Cover.glueMorphisms 𝒰 f hf) = f x

theorem AlgebraicGeometry.Scheme.Cover.ι_glueMorphisms_assoc E0 #

∀ {X : AlgebraicGeometry.Scheme} (𝒰 : X.OpenCover) {Y : AlgebraicGeometry.Scheme} (f : (x : 𝒰.I₀) → 𝒰.X x ⟶ Y)
  (hf :
    ∀ (x y : 𝒰.I₀),
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst (𝒰.f x) (𝒰.f y)) (f x) =
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd (𝒰.f x) (𝒰.f y)) (f y))
  (x : 𝒰.I₀) {Z : AlgebraicGeometry.Scheme} (h : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (𝒰.f x)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Cover.glueMorphisms 𝒰 f hf) h) =
    CategoryTheory.CategoryStruct.comp (f x) h

theorem AlgebraicGeometry.Scheme.hom_ext_of_forall E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f g : X ⟶ Y),
  (∀ (x : ↥X), ∃ U, x ∈ U ∧ CategoryTheory.CategoryStruct.comp U.ι f = CategoryTheory.CategoryStruct.comp U.ι g) → f = g

instance AlgebraicGeometry.Scheme.instIsLocalAtTargetIsomorphismsZariskiPrecoverage E0 #

(CategoryTheory.MorphismProperty.isomorphisms AlgebraicGeometry.Scheme).IsLocalAtTarget
  AlgebraicGeometry.Scheme.zariskiPrecoverage

def AlgebraicGeometry.Scheme.IsLocallyDirected.V E1 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v, w} J] →
    (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme) →
      [∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)] → (i : J) → J → (F.obj i).Opens

(Implementation detail) The intersection V in the glue data associated to a locally directed diagram.

theorem AlgebraicGeometry.Scheme.IsLocallyDirected.V_self E1 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)] (i : J),
  AlgebraicGeometry.Scheme.IsLocallyDirected.V F i i = ⊤

theorem AlgebraicGeometry.Scheme.IsLocallyDirected.exists_of_pullback_V_V E1 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)]
  [(F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] {i j k : J}
  (x :
    ↥(CategoryTheory.Limits.pullback (AlgebraicGeometry.Scheme.IsLocallyDirected.V F i j).ι
        (AlgebraicGeometry.Scheme.IsLocallyDirected.V F i k).ι)),
  ∃ l fi fj fk α z,
    AlgebraicGeometry.IsOpenImmersion α ∧
      CategoryTheory.CategoryStruct.comp α
            (CategoryTheory.Limits.pullback.fst (AlgebraicGeometry.Scheme.IsLocallyDirected.V F i j).ι
              (AlgebraicGeometry.Scheme.IsLocallyDirected.V F i k).ι) =
          CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.isoOpensRange (F.map fi)).hom
            ((F.obj i).homOfLE ⋯) ∧
        CategoryTheory.CategoryStruct.comp α
              (CategoryTheory.Limits.pullback.snd (AlgebraicGeometry.Scheme.IsLocallyDirected.V F i j).ι
                (AlgebraicGeometry.Scheme.IsLocallyDirected.V F i k).ι) =
            CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.isoOpensRange (F.map fi)).hom
              ((F.obj i).homOfLE ⋯) ∧
          α z = x

theorem AlgebraicGeometry.Scheme.IsLocallyDirected.fst_inv_eq_snd_inv E1 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)]
  [(F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] [Quiver.IsThin J] {i j : J}
  (k₁ k₂ : (k : J) × (k ⟶ i) × (k ⟶ j)) {U : (F.obj i).Opens}
  (h₁ : AlgebraicGeometry.Scheme.Hom.opensRange (F.map k₁.snd.1) ≤ U)
  (h₂ : AlgebraicGeometry.Scheme.Hom.opensRange (F.map k₂.snd.1) ≤ U),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst ((F.obj i).homOfLE h₁) ((F.obj i).homOfLE h₂))
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.isoOpensRange (F.map k₁.snd.1)).inv
        (F.map k₁.snd.2)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.snd ((F.obj i).homOfLE h₁) ((F.obj i).homOfLE h₂))
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.isoOpensRange (F.map k₂.snd.1)).inv
        (F.map k₂.snd.2))

def AlgebraicGeometry.Scheme.IsLocallyDirected.tAux E0 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v, w} J] →
    (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme) →
      [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)] →
        [(F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] →
          [Quiver.IsThin J] → (i j : J) → ↑(AlgebraicGeometry.Scheme.IsLocallyDirected.V F i j) ⟶ F.obj j

(Implementation detail) The inclusion map V i j ⟶ F j in the glue data associated to a locally directed diagram.

theorem AlgebraicGeometry.Scheme.IsLocallyDirected.homOfLE_tAux E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)]
  [inst_2 : (F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] [inst_3 : Quiver.IsThin J] (i j : J) {k : J}
  (fi : k ⟶ i) (fj : k ⟶ j),
  CategoryTheory.CategoryStruct.comp ((F.obj i).homOfLE ⋯) (AlgebraicGeometry.Scheme.IsLocallyDirected.tAux F i j) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.isoOpensRange (F.map fi)).inv (F.map fj)

theorem AlgebraicGeometry.Scheme.IsLocallyDirected.homOfLE_tAux_assoc E1 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)]
  [inst_2 : (F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] [inst_3 : Quiver.IsThin J] (i j : J) {k : J}
  (fi : k ⟶ i) (fj : k ⟶ j) {Z : AlgebraicGeometry.Scheme} (h : F.obj j ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((F.obj i).homOfLE ⋯)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.IsLocallyDirected.tAux F i j) h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.isoOpensRange (F.map fi)).inv
      (CategoryTheory.CategoryStruct.comp (F.map fj) h)

def AlgebraicGeometry.Scheme.IsLocallyDirected.t E1 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v, w} J] →
    (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme) →
      [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)] →
        [(F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] →
          [Quiver.IsThin J] →
            (i j : J) →
              ↑(AlgebraicGeometry.Scheme.IsLocallyDirected.V F i j) ⟶
                ↑(AlgebraicGeometry.Scheme.IsLocallyDirected.V F j i)

(Implementation detail) The transition map V i j ⟶ V j i in the glue data associated to a locally directed diagram.

theorem AlgebraicGeometry.Scheme.IsLocallyDirected.t_id E1 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)]
  [inst_2 : (F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] [inst_3 : Quiver.IsThin J] (i : J),
  AlgebraicGeometry.Scheme.IsLocallyDirected.t F i i =
    CategoryTheory.CategoryStruct.id ↑(AlgebraicGeometry.Scheme.IsLocallyDirected.V F i i)

def AlgebraicGeometry.Scheme.IsLocallyDirected.glueData E1 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v, w} J] →
    (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme) →
      [∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)] →
        [(F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] →
          [Quiver.IsThin J] → [Small.{u, w} J] → AlgebraicGeometry.Scheme.GlueData

(Implementation detail) The glue data associated to a locally directed diagram.

One usually does not want to use this directly, and instead use the generic colimit API.

theorem AlgebraicGeometry.Scheme.IsLocallyDirected.glueDataι_naturality E1 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)]
  [inst_2 : (F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] [inst_3 : Quiver.IsThin J]
  [inst_4 : Small.{u, w} J] {i j : Shrink.{u, w} J} (f : (equivShrink J).symm i ⟶ (equivShrink J).symm j),
  CategoryTheory.CategoryStruct.comp (F.map f) ((AlgebraicGeometry.Scheme.IsLocallyDirected.glueData F).ι j) =
    (AlgebraicGeometry.Scheme.IsLocallyDirected.glueData F).ι i

def AlgebraicGeometry.Scheme.IsLocallyDirected.cocone E1 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v, w} J] →
    (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme) →
      [∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)] →
        [(F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] →
          [Quiver.IsThin J] → [Small.{u, w} J] → CategoryTheory.Limits.Cocone F

(Implementation detail) The cocone associated to a locally directed diagram.

One usually does not want to use this directly, and instead use the generic colimit API.

def AlgebraicGeometry.Scheme.IsLocallyDirected.isColimit E1 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v, w} J] →
    (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme) →
      [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)] →
        [inst_2 : (F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] →
          [inst_3 : Quiver.IsThin J] →
            [inst_4 : Small.{u, w} J] →
              CategoryTheory.Limits.IsColimit (AlgebraicGeometry.Scheme.IsLocallyDirected.cocone F)

(Implementation detail) The cocone associated to a locally directed diagram is a colimit.

One usually does not want to use this directly, and instead use the generic colimit API.

def AlgebraicGeometry.Scheme.IsLocallyDirected.isColimitForgetToLocallyRingedSpace E1 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v, w} J] →
    (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme) →
      [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)] →
        [inst_2 : (F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] →
          [inst_3 : Quiver.IsThin J] →
            [inst_4 : Small.{u, w} J] →
              CategoryTheory.Limits.IsColimit
                (AlgebraicGeometry.Scheme.forgetToLocallyRingedSpace.mapCocone
                  (AlgebraicGeometry.Scheme.IsLocallyDirected.cocone F))

(Implementation detail) The cocone associated to a locally directed diagram is a colimit as locally ringed spaces.

One usually does not want to use this directly, and instead use the generic colimit API.

instance AlgebraicGeometry.Scheme.IsLocallyDirected.instHasColimit E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)]
  [(F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] [Quiver.IsThin J] [Small.{u, w} J],
  CategoryTheory.Limits.HasColimit F

instance AlgebraicGeometry.Scheme.IsLocallyDirected.instPreservesColimitLocallyRingedSpaceForgetToLocallyRingedSpace E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)]
  [(F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] [Quiver.IsThin J] [Small.{u, w} J],
  CategoryTheory.Limits.PreservesColimit F AlgebraicGeometry.Scheme.forgetToLocallyRingedSpace

instance AlgebraicGeometry.Scheme.IsLocallyDirected.instCreatesColimitLocallyRingedSpaceForgetToLocallyRingedSpace E0 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v, w} J] →
    (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme) →
      [∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)] →
        [(F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] →
          [Quiver.IsThin J] →
            [Small.{u, w} J] → CategoryTheory.CreatesColimit F AlgebraicGeometry.Scheme.forgetToLocallyRingedSpace

def AlgebraicGeometry.Scheme.IsLocallyDirected.openCover E1 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v, w} J] →
    (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme) →
      [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)] →
        [inst_2 : (F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] →
          [inst_3 : Quiver.IsThin J] → [inst_4 : Small.{u, w} J] → (CategoryTheory.Limits.colimit F).OpenCover

The open cover of the colimit of a locally directed diagram by the components.

theorem AlgebraicGeometry.Scheme.IsLocallyDirected.openCover_f E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)]
  [inst_2 : (F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] [inst_3 : Quiver.IsThin J]
  [inst_4 : Small.{u, w} J] (j : J),
  (AlgebraicGeometry.Scheme.IsLocallyDirected.openCover F).f j = CategoryTheory.Limits.colimit.ι F j

theorem AlgebraicGeometry.Scheme.IsLocallyDirected.openCover_I₀ E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)]
  [inst_2 : (F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] [inst_3 : Quiver.IsThin J]
  [inst_4 : Small.{u, w} J], (AlgebraicGeometry.Scheme.IsLocallyDirected.openCover F).I₀ = J

theorem AlgebraicGeometry.Scheme.IsLocallyDirected.openCover_X E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)]
  [inst_2 : (F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] [inst_3 : Quiver.IsThin J]
  [inst_4 : Small.{u, w} J] (a : J), (AlgebraicGeometry.Scheme.IsLocallyDirected.openCover F).X a = F.obj a

instance AlgebraicGeometry.Scheme.IsLocallyDirected.instIsOpenImmersionι E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)]
  [inst_2 : (F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] [inst_3 : Quiver.IsThin J]
  [inst_4 : Small.{u, w} J] (i : J), AlgebraicGeometry.IsOpenImmersion (CategoryTheory.Limits.colimit.ι F i)

theorem AlgebraicGeometry.Scheme.IsLocallyDirected.ι_eq_ι_iff E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)]
  [inst_2 : (F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] [inst_3 : Quiver.IsThin J]
  [inst_4 : Small.{u, w} J] {i j : J} {xi : ↥(F.obj i)} {xj : ↥(F.obj j)},
  (CategoryTheory.Limits.colimit.ι F i) xi = (CategoryTheory.Limits.colimit.ι F j) xj ↔
    ∃ k fi fj x, (F.map fi) x = xi ∧ (F.map fj) x = xj

theorem AlgebraicGeometry.Scheme.IsLocallyDirected.ι_jointly_surjective E1 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v, w} J] (F : CategoryTheory.Functor J AlgebraicGeometry.Scheme)
  [inst_1 : ∀ {i j : J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)]
  [inst_2 : (F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected] [inst_3 : Quiver.IsThin J]
  [inst_4 : Small.{u, w} J] (x : ↥(CategoryTheory.Limits.colimit F)),
  ∃ i xi, (CategoryTheory.Limits.colimit.ι F i) xi = x

instance AlgebraicGeometry.Scheme.IsLocallyDirected.instIsLocallyDirectedWidePushoutShapeCompForgetOfIsOpenImmersionMap E0 #

∀ {J : Type w} (F : CategoryTheory.Functor (CategoryTheory.Limits.WidePushoutShape J) AlgebraicGeometry.Scheme)
  [∀ {i j : CategoryTheory.Limits.WidePushoutShape J} (f : i ⟶ j), AlgebraicGeometry.IsOpenImmersion (F.map f)],
  (F.comp AlgebraicGeometry.Scheme.forget).IsLocallyDirected