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

98 declarations. Mathlib docs · Source

Descent data

In this file, given a pseudofunctor F from LocallyDiscrete Cᵒᵖ to Cat, and a family of maps f i : X i ⟶ S in the category C, we define the category F.DescentData f of objects over the X i equipped with descent data relative to the morphisms f i : X i ⟶ S.

We show that up to an equivalence, the category F.DescentData f is unchanged when we replace S by an isomorphic object, or the family f i : X i ⟶ S by another family which generates the same sieve (see Pseudofunctor.DescentData.pullFunctorEquivalence).

Given a presieve R, we introduce predicates F.IsPrestackFor R and F.IsStackFor R saying the functor F.DescentData (fun (f : R.category) ↦ f.obj.hom) attached to R is respectively fully faithful or an equivalence. We show that F satisfies F.IsPrestack J for a Grothendieck topology J iff it satisfies F.IsPrestackFor R.arrows for all covering sieves R.

TODO (@joelriou, @chrisflav)

  • Introduce multiple variants of DescentData (when C has pullbacks, when F also has a covariant functoriality, etc.).

theorem CategoryTheory.Pseudofunctor.DescentData.Hom.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C}
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ : F.DescentData f} {hom : (i : ι) → D₁.obj i ⟶ D₂.obj i}
  {comm :
    autoParam
      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂)
        (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q),
        CategoryTheory.CategoryStruct.comp ((F.map f₁.op.toLoc).toFunctor.map (hom i₁)) (D₂.hom q f₁ f₂ ⋯ ⋯) =
          CategoryTheory.CategoryStruct.comp (D₁.hom q f₁ f₂ ⋯ ⋯) ((F.map f₂.op.toLoc).toFunctor.map (hom i₂)))
      CategoryTheory.Pseudofunctor.DescentData.Hom.comm._autoParam}
  {hom_1 : (i : ι) → D₁.obj i ⟶ D₂.obj i}
  {comm_1 :
    autoParam
      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂)
        (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q),
        CategoryTheory.CategoryStruct.comp ((F.map f₁.op.toLoc).toFunctor.map (hom_1 i₁)) (D₂.hom q f₁ f₂ ⋯ ⋯) =
          CategoryTheory.CategoryStruct.comp (D₁.hom q f₁ f₂ ⋯ ⋯) ((F.map f₂.op.toLoc).toFunctor.map (hom_1 i₂)))
      CategoryTheory.Pseudofunctor.DescentData.Hom.comm._autoParam},
  { hom := hom, comm := comm } = { hom := hom_1, comm := comm_1 } → hom = hom_1

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {S' : C} {p p_1 : S' ⟶ S} (e_p : p = p_1) {ι' : Type t'} {X' : ι' → C}
  {f' f'_1 : (j : ι') → X' j ⟶ S'} (e_f' : f' = f'_1) {α : ι' → ι} {p' : (j : ι') → X' j ⟶ X (α j)}
  (w : ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) = CategoryTheory.CategoryStruct.comp (f' j) p)
  (D : F.DescentData f) ⦃Y : C⦄ (q q_1 : Y ⟶ S') (e_q : q = q_1) ⦃j₁ j₂ : ι'⦄ (f₁ : Y ⟶ X' j₁) (f₂ : Y ⟶ X' j₂)
  (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f' j₁) = q) (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f' j₂) = q),
  CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom w D q f₁ f₂ hf₁ hf₂ =
    CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom ⋯ D q_1 f₁ f₂ ⋯ ⋯

theorem CategoryTheory.Pseudofunctor.DescentData.Hom.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ : F.DescentData f} (hom : (i : ι) → D₁.obj i ⟶ D₂.obj i)
  (comm :
    autoParam
      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂)
        (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q),
        CategoryTheory.CategoryStruct.comp ((F.map f₁.op.toLoc).toFunctor.map (hom i₁)) (D₂.hom q f₁ f₂ ⋯ ⋯) =
          CategoryTheory.CategoryStruct.comp (D₁.hom q f₁ f₂ ⋯ ⋯) ((F.map f₂.op.toLoc).toFunctor.map (hom i₂)))
      CategoryTheory.Pseudofunctor.DescentData.Hom.comm._autoParam)
  (hom_1 : (i : ι) → D₁.obj i ⟶ D₂.obj i)
  (comm_1 :
    autoParam
      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂)
        (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q),
        CategoryTheory.CategoryStruct.comp ((F.map f₁.op.toLoc).toFunctor.map (hom_1 i₁)) (D₂.hom q f₁ f₂ ⋯ ⋯) =
          CategoryTheory.CategoryStruct.comp (D₁.hom q f₁ f₂ ⋯ ⋯) ((F.map f₂.op.toLoc).toFunctor.map (hom_1 i₂)))
      CategoryTheory.Pseudofunctor.DescentData.Hom.comm._autoParam),
  ({ hom := hom, comm := comm } = { hom := hom_1, comm := comm_1 }) = (hom = hom_1)

theorem CategoryTheory.Pseudofunctor.DescentData.hom.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} (self : F.DescentData f) ⦃Y : C⦄ (q q_1 : Y ⟶ S) (e_q : q = q_1) ⦃i₁ i₂ : ι⦄
  (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂) (_hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
  (_hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q), self.hom q f₁ f₂ _hf₁ _hf₂ = self.hom q_1 f₁ f₂ ⋯ ⋯

def CategoryTheory.Pseudofunctor.DescentData.Hom.ctorIdx E1 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      {ι : Type t} → {S : C} → {X : ι → C} → {f : (i : ι) → X i ⟶ S} → {D₁ D₂ : F.DescentData f} → D₁.Hom D₂ → ℕ

theorem CategoryTheory.Pseudofunctor.DescentData.isoMk.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ : F.DescentData f} (e e_1 : (i : ι) → D₁.obj i ≅ D₂.obj i) (e_e : e = e_1)
  (comm :
    ∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂)
      (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q) (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q),
      CategoryTheory.CategoryStruct.comp ((F.map f₁.op.toLoc).toFunctor.map (e i₁).hom) (D₂.hom q f₁ f₂ ⋯ ⋯) =
        CategoryTheory.CategoryStruct.comp (D₁.hom q f₁ f₂ ⋯ ⋯) ((F.map f₂.op.toLoc).toFunctor.map (e i₂).hom)),
  CategoryTheory.Pseudofunctor.DescentData.isoMk e comm = CategoryTheory.Pseudofunctor.DescentData.isoMk e_1 ⋯

def CategoryTheory.Pseudofunctor.DescentData.ctorIdx E1 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      {ι : Type t} → {S : C} → {X : ι → C} → {f : (i : ι) → X i ⟶ S} → F.DescentData f → ℕ

theorem CategoryTheory.Pseudofunctor.DescentData.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} (obj : (i : ι) → ↑(F.obj { as := Opposite.op (X i) }))
  (hom :
    ⦃Y : C⦄ →
      (q : Y ⟶ S) →
        ⦃i₁ i₂ : ι⦄ →
          (f₁ : Y ⟶ X i₁) →
            (f₂ : Y ⟶ X i₂) →
              autoParam (CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
                  CategoryTheory.Pseudofunctor.DescentData._auto_1 →
                autoParam (CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q)
                    CategoryTheory.Pseudofunctor.DescentData._auto_3 →
                  ((F.map f₁.op.toLoc).toFunctor.obj (obj i₁) ⟶ (F.map f₂.op.toLoc).toFunctor.obj (obj i₂)))
  (pullHom_hom :
    autoParam
      (∀ ⦃Y' Y : C⦄ (g : Y' ⟶ Y) (q : Y ⟶ S) (q' : Y' ⟶ S) (hq : CategoryTheory.CategoryStruct.comp g q = q')
        ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂) (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q) (gf₁ : Y' ⟶ X i₁) (gf₂ : Y' ⟶ X i₂)
        (hgf₁ : CategoryTheory.CategoryStruct.comp g f₁ = gf₁) (hgf₂ : CategoryTheory.CategoryStruct.comp g f₂ = gf₂),
        CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom (hom q f₁ f₂ ⋯ ⋯) g gf₁ gf₂ ⋯ ⋯ =
          hom q' gf₁ gf₂ ⋯ ⋯)
      CategoryTheory.Pseudofunctor.DescentData.pullHom_hom._autoParam)
  (hom_self :
    autoParam
      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i : ι⦄ (g : Y ⟶ X i) (x : CategoryTheory.CategoryStruct.comp g (f i) = q),
        hom q g g ⋯ ⋯ = CategoryTheory.CategoryStruct.id ((F.map g.op.toLoc).toFunctor.obj (obj i)))
      CategoryTheory.Pseudofunctor.DescentData.hom_self._autoParam)
  (hom_comp :
    autoParam
      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ i₃ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂) (f₃ : Y ⟶ X i₃)
        (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q)
        (hf₃ : CategoryTheory.CategoryStruct.comp f₃ (f i₃) = q),
        CategoryTheory.CategoryStruct.comp (hom q f₁ f₂ hf₁ hf₂) (hom q f₂ f₃ hf₂ hf₃) = hom q f₁ f₃ hf₁ hf₃)
      CategoryTheory.Pseudofunctor.DescentData.hom_comp._autoParam)
  (obj_1 : (i : ι) → ↑(F.obj { as := Opposite.op (X i) }))
  (hom_1 :
    ⦃Y : C⦄ →
      (q : Y ⟶ S) →
        ⦃i₁ i₂ : ι⦄ →
          (f₁ : Y ⟶ X i₁) →
            (f₂ : Y ⟶ X i₂) →
              autoParam (CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
                  CategoryTheory.Pseudofunctor.DescentData._auto_1 →
                autoParam (CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q)
                    CategoryTheory.Pseudofunctor.DescentData._auto_3 →
                  ((F.map f₁.op.toLoc).toFunctor.obj (obj_1 i₁) ⟶ (F.map f₂.op.toLoc).toFunctor.obj (obj_1 i₂)))
  (pullHom_hom_1 :
    autoParam
      (∀ ⦃Y' Y : C⦄ (g : Y' ⟶ Y) (q : Y ⟶ S) (q' : Y' ⟶ S) (hq : CategoryTheory.CategoryStruct.comp g q = q')
        ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂) (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q) (gf₁ : Y' ⟶ X i₁) (gf₂ : Y' ⟶ X i₂)
        (hgf₁ : CategoryTheory.CategoryStruct.comp g f₁ = gf₁) (hgf₂ : CategoryTheory.CategoryStruct.comp g f₂ = gf₂),
        CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom (hom_1 q f₁ f₂ ⋯ ⋯) g gf₁ gf₂ ⋯ ⋯ =
          hom_1 q' gf₁ gf₂ ⋯ ⋯)
      CategoryTheory.Pseudofunctor.DescentData.pullHom_hom._autoParam)
  (hom_self_1 :
    autoParam
      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i : ι⦄ (g : Y ⟶ X i) (x : CategoryTheory.CategoryStruct.comp g (f i) = q),
        hom_1 q g g ⋯ ⋯ = CategoryTheory.CategoryStruct.id ((F.map g.op.toLoc).toFunctor.obj (obj_1 i)))
      CategoryTheory.Pseudofunctor.DescentData.hom_self._autoParam)
  (hom_comp_1 :
    autoParam
      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ i₃ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂) (f₃ : Y ⟶ X i₃)
        (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q)
        (hf₃ : CategoryTheory.CategoryStruct.comp f₃ (f i₃) = q),
        CategoryTheory.CategoryStruct.comp (hom_1 q f₁ f₂ hf₁ hf₂) (hom_1 q f₂ f₃ hf₂ hf₃) = hom_1 q f₁ f₃ hf₁ hf₃)
      CategoryTheory.Pseudofunctor.DescentData.hom_comp._autoParam),
  ({ obj := obj, hom := hom, pullHom_hom := pullHom_hom, hom_self := hom_self, hom_comp := hom_comp } =
      { obj := obj_1, hom := hom_1, pullHom_hom := pullHom_hom_1, hom_self := hom_self_1, hom_comp := hom_comp_1 }) =
    (obj = obj_1 ∧ hom ≍ hom_1)

theorem CategoryTheory.Pseudofunctor.DescentData.Hom.mk.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ : F.DescentData f} (hom hom_1 : (i : ι) → D₁.obj i ⟶ D₂.obj i)
  (e_hom : hom = hom_1)
  (comm :
    ∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂)
      (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q) (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q),
      CategoryTheory.CategoryStruct.comp ((F.map f₁.op.toLoc).toFunctor.map (hom i₁)) (D₂.hom q f₁ f₂ ⋯ ⋯) =
        CategoryTheory.CategoryStruct.comp (D₁.hom q f₁ f₂ ⋯ ⋯) ((F.map f₂.op.toLoc).toFunctor.map (hom i₂))),
  { hom := hom, comm := comm } = { hom := hom_1, comm := ⋯ }

theorem CategoryTheory.Pseudofunctor.DescentData.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C}
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {obj : (i : ι) → ↑(F.obj { as := Opposite.op (X i) })}
  {hom :
    ⦃Y : C⦄ →
      (q : Y ⟶ S) →
        ⦃i₁ i₂ : ι⦄ →
          (f₁ : Y ⟶ X i₁) →
            (f₂ : Y ⟶ X i₂) →
              autoParam (CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
                  CategoryTheory.Pseudofunctor.DescentData._auto_1 →
                autoParam (CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q)
                    CategoryTheory.Pseudofunctor.DescentData._auto_3 →
                  ((F.map f₁.op.toLoc).toFunctor.obj (obj i₁) ⟶ (F.map f₂.op.toLoc).toFunctor.obj (obj i₂))}
  {pullHom_hom :
    autoParam
      (∀ ⦃Y' Y : C⦄ (g : Y' ⟶ Y) (q : Y ⟶ S) (q' : Y' ⟶ S) (hq : CategoryTheory.CategoryStruct.comp g q = q')
        ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂) (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q) (gf₁ : Y' ⟶ X i₁) (gf₂ : Y' ⟶ X i₂)
        (hgf₁ : CategoryTheory.CategoryStruct.comp g f₁ = gf₁) (hgf₂ : CategoryTheory.CategoryStruct.comp g f₂ = gf₂),
        CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom (hom q f₁ f₂ ⋯ ⋯) g gf₁ gf₂ ⋯ ⋯ =
          hom q' gf₁ gf₂ ⋯ ⋯)
      CategoryTheory.Pseudofunctor.DescentData.pullHom_hom._autoParam}
  {hom_self :
    autoParam
      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i : ι⦄ (g : Y ⟶ X i) (x : CategoryTheory.CategoryStruct.comp g (f i) = q),
        hom q g g ⋯ ⋯ = CategoryTheory.CategoryStruct.id ((F.map g.op.toLoc).toFunctor.obj (obj i)))
      CategoryTheory.Pseudofunctor.DescentData.hom_self._autoParam}
  {hom_comp :
    autoParam
      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ i₃ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂) (f₃ : Y ⟶ X i₃)
        (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q)
        (hf₃ : CategoryTheory.CategoryStruct.comp f₃ (f i₃) = q),
        CategoryTheory.CategoryStruct.comp (hom q f₁ f₂ hf₁ hf₂) (hom q f₂ f₃ hf₂ hf₃) = hom q f₁ f₃ hf₁ hf₃)
      CategoryTheory.Pseudofunctor.DescentData.hom_comp._autoParam}
  {obj_1 : (i : ι) → ↑(F.obj { as := Opposite.op (X i) })}
  {hom_1 :
    ⦃Y : C⦄ →
      (q : Y ⟶ S) →
        ⦃i₁ i₂ : ι⦄ →
          (f₁ : Y ⟶ X i₁) →
            (f₂ : Y ⟶ X i₂) →
              autoParam (CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
                  CategoryTheory.Pseudofunctor.DescentData._auto_1 →
                autoParam (CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q)
                    CategoryTheory.Pseudofunctor.DescentData._auto_3 →
                  ((F.map f₁.op.toLoc).toFunctor.obj (obj_1 i₁) ⟶ (F.map f₂.op.toLoc).toFunctor.obj (obj_1 i₂))}
  {pullHom_hom_1 :
    autoParam
      (∀ ⦃Y' Y : C⦄ (g : Y' ⟶ Y) (q : Y ⟶ S) (q' : Y' ⟶ S) (hq : CategoryTheory.CategoryStruct.comp g q = q')
        ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂) (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q) (gf₁ : Y' ⟶ X i₁) (gf₂ : Y' ⟶ X i₂)
        (hgf₁ : CategoryTheory.CategoryStruct.comp g f₁ = gf₁) (hgf₂ : CategoryTheory.CategoryStruct.comp g f₂ = gf₂),
        CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom (hom_1 q f₁ f₂ ⋯ ⋯) g gf₁ gf₂ ⋯ ⋯ =
          hom_1 q' gf₁ gf₂ ⋯ ⋯)
      CategoryTheory.Pseudofunctor.DescentData.pullHom_hom._autoParam}
  {hom_self_1 :
    autoParam
      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i : ι⦄ (g : Y ⟶ X i) (x : CategoryTheory.CategoryStruct.comp g (f i) = q),
        hom_1 q g g ⋯ ⋯ = CategoryTheory.CategoryStruct.id ((F.map g.op.toLoc).toFunctor.obj (obj_1 i)))
      CategoryTheory.Pseudofunctor.DescentData.hom_self._autoParam}
  {hom_comp_1 :
    autoParam
      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ i₃ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂) (f₃ : Y ⟶ X i₃)
        (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q)
        (hf₃ : CategoryTheory.CategoryStruct.comp f₃ (f i₃) = q),
        CategoryTheory.CategoryStruct.comp (hom_1 q f₁ f₂ hf₁ hf₂) (hom_1 q f₂ f₃ hf₂ hf₃) = hom_1 q f₁ f₃ hf₁ hf₃)
      CategoryTheory.Pseudofunctor.DescentData.hom_comp._autoParam},
  { obj := obj, hom := hom, pullHom_hom := pullHom_hom, hom_self := hom_self, hom_comp := hom_comp } =
      { obj := obj_1, hom := hom_1, pullHom_hom := pullHom_hom_1, hom_self := hom_self_1, hom_comp := hom_comp_1 } →
    obj = obj_1 ∧ hom ≍ hom_1

structure CategoryTheory.Pseudofunctor.DescentData E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat →
      {ι : Type t} → {S : C} → {X : ι → C} → ((i : ι) → X i ⟶ S) → Type (max (max (max (max t u) u') v) v')

Given a pseudofunctor F from LocallyDiscrete Cᵒᵖ to Cat, and a family of morphisms f i : X i ⟶ S, the objects of the category of descent data for the X i relative to the morphisms f i consist of families of objects obj i in F.obj (.mk (op (X i))) together with morphisms hom between the pullbacks of obj i₁ and obj i₂ over any object Y which maps to both X i₁ and X i₂ (in a way that is compatible with the morphisms to S). The compatibilities these morphisms satisfy imply that the morphisms hom are isomorphisms.

ctor CategoryTheory.Pseudofunctor.DescentData.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              (obj : (i : ι) → ↑(F.obj { as := Opposite.op (X i) })) →
                (hom :
                    ⦃Y : C⦄ →
                      (q : Y ⟶ S) →
                        ⦃i₁ i₂ : ι⦄ →
                          (f₁ : Y ⟶ X i₁) →
                            (f₂ : Y ⟶ X i₂) →
                              autoParam (CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
                                  CategoryTheory.Pseudofunctor.DescentData._auto_1 →
                                autoParam (CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q)
                                    CategoryTheory.Pseudofunctor.DescentData._auto_3 →
                                  ((F.map f₁.op.toLoc).toFunctor.obj (obj i₁) ⟶
                                    (F.map f₂.op.toLoc).toFunctor.obj (obj i₂))) →
                  autoParam
                      (∀ ⦃Y' Y : C⦄ (g : Y' ⟶ Y) (q : Y ⟶ S) (q' : Y' ⟶ S)
                        (hq : CategoryTheory.CategoryStruct.comp g q = q') ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂)
                        (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
                        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q) (gf₁ : Y' ⟶ X i₁) (gf₂ : Y' ⟶ X i₂)
                        (hgf₁ : CategoryTheory.CategoryStruct.comp g f₁ = gf₁)
                        (hgf₂ : CategoryTheory.CategoryStruct.comp g f₂ = gf₂),
                        CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom (hom q f₁ f₂ ⋯ ⋯) g gf₁ gf₂ ⋯ ⋯ =
                          hom q' gf₁ gf₂ ⋯ ⋯)
                      CategoryTheory.Pseudofunctor.DescentData.pullHom_hom._autoParam →
                    autoParam
                        (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i : ι⦄ (g : Y ⟶ X i)
                          (x : CategoryTheory.CategoryStruct.comp g (f i) = q),
                          hom q g g ⋯ ⋯ = CategoryTheory.CategoryStruct.id ((F.map g.op.toLoc).toFunctor.obj (obj i)))
                        CategoryTheory.Pseudofunctor.DescentData.hom_self._autoParam →
                      autoParam
                          (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ i₃ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂) (f₃ : Y ⟶ X i₃)
                            (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
                            (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q)
                            (hf₃ : CategoryTheory.CategoryStruct.comp f₃ (f i₃) = q),
                            CategoryTheory.CategoryStruct.comp (hom q f₁ f₂ hf₁ hf₂) (hom q f₂ f₃ hf₂ hf₃) =
                              hom q f₁ f₃ hf₁ hf₃)
                          CategoryTheory.Pseudofunctor.DescentData.hom_comp._autoParam →
                        F.DescentData f

abbrev CategoryTheory.Pseudofunctor.DescentData.obj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} → {f : (i : ι) → X i ⟶ S} → F.DescentData f → (i : ι) → ↑(F.obj { as := Opposite.op (X i) })

The objects over X i for all i

abbrev CategoryTheory.Pseudofunctor.DescentData.hom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              (self : F.DescentData f) →
                ⦃Y : C⦄ →
                  (q : Y ⟶ S) →
                    ⦃i₁ i₂ : ι⦄ →
                      (f₁ : Y ⟶ X i₁) →
                        (f₂ : Y ⟶ X i₂) →
                          autoParam (CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
                              CategoryTheory.Pseudofunctor.DescentData._auto_1 →
                            autoParam (CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q)
                                CategoryTheory.Pseudofunctor.DescentData._auto_3 →
                              ((F.map f₁.op.toLoc).toFunctor.obj (self.obj i₁) ⟶
                                (F.map f₂.op.toLoc).toFunctor.obj (self.obj i₂))

The compatibility morphisms after pullbacks. It follows from the conditions hom_self and hom_comp that these are isomorphisms, see CategoryTheory.Pseudofunctor.DescentData.iso below.

theorem CategoryTheory.Pseudofunctor.DescentData.pullHom_hom E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} (self : F.DescentData f) ⦃Y' Y : C⦄ (g : Y' ⟶ Y) (q : Y ⟶ S) (q' : Y' ⟶ S)
  (hq : CategoryTheory.CategoryStruct.comp g q = q') ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂)
  (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q) (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q)
  (gf₁ : Y' ⟶ X i₁) (gf₂ : Y' ⟶ X i₂) (hgf₁ : CategoryTheory.CategoryStruct.comp g f₁ = gf₁)
  (hgf₂ : CategoryTheory.CategoryStruct.comp g f₂ = gf₂),
  CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat.pullHom (self.hom q f₁ f₂ ⋯ ⋯) g gf₁ gf₂ ⋯ ⋯ =
    self.hom q' gf₁ gf₂ ⋯ ⋯

theorem CategoryTheory.Pseudofunctor.DescentData.hom_self E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} (self : F.DescentData f) ⦃Y : C⦄ (q : Y ⟶ S) ⦃i : ι⦄ (g : Y ⟶ X i)
  (x : CategoryTheory.CategoryStruct.comp g (f i) = q),
  self.hom q g g ⋯ ⋯ = CategoryTheory.CategoryStruct.id ((F.map g.op.toLoc).toFunctor.obj (self.obj i))

theorem CategoryTheory.Pseudofunctor.DescentData.hom_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} (self : F.DescentData f) ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ i₃ : ι⦄ (f₁ : Y ⟶ X i₁)
  (f₂ : Y ⟶ X i₂) (f₃ : Y ⟶ X i₃) (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
  (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q) (hf₃ : CategoryTheory.CategoryStruct.comp f₃ (f i₃) = q),
  CategoryTheory.CategoryStruct.comp (self.hom q f₁ f₂ hf₁ hf₂) (self.hom q f₂ f₃ hf₂ hf₃) = self.hom q f₁ f₃ hf₁ hf₃

theorem CategoryTheory.Pseudofunctor.DescentData.hom_comp_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} (self : F.DescentData f) ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ i₃ : ι⦄ (f₁ : Y ⟶ X i₁)
  (f₂ : Y ⟶ X i₂) (f₃ : Y ⟶ X i₃) (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
  (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q) (hf₃ : CategoryTheory.CategoryStruct.comp f₃ (f i₃) = q)
  {Z : ↑(F.obj { as := Opposite.op Y })} (h : (F.map f₃.op.toLoc).toFunctor.obj (self.obj i₃) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (self.hom q f₁ f₂ hf₁ hf₂)
      (CategoryTheory.CategoryStruct.comp (self.hom q f₂ f₃ hf₂ hf₃) h) =
    CategoryTheory.CategoryStruct.comp (self.hom q f₁ f₃ hf₁ hf₃) h

def CategoryTheory.Pseudofunctor.DescentData.iso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              (D : F.DescentData f) →
                ⦃Y : C⦄ →
                  (q : Y ⟶ S) →
                    ⦃i₁ i₂ : ι⦄ →
                      (f₁ : Y ⟶ X i₁) →
                        (f₂ : Y ⟶ X i₂) →
                          autoParam (CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
                              CategoryTheory.Pseudofunctor.DescentData.iso._auto_1 →
                            autoParam (CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q)
                                CategoryTheory.Pseudofunctor.DescentData.iso._auto_3 →
                              ((F.map f₁.op.toLoc).toFunctor.obj (D.obj i₁) ≅
                                (F.map f₂.op.toLoc).toFunctor.obj (D.obj i₂))

The morphisms DescentData.hom, as isomorphisms.

theorem CategoryTheory.Pseudofunctor.DescentData.iso_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} (D : F.DescentData f) ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁)
  (f₂ : Y ⟶ X i₂)
  (_hf₁ :
    autoParam (CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q) CategoryTheory.Pseudofunctor.DescentData.iso._auto_1)
  (_hf₂ :
    autoParam (CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q) CategoryTheory.Pseudofunctor.DescentData.iso._auto_3),
  (D.iso q f₁ f₂ _hf₁ _hf₂).hom = D.hom q f₁ f₂ ⋯ ⋯

theorem CategoryTheory.Pseudofunctor.DescentData.iso_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} (D : F.DescentData f) ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁)
  (f₂ : Y ⟶ X i₂)
  (_hf₁ :
    autoParam (CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q) CategoryTheory.Pseudofunctor.DescentData.iso._auto_1)
  (_hf₂ :
    autoParam (CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q) CategoryTheory.Pseudofunctor.DescentData.iso._auto_3),
  (D.iso q f₁ f₂ _hf₁ _hf₂).inv = D.hom q f₂ f₁ ⋯ ⋯

instance CategoryTheory.Pseudofunctor.DescentData.instIsIsoαCategoryObjLocallyDiscreteOppositeCatMkOpHom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} (D : F.DescentData f) {Y : C} (q : Y ⟶ S) {i₁ i₂ : ι} (f₁ : Y ⟶ X i₁)
  (f₂ : Y ⟶ X i₂) (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
  (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q), CategoryTheory.IsIso (D.hom q f₁ f₂ hf₁ hf₂)

structure CategoryTheory.Pseudofunctor.DescentData.Hom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      {ι : Type t} →
        {S : C} → {X : ι → C} → {f : (i : ι) → X i ⟶ S} → F.DescentData f → F.DescentData f → Type (max t v')

The type of morphisms in the category Pseudofunctor.DescentData.

theorem CategoryTheory.Pseudofunctor.DescentData.Hom.ext_iff E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C}
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ : F.DescentData f} {x y : D₁.Hom D₂}, x = y ↔ x.hom = y.hom

theorem CategoryTheory.Pseudofunctor.DescentData.Hom.ext E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C}
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ : F.DescentData f} {x y : D₁.Hom D₂}, x.hom = y.hom → x = y

ctor CategoryTheory.Pseudofunctor.DescentData.Hom.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              {D₁ D₂ : F.DescentData f} →
                (hom : (i : ι) → D₁.obj i ⟶ D₂.obj i) →
                  autoParam
                      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂)
                        (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
                        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q),
                        CategoryTheory.CategoryStruct.comp ((F.map f₁.op.toLoc).toFunctor.map (hom i₁))
                            (D₂.hom q f₁ f₂ ⋯ ⋯) =
                          CategoryTheory.CategoryStruct.comp (D₁.hom q f₁ f₂ ⋯ ⋯)
                            ((F.map f₂.op.toLoc).toFunctor.map (hom i₂)))
                      CategoryTheory.Pseudofunctor.DescentData.Hom.comm._autoParam →
                    D₁.Hom D₂

abbrev CategoryTheory.Pseudofunctor.DescentData.Hom.hom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} → {f : (i : ι) → X i ⟶ S} → {D₁ D₂ : F.DescentData f} → D₁.Hom D₂ → (i : ι) → D₁.obj i ⟶ D₂.obj i

The morphisms between the obj fields of descent data.

theorem CategoryTheory.Pseudofunctor.DescentData.Hom.comm E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ : F.DescentData f} (self : D₁.Hom D₂) ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ : ι⦄
  (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂) (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
  (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q),
  CategoryTheory.CategoryStruct.comp ((F.map f₁.op.toLoc).toFunctor.map (self.hom i₁)) (D₂.hom q f₁ f₂ ⋯ ⋯) =
    CategoryTheory.CategoryStruct.comp (D₁.hom q f₁ f₂ ⋯ ⋯) ((F.map f₂.op.toLoc).toFunctor.map (self.hom i₂))

theorem CategoryTheory.Pseudofunctor.DescentData.Hom.comm_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ : F.DescentData f} (self : D₁.Hom D₂) ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ : ι⦄
  (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂) (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
  (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q) {Z : ↑(F.obj { as := Opposite.op Y })}
  (h : (F.map f₂.op.toLoc).toFunctor.obj (D₂.obj i₂) ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((F.map f₁.op.toLoc).toFunctor.map (self.hom i₁))
      (CategoryTheory.CategoryStruct.comp (D₂.hom q f₁ f₂ ⋯ ⋯) h) =
    CategoryTheory.CategoryStruct.comp (D₁.hom q f₁ f₂ ⋯ ⋯)
      (CategoryTheory.CategoryStruct.comp ((F.map f₂.op.toLoc).toFunctor.map (self.hom i₂)) h)

instance CategoryTheory.Pseudofunctor.DescentData.instCategory E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              CategoryTheory.Category.{max t v', max (max (max (max u u') v) v') t} (F.DescentData f)

theorem CategoryTheory.Pseudofunctor.DescentData.hom_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ : F.DescentData f} {φ φ' : D₁ ⟶ D₂},
  (∀ (i : ι), φ.hom i = φ'.hom i) → φ = φ'

theorem CategoryTheory.Pseudofunctor.DescentData.hom_ext_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ : F.DescentData f} {φ φ' : D₁ ⟶ D₂}, φ = φ' ↔ ∀ (i : ι), φ.hom i = φ'.hom i

theorem CategoryTheory.Pseudofunctor.DescentData.id_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} (D : F.DescentData f) (i : ι),
  (CategoryTheory.CategoryStruct.id D).hom i = CategoryTheory.CategoryStruct.id (D.obj i)

theorem CategoryTheory.Pseudofunctor.DescentData.comp_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ D₃ : F.DescentData f} (φ : D₁ ⟶ D₂) (φ' : D₂ ⟶ D₃) (i : ι),
  (CategoryTheory.CategoryStruct.comp φ φ').hom i = CategoryTheory.CategoryStruct.comp (φ.hom i) (φ'.hom i)

theorem CategoryTheory.Pseudofunctor.DescentData.comp_hom_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ D₃ : F.DescentData f} (φ : D₁ ⟶ D₂) (φ' : D₂ ⟶ D₃) (i : ι)
  {Z : ↑(F.obj { as := Opposite.op (X i) })} (h : D₃.obj i ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.CategoryStruct.comp φ φ').hom i) h =
    CategoryTheory.CategoryStruct.comp (φ.hom i) (CategoryTheory.CategoryStruct.comp (φ'.hom i) h)

def CategoryTheory.Pseudofunctor.DescentData.ofObj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      {ι : Type t} →
        {S : C} → {X : ι → C} → {f : (i : ι) → X i ⟶ S} → ↑(F.obj { as := Opposite.op S }) → F.DescentData f

Given a family of morphisms f : X i ⟶ S, and M : F.obj (.mk (op S)), this is the object in F.DescentData f that is obtained by pulling back M over the X i.

theorem CategoryTheory.Pseudofunctor.DescentData.ofObj_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} (M : ↑(F.obj { as := Opposite.op S })) (Y : C) (q : Y ⟶ S) (i₁ i₂ : ι)
  (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂) (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
  (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q),
  (CategoryTheory.Pseudofunctor.DescentData.ofObj M).hom q f₁ f₂ hf₁ hf₂ =
    CategoryTheory.CategoryStruct.comp ((F.mapComp' (f i₁).op.toLoc f₁.op.toLoc q.op.toLoc ⋯).inv.toNatTrans.app M)
      ((F.mapComp' (f i₂).op.toLoc f₂.op.toLoc q.op.toLoc ⋯).hom.toNatTrans.app M)

theorem CategoryTheory.Pseudofunctor.DescentData.ofObj_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} (M : ↑(F.obj { as := Opposite.op S })) (i : ι),
  (CategoryTheory.Pseudofunctor.DescentData.ofObj M).obj i = (F.map (f i).op.toLoc).toFunctor.obj M

def CategoryTheory.Pseudofunctor.DescentData.isoMk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              {D₁ D₂ : F.DescentData f} →
                (e : (i : ι) → D₁.obj i ≅ D₂.obj i) →
                  autoParam
                      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂)
                        (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
                        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q),
                        CategoryTheory.CategoryStruct.comp ((F.map f₁.op.toLoc).toFunctor.map (e i₁).hom)
                            (D₂.hom q f₁ f₂ ⋯ ⋯) =
                          CategoryTheory.CategoryStruct.comp (D₁.hom q f₁ f₂ ⋯ ⋯)
                            ((F.map f₂.op.toLoc).toFunctor.map (e i₂).hom))
                      CategoryTheory.Pseudofunctor.DescentData.isoMk._auto_1 →
                    (D₁ ≅ D₂)

Constructor for isomorphisms in Pseudofunctor.DescentData.

theorem CategoryTheory.Pseudofunctor.DescentData.isoMk_inv_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ : F.DescentData f} (e : (i : ι) → D₁.obj i ≅ D₂.obj i)
  (comm :
    autoParam
      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂)
        (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q),
        CategoryTheory.CategoryStruct.comp ((F.map f₁.op.toLoc).toFunctor.map (e i₁).hom) (D₂.hom q f₁ f₂ ⋯ ⋯) =
          CategoryTheory.CategoryStruct.comp (D₁.hom q f₁ f₂ ⋯ ⋯) ((F.map f₂.op.toLoc).toFunctor.map (e i₂).hom))
      CategoryTheory.Pseudofunctor.DescentData.isoMk._auto_1)
  (i : ι), (CategoryTheory.Pseudofunctor.DescentData.isoMk e comm).inv.hom i = (e i).inv

theorem CategoryTheory.Pseudofunctor.DescentData.isoMk_hom_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ : F.DescentData f} (e : (i : ι) → D₁.obj i ≅ D₂.obj i)
  (comm :
    autoParam
      (∀ ⦃Y : C⦄ (q : Y ⟶ S) ⦃i₁ i₂ : ι⦄ (f₁ : Y ⟶ X i₁) (f₂ : Y ⟶ X i₂)
        (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f i₁) = q)
        (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f i₂) = q),
        CategoryTheory.CategoryStruct.comp ((F.map f₁.op.toLoc).toFunctor.map (e i₁).hom) (D₂.hom q f₁ f₂ ⋯ ⋯) =
          CategoryTheory.CategoryStruct.comp (D₁.hom q f₁ f₂ ⋯ ⋯) ((F.map f₂.op.toLoc).toFunctor.map (e i₂).hom))
      CategoryTheory.Pseudofunctor.DescentData.isoMk._auto_1)
  (i : ι), (CategoryTheory.Pseudofunctor.DescentData.isoMk e comm).hom.hom i = (e i).hom

def CategoryTheory.Pseudofunctor.toDescentData E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            (f : (i : ι) → X i ⟶ S) → CategoryTheory.Functor (↑(F.obj { as := Opposite.op S })) (F.DescentData f)

The functor F.obj (.mk (op S)) ⥤ F.DescentData f.

theorem CategoryTheory.Pseudofunctor.toDescentData_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} (f : (i : ι) → X i ⟶ S) (M : ↑(F.obj { as := Opposite.op S })),
  (F.toDescentData f).obj M = CategoryTheory.Pseudofunctor.DescentData.ofObj M

theorem CategoryTheory.Pseudofunctor.toDescentData_map_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} (f : (i : ι) → X i ⟶ S) {M M' : ↑(F.obj { as := Opposite.op S })} (φ : M ⟶ M') (i : ι),
  ((F.toDescentData f).map φ).hom i = (F.map (f i).op.toLoc).toFunctor.map φ

def CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              {S' : C} →
                {p : S' ⟶ S} →
                  {ι' : Type t'} →
                    {X' : ι' → C} →
                      {f' : (j : ι') → X' j ⟶ S'} →
                        {α : ι' → ι} →
                          {p' : (j : ι') → X' j ⟶ X (α j)} →
                            (∀ (j : ι'),
                                CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) =
                                  CategoryTheory.CategoryStruct.comp (f' j) p) →
                              (D : F.DescentData f) →
                                ⦃Y : C⦄ →
                                  (q : Y ⟶ S') →
                                    ⦃j₁ j₂ : ι'⦄ →
                                      (f₁ : Y ⟶ X' j₁) →
                                        (f₂ : Y ⟶ X' j₂) →
                                          autoParam (CategoryTheory.CategoryStruct.comp f₁ (f' j₁) = q)
                                              CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom._auto_1 →
                                            autoParam (CategoryTheory.CategoryStruct.comp f₂ (f' j₂) = q)
                                                CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom._auto_3 →
                                              ((F.map f₁.op.toLoc).toFunctor.obj
                                                  ((F.map (p' j₁).op.toLoc).toFunctor.obj (D.obj (α j₁))) ⟶
                                                (F.map f₂.op.toLoc).toFunctor.obj
                                                  ((F.map (p' j₂).op.toLoc).toFunctor.obj (D.obj (α j₂))))

Auxiliary definition for pullFunctor.

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom_eq_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {S' : C} {p : S' ⟶ S} {ι' : Type t'} {X' : ι' → C} {f' : (j : ι') → X' j ⟶ S'}
  {α : ι' → ι} {p' : (j : ι') → X' j ⟶ X (α j)}
  (w : ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) = CategoryTheory.CategoryStruct.comp (f' j) p)
  (D : F.DescentData f) ⦃Y : C⦄ (q : Y ⟶ S') ⦃j₁ j₂ : ι'⦄ (f₁ : Y ⟶ X' j₁) (f₂ : Y ⟶ X' j₂) (q' : Y ⟶ S)
  (f₁' : Y ⟶ X (α j₁)) (f₂' : Y ⟶ X (α j₂))
  (hf₁ :
    autoParam (CategoryTheory.CategoryStruct.comp f₁ (f' j₁) = q)
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom_eq._auto_1)
  (hf₂ :
    autoParam (CategoryTheory.CategoryStruct.comp f₂ (f' j₂) = q)
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom_eq._auto_3)
  (hq' :
    autoParam (CategoryTheory.CategoryStruct.comp q p = q')
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom_eq._auto_5)
  (hf₁' :
    autoParam (CategoryTheory.CategoryStruct.comp f₁ (p' j₁) = f₁')
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom_eq._auto_7)
  (hf₂' :
    autoParam (CategoryTheory.CategoryStruct.comp f₂ (p' j₂) = f₂')
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom_eq._auto_9)
  {Z : ↑(F.obj { as := Opposite.op Y })}
  (h : (F.map f₂.op.toLoc).toFunctor.obj ((F.map (p' j₂).op.toLoc).toFunctor.obj (D.obj (α j₂))) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom w D q f₁ f₂ ⋯ ⋯) h =
    CategoryTheory.CategoryStruct.comp
      ((F.mapComp' (p' j₁).op.toLoc f₁.op.toLoc f₁'.op.toLoc ⋯).inv.toNatTrans.app (D.obj (α j₁)))
      (CategoryTheory.CategoryStruct.comp (D.hom q' f₁' f₂' ⋯ ⋯)
        (CategoryTheory.CategoryStruct.comp
          ((F.mapComp' (p' j₂).op.toLoc f₂.op.toLoc f₂'.op.toLoc ⋯).hom.toNatTrans.app (D.obj (α j₂))) h))

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {S' : C} {p : S' ⟶ S} {ι' : Type t'} {X' : ι' → C} {f' : (j : ι') → X' j ⟶ S'}
  {α : ι' → ι} {p' : (j : ι') → X' j ⟶ X (α j)}
  (w : ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) = CategoryTheory.CategoryStruct.comp (f' j) p)
  (D : F.DescentData f) ⦃Y : C⦄ (q : Y ⟶ S') ⦃j₁ j₂ : ι'⦄ (f₁ : Y ⟶ X' j₁) (f₂ : Y ⟶ X' j₂) (q' : Y ⟶ S)
  (f₁' : Y ⟶ X (α j₁)) (f₂' : Y ⟶ X (α j₂))
  (hf₁ :
    autoParam (CategoryTheory.CategoryStruct.comp f₁ (f' j₁) = q)
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom_eq._auto_1)
  (hf₂ :
    autoParam (CategoryTheory.CategoryStruct.comp f₂ (f' j₂) = q)
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom_eq._auto_3)
  (hq' :
    autoParam (CategoryTheory.CategoryStruct.comp q p = q')
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom_eq._auto_5)
  (hf₁' :
    autoParam (CategoryTheory.CategoryStruct.comp f₁ (p' j₁) = f₁')
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom_eq._auto_7)
  (hf₂' :
    autoParam (CategoryTheory.CategoryStruct.comp f₂ (p' j₂) = f₂')
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom_eq._auto_9),
  CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom w D q f₁ f₂ ⋯ ⋯ =
    CategoryTheory.CategoryStruct.comp
      ((F.mapComp' (p' j₁).op.toLoc f₁.op.toLoc f₁'.op.toLoc ⋯).inv.toNatTrans.app (D.obj (α j₁)))
      (CategoryTheory.CategoryStruct.comp (D.hom q' f₁' f₂' ⋯ ⋯)
        ((F.mapComp' (p' j₂).op.toLoc f₂.op.toLoc f₂'.op.toLoc ⋯).hom.toNatTrans.app (D.obj (α j₂))))

def CategoryTheory.Pseudofunctor.DescentData.pullFunctorObj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              {S' : C} →
                {p : S' ⟶ S} →
                  {ι' : Type t'} →
                    {X' : ι' → C} →
                      {f' : (j : ι') → X' j ⟶ S'} →
                        {α : ι' → ι} →
                          {p' : (j : ι') → X' j ⟶ X (α j)} →
                            (∀ (j : ι'),
                                CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) =
                                  CategoryTheory.CategoryStruct.comp (f' j) p) →
                              F.DescentData f → F.DescentData f'

Auxiliary definition for pullFunctor.

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctorObj_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {S' : C} {p : S' ⟶ S} {ι' : Type t'} {X' : ι' → C} {f' : (j : ι') → X' j ⟶ S'}
  {α : ι' → ι} {p' : (j : ι') → X' j ⟶ X (α j)}
  (w : ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) = CategoryTheory.CategoryStruct.comp (f' j) p)
  (D : F.DescentData f) (j : ι'),
  (CategoryTheory.Pseudofunctor.DescentData.pullFunctorObj w D).obj j =
    (F.map (p' j).op.toLoc).toFunctor.obj (D.obj (α j))

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctorObj_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {S' : C} {p : S' ⟶ S} {ι' : Type t'} {X' : ι' → C} {f' : (j : ι') → X' j ⟶ S'}
  {α : ι' → ι} {p' : (j : ι') → X' j ⟶ X (α j)}
  (w : ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) = CategoryTheory.CategoryStruct.comp (f' j) p)
  (D : F.DescentData f) (Y : C) (q : Y ⟶ S') (j₁ j₂ : ι') (f₁ : Y ⟶ X' j₁) (f₂ : Y ⟶ X' j₂)
  (hf₁ : CategoryTheory.CategoryStruct.comp f₁ (f' j₁) = q) (hf₂ : CategoryTheory.CategoryStruct.comp f₂ (f' j₂) = q),
  (CategoryTheory.Pseudofunctor.DescentData.pullFunctorObj w D).hom q f₁ f₂ hf₁ hf₂ =
    CategoryTheory.Pseudofunctor.DescentData.pullFunctorObjHom w D (CategoryTheory.CategoryStruct.comp f₁ (f' j₁)) f₁ f₂
      ⋯ ⋯

def CategoryTheory.Pseudofunctor.DescentData.pullFunctor E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              {S' : C} →
                {p : S' ⟶ S} →
                  {ι' : Type t'} →
                    {X' : ι' → C} →
                      {f' : (j : ι') → X' j ⟶ S'} →
                        {α : ι' → ι} →
                          {p' : (j : ι') → X' j ⟶ X (α j)} →
                            (∀ (j : ι'),
                                CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) =
                                  CategoryTheory.CategoryStruct.comp (f' j) p) →
                              CategoryTheory.Functor (F.DescentData f) (F.DescentData f')

Given a family of morphisms f : X i ⟶ S and f' : X' j ⟶ S', and suitable commutative diagrams p' j ≫ f (α j) = f' j ≫ p, this is the induced functor F.DescentData f ⥤ F.DescentData f'. (Up to a (unique) isomorphism, this functor only depends on f and f', see pullFunctorIso.)

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctor_map_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {S' : C} {p : S' ⟶ S} {ι' : Type t'} {X' : ι' → C} {f' : (j : ι') → X' j ⟶ S'}
  {α : ι' → ι} {p' : (j : ι') → X' j ⟶ X (α j)}
  (w : ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) = CategoryTheory.CategoryStruct.comp (f' j) p)
  {D₁ D₂ : F.DescentData f} (φ : D₁ ⟶ D₂) (j : ι'),
  ((CategoryTheory.Pseudofunctor.DescentData.pullFunctor F w).map φ).hom j =
    (F.map (p' j).op.toLoc).toFunctor.map (φ.hom (α j))

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctor_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {S' : C} {p : S' ⟶ S} {ι' : Type t'} {X' : ι' → C} {f' : (j : ι') → X' j ⟶ S'}
  {α : ι' → ι} {p' : (j : ι') → X' j ⟶ X (α j)}
  (w : ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) = CategoryTheory.CategoryStruct.comp (f' j) p)
  (D : F.DescentData f),
  (CategoryTheory.Pseudofunctor.DescentData.pullFunctor F w).obj D =
    CategoryTheory.Pseudofunctor.DescentData.pullFunctorObj w D

def CategoryTheory.Pseudofunctor.DescentData.toDescentDataCompPullFunctorIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              {S' : C} →
                {p : S' ⟶ S} →
                  {ι' : Type t'} →
                    {X' : ι' → C} →
                      {f' : (j : ι') → X' j ⟶ S'} →
                        {α : ι' → ι} →
                          {p' : (j : ι') → X' j ⟶ X (α j)} →
                            (w :
                                ∀ (j : ι'),
                                  CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) =
                                    CategoryTheory.CategoryStruct.comp (f' j) p) →
                              (F.toDescentData f).comp (CategoryTheory.Pseudofunctor.DescentData.pullFunctor F w) ≅
                                (F.map p.op.toLoc).toFunctor.comp (F.toDescentData f')

Given families of morphisms f : X i ⟶ S and f' : X' j ⟶ S', suitable commutative diagrams w j : p' j ≫ f (α j) = f' j ≫ p, this is the natural isomorphism between the descent data relative to f' that are obtained either:

  • by considering the obvious descent data relative to f given by an object M : F.obj (op S), followed by the application of pullFunctor F w : F.DescentData f ⥤ F.DescentData f';
  • by considering the obvious descent data relative to f' given by pulling back the object M to S'.

def CategoryTheory.Pseudofunctor.DescentData.pullFunctorIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              {S' : C} →
                {p : S' ⟶ S} →
                  {ι' : Type t'} →
                    {X' : ι' → C} →
                      {f' : (j : ι') → X' j ⟶ S'} →
                        {α : ι' → ι} →
                          {p' : (j : ι') → X' j ⟶ X (α j)} →
                            (w :
                                ∀ (j : ι'),
                                  CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) =
                                    CategoryTheory.CategoryStruct.comp (f' j) p) →
                              {β : ι' → ι} →
                                {p'' : (j : ι') → X' j ⟶ X (β j)} →
                                  (w' :
                                      ∀ (j : ι'),
                                        CategoryTheory.CategoryStruct.comp (p'' j) (f (β j)) =
                                          CategoryTheory.CategoryStruct.comp (f' j) p) →
                                    CategoryTheory.Pseudofunctor.DescentData.pullFunctor F w ≅
                                      CategoryTheory.Pseudofunctor.DescentData.pullFunctor F w'

Up to a (unique) isomorphism, the functor pullFunctor : F.DescentData f ⥤ F.DescentData f' does not depend on the auxiliary data.

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctorIso_inv_app_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {S' : C} {p : S' ⟶ S} {ι' : Type t'} {X' : ι' → C} {f' : (j : ι') → X' j ⟶ S'}
  {α : ι' → ι} {p' : (j : ι') → X' j ⟶ X (α j)}
  (w : ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) = CategoryTheory.CategoryStruct.comp (f' j) p)
  {β : ι' → ι} {p'' : (j : ι') → X' j ⟶ X (β j)}
  (w' : ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p'' j) (f (β j)) = CategoryTheory.CategoryStruct.comp (f' j) p)
  (X_1 : F.DescentData f) (i : ι'),
  ((CategoryTheory.Pseudofunctor.DescentData.pullFunctorIso F w w').inv.app X_1).hom i =
    X_1.hom (CategoryTheory.CategoryStruct.comp (p' i) (f (α i))) (p'' i) (p' i) ⋯ ⋯

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctorIso_hom_app_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {S' : C} {p : S' ⟶ S} {ι' : Type t'} {X' : ι' → C} {f' : (j : ι') → X' j ⟶ S'}
  {α : ι' → ι} {p' : (j : ι') → X' j ⟶ X (α j)}
  (w : ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) = CategoryTheory.CategoryStruct.comp (f' j) p)
  {β : ι' → ι} {p'' : (j : ι') → X' j ⟶ X (β j)}
  (w' : ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p'' j) (f (β j)) = CategoryTheory.CategoryStruct.comp (f' j) p)
  (X_1 : F.DescentData f) (i : ι'),
  ((CategoryTheory.Pseudofunctor.DescentData.pullFunctorIso F w w').hom.app X_1).hom i =
    X_1.hom (CategoryTheory.CategoryStruct.comp (p' i) (f (α i))) (p' i) (p'' i) ⋯ ⋯

def CategoryTheory.Pseudofunctor.DescentData.pullFunctorIdIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) →
      {ι : Type t} →
        (S : C) →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              CategoryTheory.Pseudofunctor.DescentData.pullFunctor F ⋯ ≅ CategoryTheory.Functor.id (F.DescentData f)

The functor F.DescentData f ⥤ F.DescentData f corresponding to pullFunctor applied to identity morphisms is isomorphic to the identity functor.

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctorIdIso_inv_app_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} (S : C)
  {X : ι → C} {f : (i : ι) → X i ⟶ S} (X_1 : F.DescentData f) (i : ι),
  ((CategoryTheory.Pseudofunctor.DescentData.pullFunctorIdIso F S).inv.app X_1).hom i =
    (F.mapId { as := Opposite.op (X i) }).inv.toNatTrans.app (X_1.obj i)

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctorIdIso_hom_app_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} (S : C)
  {X : ι → C} {f : (i : ι) → X i ⟶ S} (X_1 : F.DescentData f) (i : ι),
  ((CategoryTheory.Pseudofunctor.DescentData.pullFunctorIdIso F S).hom.app X_1).hom i =
    (F.mapId { as := Opposite.op (X i) }).hom.toNatTrans.app (X_1.obj i)

def CategoryTheory.Pseudofunctor.DescentData.pullFunctorCompIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              {S' : C} →
                {p : S' ⟶ S} →
                  {ι' : Type t'} →
                    {X' : ι' → C} →
                      {f' : (j : ι') → X' j ⟶ S'} →
                        {α : ι' → ι} →
                          {p' : (j : ι') → X' j ⟶ X (α j)} →
                            (w :
                                ∀ (j : ι'),
                                  CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) =
                                    CategoryTheory.CategoryStruct.comp (f' j) p) →
                              {S'' : C} →
                                {q : S'' ⟶ S'} →
                                  {ι'' : Type t''} →
                                    {X'' : ι'' → C} →
                                      {f'' : (k : ι'') → X'' k ⟶ S''} →
                                        {β : ι'' → ι'} →
                                          {q' : (k : ι'') → X'' k ⟶ X' (β k)} →
                                            (w' :
                                                ∀ (k : ι''),
                                                  CategoryTheory.CategoryStruct.comp (q' k) (f' (β k)) =
                                                    CategoryTheory.CategoryStruct.comp (f'' k) q) →
                                              (r : S'' ⟶ S) →
                                                {r' : (k : ι'') → X'' k ⟶ X (α (β k))} →
                                                  (hr :
                                                      autoParam (CategoryTheory.CategoryStruct.comp q p = r)
                                                        CategoryTheory.Pseudofunctor.DescentData.pullFunctorCompIso._auto_1) →
                                                    (hr' :
                                                        autoParam
                                                          (∀ (k : ι''),
                                                            CategoryTheory.CategoryStruct.comp (q' k) (p' (β k)) = r' k)
                                                          CategoryTheory.Pseudofunctor.DescentData.pullFunctorCompIso._auto_3) →
                                                      (CategoryTheory.Pseudofunctor.DescentData.pullFunctor F w).comp
                                                          (CategoryTheory.Pseudofunctor.DescentData.pullFunctor F w') ≅
                                                        CategoryTheory.Pseudofunctor.DescentData.pullFunctor F ⋯

The composition of two functors pullFunctor is isomorphic to pullFunctor applied to the compositions.

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctorCompIso_inv_app_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {S' : C} {p : S' ⟶ S} {ι' : Type t'} {X' : ι' → C} {f' : (j : ι') → X' j ⟶ S'}
  {α : ι' → ι} {p' : (j : ι') → X' j ⟶ X (α j)}
  (w : ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) = CategoryTheory.CategoryStruct.comp (f' j) p)
  {S'' : C} {q : S'' ⟶ S'} {ι'' : Type t''} {X'' : ι'' → C} {f'' : (k : ι'') → X'' k ⟶ S''} {β : ι'' → ι'}
  {q' : (k : ι'') → X'' k ⟶ X' (β k)}
  (w' :
    ∀ (k : ι''), CategoryTheory.CategoryStruct.comp (q' k) (f' (β k)) = CategoryTheory.CategoryStruct.comp (f'' k) q)
  (r : S'' ⟶ S) {r' : (k : ι'') → X'' k ⟶ X (α (β k))}
  (hr :
    autoParam (CategoryTheory.CategoryStruct.comp q p = r)
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorCompIso._auto_1)
  (hr' :
    autoParam (∀ (k : ι''), CategoryTheory.CategoryStruct.comp (q' k) (p' (β k)) = r' k)
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorCompIso._auto_3)
  (X_1 : F.DescentData f) (i : ι''),
  ((CategoryTheory.Pseudofunctor.DescentData.pullFunctorCompIso F w w' r hr hr').inv.app X_1).hom i =
    (F.mapComp' (p' (β i)).op.toLoc (q' i).op.toLoc (r' i).op.toLoc ⋯).hom.toNatTrans.app (X_1.obj (α (β i)))

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctorCompIso_hom_app_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {S' : C} {p : S' ⟶ S} {ι' : Type t'} {X' : ι' → C} {f' : (j : ι') → X' j ⟶ S'}
  {α : ι' → ι} {p' : (j : ι') → X' j ⟶ X (α j)}
  (w : ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) = CategoryTheory.CategoryStruct.comp (f' j) p)
  {S'' : C} {q : S'' ⟶ S'} {ι'' : Type t''} {X'' : ι'' → C} {f'' : (k : ι'') → X'' k ⟶ S''} {β : ι'' → ι'}
  {q' : (k : ι'') → X'' k ⟶ X' (β k)}
  (w' :
    ∀ (k : ι''), CategoryTheory.CategoryStruct.comp (q' k) (f' (β k)) = CategoryTheory.CategoryStruct.comp (f'' k) q)
  (r : S'' ⟶ S) {r' : (k : ι'') → X'' k ⟶ X (α (β k))}
  (hr :
    autoParam (CategoryTheory.CategoryStruct.comp q p = r)
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorCompIso._auto_1)
  (hr' :
    autoParam (∀ (k : ι''), CategoryTheory.CategoryStruct.comp (q' k) (p' (β k)) = r' k)
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorCompIso._auto_3)
  (X_1 : F.DescentData f) (i : ι''),
  ((CategoryTheory.Pseudofunctor.DescentData.pullFunctorCompIso F w w' r hr hr').hom.app X_1).hom i =
    (F.mapComp' (p' (β i)).op.toLoc (q' i).op.toLoc (r' i).op.toLoc ⋯).inv.toNatTrans.app (X_1.obj (α (β i)))

def CategoryTheory.Pseudofunctor.DescentData.pullFunctorEquivalence E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              {S' : C} →
                {ι' : Type t'} →
                  {X' : ι' → C} →
                    {f' : (j : ι') → X' j ⟶ S'} →
                      (e : S' ≅ S) →
                        {α : ι' → ι} →
                          {p' : (j : ι') → X' j ⟶ X (α j)} →
                            (∀ (j : ι'),
                                CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) =
                                  CategoryTheory.CategoryStruct.comp (f' j) e.hom) →
                              {β : ι → ι'} →
                                {q' : (i : ι) → X i ⟶ X' (β i)} →
                                  (∀ (i : ι),
                                      CategoryTheory.CategoryStruct.comp (q' i) (f' (β i)) =
                                        CategoryTheory.CategoryStruct.comp (f i) e.inv) →
                                    (F.DescentData f ≌ F.DescentData f')

Up to an equivalence, the category DescentData for a pseudofunctor F and a family of morphisms f : X i ⟶ S is unchanged when we replace S by an isomorphic object, or when we replace f by another family which generate the same sieve.

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctorEquivalence_inverse E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {S' : C} {ι' : Type t'} {X' : ι' → C} {f' : (j : ι') → X' j ⟶ S'} (e : S' ≅ S)
  {α : ι' → ι} {p' : (j : ι') → X' j ⟶ X (α j)}
  (w :
    ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) = CategoryTheory.CategoryStruct.comp (f' j) e.hom)
  {β : ι → ι'} {q' : (i : ι) → X i ⟶ X' (β i)}
  (w' :
    ∀ (i : ι), CategoryTheory.CategoryStruct.comp (q' i) (f' (β i)) = CategoryTheory.CategoryStruct.comp (f i) e.inv),
  (CategoryTheory.Pseudofunctor.DescentData.pullFunctorEquivalence F e w w').inverse =
    CategoryTheory.Pseudofunctor.DescentData.pullFunctor F w'

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctorEquivalence_functor E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {S' : C} {ι' : Type t'} {X' : ι' → C} {f' : (j : ι') → X' j ⟶ S'} (e : S' ≅ S)
  {α : ι' → ι} {p' : (j : ι') → X' j ⟶ X (α j)}
  (w :
    ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) = CategoryTheory.CategoryStruct.comp (f' j) e.hom)
  {β : ι → ι'} {q' : (i : ι) → X i ⟶ X' (β i)}
  (w' :
    ∀ (i : ι), CategoryTheory.CategoryStruct.comp (q' i) (f' (β i)) = CategoryTheory.CategoryStruct.comp (f i) e.inv),
  (CategoryTheory.Pseudofunctor.DescentData.pullFunctorEquivalence F e w w').functor =
    CategoryTheory.Pseudofunctor.DescentData.pullFunctor F w

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctorEquivalence_counitIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {S' : C} {ι' : Type t'} {X' : ι' → C} {f' : (j : ι') → X' j ⟶ S'} (e : S' ≅ S)
  {α : ι' → ι} {p' : (j : ι') → X' j ⟶ X (α j)}
  (w :
    ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) = CategoryTheory.CategoryStruct.comp (f' j) e.hom)
  {β : ι → ι'} {q' : (i : ι) → X i ⟶ X' (β i)}
  (w' :
    ∀ (i : ι), CategoryTheory.CategoryStruct.comp (q' i) (f' (β i)) = CategoryTheory.CategoryStruct.comp (f i) e.inv),
  (CategoryTheory.Pseudofunctor.DescentData.pullFunctorEquivalence F e w w').counitIso =
    CategoryTheory.Pseudofunctor.DescentData.pullFunctorCompIso F w' w (CategoryTheory.CategoryStruct.id S') ⋯ ⋯ ≪≫
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorIso F ⋯ ⋯ ≪≫
        CategoryTheory.Pseudofunctor.DescentData.pullFunctorIdIso F S'

theorem CategoryTheory.Pseudofunctor.DescentData.pullFunctorEquivalence_unitIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} {f : (i : ι) → X i ⟶ S} {S' : C} {ι' : Type t'} {X' : ι' → C} {f' : (j : ι') → X' j ⟶ S'} (e : S' ≅ S)
  {α : ι' → ι} {p' : (j : ι') → X' j ⟶ X (α j)}
  (w :
    ∀ (j : ι'), CategoryTheory.CategoryStruct.comp (p' j) (f (α j)) = CategoryTheory.CategoryStruct.comp (f' j) e.hom)
  {β : ι → ι'} {q' : (i : ι) → X i ⟶ X' (β i)}
  (w' :
    ∀ (i : ι), CategoryTheory.CategoryStruct.comp (q' i) (f' (β i)) = CategoryTheory.CategoryStruct.comp (f i) e.inv),
  (CategoryTheory.Pseudofunctor.DescentData.pullFunctorEquivalence F e w w').unitIso =
    (CategoryTheory.Pseudofunctor.DescentData.pullFunctorIdIso F S).symm ≪≫
      CategoryTheory.Pseudofunctor.DescentData.pullFunctorIso F ⋯ ⋯ ≪≫
        (CategoryTheory.Pseudofunctor.DescentData.pullFunctorCompIso F w w' (CategoryTheory.CategoryStruct.id S) ⋯
            ⋯).symm

theorem CategoryTheory.Pseudofunctor.DescentData.exists_equivalence_of_sieve_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} (f : (i : ι) → X i ⟶ S) {ι' : Type t'} {X' : ι' → C} (f' : (i' : ι') → X' i' ⟶ S),
  CategoryTheory.Sieve.ofArrows X f = CategoryTheory.Sieve.ofArrows X' f' →
    ∃ e, Nonempty ((F.toDescentData f).comp e.functor ≅ F.toDescentData f')

theorem CategoryTheory.Pseudofunctor.DescentData.nonempty_fullyFaithful_toDescentData_iff_of_sieve_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} (f : (i : ι) → X i ⟶ S) {ι' : Type t'} {X' : ι' → C} (f' : (i' : ι') → X' i' ⟶ S),
  CategoryTheory.Sieve.ofArrows X f = CategoryTheory.Sieve.ofArrows X' f' →
    (Nonempty (F.toDescentData f).FullyFaithful ↔ Nonempty (F.toDescentData f').FullyFaithful)

theorem CategoryTheory.Pseudofunctor.DescentData.isEquivalence_toDescentData_iff_of_sieve_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} (f : (i : ι) → X i ⟶ S) {ι' : Type t'} {X' : ι' → C} (f' : (i' : ι') → X' i' ⟶ S),
  CategoryTheory.Sieve.ofArrows X f = CategoryTheory.Sieve.ofArrows X' f' →
    ((F.toDescentData f).IsEquivalence ↔ (F.toDescentData f').IsEquivalence)

def CategoryTheory.Pseudofunctor.DescentData.subtypeCompatibleHomEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            (f : (i : ι) → X i ⟶ S) →
              {M N : ↑(F.obj { as := Opposite.op S })} →
                Subtype
                    (CategoryTheory.Presieve.Arrows.Compatible (F.presheafHom M N) fun i ↦
                      CategoryTheory.Over.homMk (f i) ⋯) ≃
                  ((F.toDescentData f).obj M ⟶ (F.toDescentData f).obj N)

Morphisms between objects in the image of the functor F.toDescentData f identify to compatible families of sections of the presheaf F.presheafHom M N on the object Over.mk (𝟙 S), relatively to the family of morphisms in Over S corresponding to the family f.

theorem CategoryTheory.Pseudofunctor.DescentData.subtypeCompatibleHomEquiv_toCompatible_presheafHomObjHomEquiv E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} (f : (i : ι) → X i ⟶ S) {M N : ↑(F.obj { as := Opposite.op S })} (φ : M ⟶ N),
  (CategoryTheory.Pseudofunctor.DescentData.subtypeCompatibleHomEquiv F f)
      (CategoryTheory.Presieve.Arrows.toCompatible (F.presheafHom M N) (fun i ↦ CategoryTheory.Over.homMk (f i) ⋯)
        (F.presheafHomObjHomEquiv φ)) =
    (F.toDescentData f).map φ

structure CategoryTheory.Pseudofunctor.IsPrestackFor E1 #

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

The condition that a pseudofunctor satisfies the descent of morphisms relative to a presieve.

theorem CategoryTheory.Pseudofunctor.isPrestackFor_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {S : C}
  (R : CategoryTheory.Presieve S), F.IsPrestackFor R ↔ Nonempty (F.toDescentData fun f ↦ f.obj.hom).FullyFaithful

ctor CategoryTheory.Pseudofunctor.IsPrestackFor.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {S : C}
  {R : CategoryTheory.Presieve S}, Nonempty (F.toDescentData fun f ↦ f.obj.hom).FullyFaithful → F.IsPrestackFor R

theorem CategoryTheory.Pseudofunctor.IsPrestackFor.nonempty_fullyFaithful E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {S : C}
  {R : CategoryTheory.Presieve S}, F.IsPrestackFor R → Nonempty (F.toDescentData fun f ↦ f.obj.hom).FullyFaithful

def CategoryTheory.Pseudofunctor.IsPrestackFor.fullyFaithful E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} →
      {S : C} → {R : CategoryTheory.Presieve S} → F.IsPrestackFor R → (F.toDescentData fun f ↦ f.obj.hom).FullyFaithful

If R is a presieve such that F.IsPrestackFor R, then the functor F.toDescentData (fun (f : R.category) ↦ f.obj.hom) is fully faithful.

theorem CategoryTheory.Pseudofunctor.isPrestackFor_iff_of_sieve_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {S : C}
  {R R' : CategoryTheory.Presieve S},
  CategoryTheory.Sieve.generate R = CategoryTheory.Sieve.generate R' → (F.IsPrestackFor R ↔ F.IsPrestackFor R')

theorem CategoryTheory.Pseudofunctor.IsPrestackFor_generate_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {S : C}
  (R : CategoryTheory.Presieve S), F.IsPrestackFor (CategoryTheory.Sieve.generate R).arrows ↔ F.IsPrestackFor R

theorem CategoryTheory.Pseudofunctor.isPrestackFor_ofArrows_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} (f : (i : ι) → X i ⟶ S),
  F.IsPrestackFor (CategoryTheory.Presieve.ofArrows X f) ↔ Nonempty (F.toDescentData f).FullyFaithful

structure CategoryTheory.Pseudofunctor.IsStackFor E1 #

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

The condition that a pseudofunctor has effective descent relative to a presieve.

theorem CategoryTheory.Pseudofunctor.isStackFor_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {S : C}
  (R : CategoryTheory.Presieve S), F.IsStackFor R ↔ (F.toDescentData fun f ↦ f.obj.hom).IsEquivalence

ctor CategoryTheory.Pseudofunctor.IsStackFor.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {S : C}
  {R : CategoryTheory.Presieve S}, (F.toDescentData fun f ↦ f.obj.hom).IsEquivalence → F.IsStackFor R

theorem CategoryTheory.Pseudofunctor.IsStackFor.isEquivalence E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {S : C}
  {R : CategoryTheory.Presieve S}, F.IsStackFor R → (F.toDescentData fun f ↦ f.obj.hom).IsEquivalence

theorem CategoryTheory.Pseudofunctor.IsStackFor.isPrestackFor E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {S : C}
  {R : CategoryTheory.Presieve S}, F.IsStackFor R → F.IsPrestackFor R

theorem CategoryTheory.Pseudofunctor.IsStackFor.essSurj E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {S : C}
  {R : CategoryTheory.Presieve S}, F.IsStackFor R → (F.toDescentData fun f ↦ f.obj.hom).EssSurj

theorem CategoryTheory.Pseudofunctor.isStackFor_iff_of_sieve_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {S : C}
  {R R' : CategoryTheory.Presieve S},
  CategoryTheory.Sieve.generate R = CategoryTheory.Sieve.generate R' → (F.IsStackFor R ↔ F.IsStackFor R')

theorem CategoryTheory.Pseudofunctor.IsStackFor_generate_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {S : C}
  (R : CategoryTheory.Presieve S), F.IsStackFor (CategoryTheory.Sieve.generate R).arrows ↔ F.IsStackFor R

theorem CategoryTheory.Pseudofunctor.isStackFor_ofArrows_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {ι : Type t} {S : C}
  {X : ι → C} (f : (i : ι) → X i ⟶ S),
  F.IsStackFor (CategoryTheory.Presieve.ofArrows X f) ↔ (F.toDescentData f).IsEquivalence

theorem CategoryTheory.Pseudofunctor.bijective_toDescentData_map_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {ι : Type t} {S : C}
  {X : ι → C} (f : (i : ι) → X i ⟶ S) (M N : ↑(F.obj { as := Opposite.op S })),
  Function.Bijective (F.toDescentData f).map ↔
    CategoryTheory.Presieve.IsSheafFor (F.presheafHom M N)
      (CategoryTheory.Presieve.ofArrows (fun i ↦ CategoryTheory.Over.mk (f i)) fun i ↦
        CategoryTheory.Over.homMk (f i) ⋯)

theorem CategoryTheory.Pseudofunctor.isPrestackFor_iff_isSheafFor E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {S : C}
  (R : CategoryTheory.Sieve S),
  F.IsPrestackFor R.arrows ↔
    ∀ (M N : ↑(F.obj { as := Opposite.op S })),
      CategoryTheory.Presieve.IsSheafFor (F.presheafHom M N)
        ((CategoryTheory.Sieve.overEquiv (CategoryTheory.Over.mk (CategoryTheory.CategoryStruct.id S))).symm R).arrows

theorem CategoryTheory.Pseudofunctor.isPrestackFor_iff_isSheafFor' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) {S : C}
  (R : CategoryTheory.Sieve S),
  F.IsPrestackFor R.arrows ↔
    ∀ ⦃S₀ : C⦄ (M N : ↑(F.obj { as := Opposite.op S₀ })) (a : S ⟶ S₀),
      CategoryTheory.Presieve.IsSheafFor (F.presheafHom M N)
        ((CategoryTheory.Sieve.overEquiv (CategoryTheory.Over.mk a)).symm R).arrows

theorem CategoryTheory.Pseudofunctor.IsPrestackFor.isSheafFor' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat} {S₀ : C}
  (S : CategoryTheory.Over S₀) {R : CategoryTheory.Sieve S},
  F.IsPrestackFor ((CategoryTheory.Sieve.overEquiv S) R).arrows →
    ∀ (M N : ↑(F.obj { as := Opposite.op S₀ })), CategoryTheory.Presieve.IsSheafFor (F.presheafHom M N) R.arrows

def CategoryTheory.Pseudofunctor.fullyFaithfulToDescentData E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat) →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            (f : (i : ι) → X i ⟶ S) →
              {J : CategoryTheory.GrothendieckTopology C} →
                [F.IsPrestack J] → CategoryTheory.Sieve.ofArrows X f ∈ J S → (F.toDescentData f).FullyFaithful

If F is a prestack for a Grothendieck topology J, and f is a covering family of morphisms, then the functor F.toDescentData f is fully faithful.

theorem CategoryTheory.Pseudofunctor.isPrestackFor 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} (R : CategoryTheory.Presieve S),
  CategoryTheory.Sieve.generate R ∈ J S → F.IsPrestackFor R

theorem CategoryTheory.Pseudofunctor.isPrestackFor' 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}, ∀ R ∈ J S, F.IsPrestackFor R.arrows

theorem CategoryTheory.Pseudofunctor.IsPrestack.of_isPrestackFor E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ) CategoryTheory.Cat}
  {J : CategoryTheory.GrothendieckTopology C}, (∀ (S : C), ∀ R ∈ J S, F.IsPrestackFor R.arrows) → F.IsPrestack J