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

25 declarations. Mathlib docs · Source

class CategoryTheory.GrothendieckTopology.HasSheafCompose E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {A : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
        {B : Type u₃} →
          [inst_2 : CategoryTheory.Category.{v₃, u₃} B] →
            CategoryTheory.GrothendieckTopology C → CategoryTheory.Functor A B → Prop

Describes the property of a functor to "preserve sheaves".

ctor CategoryTheory.GrothendieckTopology.HasSheafCompose.mk E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {B : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} B] {J : CategoryTheory.GrothendieckTopology C}
  {F : CategoryTheory.Functor A B},
  (∀ (P : CategoryTheory.Functor Cᵒᵖ A),
      CategoryTheory.Presheaf.IsSheaf J P → CategoryTheory.Presheaf.IsSheaf J (P.comp F)) →
    J.HasSheafCompose F

theorem CategoryTheory.GrothendieckTopology.HasSheafCompose.isSheaf E1 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {A : Type u₂} {inst_1 : CategoryTheory.Category.{v₂, u₂} A}
  {B : Type u₃} {inst_2 : CategoryTheory.Category.{v₃, u₃} B} {J : CategoryTheory.GrothendieckTopology C}
  {F : CategoryTheory.Functor A B} [self : J.HasSheafCompose F] (P : CategoryTheory.Functor Cᵒᵖ A),
  CategoryTheory.Presheaf.IsSheaf J P → CategoryTheory.Presheaf.IsSheaf J (P.comp F)

For every sheaf P, P ⋙ F is a sheaf.

def CategoryTheory.sheafCompose E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {A : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
        {B : Type u₃} →
          [inst_2 : CategoryTheory.Category.{v₃, u₃} B] →
            (J : CategoryTheory.GrothendieckTopology C) →
              (F : CategoryTheory.Functor A B) →
                [J.HasSheafCompose F] → CategoryTheory.Functor (CategoryTheory.Sheaf J A) (CategoryTheory.Sheaf J B)

Composing a functor which HasSheafCompose, yields a functor between sheaf categories.

theorem CategoryTheory.sheafCompose_map_hom E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {B : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} B] (J : CategoryTheory.GrothendieckTopology C)
  (F : CategoryTheory.Functor A B) [inst_3 : J.HasSheafCompose F] {X Y : CategoryTheory.Sheaf J A} (f : X ⟶ Y),
  ((CategoryTheory.sheafCompose J F).map f).hom = CategoryTheory.Functor.whiskerRight f.hom F

theorem CategoryTheory.sheafCompose_obj_obj E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {B : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} B] (J : CategoryTheory.GrothendieckTopology C)
  (F : CategoryTheory.Functor A B) [inst_3 : J.HasSheafCompose F] (X : CategoryTheory.Sheaf J A),
  ((CategoryTheory.sheafCompose J F).obj X).obj = X.obj.comp F

instance CategoryTheory.instFaithfulSheafFunctorOppositeCompSheafComposeSheafToPresheaf E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {B : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} B] (J : CategoryTheory.GrothendieckTopology C)
  (F : CategoryTheory.Functor A B) [inst_3 : J.HasSheafCompose F] [F.Faithful],
  ((CategoryTheory.sheafCompose J F).comp (CategoryTheory.sheafToPresheaf J B)).Faithful

instance CategoryTheory.instFullSheafFunctorOppositeCompSheafComposeSheafToPresheafOfFaithful E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {B : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} B] (J : CategoryTheory.GrothendieckTopology C)
  (F : CategoryTheory.Functor A B) [inst_3 : J.HasSheafCompose F] [F.Faithful] [F.Full],
  ((CategoryTheory.sheafCompose J F).comp (CategoryTheory.sheafToPresheaf J B)).Full

def CategoryTheory.fullyFaithfulSheafComposeCompSheafToPresheaf E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {A : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
        {B : Type u₃} →
          [inst_2 : CategoryTheory.Category.{v₃, u₃} B] →
            (J : CategoryTheory.GrothendieckTopology C) →
              {F : CategoryTheory.Functor A B} →
                [inst_3 : J.HasSheafCompose F] →
                  F.FullyFaithful →
                    ((CategoryTheory.sheafCompose J F).comp (CategoryTheory.sheafToPresheaf J B)).FullyFaithful

If F : A ⥤ B is fully faithful, then sheafCompose J F ⋙ sheafToPresheaf J B is fully faithful.

instance CategoryTheory.instFaithfulSheafSheafCompose E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {B : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} B] (J : CategoryTheory.GrothendieckTopology C)
  (F : CategoryTheory.Functor A B) [inst_3 : J.HasSheafCompose F] [F.Faithful],
  (CategoryTheory.sheafCompose J F).Faithful

instance CategoryTheory.instFullSheafSheafComposeOfFaithful E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {B : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} B] (J : CategoryTheory.GrothendieckTopology C)
  (F : CategoryTheory.Functor A B) [inst_3 : J.HasSheafCompose F] [F.Full] [F.Faithful],
  (CategoryTheory.sheafCompose J F).Full

def CategoryTheory.fullyFaithfulSheafCompose E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {A : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
        {B : Type u₃} →
          [inst_2 : CategoryTheory.Category.{v₃, u₃} B] →
            (J : CategoryTheory.GrothendieckTopology C) →
              {F : CategoryTheory.Functor A B} →
                [inst_3 : J.HasSheafCompose F] → F.FullyFaithful → (CategoryTheory.sheafCompose J F).FullyFaithful

If F : A ⥤ B is fully faithful, then sheafCompose J F is fully faithful.

instance CategoryTheory.instReflectsIsomorphismsSheafSheafCompose E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {B : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} B] (J : CategoryTheory.GrothendieckTopology C)
  (F : CategoryTheory.Functor A B) [inst_3 : J.HasSheafCompose F] [F.ReflectsIsomorphisms],
  (CategoryTheory.sheafCompose J F).ReflectsIsomorphisms

def CategoryTheory.sheafCompose_map E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {A : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
        {B : Type u₃} →
          [inst_2 : CategoryTheory.Category.{v₃, u₃} B] →
            (J : CategoryTheory.GrothendieckTopology C) →
              {F G : CategoryTheory.Functor A B} →
                (F ⟶ G) →
                  [inst_3 : J.HasSheafCompose F] →
                    [inst_4 : J.HasSheafCompose G] → CategoryTheory.sheafCompose J F ⟶ CategoryTheory.sheafCompose J G

If η : F ⟶ G is a natural transformation then we obtain a morphism of functors sheafCompose J F ⟶ sheafCompose J G by whiskering with η on the level of presheaves.

theorem CategoryTheory.sheafCompose_id E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {B : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} B] (J : CategoryTheory.GrothendieckTopology C)
  {F : CategoryTheory.Functor A B} [inst_3 : J.HasSheafCompose F],
  CategoryTheory.sheafCompose_map J (CategoryTheory.CategoryStruct.id F) =
    CategoryTheory.CategoryStruct.id (CategoryTheory.sheafCompose J F)

theorem CategoryTheory.sheafCompose_comp E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {B : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} B] (J : CategoryTheory.GrothendieckTopology C)
  {F G : CategoryTheory.Functor A B} (H : CategoryTheory.Functor A B) (η : F ⟶ G) (γ : G ⟶ H)
  [inst_3 : J.HasSheafCompose F] [inst_4 : J.HasSheafCompose G] [inst_5 : J.HasSheafCompose H],
  CategoryTheory.sheafCompose_map J (CategoryTheory.CategoryStruct.comp η γ) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.sheafCompose_map J η) (CategoryTheory.sheafCompose_map J γ)

def CategoryTheory.GrothendieckTopology.Cover.multicospanComp E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {A : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
        {B : Type u₃} →
          [inst_2 : CategoryTheory.Category.{v₃, u₃} B] →
            {J : CategoryTheory.GrothendieckTopology C} →
              (F : CategoryTheory.Functor A B) →
                (P : CategoryTheory.Functor Cᵒᵖ A) →
                  {X : C} → (S : J.Cover X) → (S.index (P.comp F)).multicospan ≅ (S.index P).multicospan.comp F

The multicospan associated to a cover S : J.Cover X and a presheaf of the form P ⋙ F is isomorphic to the composition of the multicospan associated to S and P, composed with F.

theorem CategoryTheory.GrothendieckTopology.Cover.multicospanComp_inv_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {B : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} B] {J : CategoryTheory.GrothendieckTopology C}
  (F : CategoryTheory.Functor A B) (P : CategoryTheory.Functor Cᵒᵖ A) {X : C} (S : J.Cover X)
  (X_1 : CategoryTheory.Limits.WalkingMulticospan S.shape),
  (CategoryTheory.GrothendieckTopology.Cover.multicospanComp F P S).inv.app X_1 =
    (match X_1 with
      | CategoryTheory.Limits.WalkingMulticospan.left a =>
        CategoryTheory.Iso.refl ((S.index (P.comp F)).multicospan.obj (CategoryTheory.Limits.WalkingMulticospan.left a))
      | CategoryTheory.Limits.WalkingMulticospan.right a =>
        CategoryTheory.Iso.refl
          ((S.index (P.comp F)).multicospan.obj (CategoryTheory.Limits.WalkingMulticospan.right a))).inv

theorem CategoryTheory.GrothendieckTopology.Cover.multicospanComp_hom_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {B : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} B] {J : CategoryTheory.GrothendieckTopology C}
  (F : CategoryTheory.Functor A B) (P : CategoryTheory.Functor Cᵒᵖ A) {X : C} (S : J.Cover X)
  (X_1 : CategoryTheory.Limits.WalkingMulticospan S.shape),
  (CategoryTheory.GrothendieckTopology.Cover.multicospanComp F P S).hom.app X_1 =
    (match X_1 with
      | CategoryTheory.Limits.WalkingMulticospan.left a =>
        CategoryTheory.Iso.refl ((S.index (P.comp F)).multicospan.obj (CategoryTheory.Limits.WalkingMulticospan.left a))
      | CategoryTheory.Limits.WalkingMulticospan.right a =>
        CategoryTheory.Iso.refl
          ((S.index (P.comp F)).multicospan.obj (CategoryTheory.Limits.WalkingMulticospan.right a))).hom

def CategoryTheory.GrothendieckTopology.Cover.mapMultifork E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {A : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
        {B : Type u₃} →
          [inst_2 : CategoryTheory.Category.{v₃, u₃} B] →
            {J : CategoryTheory.GrothendieckTopology C} →
              (F : CategoryTheory.Functor A B) →
                (P : CategoryTheory.Functor Cᵒᵖ A) →
                  {X : C} →
                    (S : J.Cover X) →
                      F.mapCone (S.multifork P) ≅
                        (CategoryTheory.Limits.Cone.postcompose
                              (CategoryTheory.GrothendieckTopology.Cover.multicospanComp F P S).hom).obj
                          (S.multifork (P.comp F))

Mapping the multifork associated to a cover S : J.Cover X and a presheaf P with respect to a functor F is isomorphic (upto a natural isomorphism of the underlying functors) to the multifork associated to S and P ⋙ F.

instance CategoryTheory.hasSheafCompose_of_preservesMulticospan E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {B : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} B] (J : CategoryTheory.GrothendieckTopology C)
  (F : CategoryTheory.Functor A B)
  [∀ (X : C) (S : J.Cover X) (P : CategoryTheory.Functor Cᵒᵖ A),
      CategoryTheory.Limits.PreservesLimit (S.index P).multicospan F],
  J.HasSheafCompose F

Composing a sheaf with a functor preserving the limit of (S.index P).multicospan yields a functor between sheaf categories.

instance CategoryTheory.hasSheafCompose_of_preservesLimitsOfSize E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {B : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} B] (J : CategoryTheory.GrothendieckTopology C)
  {F : CategoryTheory.Functor A B} [CategoryTheory.Limits.PreservesLimitsOfSize.{v₁, max u₁ v₁, v₂, v₃, u₂, u₃} F],
  J.HasSheafCompose F

Composing a sheaf with a functor preserving limits of the same size as the hom sets in C yields a functor between sheaf categories.

Note: the size of the limit that F is required to preserve in hasSheafCompose_of_preservesMulticospan is in general larger than this.

theorem CategoryTheory.Sheaf.isSeparated E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {J : CategoryTheory.GrothendieckTopology C} {FA : A → A → Type u_1} {CA : A → Type u_2}
  [inst_2 : (X Y : A) → FunLike (FA X Y) (CA X) (CA Y)] [inst_3 : CategoryTheory.ConcreteCategory A FA]
  [J.HasSheafCompose (CategoryTheory.forget A)] (F : CategoryTheory.Sheaf J A),
  CategoryTheory.Presheaf.IsSeparated J F.obj

theorem CategoryTheory.Presheaf.IsSheaf.isSeparated E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {J : CategoryTheory.GrothendieckTopology C} {F : CategoryTheory.Functor Cᵒᵖ A} {FA : A → A → Type u_1}
  {CA : A → Type u_2} [inst_2 : (X Y : A) → FunLike (FA X Y) (CA X) (CA Y)]
  [inst_3 : CategoryTheory.ConcreteCategory A FA] [J.HasSheafCompose (CategoryTheory.forget A)],
  CategoryTheory.Presheaf.IsSheaf J F → CategoryTheory.Presheaf.IsSeparated J F

instance CategoryTheory.instHasSheafComposeForgetOfIsCorepresentable E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} A]
  {J : CategoryTheory.GrothendieckTopology C} {FA : A → A → Type u_1} {CA : A → Type v₂}
  [inst_2 : (X Y : A) → FunLike (FA X Y) (CA X) (CA Y)] [inst_3 : CategoryTheory.ConcreteCategory A FA]
  [(CategoryTheory.forget A).IsCorepresentable], J.HasSheafCompose (CategoryTheory.forget A)