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.Adjunction.Cat

21 declarations. Mathlib docs · Source

def CategoryTheory.Adjunction.toCat E1 #

{C D : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Category.{v, u} D] →
      {F : CategoryTheory.Functor C D} →
        {G : CategoryTheory.Functor D C} → (F ⊣ G) → CategoryTheory.Bicategory.Adjunction F.toCatHom G.toCatHom

The adjunction in the bicategorical sense attached to an adjunction between functors.

theorem CategoryTheory.Adjunction.toCat_counit_toNatTrans E0 #

∀ {C D : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Category.{v, u} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G),
  adj.toCat.counit.toNatTrans = adj.counit

theorem CategoryTheory.Adjunction.toCat_unit_toNatTrans E0 #

∀ {C D : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Category.{v, u} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G), adj.toCat.unit.toNatTrans = adj.unit

def CategoryTheory.Adjunction.ofCat E1 #

{C D : CategoryTheory.Cat} →
  {F : C ⟶ D} → {G : D ⟶ C} → CategoryTheory.Bicategory.Adjunction F G → (F.toFunctor ⊣ G.toFunctor)

The adjunction of functors corresponding to an adjunction in the bicategory Cat.

theorem CategoryTheory.Adjunction.ofCat_counit E0 #

∀ {C D : CategoryTheory.Cat} {F : C ⟶ D} {G : D ⟶ C} (adj : CategoryTheory.Bicategory.Adjunction F G),
  (CategoryTheory.Adjunction.ofCat adj).counit = adj.counit.toNatTrans

theorem CategoryTheory.Adjunction.ofCat_unit E0 #

∀ {C D : CategoryTheory.Cat} {F : C ⟶ D} {G : D ⟶ C} (adj : CategoryTheory.Bicategory.Adjunction F G),
  (CategoryTheory.Adjunction.ofCat adj).unit = adj.unit.toNatTrans

theorem CategoryTheory.Adjunction.toCat_ofCat E0 #

∀ {C D : CategoryTheory.Cat} {F : C ⟶ D} {G : D ⟶ C} (adj : CategoryTheory.Bicategory.Adjunction F G),
  (CategoryTheory.Adjunction.ofCat adj).toCat = adj

theorem CategoryTheory.Adjunction.ofCat_toCat E0 #

∀ {C D : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Category.{v, u} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G),
  CategoryTheory.Adjunction.ofCat adj.toCat = adj

theorem CategoryTheory.Adjunction.toCat_comp_toCat E1 #

∀ {C D E : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Category.{v, u} D]
  [inst_2 : CategoryTheory.Category.{v, u} E] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {F' : CategoryTheory.Functor D E} {G' : CategoryTheory.Functor E D} (adj' : F' ⊣ G'),
  adj.toCat.comp adj'.toCat = (adj.comp adj').toCat

theorem CategoryTheory.Bicategory.Adjunction.ofCat_id E0 #

∀ (C : CategoryTheory.Cat),
  CategoryTheory.Adjunction.ofCat (CategoryTheory.Bicategory.Adjunction.id C) = CategoryTheory.Adjunction.id

theorem CategoryTheory.Bicategory.Adjunction.ofCat_comp E1 #

∀ {C D E : CategoryTheory.Cat} {F : C ⟶ D} {G : D ⟶ C} (adj : CategoryTheory.Bicategory.Adjunction F G) {F' : D ⟶ E}
  {G' : E ⟶ D} (adj' : CategoryTheory.Bicategory.Adjunction F' G'),
  CategoryTheory.Adjunction.ofCat (adj.comp adj') =
    (CategoryTheory.Adjunction.ofCat adj).comp (CategoryTheory.Adjunction.ofCat adj')

theorem CategoryTheory.Bicategory.toNatTrans_mateEquiv E1 #

∀ {C D E F : CategoryTheory.Cat} {G : C ⟶ E} {H : D ⟶ F} {L₁ : C ⟶ D} {R₁ : D ⟶ C} {L₂ : E ⟶ F} {R₂ : F ⟶ E}
  (adj₁ : CategoryTheory.Bicategory.Adjunction L₁ R₁) (adj₂ : CategoryTheory.Bicategory.Adjunction L₂ R₂)
  (f : CategoryTheory.CategoryStruct.comp G L₂ ⟶ CategoryTheory.CategoryStruct.comp L₁ H),
  ((CategoryTheory.Bicategory.mateEquiv adj₁ adj₂) f).toNatTrans =
    (CategoryTheory.mateEquiv (CategoryTheory.Adjunction.ofCat adj₁) (CategoryTheory.Adjunction.ofCat adj₂))
      f.toNatTrans

theorem CategoryTheory.Bicategory.toNatTrans_conjugateEquiv E1 #

∀ {C D : CategoryTheory.Cat} {L₁ L₂ : C ⟶ D} {R₁ R₂ : D ⟶ C} (adj₁ : CategoryTheory.Bicategory.Adjunction L₁ R₁)
  (adj₂ : CategoryTheory.Bicategory.Adjunction L₂ R₂) (f : L₂ ⟶ L₁),
  ((CategoryTheory.Bicategory.conjugateEquiv adj₁ adj₂) f).toNatTrans =
    (CategoryTheory.conjugateEquiv (CategoryTheory.Adjunction.ofCat adj₁) (CategoryTheory.Adjunction.ofCat adj₂))
      f.toNatTrans

theorem CategoryTheory.Bicategory.Adj.left_triangle_components_assoc E0 #

∀ {C₁ C₂ : CategoryTheory.Bicategory.Adj CategoryTheory.Cat} (α : C₁ ⟶ C₂) (X : ↑C₁.obj) {Z : ↑C₂.obj}
  (h : (CategoryTheory.CategoryStruct.id C₂.obj).toFunctor.obj (α.l.toFunctor.obj X) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (α.l.toFunctor.map (α.adj.unit.toNatTrans.app X))
      (CategoryTheory.CategoryStruct.comp (α.adj.counit.toNatTrans.app (α.l.toFunctor.obj X)) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id (α.l.toFunctor.obj X)) h

theorem CategoryTheory.Bicategory.Adj.left_triangle_components E0 #

∀ {C₁ C₂ : CategoryTheory.Bicategory.Adj CategoryTheory.Cat} (α : C₁ ⟶ C₂) (X : ↑C₁.obj),
  CategoryTheory.CategoryStruct.comp (α.l.toFunctor.map (α.adj.unit.toNatTrans.app X))
      (α.adj.counit.toNatTrans.app (α.l.toFunctor.obj X)) =
    CategoryTheory.CategoryStruct.id (α.l.toFunctor.obj X)

theorem CategoryTheory.Bicategory.Adj.right_triangle_components E0 #

∀ {C₁ C₂ : CategoryTheory.Bicategory.Adj CategoryTheory.Cat} (α : C₁ ⟶ C₂) (X : ↑C₂.obj),
  CategoryTheory.CategoryStruct.comp (α.adj.unit.toNatTrans.app (α.r.toFunctor.obj X))
      (α.r.toFunctor.map (α.adj.counit.toNatTrans.app X)) =
    CategoryTheory.CategoryStruct.id (α.r.toFunctor.obj X)

theorem CategoryTheory.Bicategory.Adj.right_triangle_components_assoc E0 #

∀ {C₁ C₂ : CategoryTheory.Bicategory.Adj CategoryTheory.Cat} (α : C₁ ⟶ C₂) (X : ↑C₂.obj) {Z : ↑C₁.obj}
  (h : α.r.toFunctor.obj ((CategoryTheory.CategoryStruct.id C₂.obj).toFunctor.obj X) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (α.adj.unit.toNatTrans.app (α.r.toFunctor.obj X))
      (CategoryTheory.CategoryStruct.comp (α.r.toFunctor.map (α.adj.counit.toNatTrans.app X)) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id (α.r.toFunctor.obj X)) h

theorem CategoryTheory.Bicategory.Adj.unit_naturality E0 #

∀ {C₁ C₂ : CategoryTheory.Bicategory.Adj CategoryTheory.Cat} (α : C₁ ⟶ C₂) {X Y : ↑C₁.obj} (f : X ⟶ Y),
  CategoryTheory.CategoryStruct.comp (α.adj.unit.toNatTrans.app X) (α.r.toFunctor.map (α.l.toFunctor.map f)) =
    CategoryTheory.CategoryStruct.comp f (α.adj.unit.toNatTrans.app Y)

theorem CategoryTheory.Bicategory.Adj.unit_naturality_assoc E0 #

∀ {C₁ C₂ : CategoryTheory.Bicategory.Adj CategoryTheory.Cat} (α : C₁ ⟶ C₂) {X Y : ↑C₁.obj} (f : X ⟶ Y) {Z : ↑C₁.obj}
  (h : α.r.toFunctor.obj (α.l.toFunctor.obj Y) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (α.adj.unit.toNatTrans.app X)
      (CategoryTheory.CategoryStruct.comp (α.r.toFunctor.map (α.l.toFunctor.map f)) h) =
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp (α.adj.unit.toNatTrans.app Y) h)

theorem CategoryTheory.Bicategory.Adj.counit_naturality E0 #

∀ {C₁ C₂ : CategoryTheory.Bicategory.Adj CategoryTheory.Cat} (α : C₁ ⟶ C₂) {X Y : ↑C₂.obj} (f : X ⟶ Y),
  CategoryTheory.CategoryStruct.comp (α.l.toFunctor.map (α.r.toFunctor.map f)) (α.adj.counit.toNatTrans.app Y) =
    CategoryTheory.CategoryStruct.comp (α.adj.counit.toNatTrans.app X) f

theorem CategoryTheory.Bicategory.Adj.counit_naturality_assoc E0 #

∀ {C₁ C₂ : CategoryTheory.Bicategory.Adj CategoryTheory.Cat} (α : C₁ ⟶ C₂) {X Y : ↑C₂.obj} (f : X ⟶ Y) {Z : ↑C₂.obj}
  (h : (CategoryTheory.CategoryStruct.id C₂.obj).toFunctor.obj Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (α.l.toFunctor.map (α.r.toFunctor.map f))
      (CategoryTheory.CategoryStruct.comp (α.adj.counit.toNatTrans.app Y) h) =
    CategoryTheory.CategoryStruct.comp (α.adj.counit.toNatTrans.app X) (CategoryTheory.CategoryStruct.comp f h)