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 / V25. Higher structures in categories

Mathlib.CategoryTheory.Sites.Subcanonical

38 declarations. Mathlib docs · Source

def CategoryTheory.GrothendieckTopology.yonedaEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (J : CategoryTheory.GrothendieckTopology C) →
      [inst_1 : J.Subcanonical] →
        {X : C} → {F : CategoryTheory.Sheaf J (Type v)} → (J.yoneda.obj X ⟶ F) ≃ F.obj.obj (Opposite.op X)

The equivalence between natural transformations from the yoneda embedding (to the sheaf category) and elements of F.val.obj X.

theorem CategoryTheory.GrothendieckTopology.yonedaEquiv_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X : C} {F : CategoryTheory.Sheaf J (Type v)} (f : J.yoneda.obj X ⟶ F),
  J.yonedaEquiv f =
    (CategoryTheory.ConcreteCategory.hom (f.hom.app (Opposite.op X))) (CategoryTheory.CategoryStruct.id X)

theorem CategoryTheory.GrothendieckTopology.yonedaEquiv_symm_app_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X : C} {F : CategoryTheory.Sheaf J (Type v)} (x : F.obj.obj (Opposite.op X)) (Y : Cᵒᵖ)
  (f : Opposite.unop Y ⟶ X),
  (CategoryTheory.ConcreteCategory.hom ((J.yonedaEquiv.symm x).hom.app Y)) f =
    (CategoryTheory.ConcreteCategory.hom (F.obj.map f.op)) x

theorem CategoryTheory.GrothendieckTopology.yonedaEquiv_naturality E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X Y : C} {F : CategoryTheory.Sheaf J (Type v)} (f : J.yoneda.obj X ⟶ F) (g : Y ⟶ X),
  (CategoryTheory.ConcreteCategory.hom (F.obj.map g.op)) (J.yonedaEquiv f) =
    J.yonedaEquiv (CategoryTheory.CategoryStruct.comp (J.yoneda.map g) f)

See also yonedaEquiv_naturality' for a more general version.

theorem CategoryTheory.GrothendieckTopology.yonedaEquiv_naturality' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X Y : Cᵒᵖ} {F : CategoryTheory.Sheaf J (Type v)} (f : J.yoneda.obj (Opposite.unop X) ⟶ F)
  (g : X ⟶ Y),
  (CategoryTheory.ConcreteCategory.hom (F.obj.map g)) (J.yonedaEquiv f) =
    J.yonedaEquiv (CategoryTheory.CategoryStruct.comp (J.yoneda.map g.unop) f)

Variant of yonedaEquiv_naturality with general g. This is technically strictly more general than yonedaEquiv_naturality, but yonedaEquiv_naturality is sometimes preferable because it can avoid the "motive is not type correct" error.

theorem CategoryTheory.GrothendieckTopology.yonedaEquiv_comp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X : C} {F G : CategoryTheory.Sheaf J (Type v)} (α : J.yoneda.obj X ⟶ F) (β : F ⟶ G),
  J.yonedaEquiv (CategoryTheory.CategoryStruct.comp α β) =
    (CategoryTheory.ConcreteCategory.hom (β.hom.app (Opposite.op X))) (J.yonedaEquiv α)

theorem CategoryTheory.GrothendieckTopology.yonedaEquiv_yoneda_map E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X Y : C} (f : X ⟶ Y), J.yonedaEquiv (J.yoneda.map f) = f

theorem CategoryTheory.GrothendieckTopology.yonedaEquiv_symm_naturality_left E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X X' : C} (f : X' ⟶ X) (F : CategoryTheory.Sheaf J (Type v))
  (x : F.obj.obj (Opposite.op X)),
  CategoryTheory.CategoryStruct.comp (J.yoneda.map f) (J.yonedaEquiv.symm x) =
    J.yonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (F.obj.map f.op)) x)

theorem CategoryTheory.GrothendieckTopology.yonedaEquiv_symm_naturality_right E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] (X : C) {F F' : CategoryTheory.Sheaf J (Type v)} (f : F ⟶ F')
  (x : F.obj.obj (Opposite.op X)),
  CategoryTheory.CategoryStruct.comp (J.yonedaEquiv.symm x) f =
    J.yonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (f.hom.app (Opposite.op X))) x)

theorem CategoryTheory.GrothendieckTopology.map_yonedaEquiv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X Y : C} {F : CategoryTheory.Sheaf J (Type v)} (f : J.yoneda.obj X ⟶ F) (g : Y ⟶ X),
  (CategoryTheory.ConcreteCategory.hom (F.obj.map g.op)) (J.yonedaEquiv f) =
    (CategoryTheory.ConcreteCategory.hom (f.hom.app (Opposite.op Y))) g

See also map_yonedaEquiv' for a more general version.

theorem CategoryTheory.GrothendieckTopology.map_yonedaEquiv' E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X Y : Cᵒᵖ} {F : CategoryTheory.Sheaf J (Type v)} (f : J.yoneda.obj (Opposite.unop X) ⟶ F)
  (g : X ⟶ Y),
  (CategoryTheory.ConcreteCategory.hom (F.obj.map g)) (J.yonedaEquiv f) =
    (CategoryTheory.ConcreteCategory.hom (f.hom.app Y)) g.unop

Variant of map_yonedaEquiv with general g. This is technically strictly more general than map_yonedaEquiv, but map_yonedaEquiv is sometimes preferable because it can avoid the "motive is not type correct" error.

theorem CategoryTheory.GrothendieckTopology.yonedaEquiv_symm_map E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X Y : Cᵒᵖ} (f : X ⟶ Y) {F : CategoryTheory.Sheaf J (Type v)} (t : F.obj.obj X),
  J.yonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (F.obj.map f)) t) =
    CategoryTheory.CategoryStruct.comp (J.yoneda.map f.unop) (J.yonedaEquiv.symm t)

theorem CategoryTheory.GrothendieckTopology.hom_ext_yoneda E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {P Q : CategoryTheory.Sheaf J (Type v)} {f g : P ⟶ Q},
  (∀ (X : C) (p : J.yoneda.obj X ⟶ P),
      CategoryTheory.CategoryStruct.comp p f = CategoryTheory.CategoryStruct.comp p g) →
    f = g

Two morphisms of sheaves of types P ⟶ Q coincide if the precompositions with morphisms yoneda.obj X ⟶ P agree.

def CategoryTheory.GrothendieckTopology.yonedaOpCompCoyoneda E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (J : CategoryTheory.GrothendieckTopology C) →
      [inst_1 : J.Subcanonical] →
        J.yoneda.op.comp CategoryTheory.coyoneda ≅
          (CategoryTheory.evaluation Cᵒᵖ (Type v)).comp
            (((CategoryTheory.Functor.whiskeringRight (CategoryTheory.Functor Cᵒᵖ (Type v)) (Type v)
                      (Type (max v u))).obj
                  CategoryTheory.uliftFunctor.{u, v}).comp
              ((CategoryTheory.Functor.whiskeringLeft (CategoryTheory.Sheaf J (Type v))
                    (CategoryTheory.Functor Cᵒᵖ (Type v)) (Type (max v u))).obj
                (CategoryTheory.sheafToPresheaf J (Type v))))

The Yoneda lemma for sheaves.

theorem CategoryTheory.GrothendieckTopology.yonedaOpCompCoyoneda_hom_app_app_hom_apply_down E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] (X : Cᵒᵖ) (X_1 : CategoryTheory.Sheaf J (Type v))
  (a : ((J.yoneda.op.comp CategoryTheory.coyoneda).obj X).obj X_1),
  ((CategoryTheory.ConcreteCategory.hom ((J.yonedaOpCompCoyoneda.hom.app X).app X_1)) a).down =
    CategoryTheory.yonedaEquiv
      ((CategoryTheory.CategoryStruct.comp
            ((CategoryTheory.sheafToPresheafCompCoyonedaCompWhiskeringLeftSheafToPresheaf.inv.app
                  (Opposite.op (J.yoneda.obj (Opposite.unop X)))).app
              X_1)
            (TypeCat.ofHom fun g ↦
              CategoryTheory.CategoryStruct.comp (J.yonedaCompSheafToPresheaf.inv.app (Opposite.unop X)) g)).hom'
        a)

theorem CategoryTheory.GrothendieckTopology.yonedaOpCompCoyoneda_inv_app_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] (X : Cᵒᵖ) (X_1 : CategoryTheory.Sheaf J (Type v)),
  (J.yonedaOpCompCoyoneda.inv.app X).app X_1 =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.largeCurriedYonedaLemma.inv.app X).app X_1.obj)
      (CategoryTheory.CategoryStruct.comp
        (TypeCat.ofHom fun g ↦
          CategoryTheory.CategoryStruct.comp (J.yonedaCompSheafToPresheaf.hom.app (Opposite.unop X)) g)
        ((CategoryTheory.sheafToPresheafCompCoyonedaCompWhiskeringLeftSheafToPresheaf.hom.app
              (Opposite.op (J.yoneda.obj (Opposite.unop X)))).app
          X_1))

def CategoryTheory.GrothendieckTopology.uliftYonedaEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (J : CategoryTheory.GrothendieckTopology C) →
      [inst_1 : J.Subcanonical] →
        {X : C} →
          {F : CategoryTheory.Sheaf J (Type (max v v'))} →
            ((CategoryTheory.GrothendieckTopology.uliftYoneda.{v', v, u} J).obj X ⟶ F) ≃ F.obj.obj (Opposite.op X)

A version of yonedaEquiv for uliftYoneda.

theorem CategoryTheory.GrothendieckTopology.uliftYonedaEquiv_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X : C} {F : CategoryTheory.Sheaf J (Type (max v v'))}
  (f : (CategoryTheory.GrothendieckTopology.uliftYoneda.{v', v, u} J).obj X ⟶ F),
  J.uliftYonedaEquiv f =
    (CategoryTheory.ConcreteCategory.hom (f.hom.app (Opposite.op X))) { down := CategoryTheory.CategoryStruct.id X }

theorem CategoryTheory.GrothendieckTopology.uliftYonedaEquiv_symm_app_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X : C} {F : CategoryTheory.Sheaf J (Type (max v v'))} (x : F.obj.obj (Opposite.op X))
  (Y : Cᵒᵖ) (f : Opposite.unop Y ⟶ X),
  (CategoryTheory.ConcreteCategory.hom ((J.uliftYonedaEquiv.symm x).hom.app Y)) { down := f } =
    (CategoryTheory.ConcreteCategory.hom (F.obj.map f.op)) x

theorem CategoryTheory.GrothendieckTopology.uliftYonedaEquiv_naturality E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X Y : C} {F : CategoryTheory.Sheaf J (Type (max v v'))}
  (f : (CategoryTheory.GrothendieckTopology.uliftYoneda.{v', v, u} J).obj X ⟶ F) (g : Y ⟶ X),
  (CategoryTheory.ConcreteCategory.hom (F.obj.map g.op)) (J.uliftYonedaEquiv f) =
    J.uliftYonedaEquiv
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.GrothendieckTopology.uliftYoneda.{v', v, u} J).map g) f)

See also uliftYonedaEquiv_naturality' for a more general version.

theorem CategoryTheory.GrothendieckTopology.uliftYonedaEquiv_naturality' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X Y : Cᵒᵖ} {F : CategoryTheory.Sheaf J (Type (max v v'))}
  (f : (CategoryTheory.GrothendieckTopology.uliftYoneda.{v', v, u} J).obj (Opposite.unop X) ⟶ F) (g : X ⟶ Y),
  (CategoryTheory.ConcreteCategory.hom (F.obj.map g)) (J.uliftYonedaEquiv f) =
    J.uliftYonedaEquiv
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.GrothendieckTopology.uliftYoneda.{v', v, u} J).map g.unop) f)

Variant of uliftYonedaEquiv_naturality with general g. This is technically strictly more general than uliftYonedaEquiv_naturality, but uliftYonedaEquiv_naturality is sometimes preferable because it can avoid the "motive is not type correct" error.

theorem CategoryTheory.GrothendieckTopology.uliftYonedaEquiv_comp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X : C} {F G : CategoryTheory.Sheaf J (Type (max v v'))}
  (α : (CategoryTheory.GrothendieckTopology.uliftYoneda.{v', v, u} J).obj X ⟶ F) (β : F ⟶ G),
  J.uliftYonedaEquiv (CategoryTheory.CategoryStruct.comp α β) =
    (CategoryTheory.ConcreteCategory.hom (β.hom.app (Opposite.op X))) (J.uliftYonedaEquiv α)

theorem CategoryTheory.GrothendieckTopology.uliftYonedaEquiv_uliftYoneda_map E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X Y : C} (f : X ⟶ Y),
  J.uliftYonedaEquiv ((CategoryTheory.GrothendieckTopology.uliftYoneda.{v', v, u} J).map f) = { down := f }

theorem CategoryTheory.GrothendieckTopology.uliftYonedaEquiv_symm_naturality_left E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X X' : C} (f : X' ⟶ X) (F : CategoryTheory.Sheaf J (Type (max v v')))
  (x : F.obj.obj (Opposite.op X)),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.GrothendieckTopology.uliftYoneda.{v', v, u} J).map f)
      (J.uliftYonedaEquiv.symm x) =
    J.uliftYonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (F.obj.map f.op)) x)

theorem CategoryTheory.GrothendieckTopology.uliftYonedaEquiv_symm_naturality_right E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] (X : C) {F F' : CategoryTheory.Sheaf J (Type (max v v'))} (f : F ⟶ F')
  (x : F.obj.obj (Opposite.op X)),
  CategoryTheory.CategoryStruct.comp (J.uliftYonedaEquiv.symm x) f =
    J.uliftYonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (f.hom.app (Opposite.op X))) x)

theorem CategoryTheory.GrothendieckTopology.map_uliftYonedaEquiv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X Y : C} {F : CategoryTheory.Sheaf J (Type (max v v'))}
  (f : (CategoryTheory.GrothendieckTopology.uliftYoneda.{v', v, u} J).obj X ⟶ F) (g : Y ⟶ X),
  (CategoryTheory.ConcreteCategory.hom (F.obj.map g.op)) (J.uliftYonedaEquiv f) =
    (CategoryTheory.ConcreteCategory.hom (f.hom.app (Opposite.op Y))) { down := g }

See also map_yonedaEquiv' for a more general version.

theorem CategoryTheory.GrothendieckTopology.map_uliftYonedaEquiv' E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X Y : Cᵒᵖ} {F : CategoryTheory.Sheaf J (Type (max v v'))}
  (f : (CategoryTheory.GrothendieckTopology.uliftYoneda.{v', v, u} J).obj (Opposite.unop X) ⟶ F) (g : X ⟶ Y),
  (CategoryTheory.ConcreteCategory.hom (F.obj.map g)) (J.uliftYonedaEquiv f) =
    (CategoryTheory.ConcreteCategory.hom (f.hom.app Y)) { down := g.unop }

Variant of map_uliftYonedaEquiv with general g. This is technically strictly more general than map_uliftYonedaEquiv, but map_uliftYonedaEquiv is sometimes preferable because it can avoid the "motive is not type correct" error.

theorem CategoryTheory.GrothendieckTopology.uliftYonedaEquiv_symm_map E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {X Y : Cᵒᵖ} (f : X ⟶ Y) {F : CategoryTheory.Sheaf J (Type (max v v'))} (t : F.obj.obj X),
  J.uliftYonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (F.obj.map f)) t) =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.GrothendieckTopology.uliftYoneda.{v', v, u} J).map f.unop)
      (J.uliftYonedaEquiv.symm t)

theorem CategoryTheory.GrothendieckTopology.hom_ext_uliftYoneda E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {P Q : CategoryTheory.Sheaf J (Type (max v v'))} {f g : P ⟶ Q},
  (∀ (X : C) (p : (CategoryTheory.GrothendieckTopology.uliftYoneda.{v', v, u} J).obj X ⟶ P),
      CategoryTheory.CategoryStruct.comp p f = CategoryTheory.CategoryStruct.comp p g) →
    f = g

Two morphisms of sheaves of types P ⟶ Q coincide if the precompositions with morphisms uliftYoneda.obj X ⟶ P agree.

def CategoryTheory.GrothendieckTopology.uliftYonedaOpCompCoyoneda E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (J : CategoryTheory.GrothendieckTopology C) →
      [inst_1 : J.Subcanonical] →
        (CategoryTheory.GrothendieckTopology.uliftYoneda.{v', v, u} J).op.comp CategoryTheory.coyoneda ≅
          (CategoryTheory.evaluation Cᵒᵖ (Type (max v v'))).comp
            (((CategoryTheory.Functor.whiskeringRight (CategoryTheory.Functor Cᵒᵖ (Type (max v v'))) (Type (max v v'))
                      (Type (max (max v v') u))).obj
                  CategoryTheory.uliftFunctor.{u, max v v'}).comp
              ((CategoryTheory.Functor.whiskeringLeft (CategoryTheory.Sheaf J (Type (max v v')))
                    (CategoryTheory.Functor Cᵒᵖ (Type (max v v'))) (Type (max (max v v') u))).obj
                (CategoryTheory.sheafToPresheaf J (Type (max v v')))))

A variant of the Yoneda lemma for sheaves with a raise in the universe level.

theorem CategoryTheory.GrothendieckTopology.uliftYonedaOpCompCoyoneda_hom_app_app_hom_apply_down E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] (X : Cᵒᵖ) (X_1 : CategoryTheory.Sheaf J (Type (max v' v)))
  (a :
    (((J.yoneda.op.comp (CategoryTheory.sheafCompose J CategoryTheory.uliftFunctor.{v', v}).op).comp
              CategoryTheory.coyoneda).obj
          X).obj
      X_1),
  ((CategoryTheory.ConcreteCategory.hom ((J.uliftYonedaOpCompCoyoneda.hom.app X).app X_1)) a).down =
    CategoryTheory.uliftYonedaEquiv
      ((CategoryTheory.CategoryStruct.comp
            ((CategoryTheory.sheafToPresheafCompCoyonedaCompWhiskeringLeftSheafToPresheaf.inv.app
                  (Opposite.op
                    ((CategoryTheory.sheafCompose J CategoryTheory.uliftFunctor.{v', v}).obj
                      (J.yoneda.obj (Opposite.unop X))))).app
              X_1)
            (TypeCat.ofHom fun g ↦
              CategoryTheory.CategoryStruct.comp (J.uliftYonedaCompSheafToPresheaf.inv.app (Opposite.unop X)) g)).hom'
        a)

theorem CategoryTheory.GrothendieckTopology.uliftYonedaOpCompCoyoneda_inv_app_app_hom_apply_hom_app_hom_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] (X : Cᵒᵖ) (X_1 : CategoryTheory.Sheaf J (Type (max v' v)))
  (a :
    (((CategoryTheory.evaluation Cᵒᵖ (Type (max v v'))).comp
              (((CategoryTheory.Functor.whiskeringRight (CategoryTheory.Functor Cᵒᵖ (Type (max v v'))) (Type (max v v'))
                        (Type (max (max v v') u))).obj
                    CategoryTheory.uliftFunctor.{u, max v v'}).comp
                ((CategoryTheory.Functor.whiskeringLeft (CategoryTheory.Sheaf J (Type (max v v')))
                      (CategoryTheory.Functor Cᵒᵖ (Type (max v v'))) (Type (max (max v v') u))).obj
                  (CategoryTheory.sheafToPresheaf J (Type (max v v')))))).obj
          X).obj
      X_1)
  (X_2 : Cᵒᵖ)
  (a_1 :
    (Opposite.unop
          (((CategoryTheory.GrothendieckTopology.uliftYoneda.{v', v, u} J).comp
                  (CategoryTheory.sheafToPresheaf J (Type (max v v')))).op.obj
            X)).obj
      X_2),
  (CategoryTheory.ConcreteCategory.hom
        (((CategoryTheory.ConcreteCategory.hom ((J.uliftYonedaOpCompCoyoneda.inv.app X).app X_1)) a).hom.app X_2))
      a_1 =
    ((((CategoryTheory.uliftYonedaOpCompCoyoneda.inv.app X).app X_1.obj).hom' a).app X_2).hom'
      (((J.uliftYonedaCompSheafToPresheaf.hom.app (Opposite.unop X)).app X_2).hom' a_1)

theorem CategoryTheory.GrothendieckTopology.uliftYonedaOpCompCoyoneda_inv_app_app E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] (X : Cᵒᵖ) (F : CategoryTheory.Sheaf J (Type (max v v')))
  (s : ULift.{u, max v v'} (F.obj.obj X)),
  (CategoryTheory.ConcreteCategory.hom ((J.uliftYonedaOpCompCoyoneda.inv.app X).app F)) s =
    J.uliftYonedaEquiv.symm s.down

theorem CategoryTheory.GrothendieckTopology.uliftYonedaOpCompCoyoneda_app_app E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] (X : Cᵒᵖ) (F : CategoryTheory.Sheaf J (Type (max v v'))),
  (J.uliftYonedaOpCompCoyoneda.app X).app F = (J.uliftYonedaEquiv.trans Equiv.ulift.symm).toIso

instance CategoryTheory.GrothendieckTopology.preservesLimitsOfSize_yoneda E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical],
  CategoryTheory.Limits.PreservesLimitsOfSize.{u_1, u_2, v, max u v, u, max u (v + 1)} J.yoneda

def CategoryTheory.GrothendieckTopology.isColimitCofanMkYoneda E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (J : CategoryTheory.GrothendieckTopology C) →
      [inst_1 : J.Subcanonical] →
        {ι : Type u_1} →
          (X : ι → C) →
            {c : CategoryTheory.Limits.Cofan X} →
              CategoryTheory.Sieve.ofArrows X c.inj ∈ J c.pt →
                [∀ (i : ι), CategoryTheory.Mono (c.inj i)] →
                  (∀ (Y : C) (a : CategoryTheory.Limits.IsInitial Y), ⊥ ∈ J Y) →
                    (∀ {i j : ι},
                        i ≠ j →
                          ∀ {Y : C} (a : Y ⟶ X i) (b : Y ⟶ X j),
                            CategoryTheory.CategoryStruct.comp a (c.inj i) =
                                CategoryTheory.CategoryStruct.comp b (c.inj j) →
                              Nonempty (CategoryTheory.Limits.IsInitial Y)) →
                      CategoryTheory.Limits.IsColimit
                        (CategoryTheory.Limits.Cofan.mk (J.yoneda.obj c.pt) fun i ↦ J.yoneda.map (c.inj i))

Let { Xᵢ ⟶ Y } be a family of pairwise disjoint maps that form a cover in J. Then its image under the yoneda embedding to J-sheaves is a coproduct.

theorem CategoryTheory.GrothendieckTopology.preservesColimitsOfShape_yoneda_of_ofArrows_inj_mem E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  [inst_1 : J.Subcanonical] {ι : Type u_1} [CategoryTheory.Limits.CoproductsOfShapeDisjoint C ι]
  [CategoryTheory.Limits.HasPullbacks C] [CategoryTheory.Limits.HasStrictInitialObjects C],
  (∀ {X : ι → C} {c : CategoryTheory.Limits.Cofan X} (x : CategoryTheory.Limits.IsColimit c),
      CategoryTheory.Sieve.ofArrows X c.inj ∈ J c.pt) →
    (∀ (Y : C) (a : CategoryTheory.Limits.IsInitial Y), ⊥ ∈ J Y) →
      CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete ι) J.yoneda

If the coproduct inclusions form a covering of J and coproducts are disjoint, the yoneda embedding to J-sheaves preserves coproducts.

theorem CategoryTheory.GrothendieckTopology.subcanonical_of_full_of_faithful E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v', u_1} D]
  (F : CategoryTheory.Functor C D) (J : CategoryTheory.GrothendieckTopology C)
  (K : CategoryTheory.GrothendieckTopology D) [F.Full] [F.Faithful] [F.IsContinuous J K] [K.Subcanonical],
  J.Subcanonical