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

51 declarations. Mathlib docs · Source

def CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.ctorIdx E1 #

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

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

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

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

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

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

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

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

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C}
  {F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)}
  {ι : Type t} {S : C} {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ : F.DescentDataAsCoalgebra f}
  {hom : (i : ι) → D₁.obj i ⟶ D₂.obj i}
  {comm :
    autoParam
      (∀ (i₁ i₂ : ι),
        CategoryTheory.CategoryStruct.comp (D₁.hom i₁ i₂)
            ((F.map (f i₁).op.toLoc).l.toFunctor.map ((F.map (f i₂).op.toLoc).r.toFunctor.map (hom i₂))) =
          CategoryTheory.CategoryStruct.comp (hom i₁) (D₂.hom i₁ i₂))
      CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.Hom.comm._autoParam}
  {hom_1 : (i : ι) → D₁.obj i ⟶ D₂.obj i}
  {comm_1 :
    autoParam
      (∀ (i₁ i₂ : ι),
        CategoryTheory.CategoryStruct.comp (D₁.hom i₁ i₂)
            ((F.map (f i₁).op.toLoc).l.toFunctor.map ((F.map (f i₂).op.toLoc).r.toFunctor.map (hom_1 i₂))) =
          CategoryTheory.CategoryStruct.comp (hom_1 i₁) (D₂.hom i₁ i₂))
      CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.Hom.comm._autoParam},
  { hom := hom, comm := comm } = { hom := hom_1, comm := comm_1 } → hom = hom_1

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

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)}
  {ι : Type t} {S : C} {X : ι → C} {f : (i : ι) → X i ⟶ S} (obj : (i : ι) → ↑(F.obj { as := Opposite.op (X i) }).obj)
  (hom :
    (i₁ i₂ : ι) → obj i₁ ⟶ (F.map (f i₁).op.toLoc).l.toFunctor.obj ((F.map (f i₂).op.toLoc).r.toFunctor.obj (obj i₂)))
  (counit :
    autoParam
      (∀ (i : ι),
        CategoryTheory.CategoryStruct.comp (hom i i) ((F.map (f i).op.toLoc).adj.counit.toNatTrans.app (obj i)) =
          CategoryTheory.CategoryStruct.id (obj i))
      CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.counit._autoParam)
  (coassoc :
    autoParam
      (∀ (i₁ i₂ i₃ : ι),
        CategoryTheory.CategoryStruct.comp (hom i₁ i₂)
            ((F.map (f i₁).op.toLoc).l.toFunctor.map ((F.map (f i₂).op.toLoc).r.toFunctor.map (hom i₂ i₃))) =
          CategoryTheory.CategoryStruct.comp (hom i₁ i₃)
            ((F.map (f i₁).op.toLoc).l.toFunctor.map
              ((F.map (f i₂).op.toLoc).adj.unit.toNatTrans.app ((F.map (f i₃).op.toLoc).r.toFunctor.1 (obj i₃)))))
      CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coassoc._autoParam)
  (obj_1 : (i : ι) → ↑(F.obj { as := Opposite.op (X i) }).obj)
  (hom_1 :
    (i₁ i₂ : ι) →
      obj_1 i₁ ⟶ (F.map (f i₁).op.toLoc).l.toFunctor.obj ((F.map (f i₂).op.toLoc).r.toFunctor.obj (obj_1 i₂)))
  (counit_1 :
    autoParam
      (∀ (i : ι),
        CategoryTheory.CategoryStruct.comp (hom_1 i i) ((F.map (f i).op.toLoc).adj.counit.toNatTrans.app (obj_1 i)) =
          CategoryTheory.CategoryStruct.id (obj_1 i))
      CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.counit._autoParam)
  (coassoc_1 :
    autoParam
      (∀ (i₁ i₂ i₃ : ι),
        CategoryTheory.CategoryStruct.comp (hom_1 i₁ i₂)
            ((F.map (f i₁).op.toLoc).l.toFunctor.map ((F.map (f i₂).op.toLoc).r.toFunctor.map (hom_1 i₂ i₃))) =
          CategoryTheory.CategoryStruct.comp (hom_1 i₁ i₃)
            ((F.map (f i₁).op.toLoc).l.toFunctor.map
              ((F.map (f i₂).op.toLoc).adj.unit.toNatTrans.app ((F.map (f i₃).op.toLoc).r.toFunctor.1 (obj_1 i₃)))))
      CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coassoc._autoParam),
  ({ obj := obj, hom := hom, counit := counit, coassoc := coassoc } =
      { obj := obj_1, hom := hom_1, counit := counit_1, coassoc := coassoc_1 }) =
    (obj = obj_1 ∧ hom ≍ hom_1)

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

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C}
  {F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)}
  {ι : Type t} {S : C} {X : ι → C} {f : (i : ι) → X i ⟶ S} {obj : (i : ι) → ↑(F.obj { as := Opposite.op (X i) }).obj}
  {hom :
    (i₁ i₂ : ι) → obj i₁ ⟶ (F.map (f i₁).op.toLoc).l.toFunctor.obj ((F.map (f i₂).op.toLoc).r.toFunctor.obj (obj i₂))}
  {counit :
    autoParam
      (∀ (i : ι),
        CategoryTheory.CategoryStruct.comp (hom i i) ((F.map (f i).op.toLoc).adj.counit.toNatTrans.app (obj i)) =
          CategoryTheory.CategoryStruct.id (obj i))
      CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.counit._autoParam}
  {coassoc :
    autoParam
      (∀ (i₁ i₂ i₃ : ι),
        CategoryTheory.CategoryStruct.comp (hom i₁ i₂)
            ((F.map (f i₁).op.toLoc).l.toFunctor.map ((F.map (f i₂).op.toLoc).r.toFunctor.map (hom i₂ i₃))) =
          CategoryTheory.CategoryStruct.comp (hom i₁ i₃)
            ((F.map (f i₁).op.toLoc).l.toFunctor.map
              ((F.map (f i₂).op.toLoc).adj.unit.toNatTrans.app ((F.map (f i₃).op.toLoc).r.toFunctor.1 (obj i₃)))))
      CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coassoc._autoParam}
  {obj_1 : (i : ι) → ↑(F.obj { as := Opposite.op (X i) }).obj}
  {hom_1 :
    (i₁ i₂ : ι) →
      obj_1 i₁ ⟶ (F.map (f i₁).op.toLoc).l.toFunctor.obj ((F.map (f i₂).op.toLoc).r.toFunctor.obj (obj_1 i₂))}
  {counit_1 :
    autoParam
      (∀ (i : ι),
        CategoryTheory.CategoryStruct.comp (hom_1 i i) ((F.map (f i).op.toLoc).adj.counit.toNatTrans.app (obj_1 i)) =
          CategoryTheory.CategoryStruct.id (obj_1 i))
      CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.counit._autoParam}
  {coassoc_1 :
    autoParam
      (∀ (i₁ i₂ i₃ : ι),
        CategoryTheory.CategoryStruct.comp (hom_1 i₁ i₂)
            ((F.map (f i₁).op.toLoc).l.toFunctor.map ((F.map (f i₂).op.toLoc).r.toFunctor.map (hom_1 i₂ i₃))) =
          CategoryTheory.CategoryStruct.comp (hom_1 i₁ i₃)
            ((F.map (f i₁).op.toLoc).l.toFunctor.map
              ((F.map (f i₂).op.toLoc).adj.unit.toNatTrans.app ((F.map (f i₃).op.toLoc).r.toFunctor.1 (obj_1 i₃)))))
      CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coassoc._autoParam},
  { obj := obj, hom := hom, counit := counit, coassoc := coassoc } =
      { obj := obj_1, hom := hom_1, counit := counit_1, coassoc := coassoc_1 } →
    obj = obj_1 ∧ hom ≍ hom_1

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

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

structure CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra E1 #

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

Given a pseudofunctor F : LocallyDiscrete Cᵒᵖ ⥤ᵖ Adj Cat and a family of morphisms f i : X i ⟶ S in C, this is the category of descent data for F relative to the morphisms f i where the objects are defined as coalgebras: the morphisms relating the various objects obj i over X i are of the form obj i₁ ⟶ (f i₁)^* (f i₂)_* (obj i₂). This category can be compared to the corresponding category DescentData when suitable pullbacks exist and certain base change morphisms are isomorphisms (TODO).

ctor CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F :
        CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
          (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)} →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              (obj : (i : ι) → ↑(F.obj { as := Opposite.op (X i) }).obj) →
                (hom :
                    (i₁ i₂ : ι) →
                      obj i₁ ⟶
                        (F.map (f i₁).op.toLoc).l.toFunctor.obj ((F.map (f i₂).op.toLoc).r.toFunctor.obj (obj i₂))) →
                  autoParam
                      (∀ (i : ι),
                        CategoryTheory.CategoryStruct.comp (hom i i)
                            ((F.map (f i).op.toLoc).adj.counit.toNatTrans.app (obj i)) =
                          CategoryTheory.CategoryStruct.id (obj i))
                      CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.counit._autoParam →
                    autoParam
                        (∀ (i₁ i₂ i₃ : ι),
                          CategoryTheory.CategoryStruct.comp (hom i₁ i₂)
                              ((F.map (f i₁).op.toLoc).l.toFunctor.map
                                ((F.map (f i₂).op.toLoc).r.toFunctor.map (hom i₂ i₃))) =
                            CategoryTheory.CategoryStruct.comp (hom i₁ i₃)
                              ((F.map (f i₁).op.toLoc).l.toFunctor.map
                                ((F.map (f i₂).op.toLoc).adj.unit.toNatTrans.app
                                  ((F.map (f i₃).op.toLoc).r.toFunctor.1 (obj i₃)))))
                        CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coassoc._autoParam →
                      F.DescentDataAsCoalgebra f

abbrev CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.obj E1 #

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

The objects over X i for all i

abbrev CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.hom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F :
        CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
          (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)} →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              (self : F.DescentDataAsCoalgebra f) →
                (i₁ i₂ : ι) →
                  self.obj i₁ ⟶
                    (F.map (f i₁).op.toLoc).l.toFunctor.obj ((F.map (f i₂).op.toLoc).r.toFunctor.obj (self.obj i₂))

The compatibility morphisms.

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.counit E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)}
  {ι : Type t} {S : C} {X : ι → C} {f : (i : ι) → X i ⟶ S} (self : F.DescentDataAsCoalgebra f) (i : ι),
  CategoryTheory.CategoryStruct.comp (self.hom i i) ((F.map (f i).op.toLoc).adj.counit.toNatTrans.app (self.obj i)) =
    CategoryTheory.CategoryStruct.id (self.obj i)

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coassoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)}
  {ι : Type t} {S : C} {X : ι → C} {f : (i : ι) → X i ⟶ S} (self : F.DescentDataAsCoalgebra f) (i₁ i₂ i₃ : ι),
  CategoryTheory.CategoryStruct.comp (self.hom i₁ i₂)
      ((F.map (f i₁).op.toLoc).l.toFunctor.map ((F.map (f i₂).op.toLoc).r.toFunctor.map (self.hom i₂ i₃))) =
    CategoryTheory.CategoryStruct.comp (self.hom i₁ i₃)
      ((F.map (f i₁).op.toLoc).l.toFunctor.map
        ((F.map (f i₂).op.toLoc).adj.unit.toNatTrans.app ((F.map (f i₃).op.toLoc).r.toFunctor.1 (self.obj i₃))))

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coassoc_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)}
  {ι : Type t} {S : C} {X : ι → C} {f : (i : ι) → X i ⟶ S} (self : F.DescentDataAsCoalgebra f) (i₁ i₂ i₃ : ι)
  {Z : ↑(F.obj { as := Opposite.op (X i₁) }).obj}
  (h :
    (F.map (f i₁).op.toLoc).l.toFunctor.obj
        ((F.map (f i₂).op.toLoc).r.toFunctor.obj
          ((F.map (f i₂).op.toLoc).l.toFunctor.obj ((F.map (f i₃).op.toLoc).r.toFunctor.obj (self.obj i₃)))) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp (self.hom i₁ i₂)
      (CategoryTheory.CategoryStruct.comp
        ((F.map (f i₁).op.toLoc).l.toFunctor.map ((F.map (f i₂).op.toLoc).r.toFunctor.map (self.hom i₂ i₃))) h) =
    CategoryTheory.CategoryStruct.comp (self.hom i₁ i₃)
      (CategoryTheory.CategoryStruct.comp
        ((F.map (f i₁).op.toLoc).l.toFunctor.map
          ((F.map (f i₂).op.toLoc).adj.unit.toNatTrans.app ((F.map (f i₃).op.toLoc).r.toFunctor.1 (self.obj i₃))))
        h)

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.counit_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)}
  {ι : Type t} {S : C} {X : ι → C} {f : (i : ι) → X i ⟶ S} (self : F.DescentDataAsCoalgebra f) (i : ι)
  {Z : ↑(F.obj { as := Opposite.op (X i) }).obj}
  (h : (CategoryTheory.CategoryStruct.id (F.obj { as := Opposite.op (X i) }).obj).toFunctor.obj (self.obj i) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (self.hom i i)
      (CategoryTheory.CategoryStruct.comp ((F.map (f i).op.toLoc).adj.counit.toNatTrans.app (self.obj i)) h) =
    h

structure CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.Hom E1 #

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

The type of morphisms in DescentDataAsCoalgebra.

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

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

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

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

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

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F :
        CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
          (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)} →
      {ι : Type t} →
        {S : C} →
          {X : ι → C} →
            {f : (i : ι) → X i ⟶ S} →
              {D₁ D₂ : F.DescentDataAsCoalgebra f} →
                (hom : (i : ι) → D₁.obj i ⟶ D₂.obj i) →
                  autoParam
                      (∀ (i₁ i₂ : ι),
                        CategoryTheory.CategoryStruct.comp (D₁.hom i₁ i₂)
                            ((F.map (f i₁).op.toLoc).l.toFunctor.map
                              ((F.map (f i₂).op.toLoc).r.toFunctor.map (hom i₂))) =
                          CategoryTheory.CategoryStruct.comp (hom i₁) (D₂.hom i₁ i₂))
                      CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.Hom.comm._autoParam →
                    D₁.Hom D₂

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

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

The morphisms between the obj fields of descent data.

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.Hom.comm E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)}
  {ι : Type t} {S : C} {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ : F.DescentDataAsCoalgebra f} (self : D₁.Hom D₂)
  (i₁ i₂ : ι),
  CategoryTheory.CategoryStruct.comp (D₁.hom i₁ i₂)
      ((F.map (f i₁).op.toLoc).l.toFunctor.map ((F.map (f i₂).op.toLoc).r.toFunctor.map (self.hom i₂))) =
    CategoryTheory.CategoryStruct.comp (self.hom i₁) (D₂.hom i₁ i₂)

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.Hom.comm_assoc E0 #

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

instance CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.instCategory E0 #

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

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.hom_ext_iff E0 #

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

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.hom_ext E1 #

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

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.id_hom E0 #

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

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.comp_hom_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)}
  {ι : Type t} {S : C} {X : ι → C} {f : (i : ι) → X i ⟶ S} {D₁ D₂ D₃ : F.DescentDataAsCoalgebra f} (φ : D₁ ⟶ D₂)
  (φ' : D₂ ⟶ D₃) (i : ι) {Z : ↑(F.obj { as := Opposite.op (X i) }).obj} (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)

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.comp_hom E0 #

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

def CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.isoMk E1 #

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

Constructor for isomorphisms in DescentDataAsCoalgebra.

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.isoMk_inv_hom E0 #

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

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.isoMk_hom_hom E0 #

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

def CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F :
        CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
          (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)) →
      (ι : Type u_1) →
        [Unique ι] →
          {X S : C} →
            (f : X ⟶ S) →
              (F.DescentDataAsCoalgebra fun x ↦ f) ≌
                (CategoryTheory.Adjunction.ofCat (F.map f.op.toLoc).adj).toComonad.Coalgebra

When the index type ι contains a unique element, the category DescentDataAsCoalgebra identifies to the category of coalgebras over the comonad corresponding to the adjunction (F.map f.op.toLoc).adj.

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence_inverse_obj_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat))
  (ι : Type u_1) [inst_1 : Unique ι] {X S : C} (f : X ⟶ S)
  (A : (CategoryTheory.Adjunction.ofCat (F.map f.op.toLoc).adj).toComonad.Coalgebra) (x x_1 : ι),
  ((CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence F ι f).inverse.obj A).hom x x_1 = A.a

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence_functor_obj_a E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat))
  (ι : Type u_1) [inst_1 : Unique ι] {X S : C} (f : X ⟶ S) (D : F.DescentDataAsCoalgebra fun x ↦ f),
  ((CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence F ι f).functor.obj D).a =
    D.hom default default

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence_inverse_map_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat))
  (ι : Type u_1) [inst_1 : Unique ι] {X S : C} (f : X ⟶ S)
  {X_1 Y : (CategoryTheory.Adjunction.ofCat (F.map f.op.toLoc).adj).toComonad.Coalgebra} (φ : X_1 ⟶ Y) (i : ι),
  ((CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence F ι f).inverse.map φ).hom i = φ.f

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence_counitIso_hom_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat))
  (ι : Type u_1) [inst_1 : Unique ι] {X S : C} (f : X ⟶ S)
  (X_1 : (CategoryTheory.Adjunction.ofCat (F.map f.op.toLoc).adj).toComonad.Coalgebra),
  ((CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence F ι f).counitIso.hom.app X_1).f =
    CategoryTheory.CategoryStruct.id X_1.A

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence_inverse_obj_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat))
  (ι : Type u_1) [inst_1 : Unique ι] {X S : C} (f : X ⟶ S)
  (A : (CategoryTheory.Adjunction.ofCat (F.map f.op.toLoc).adj).toComonad.Coalgebra) (x : ι),
  ((CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence F ι f).inverse.obj A).obj x = A.A

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence_functor_map_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat))
  (ι : Type u_1) [inst_1 : Unique ι] {X S : C} (f : X ⟶ S) {X_1 Y : F.DescentDataAsCoalgebra fun x ↦ f} (φ : X_1 ⟶ Y),
  ((CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence F ι f).functor.map φ).f = φ.hom default

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence_functor_obj_A E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat))
  (ι : Type u_1) [inst_1 : Unique ι] {X S : C} (f : X ⟶ S) (D : F.DescentDataAsCoalgebra fun x ↦ f),
  ((CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence F ι f).functor.obj D).A = D.obj default

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence_counitIso_inv_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat))
  (ι : Type u_1) [inst_1 : Unique ι] {X S : C} (f : X ⟶ S)
  (X_1 : (CategoryTheory.Adjunction.ofCat (F.map f.op.toLoc).adj).toComonad.Coalgebra),
  ((CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence F ι f).counitIso.inv.app X_1).f =
    CategoryTheory.CategoryStruct.id X_1.A

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence_unitIso_inv_app_hom E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat))
  (ι : Type u_1) [inst_1 : Unique ι] {X S : C} (f : X ⟶ S) (X_1 : F.DescentDataAsCoalgebra fun x ↦ f) (i : ι),
  ((CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence F ι f).unitIso.inv.app X_1).hom i =
    CategoryTheory.eqToHom ⋯

theorem CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence_unitIso_hom_app_hom E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat))
  (ι : Type u_1) [inst_1 : Unique ι] {X S : C} (f : X ⟶ S) (X_1 : F.DescentDataAsCoalgebra fun x ↦ f) (i : ι),
  ((CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence F ι f).unitIso.hom.app X_1).hom i =
    CategoryTheory.eqToHom ⋯

def CategoryTheory.Pseudofunctor.toDescentDataAsCoalgebra E1 #

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

The functor (F.obj (.mk (op S))).obj ⥤ F.DescentDataAsCoalgebra f when f i : X i ⟶ S is a family of morphisms.

theorem CategoryTheory.Pseudofunctor.toDescentDataAsCoalgebra_obj_obj E0 #

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

theorem CategoryTheory.Pseudofunctor.toDescentDataAsCoalgebra_map_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat))
  {ι : Type t} {S : C} {X : ι → C} (f : (i : ι) → X i ⟶ S) {X_1 Y : ↑(F.obj { as := Opposite.op S }).obj} (g : X_1 ⟶ Y)
  (i : ι), ((F.toDescentDataAsCoalgebra f).map g).hom i = (F.map (f i).op.toLoc).l.toFunctor.map g

theorem CategoryTheory.Pseudofunctor.toDescentDataAsCoalgebra_obj_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat))
  {ι : Type t} {S : C} {X : ι → C} (f : (i : ι) → X i ⟶ S) (M : ↑(F.obj { as := Opposite.op S }).obj) (i₁ i₂ : ι),
  ((F.toDescentDataAsCoalgebra f).obj M).hom i₁ i₂ =
    (F.map (f i₁).op.toLoc).l.toFunctor.map ((F.map (f i₂).op.toLoc).adj.unit.toNatTrans.app M)

def CategoryTheory.Pseudofunctor.toDescentDataAsCoalgebraCompCoalgebraEquivalenceFunctorIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F :
        CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
          (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)} →
      (ι : Type u_2) →
        [inst_1 : Unique ι] →
          {X S : C} →
            (f : X ⟶ S) →
              (F.toDescentDataAsCoalgebra fun x ↦ f).comp
                  (CategoryTheory.Pseudofunctor.DescentDataAsCoalgebra.coalgebraEquivalence F ι f).functor ≅
                CategoryTheory.Comonad.comparison (CategoryTheory.Adjunction.ofCat (F.map f.op.toLoc).adj)

When ι contains a unique element and f : X ⟶ S is a morphism, the composition of F.toDescentDataAsCoalgebra (fun (_ : ι) ↦ f) and the functor of the equivalence DescentDataAsCoalgebra.coalgebraEquivalence F ι f identifies to Comonad.comparison applied to the adjunction corresponding to F.map f.op.toLoc.

theorem CategoryTheory.Pseudofunctor.toDescentDataAsCoalgebraCompCoalgebraEquivalenceFunctorIso_inv_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)}
  (ι : Type u_2) [inst_1 : Unique ι] {X S : C} (f : X ⟶ S) (X_1 : ↑(F.obj { as := Opposite.op S }).obj),
  ((CategoryTheory.Pseudofunctor.toDescentDataAsCoalgebraCompCoalgebraEquivalenceFunctorIso ι f).inv.app X_1).f =
    CategoryTheory.CategoryStruct.id ((F.map f.op.toLoc).l.toFunctor.obj X_1)

theorem CategoryTheory.Pseudofunctor.toDescentDataAsCoalgebraCompCoalgebraEquivalenceFunctorIso_hom_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)}
  (ι : Type u_2) [inst_1 : Unique ι] {X S : C} (f : X ⟶ S) (X_1 : ↑(F.obj { as := Opposite.op S }).obj),
  ((CategoryTheory.Pseudofunctor.toDescentDataAsCoalgebraCompCoalgebraEquivalenceFunctorIso ι f).hom.app X_1).f =
    CategoryTheory.CategoryStruct.id ((F.map f.op.toLoc).l.toFunctor.obj X_1)

theorem CategoryTheory.Pseudofunctor.isEquivalence_toDescentDataAsCoalgebra_iff_isEquivalence_comonadComparison E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F :
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete Cᵒᵖ)
      (CategoryTheory.Bicategory.Adj CategoryTheory.Cat)}
  (ι : Type u_1) [Unique ι] {X S : C} (f : X ⟶ S),
  (F.toDescentDataAsCoalgebra fun x ↦ f).IsEquivalence ↔
    (CategoryTheory.Comonad.comparison (CategoryTheory.Adjunction.ofCat (F.map f.op.toLoc).adj)).IsEquivalence