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.Descent.IsPrestack

18 declarations. Mathlib docs · Source

Prestacks: descent of morphisms

Let C be a category and F : LocallyDiscrete Cᵒᵖ ⥤ᵖ Cat. Given S : C, and objects M and N in F.obj (.mk (op S)), we define a presheaf of types F.presheafHom M N on the category Over S: its sections on an object T : Over S corresponding to a morphism p : X ⟶ S are the type of morphisms p^* M ⟶ p^* N. We shall say that F satisfies the descent of morphisms for a Grothendieck topology J if these presheaves are all sheaves (typeclass F.IsPrestack J).

Terminological note

In this file, we use the language of pseudofunctors to formalize prestacks. Similar notions could also be phrased in terms of fibered categories. In the mathematical literature, various uses of the words "prestacks" and "stacks" exists. Our definitions are consistent with Giraud's definition II 1.2.1 in Cohomologie non abélienne: a prestack is defined by the descent of morphisms condition with respect to a Grothendieck topology, and a stack by the effectiveness of the descent. However, contrary to Laumon and Moret-Bailly in Champs algébriques 3.1, we do not require that target categories are groupoids.

References

  • [Jean Giraud, Cohomologie non abélienne][giraud1971]
  • [Gérard Laumon and Laurent Moret-Bailly, Champs algébriques][laumon-morel-bailly-2000]

theorem CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} ⦃X₁ X₂ : C⦄
  ⦃M₁ : ↑(F.obj { as := Opposite.op X₁ })⦄ ⦃M₂ : ↑(F.obj { as := Opposite.op X₂ })⦄ ⦃Y : C⦄ ⦃f₁ : Y ⟶ X₁⦄ ⦃f₂ : Y ⟶ X₂⦄
  (φ φ_1 : (F.map f₁.op.toLoc).toFunctor.obj M₁ ⟶ (F.map f₂.op.toLoc).toFunctor.obj M₂),
  φ = φ_1 →
    ∀ ⦃Y' : C⦄ (g g_1 : Y' ⟶ Y) (e_g : g = g_1) (gf₁ : Y' ⟶ X₁) (gf₂ : Y' ⟶ X₂)
      (hgf₁ : CategoryTheory.CategoryStruct.comp g f₁ = gf₁) (hgf₂ : CategoryTheory.CategoryStruct.comp g f₂ = gf₂),
      CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom φ g gf₁ gf₂ hgf₁ hgf₂ =
        CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom φ_1 g_1 gf₁ gf₂ ⋯ ⋯

def CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      ⦃X₁ X₂ : C⦄ →
        ⦃M₁ : ↑(F.obj { as := Opposite.op X₁ })⦄ →
          ⦃M₂ : ↑(F.obj { as := Opposite.op X₂ })⦄ →
            ⦃Y : C⦄ →
              ⦃f₁ : Y ⟶ X₁⦄ →
                ⦃f₂ : Y ⟶ X₂⦄ →
                  ((F.map f₁.op.toLoc).toFunctor.obj M₁ ⟶ (F.map f₂.op.toLoc).toFunctor.obj M₂) →
                    ⦃Y' : C⦄ →
                      (g : Y' ⟶ Y) →
                        (gf₁ : Y' ⟶ X₁) →
                          (gf₂ : Y' ⟶ X₂) →
                            autoParam (CategoryTheory.CategoryStruct.comp g f₁ = gf₁)
                                CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom._auto_1 →
                              autoParam (CategoryTheory.CategoryStruct.comp g f₂ = gf₂)
                                  CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom._auto_3 →
                                ((F.map gf₁.op.toLoc).toFunctor.obj M₁ ⟶ (F.map gf₂.op.toLoc).toFunctor.obj M₂)

Given a pseudofunctor F from LocallyDiscrete Cᵒᵖ to Cat, objects M₁ and M₂ of F over X₁ and X₂, morphisms f₁ : Y ⟶ X₁ and f₂ : Y ⟶ X₂, this is a version of the pullback map (f₁^* M₁ ⟶ f₂^* M₂) → (g^* (f₁^* M₁) ⟶ g^* (f₂^* M₂)) by a morphism g : Y' ⟶ Y, where we actually replace g^* (f₁^* M₁) by gf₁^* M₁ where gf₁ : Y' ⟶ X₁ is a morphism such that g ≫ f₁ = gf₁ (and similarly for M₂).

theorem CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.map_eq_pullHom_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} ⦃X₁ X₂ : C⦄
  ⦃M₁ : ↑(F.obj { as := Opposite.op X₁ })⦄ ⦃M₂ : ↑(F.obj { as := Opposite.op X₂ })⦄ ⦃Y : C⦄ ⦃f₁ : Y ⟶ X₁⦄ ⦃f₂ : Y ⟶ X₂⦄
  (φ : (F.map f₁.op.toLoc).toFunctor.obj M₁ ⟶ (F.map f₂.op.toLoc).toFunctor.obj M₂) ⦃Y' : C⦄ (g : Y' ⟶ Y)
  (gf₁ : Y' ⟶ X₁) (gf₂ : Y' ⟶ X₂) (hgf₁ : CategoryTheory.CategoryStruct.comp g f₁ = gf₁)
  (hgf₂ : CategoryTheory.CategoryStruct.comp g f₂ = gf₂) {Z : ↑(F.obj { as := Opposite.op Y' })}
  (h : (F.map g.op.toLoc).toFunctor.obj ((F.map f₂.op.toLoc).toFunctor.obj M₂) ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((F.map g.op.toLoc).toFunctor.map φ) h =
    CategoryTheory.CategoryStruct.comp ((F.mapComp' f₁.op.toLoc g.op.toLoc gf₁.op.toLoc ⋯).inv.toNatTrans.app M₁)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom φ g gf₁ gf₂ hgf₁ hgf₂)
        (CategoryTheory.CategoryStruct.comp ((F.mapComp' f₂.op.toLoc g.op.toLoc gf₂.op.toLoc ⋯).hom.toNatTrans.app M₂)
          h))

theorem CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.map_eq_pullHom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} ⦃X₁ X₂ : C⦄
  ⦃M₁ : ↑(F.obj { as := Opposite.op X₁ })⦄ ⦃M₂ : ↑(F.obj { as := Opposite.op X₂ })⦄ ⦃Y : C⦄ ⦃f₁ : Y ⟶ X₁⦄ ⦃f₂ : Y ⟶ X₂⦄
  (φ : (F.map f₁.op.toLoc).toFunctor.obj M₁ ⟶ (F.map f₂.op.toLoc).toFunctor.obj M₂) ⦃Y' : C⦄ (g : Y' ⟶ Y)
  (gf₁ : Y' ⟶ X₁) (gf₂ : Y' ⟶ X₂) (hgf₁ : CategoryTheory.CategoryStruct.comp g f₁ = gf₁)
  (hgf₂ : CategoryTheory.CategoryStruct.comp g f₂ = gf₂),
  (F.map g.op.toLoc).toFunctor.map φ =
    CategoryTheory.CategoryStruct.comp ((F.mapComp' f₁.op.toLoc g.op.toLoc gf₁.op.toLoc ⋯).inv.toNatTrans.app M₁)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom φ g gf₁ gf₂ hgf₁ hgf₂)
        ((F.mapComp' f₂.op.toLoc g.op.toLoc gf₂.op.toLoc ⋯).hom.toNatTrans.app M₂))

theorem CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom_id E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} ⦃X₁ X₂ : C⦄
  ⦃M₁ : ↑(F.obj { as := Opposite.op X₁ })⦄ ⦃M₂ : ↑(F.obj { as := Opposite.op X₂ })⦄ ⦃Y : C⦄ ⦃f₁ : Y ⟶ X₁⦄ ⦃f₂ : Y ⟶ X₂⦄
  (φ : (F.map f₁.op.toLoc).toFunctor.obj M₁ ⟶ (F.map f₂.op.toLoc).toFunctor.obj M₂),
  CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom φ (CategoryTheory.CategoryStruct.id Y) f₁ f₂ ⋯ ⋯ = φ

theorem CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom_pullHom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} ⦃X₁ X₂ : C⦄
  ⦃M₁ : ↑(F.obj { as := Opposite.op X₁ })⦄ ⦃M₂ : ↑(F.obj { as := Opposite.op X₂ })⦄ ⦃Y : C⦄ ⦃f₁ : Y ⟶ X₁⦄ ⦃f₂ : Y ⟶ X₂⦄
  (φ : (F.map f₁.op.toLoc).toFunctor.obj M₁ ⟶ (F.map f₂.op.toLoc).toFunctor.obj M₂) ⦃Y' : C⦄ (g : Y' ⟶ Y)
  (gf₁ : Y' ⟶ X₁) (gf₂ : Y' ⟶ X₂) ⦃Y'' : C⦄ (g' : Y'' ⟶ Y') (g'f₁ : Y'' ⟶ X₁) (g'f₂ : Y'' ⟶ X₂)
  (hgf₁ :
    autoParam (CategoryTheory.CategoryStruct.comp g f₁ = gf₁)
      CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom_pullHom._auto_1)
  (hgf₂ :
    autoParam (CategoryTheory.CategoryStruct.comp g f₂ = gf₂)
      CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom_pullHom._auto_3)
  (hg'f₁ :
    autoParam (CategoryTheory.CategoryStruct.comp g' gf₁ = g'f₁)
      CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom_pullHom._auto_5)
  (hg'f₂ :
    autoParam (CategoryTheory.CategoryStruct.comp g' gf₂ = g'f₂)
      CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom_pullHom._auto_7),
  CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom
      (CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom φ g gf₁ gf₂ hgf₁ hgf₂) g' g'f₁ g'f₂ hg'f₁ hg'f₂ =
    CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom φ (CategoryTheory.CategoryStruct.comp g' g) g'f₁ g'f₂ ⋯
      ⋯

def CategoryTheory.Pseudofunctor.presheafHom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) →
      {S : C} →
        ↑(F.obj { as := Opposite.op S }) →
          ↑(F.obj { as := Opposite.op S }) → CategoryTheory.Functor (CategoryTheory.Over S)ᵒᵖ (Type v')

If F is a pseudofunctor from Cᵒᵖ to Cat, and M and N are objects in F.obj (.mk (op S)), this is the presheaf of morphisms from M to N: it sends an object T : Over S corresponding to a morphism p : X ⟶ S to the type of morphisms $p^* M ⟶ p^* N$.

theorem CategoryTheory.Pseudofunctor.presheafHom_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {S : C}
  (M N : ↑(F.obj { as := Opposite.op S })) (T : (CategoryTheory.Over S)ᵒᵖ),
  (F.presheafHom M N).obj T =
    ((F.map (Opposite.unop T).hom.op.toLoc).toFunctor.obj M ⟶ (F.map (Opposite.unop T).hom.op.toLoc).toFunctor.obj N)

theorem CategoryTheory.Pseudofunctor.presheafHom_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {S : C}
  (M N : ↑(F.obj { as := Opposite.op S })) {T₁ T₂ : (CategoryTheory.Over S)ᵒᵖ} (p : T₁ ⟶ T₂),
  (F.presheafHom M N).map p =
    TypeCat.ofHom fun f ↦
      CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom f (CategoryTheory.Over.Hom.left p.unop)
        (Opposite.unop T₂).hom (Opposite.unop T₂).hom ⋯ ⋯

def CategoryTheory.Pseudofunctor.presheafHomObjHomEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) →
      {S : C} →
        {M N : ↑(F.obj { as := Opposite.op S })} →
          (M ⟶ N) ≃ (F.presheafHom M N).obj (Opposite.op (CategoryTheory.Over.mk (CategoryTheory.CategoryStruct.id S)))

The bijection (M ⟶ N) ≃ (F.presheafHom M N).obj (op (Over.mk (𝟙 S))).

theorem CategoryTheory.Pseudofunctor.presheafHomObjHomEquiv_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {S : C}
  {M N : ↑(F.obj { as := Opposite.op S })} (f : M ⟶ N),
  F.presheafHomObjHomEquiv f =
    CategoryTheory.CategoryStruct.comp ((F.mapId { as := Opposite.op S }).hom.toNatTrans.app M)
      (CategoryTheory.CategoryStruct.comp f ((F.mapId { as := Opposite.op S }).inv.toNatTrans.app N))

theorem CategoryTheory.Pseudofunctor.presheafHomObjHomEquiv_symm_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {S : C}
  {M N : ↑(F.obj { as := Opposite.op S })}
  (f :
    (F.map
              (Opposite.unop
                      (Opposite.op
                        (CategoryTheory.Over.mk (CategoryTheory.CategoryStruct.id S)))).hom.op.toLoc).toFunctor.obj
        M ⟶
      (F.map
              (Opposite.unop
                      (Opposite.op
                        (CategoryTheory.Over.mk (CategoryTheory.CategoryStruct.id S)))).hom.op.toLoc).toFunctor.obj
        N),
  F.presheafHomObjHomEquiv.symm f =
    CategoryTheory.CategoryStruct.comp ((F.mapId { as := Opposite.op S }).inv.toNatTrans.app M)
      (CategoryTheory.CategoryStruct.comp f ((F.mapId { as := Opposite.op S }).hom.toNatTrans.app N))

def CategoryTheory.Pseudofunctor.overMapCompPresheafHomIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) →
      {S : C} →
        (M N : ↑(F.obj { as := Opposite.op S })) →
          {S' : C} →
            (q : S' ⟶ S) →
              (CategoryTheory.Over.map q).op.comp (F.presheafHom M N) ≅
                F.presheafHom ((F.map q.op.toLoc).toFunctor.obj M) ((F.map q.op.toLoc).toFunctor.obj N)

Compatibility isomorphism of Pseudofunctor.presheafHom with "restrictions".

class CategoryTheory.Pseudofunctor.IsPrestack E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat →
      CategoryTheory.GrothendieckTopology C → Prop

The property that a pseudofunctor F : LocallyDiscrete Cᵒᵖ ⥤ᵖ Cat satisfies the descent property for morphisms, i.e. is a prestack. (See the terminological note in the introduction of the file Sites.Descent.IsPrestack.)

ctor CategoryTheory.Pseudofunctor.IsPrestack.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat}
  {J : CategoryTheory.GrothendieckTopology C},
  (∀ {S : C} (M N : ↑(F.obj { as := Opposite.op S })), CategoryTheory.Presheaf.IsSheaf (J.over S) (F.presheafHom M N)) →
    F.IsPrestack J

theorem CategoryTheory.Pseudofunctor.IsPrestack.isSheaf E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C}
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat}
  (J : CategoryTheory.GrothendieckTopology C) [self : F.IsPrestack J] {S : C} (M N : ↑(F.obj { as := Opposite.op S })),
  CategoryTheory.Presheaf.IsSheaf (J.over S) (F.presheafHom M N)

def CategoryTheory.Pseudofunctor.sheafHom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) →
      (J : CategoryTheory.GrothendieckTopology C) →
        [F.IsPrestack J] →
          {S : C} →
            ↑(F.obj { as := Opposite.op S }) →
              ↑(F.obj { as := Opposite.op S }) → CategoryTheory.Sheaf (J.over S) (Type v')

If F is a prestack from Cᵒᵖ to Cat relatively to a Grothendieck topology J, and M and N are two objects in F.obj (.mk (op S)), this is the sheaf of morphisms from M to N: it sends an object T : Over S corresponding to a morphism p : X ⟶ S to the type of morphisms $p^* M ⟶ p^* N$.

theorem CategoryTheory.Pseudofunctor.sheafHom_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat)
  (J : CategoryTheory.GrothendieckTopology C) [inst_1 : F.IsPrestack J] {S : C}
  (M N : ↑(F.obj { as := Opposite.op S })), (F.sheafHom J M N).obj = F.presheafHom M N