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 / V24. Category theory

Mathlib.CategoryTheory.Bicategory.Grothendieck

82 declarations. Mathlib docs · Source

The Grothendieck and CoGrothendieck constructions

The Grothendieck construction

Given a category 𝒮 and any pseudofunctor F from 𝒮 to Cat, we associate to it a category ∫ F, defined as follows:

  • Objects: pairs (S, a) where S is an object of the base category and a is an object of the category F(S).
  • Morphisms: morphisms (R, b) ⟶ (S, a) are defined as pairs (f, h) where f : R ⟶ S is a morphism in 𝒮 and h : F(f)(a) ⟶ b

The category ∫ F is equipped with a projection functor ∫ F ⥤ 𝒮, given by projecting to the first factors, i.e.

  • On objects, it sends (S, a) to S
  • On morphisms, it sends (f, h) to f

The CoGrothendieck construction

Given a category 𝒮 and any pseudofunctor F from 𝒮ᵒᵖ to Cat, we associate to it a category ∫ᶜ F, defined as follows:

  • Objects: pairs (S, a) where S is an object of the base category and a is an object of the category F(S).
  • Morphisms: morphisms (R, b) ⟶ (S, a) are defined as pairs (f, h) where f : R ⟶ S is a morphism in 𝒮 and h : b ⟶ F(f)(a)

The category ∫ᶜ F is equipped with a functor ∫ᶜ F ⥤ 𝒮, given by projecting to the first factors, i.e.

  • On objects, it sends (S, a) to S
  • On morphisms, it sends (f, h) to f

Naming conventions

The name Grothendieck is reserved for the construction on covariant pseudofunctors from 𝒮 to Cat, whereas the word CoGrothendieck is used for the contravariant construction. This is consistent with the convention for the Grothendieck construction on 1-functors CategoryTheory.Grothendieck.

TODO

  1. Once the bicategory of pseudofunctors has been defined, show that this construction forms a pseudofunctor from LocallyDiscrete 𝒮 ⥤ᵖ Catᵒᵖ to Cat.
  2. Deduce the results in CategoryTheory.Grothendieck as a specialization of Pseudofunctor.Grothendieck.

References

[vistoli2004] "Notes on Grothendieck Topologies, Fibered Categories and Descent Theory" by Angelo Vistoli

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

∀ {𝒮 : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} 𝒮}
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} {base : 𝒮}
  {fiber : ↑(F.obj { as := base })} {base_1 : 𝒮} {fiber_1 : ↑(F.obj { as := base_1 })},
  { base := base, fiber := fiber } = { base := base_1, fiber := fiber_1 } → base = base_1 ∧ fiber ≍ fiber_1

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

∀ {𝒮 : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} 𝒮}
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} {base : 𝒮}
  {fiber : ↑(F.obj { as := Opposite.op base })} {base_1 : 𝒮} {fiber_1 : ↑(F.obj { as := Opposite.op base_1 })},
  { base := base, fiber := fiber } = { base := base_1, fiber := fiber_1 } → base = base_1 ∧ fiber ≍ fiber_1

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

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} (base : 𝒮)
  (fiber : ↑(F.obj { as := base })) (base_1 : 𝒮) (fiber_1 : ↑(F.obj { as := base_1 })),
  ({ base := base, fiber := fiber } = { base := base_1, fiber := fiber_1 }) = (base = base_1 ∧ fiber ≍ fiber_1)

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

{𝒮 : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} 𝒮} →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} →
      {X Y : F.Grothendieck} → X.Hom Y → ℕ

def CategoryTheory.Pseudofunctor.Grothendieck.ctorIdx E1 #

{𝒮 : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} 𝒮} →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} → F.Grothendieck → ℕ

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

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} {X Y : F.Grothendieck}
  (base : X.base ⟶ Y.base) (fiber : (F.map base.toLoc).toFunctor.obj X.fiber ⟶ Y.fiber) (base_1 : X.base ⟶ Y.base)
  (fiber_1 : (F.map base_1.toLoc).toFunctor.obj X.fiber ⟶ Y.fiber),
  ({ base := base, fiber := fiber } = { base := base_1, fiber := fiber_1 }) = (base = base_1 ∧ fiber ≍ fiber_1)

def CategoryTheory.Pseudofunctor.CoGrothendieck.ctorIdx E1 #

{𝒮 : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} 𝒮} →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} → F.CoGrothendieck → ℕ

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

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} (base : 𝒮)
  (fiber : ↑(F.obj { as := Opposite.op base })) (base_1 : 𝒮) (fiber_1 : ↑(F.obj { as := Opposite.op base_1 })),
  ({ base := base, fiber := fiber } = { base := base_1, fiber := fiber_1 }) = (base = base_1 ∧ fiber ≍ fiber_1)

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

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} {X Y : F.CoGrothendieck}
  (base : X.base ⟶ Y.base) (fiber : X.fiber ⟶ (F.map base.op.toLoc).toFunctor.obj Y.fiber) (base_1 : X.base ⟶ Y.base)
  (fiber_1 : X.fiber ⟶ (F.map base_1.op.toLoc).toFunctor.obj Y.fiber),
  ({ base := base, fiber := fiber } = { base := base_1, fiber := fiber_1 }) = (base = base_1 ∧ fiber ≍ fiber_1)

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

{𝒮 : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} 𝒮} →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} →
      {X Y : F.CoGrothendieck} → X.Hom Y → ℕ

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

∀ {𝒮 : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} 𝒮}
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} {X Y : F.CoGrothendieck}
  {base : X.base ⟶ Y.base} {fiber : X.fiber ⟶ (F.map base.op.toLoc).toFunctor.obj Y.fiber} {base_1 : X.base ⟶ Y.base}
  {fiber_1 : X.fiber ⟶ (F.map base_1.op.toLoc).toFunctor.obj Y.fiber},
  { base := base, fiber := fiber } = { base := base_1, fiber := fiber_1 } → base = base_1 ∧ fiber ≍ fiber_1

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

∀ {𝒮 : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} 𝒮}
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} {X Y : F.Grothendieck}
  {base : X.base ⟶ Y.base} {fiber : (F.map base.toLoc).toFunctor.obj X.fiber ⟶ Y.fiber} {base_1 : X.base ⟶ Y.base}
  {fiber_1 : (F.map base_1.toLoc).toFunctor.obj X.fiber ⟶ Y.fiber},
  { base := base, fiber := fiber } = { base := base_1, fiber := fiber_1 } → base = base_1 ∧ fiber ≍ fiber_1

structure CategoryTheory.Pseudofunctor.Grothendieck E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat → Type (max u₁ u₂)

The type of objects in the fibered category associated to a pseudofunctor from a 1-category to Cat.

theorem CategoryTheory.Pseudofunctor.Grothendieck.ext_iff E0 #

∀ {𝒮 : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} 𝒮}
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} {x y : F.Grothendieck},
  x = y ↔ x.base = y.base ∧ x.fiber ≍ y.fiber

theorem CategoryTheory.Pseudofunctor.Grothendieck.ext E1 #

∀ {𝒮 : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} 𝒮}
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} {x y : F.Grothendieck},
  x.base = y.base → x.fiber ≍ y.fiber → x = y

ctor CategoryTheory.Pseudofunctor.Grothendieck.mk E0 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} →
      (base : 𝒮) → ↑(F.obj { as := base }) → F.Grothendieck

abbrev CategoryTheory.Pseudofunctor.Grothendieck.base E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} → F.Grothendieck → 𝒮

The underlying object in the base category.

abbrev CategoryTheory.Pseudofunctor.Grothendieck.fiber E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} →
      (self : F.Grothendieck) → ↑(F.obj { as := self.base })

The object in the fiber of the base object.

def CategoryTheory.Pseudofunctor.Grothendieck.«term∫_» E1 #

Lean.ParserDescr

Notation for the Grothendieck category associated to a pseudofunctor F.

structure CategoryTheory.Pseudofunctor.Grothendieck.Hom E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} →
      F.Grothendieck → F.Grothendieck → Type (max v₁ v₂)

A morphism in the Grothendieck construction ∫ F between two points X Y : ∫ F consists of a morphism in the base category base : X.base ⟶ Y.base and a morphism in a fiber f.fiber : (F.map base).obj X.fiber ⟶ Y.fiber.

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

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} →
      {X Y : F.Grothendieck} → (base : X.base ⟶ Y.base) → ((F.map base.toLoc).toFunctor.obj X.fiber ⟶ Y.fiber) → X.Hom Y

abbrev CategoryTheory.Pseudofunctor.Grothendieck.Hom.base E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} →
      {X Y : F.Grothendieck} → X.Hom Y → (X.base ⟶ Y.base)

The morphism between base objects.

abbrev CategoryTheory.Pseudofunctor.Grothendieck.Hom.fiber E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} →
      {X Y : F.Grothendieck} → (self : X.Hom Y) → (F.map self.base.toLoc).toFunctor.obj X.fiber ⟶ Y.fiber

The morphism in the fiber over the domain.

instance CategoryTheory.Pseudofunctor.Grothendieck.categoryStruct E0 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} →
      CategoryTheory.CategoryStruct.{max v₂ v₁, max u₂ u₁} F.Grothendieck

theorem CategoryTheory.Pseudofunctor.Grothendieck.categoryStruct_id_fiber E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} (X : F.Grothendieck),
  (CategoryTheory.CategoryStruct.id X).fiber = (F.mapId { as := X.base }).hom.toNatTrans.app X.fiber

theorem CategoryTheory.Pseudofunctor.Grothendieck.categoryStruct_id_base E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} (X : F.Grothendieck),
  (CategoryTheory.CategoryStruct.id X).base = CategoryTheory.CategoryStruct.id X.base

theorem CategoryTheory.Pseudofunctor.Grothendieck.categoryStruct_comp_base E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} {X x x_1 : F.Grothendieck}
  (f : X.Hom x) (g : x.Hom x_1),
  (CategoryTheory.CategoryStruct.comp f g).base = CategoryTheory.CategoryStruct.comp f.base g.base

theorem CategoryTheory.Pseudofunctor.Grothendieck.categoryStruct_comp_fiber E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} {X x x_1 : F.Grothendieck}
  (f : X.Hom x) (g : x.Hom x_1),
  (CategoryTheory.CategoryStruct.comp f g).fiber =
    CategoryTheory.CategoryStruct.comp ((F.mapComp f.base.toLoc g.base.toLoc).hom.toNatTrans.app X.fiber)
      (CategoryTheory.CategoryStruct.comp ((F.map g.base.toLoc).toFunctor.map f.fiber) g.fiber)

instance CategoryTheory.Pseudofunctor.Grothendieck.instInhabitedHom E0 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} →
      (X : F.Grothendieck) → Inhabited (X.Hom X)

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

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} {a b : F.Grothendieck}
  (f g : a ⟶ b) (hfg₁ : f.base = g.base),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯) f.fiber = g.fiber → f = g

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

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} {a b : F.Grothendieck}
  (f g : a ⟶ b),
  f = g ↔ ∃ (hfg : f.base = g.base), CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯) f.fiber = g.fiber

theorem CategoryTheory.Pseudofunctor.Grothendieck.Hom.congr E1 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} {a b : F.Grothendieck}
  {f g : a ⟶ b} (h : f = g), f.fiber = CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯) g.fiber

instance CategoryTheory.Pseudofunctor.Grothendieck.category E0 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} →
      CategoryTheory.Category.{max v₁ v₂, max u₂ u₁} F.Grothendieck

The category structure on ∫ F.

def CategoryTheory.Pseudofunctor.Grothendieck.forget E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat) →
      CategoryTheory.Functor F.Grothendieck 𝒮

The projection ∫ F ⥤ 𝒮 given by projecting both objects and homs to the first factor.

theorem CategoryTheory.Pseudofunctor.Grothendieck.forget_map E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat) {X Y : F.Grothendieck}
  (f : X ⟶ Y), (CategoryTheory.Pseudofunctor.Grothendieck.forget F).map f = f.base

theorem CategoryTheory.Pseudofunctor.Grothendieck.forget_obj E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat) (X : F.Grothendieck),
  (CategoryTheory.Pseudofunctor.Grothendieck.forget F).obj X = X.base

def CategoryTheory.Pseudofunctor.Grothendieck.map E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F G : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} →
      (F ⟶ G) → CategoryTheory.Functor F.Grothendieck G.Grothendieck

The Grothendieck construction is functorial: a strong natural transformation α : F ⟶ G induces a functor Grothendieck.map : ∫ F ⥤ ∫ G.

theorem CategoryTheory.Pseudofunctor.Grothendieck.map_obj_fiber E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F G : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} (α : F ⟶ G)
  (a : F.Grothendieck),
  ((CategoryTheory.Pseudofunctor.Grothendieck.map α).obj a).fiber = (α.app { as := a.base }).toFunctor.obj a.fiber

theorem CategoryTheory.Pseudofunctor.Grothendieck.map_map_fiber E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F G : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} (α : F ⟶ G)
  {a b : F.Grothendieck} (f : a ⟶ b),
  ((CategoryTheory.Pseudofunctor.Grothendieck.map α).map f).fiber =
    CategoryTheory.CategoryStruct.comp ((α.naturality f.base.toLoc).inv.toNatTrans.app a.fiber)
      ((α.app { as := b.base }).toFunctor.map f.fiber)

theorem CategoryTheory.Pseudofunctor.Grothendieck.map_obj_base E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F G : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} (α : F ⟶ G)
  (a : F.Grothendieck), ((CategoryTheory.Pseudofunctor.Grothendieck.map α).obj a).base = a.base

theorem CategoryTheory.Pseudofunctor.Grothendieck.map_map_base E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F G : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} (α : F ⟶ G)
  {a b : F.Grothendieck} (f : a ⟶ b), ((CategoryTheory.Pseudofunctor.Grothendieck.map α).map f).base = f.base

theorem CategoryTheory.Pseudofunctor.Grothendieck.map_id_map E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} {x y : F.Grothendieck}
  (f : x ⟶ y), (CategoryTheory.Pseudofunctor.Grothendieck.map (CategoryTheory.CategoryStruct.id F)).map f = f

theorem CategoryTheory.Pseudofunctor.Grothendieck.map_comp_forget E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F G : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} (α : F ⟶ G),
  (CategoryTheory.Pseudofunctor.Grothendieck.map α).comp (CategoryTheory.Pseudofunctor.Grothendieck.forget G) =
    CategoryTheory.Pseudofunctor.Grothendieck.forget F

def CategoryTheory.Pseudofunctor.Grothendieck.mapIdIso E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat) →
      CategoryTheory.Pseudofunctor.Grothendieck.map (CategoryTheory.CategoryStruct.id F) ≅
        CategoryTheory.Functor.id F.Grothendieck

The natural isomorphism witnessing the pseudo-unity constraint of Grothendieck.map.

theorem CategoryTheory.Pseudofunctor.Grothendieck.map_id_eq E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat),
  CategoryTheory.Pseudofunctor.Grothendieck.map (CategoryTheory.CategoryStruct.id F) =
    CategoryTheory.Functor.id F.Grothendieck

def CategoryTheory.Pseudofunctor.Grothendieck.mapCompIso E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F G H : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} →
      (α : F ⟶ G) →
        (β : G ⟶ H) →
          CategoryTheory.Pseudofunctor.Grothendieck.map (CategoryTheory.CategoryStruct.comp α β) ≅
            (CategoryTheory.Pseudofunctor.Grothendieck.map α).comp (CategoryTheory.Pseudofunctor.Grothendieck.map β)

The natural isomorphism witnessing the pseudo-functoriality of Grothendieck.map.

theorem CategoryTheory.Pseudofunctor.Grothendieck.map_comp_eq E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F G H : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮) CategoryTheory.Cat} (α : F ⟶ G) (β : G ⟶ H),
  CategoryTheory.Pseudofunctor.Grothendieck.map (CategoryTheory.CategoryStruct.comp α β) =
    (CategoryTheory.Pseudofunctor.Grothendieck.map α).comp (CategoryTheory.Pseudofunctor.Grothendieck.map β)

structure CategoryTheory.Pseudofunctor.CoGrothendieck E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat → Type (max u₁ u₂)

The type of objects in the fibered category associated to a contravariant pseudofunctor from a 1-category to Cat.

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.ext_iff E0 #

∀ {𝒮 : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} 𝒮}
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} {x y : F.CoGrothendieck},
  x = y ↔ x.base = y.base ∧ x.fiber ≍ y.fiber

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.ext E1 #

∀ {𝒮 : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} 𝒮}
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} {x y : F.CoGrothendieck},
  x.base = y.base → x.fiber ≍ y.fiber → x = y

ctor CategoryTheory.Pseudofunctor.CoGrothendieck.mk E0 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} →
      (base : 𝒮) → ↑(F.obj { as := Opposite.op base }) → F.CoGrothendieck

abbrev CategoryTheory.Pseudofunctor.CoGrothendieck.base E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} → F.CoGrothendieck → 𝒮

The underlying object in the base category.

abbrev CategoryTheory.Pseudofunctor.CoGrothendieck.fiber E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} →
      (self : F.CoGrothendieck) → ↑(F.obj { as := Opposite.op self.base })

The object in the fiber of the base object.

def CategoryTheory.Pseudofunctor.CoGrothendieck.«term∫ᶜ_» E1 #

Lean.ParserDescr

Notation for the CoGrothendieck category associated to a pseudofunctor F.

structure CategoryTheory.Pseudofunctor.CoGrothendieck.Hom E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} →
      F.CoGrothendieck → F.CoGrothendieck → Type (max v₁ v₂)

A morphism in the CoGrothendieck construction ∫ᶜ F between two points X Y : ∫ᶜ F consists of a morphism in the base category base : X.base ⟶ Y.base and a morphism in a fiber f.fiber : X.fiber ⟶ (F.map base.op.toLoc).obj Y.fiber.

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

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} →
      {X Y : F.CoGrothendieck} →
        (base : X.base ⟶ Y.base) → (X.fiber ⟶ (F.map base.op.toLoc).toFunctor.obj Y.fiber) → X.Hom Y

abbrev CategoryTheory.Pseudofunctor.CoGrothendieck.Hom.base E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} →
      {X Y : F.CoGrothendieck} → X.Hom Y → (X.base ⟶ Y.base)

The morphism between base objects.

abbrev CategoryTheory.Pseudofunctor.CoGrothendieck.Hom.fiber E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} →
      {X Y : F.CoGrothendieck} → (self : X.Hom Y) → X.fiber ⟶ (F.map self.base.op.toLoc).toFunctor.obj Y.fiber

The morphism in the fiber over the domain.

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.categoryStruct_id_base E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} (X : F.CoGrothendieck),
  (CategoryTheory.CategoryStruct.id X).base = CategoryTheory.CategoryStruct.id X.base

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.categoryStruct_id_fiber E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} (X : F.CoGrothendieck),
  (CategoryTheory.CategoryStruct.id X).fiber = (F.mapId { as := Opposite.op X.base }).inv.toNatTrans.app X.fiber

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.categoryStruct_comp_base E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat}
  {x x_1 Z : F.CoGrothendieck} (f : x.Hom x_1) (g : x_1.Hom Z),
  (CategoryTheory.CategoryStruct.comp f g).base = CategoryTheory.CategoryStruct.comp f.base g.base

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.categoryStruct_comp_fiber E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat}
  {x x_1 Z : F.CoGrothendieck} (f : x.Hom x_1) (g : x_1.Hom Z),
  (CategoryTheory.CategoryStruct.comp f g).fiber =
    CategoryTheory.CategoryStruct.comp f.fiber
      (CategoryTheory.CategoryStruct.comp ((F.map f.base.op.toLoc).toFunctor.map g.fiber)
        ((F.mapComp g.base.op.toLoc f.base.op.toLoc).inv.toNatTrans.app Z.fiber))

instance CategoryTheory.Pseudofunctor.CoGrothendieck.categoryStruct E0 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} →
      CategoryTheory.CategoryStruct.{max v₂ v₁, max u₂ u₁} F.CoGrothendieck

instance CategoryTheory.Pseudofunctor.CoGrothendieck.instInhabitedHom E0 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} →
      (X : F.CoGrothendieck) → Inhabited (X.Hom X)

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

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} {a b : F.CoGrothendieck}
  (f g : a ⟶ b) (hfg₁ : f.base = g.base),
  f.fiber = CategoryTheory.CategoryStruct.comp g.fiber (CategoryTheory.eqToHom ⋯) → f = g

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

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} {a b : F.CoGrothendieck}
  (f g : a ⟶ b),
  f = g ↔ ∃ (hfg : f.base = g.base), f.fiber = CategoryTheory.CategoryStruct.comp g.fiber (CategoryTheory.eqToHom ⋯)

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.Hom.congr E1 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} {a b : F.CoGrothendieck}
  {f g : a ⟶ b} (h : f = g), f.fiber = CategoryTheory.CategoryStruct.comp g.fiber (CategoryTheory.eqToHom ⋯)

instance CategoryTheory.Pseudofunctor.CoGrothendieck.category E0 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} →
      CategoryTheory.Category.{max v₁ v₂, max u₂ u₁} F.CoGrothendieck

The category structure on ∫ᶜ F.

def CategoryTheory.Pseudofunctor.CoGrothendieck.forget E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat) →
      CategoryTheory.Functor F.CoGrothendieck 𝒮

The projection ∫ᶜ F ⥤ 𝒮 given by projecting both objects and homs to the first factor.

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.forget_obj E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat) (X : F.CoGrothendieck),
  (CategoryTheory.Pseudofunctor.CoGrothendieck.forget F).obj X = X.base

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.forget_map E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat) {X Y : F.CoGrothendieck}
  (f : X ⟶ Y), (CategoryTheory.Pseudofunctor.CoGrothendieck.forget F).map f = f.base

def CategoryTheory.Pseudofunctor.CoGrothendieck.map E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F G : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} →
      (F ⟶ G) → CategoryTheory.Functor F.CoGrothendieck G.CoGrothendieck

The CoGrothendieck construction is functorial: a strong natural transformation α : F ⟶ G induces a functor CoGrothendieck.map : ∫ᶜ F ⥤ ∫ᶜ G.

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.map_map_base E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F G : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} (α : F ⟶ G)
  {a b : F.CoGrothendieck} (f : a ⟶ b), ((CategoryTheory.Pseudofunctor.CoGrothendieck.map α).map f).base = f.base

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.map_map_fiber E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F G : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} (α : F ⟶ G)
  {a b : F.CoGrothendieck} (f : a ⟶ b),
  ((CategoryTheory.Pseudofunctor.CoGrothendieck.map α).map f).fiber =
    CategoryTheory.CategoryStruct.comp ((α.app { as := Opposite.op a.base }).toFunctor.map f.fiber)
      ((α.naturality f.base.op.toLoc).hom.toNatTrans.app b.fiber)

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.map_obj_fiber E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F G : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} (α : F ⟶ G)
  (a : F.CoGrothendieck),
  ((CategoryTheory.Pseudofunctor.CoGrothendieck.map α).obj a).fiber =
    (α.app { as := Opposite.op a.base }).toFunctor.obj a.fiber

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.map_obj_base E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F G : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} (α : F ⟶ G)
  (a : F.CoGrothendieck), ((CategoryTheory.Pseudofunctor.CoGrothendieck.map α).obj a).base = a.base

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.map_id_map E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} {x y : F.CoGrothendieck}
  (f : x ⟶ y), (CategoryTheory.Pseudofunctor.CoGrothendieck.map (CategoryTheory.CategoryStruct.id F)).map f = f

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.map_comp_forget E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F G : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} (α : F ⟶ G),
  (CategoryTheory.Pseudofunctor.CoGrothendieck.map α).comp (CategoryTheory.Pseudofunctor.CoGrothendieck.forget G) =
    CategoryTheory.Pseudofunctor.CoGrothendieck.forget F

def CategoryTheory.Pseudofunctor.CoGrothendieck.mapIdIso E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat) →
      CategoryTheory.Pseudofunctor.CoGrothendieck.map (CategoryTheory.CategoryStruct.id F) ≅
        CategoryTheory.Functor.id F.CoGrothendieck

The natural isomorphism witnessing the pseudo-unity constraint of CoGrothendieck.map.

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.map_id_eq E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  (F : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat),
  CategoryTheory.Pseudofunctor.CoGrothendieck.map (CategoryTheory.CategoryStruct.id F) =
    CategoryTheory.Functor.id F.CoGrothendieck

def CategoryTheory.Pseudofunctor.CoGrothendieck.mapCompIso E1 #

{𝒮 : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} 𝒮] →
    {F G H : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} →
      (α : F ⟶ G) →
        (β : G ⟶ H) →
          CategoryTheory.Pseudofunctor.CoGrothendieck.map (CategoryTheory.CategoryStruct.comp α β) ≅
            (CategoryTheory.Pseudofunctor.CoGrothendieck.map α).comp (CategoryTheory.Pseudofunctor.CoGrothendieck.map β)

The natural isomorphism witnessing the pseudo-functoriality of CoGrothendieck.map.

theorem CategoryTheory.Pseudofunctor.CoGrothendieck.map_comp_eq E0 #

∀ {𝒮 : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} 𝒮]
  {F G H : CategoryTheory.Pseudofunctor (CategoryTheory.LocallyDiscrete 𝒮ᵒᵖ) CategoryTheory.Cat} (α : F ⟶ G)
  (β : G ⟶ H),
  CategoryTheory.Pseudofunctor.CoGrothendieck.map (CategoryTheory.CategoryStruct.comp α β) =
    (CategoryTheory.Pseudofunctor.CoGrothendieck.map α).comp (CategoryTheory.Pseudofunctor.CoGrothendieck.map β)