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.Monoidal.Closed.FunctorToTypes

10 declarations. Mathlib docs · Source

def CategoryTheory.FunctorToTypes.functorHomEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F G H : CategoryTheory.Functor C (Type (max w v u))) →
      (G ⟶ F.functorHom H) ≃ (CategoryTheory.MonoidalCategoryStruct.tensorObj F G ⟶ H)

When F G H : C ⥤ Type max w v u, we have (G ⟶ F.functorHom H) ≃ (F ⊗ G ⟶ H).

theorem CategoryTheory.FunctorToTypes.functorHomEquiv_symm_apply_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G H : CategoryTheory.Functor C (Type (max w v u)))
  (a : CategoryTheory.MonoidalCategoryStruct.tensorObj F G ⟶ H) (X : C),
  ((CategoryTheory.FunctorToTypes.functorHomEquiv F G H).symm a).app X =
    TypeCat.ofHom fun a_1 ↦
      {
        app := fun Y f ↦
          TypeCat.ofHom fun x ↦
            (CategoryTheory.ConcreteCategory.hom (a.app Y)) (x, (CategoryTheory.ConcreteCategory.hom (G.map f)) a_1),
        naturality := ⋯ }

theorem CategoryTheory.FunctorToTypes.functorHomEquiv_apply_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G H : CategoryTheory.Functor C (Type (max w v u)))
  (a : G ⟶ F.functorHom H) (X : C),
  ((CategoryTheory.FunctorToTypes.functorHomEquiv F G H) a).app X =
    TypeCat.ofHom fun x ↦
      match x with
      | (x, y) =>
        (CategoryTheory.ConcreteCategory.hom
            (((CategoryTheory.ConcreteCategory.hom (a.app X)) y).app X (CategoryTheory.CategoryStruct.id X)))
          x

def CategoryTheory.FunctorToTypes.rightAdj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    CategoryTheory.Functor C (Type (max w v u)) →
      CategoryTheory.Functor (CategoryTheory.Functor C (Type (max w v u))) (CategoryTheory.Functor C (Type (max w v u)))

A right adjoint of tensorLeft F.

theorem CategoryTheory.FunctorToTypes.rightAdj_map_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F : CategoryTheory.Functor C (Type (max w v u)))
  {X Y : CategoryTheory.Functor C (Type (max w v u))} (f : X ⟶ Y) (X_1 : C),
  ((CategoryTheory.FunctorToTypes.rightAdj F).map f).app X_1 =
    TypeCat.ofHom fun a ↦ { app := fun d b ↦ CategoryTheory.CategoryStruct.comp (a.app d b) (f.app d), naturality := ⋯ }

theorem CategoryTheory.FunctorToTypes.rightAdj_obj_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type (max w v u))) {X Y : C}
  (f : X ⟶ Y),
  ((CategoryTheory.FunctorToTypes.rightAdj F).obj G).map f =
    TypeCat.ofHom fun x ↦ { app := fun X_1 a ↦ x.app X_1 (CategoryTheory.CategoryStruct.comp f a), naturality := ⋯ }

theorem CategoryTheory.FunctorToTypes.rightAdj_obj_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type (max w v u))) (X : C),
  ((CategoryTheory.FunctorToTypes.rightAdj F).obj G).obj X = F.HomObj G (CategoryTheory.coyoneda.obj (Opposite.op X))

def CategoryTheory.FunctorToTypes.adj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Functor C (Type (max w v u))) →
      CategoryTheory.MonoidalCategory.tensorLeft F ⊣ CategoryTheory.FunctorToTypes.rightAdj F

The adjunction tensorLeft F ⊣ rightAdj F.

instance CategoryTheory.FunctorToTypes.closed E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Functor C (Type (max w v u))) → CategoryTheory.Closed F

instance CategoryTheory.FunctorToTypes.monoidalClosed E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    CategoryTheory.MonoidalClosed (CategoryTheory.Functor C (Type (max w v u)))