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

22 declarations. Mathlib docs · Source

abbrev CategoryTheory.Cat.chosenTerminal E1 #

CategoryTheory.Cat

The chosen terminal object in Cat.

def CategoryTheory.Cat.chosenTerminalIsTerminal E1 #

CategoryTheory.Limits.IsTerminal CategoryTheory.Cat.chosenTerminal

The chosen terminal object in Cat is terminal.

def CategoryTheory.Cat.fromChosenTerminalEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → CategoryTheory.Functor (↑CategoryTheory.Cat.chosenTerminal) C ≃ C

The type of functors out of the chosen terminal category is equivalent to the type of objects in the target category. TODO: upgrade to an equivalence of categories.

def CategoryTheory.Cat.prodCone E1 #

(C D : CategoryTheory.Cat) → CategoryTheory.Limits.BinaryFan C D

The chosen product of categories C × D yields a product cone in Cat.

def CategoryTheory.Cat.isLimitProdCone E1 #

(X Y : CategoryTheory.Cat) → CategoryTheory.Limits.IsLimit (X.prodCone Y)

The product cone in Cat is indeed a product.

instance CategoryTheory.Cat.instCartesianMonoidalCategory E0 #

CategoryTheory.CartesianMonoidalCategory CategoryTheory.Cat

instance CategoryTheory.Cat.instBraidedCategory E0 #

CategoryTheory.BraidedCategory CategoryTheory.Cat

theorem CategoryTheory.Monoidal.tensorObj E1 #

∀ (C D : CategoryTheory.Cat), CategoryTheory.MonoidalCategoryStruct.tensorObj C D = ↧(↑C × ↑D)

theorem CategoryTheory.Monoidal.whiskerLeft E1 #

∀ (X : CategoryTheory.Cat) {A B : CategoryTheory.Cat} (F : A ⟶ B),
  CategoryTheory.MonoidalCategoryStruct.whiskerLeft X F = ((CategoryTheory.Functor.id ↑X).prod F.toFunctor).toCatHom

theorem CategoryTheory.Monoidal.whiskerLeft_fst E1 #

∀ (X : CategoryTheory.Cat) {A B : CategoryTheory.Cat} (f : A ⟶ B),
  (CategoryTheory.MonoidalCategoryStruct.whiskerLeft X f).toFunctor.comp (CategoryTheory.Prod.fst ↑X ↑B) =
    CategoryTheory.Prod.fst ↑X ↑A

theorem CategoryTheory.Monoidal.whiskerLeft_snd E1 #

∀ (X : CategoryTheory.Cat) {A B : CategoryTheory.Cat} (f : A ⟶ B),
  (CategoryTheory.MonoidalCategoryStruct.whiskerLeft X f).toFunctor.comp (CategoryTheory.Prod.snd ↑X ↑B) =
    (CategoryTheory.Prod.snd ↑X ↑A).comp f.toFunctor

theorem CategoryTheory.Monoidal.whiskerRight E1 #

∀ {A B : CategoryTheory.Cat} (f : A ⟶ B) (X : CategoryTheory.Cat),
  CategoryTheory.MonoidalCategoryStruct.whiskerRight f X = (f.toFunctor.prod (CategoryTheory.Functor.id ↑X)).toCatHom

theorem CategoryTheory.Monoidal.whiskerRight_fst E1 #

∀ {A B : CategoryTheory.Cat} (f : A ⟶ B) (X : CategoryTheory.Cat),
  (CategoryTheory.MonoidalCategoryStruct.whiskerRight f X).toFunctor.comp (CategoryTheory.Prod.fst ↑B ↑X) =
    (CategoryTheory.Prod.fst ↑A ↑X).comp f.toFunctor

theorem CategoryTheory.Monoidal.whiskerRight_snd E1 #

∀ {A B : CategoryTheory.Cat} (f : A ⟶ B) (X : CategoryTheory.Cat),
  (CategoryTheory.MonoidalCategoryStruct.whiskerRight f X).toFunctor.comp (CategoryTheory.Prod.snd ↑B ↑X) =
    CategoryTheory.Prod.snd ↑A ↑X

theorem CategoryTheory.Monoidal.tensorHom E1 #

∀ {A B : CategoryTheory.Cat} (f : A ⟶ B) {X Y : CategoryTheory.Cat} (g : X ⟶ Y),
  CategoryTheory.MonoidalCategoryStruct.tensorHom f g = (f.toFunctor.prod g.toFunctor).toCatHom

theorem CategoryTheory.Monoidal.tensorUnit E1 #

CategoryTheory.MonoidalCategoryStruct.tensorUnit CategoryTheory.Cat = CategoryTheory.Cat.chosenTerminal

theorem CategoryTheory.Monoidal.associator_hom E1 #

∀ (X Y Z : CategoryTheory.Cat),
  (CategoryTheory.MonoidalCategoryStruct.associator X Y Z).hom =
    (((CategoryTheory.Prod.fst (↑X × ↑Y) ↑Z).comp (CategoryTheory.Prod.fst ↑X ↑Y)).prod'
        (((CategoryTheory.Prod.fst (↑X × ↑Y) ↑Z).comp (CategoryTheory.Prod.snd ↑X ↑Y)).prod'
          (CategoryTheory.Prod.snd (↑X × ↑Y) ↑Z))).toCatHom

theorem CategoryTheory.Monoidal.associator_inv E1 #

∀ (X Y Z : CategoryTheory.Cat),
  (CategoryTheory.MonoidalCategoryStruct.associator X Y Z).inv =
    (((CategoryTheory.Prod.fst (↑X) (↑Y × ↑Z)).prod'
            ((CategoryTheory.Prod.snd (↑X) (↑Y × ↑Z)).comp (CategoryTheory.Prod.fst ↑Y ↑Z))).prod'
        ((CategoryTheory.Prod.snd (↑X) (↑Y × ↑Z)).comp (CategoryTheory.Prod.snd ↑Y ↑Z))).toCatHom

theorem CategoryTheory.Monoidal.leftUnitor_hom E1 #

∀ (C : CategoryTheory.Cat),
  (CategoryTheory.MonoidalCategoryStruct.leftUnitor C).hom =
    (CategoryTheory.Prod.snd ↑(CategoryTheory.MonoidalCategoryStruct.tensorUnit CategoryTheory.Cat) ↑C).toCatHom

theorem CategoryTheory.Monoidal.leftUnitor_inv E1 #

∀ (C : CategoryTheory.Cat),
  (CategoryTheory.MonoidalCategoryStruct.leftUnitor C).inv =
    (CategoryTheory.Prod.sectR { down := { as := PUnit.unit } } ↑C).toCatHom

theorem CategoryTheory.Monoidal.rightUnitor_hom E1 #

∀ (C : CategoryTheory.Cat),
  (CategoryTheory.MonoidalCategoryStruct.rightUnitor C).hom =
    (CategoryTheory.Prod.fst ↑C ↑(CategoryTheory.MonoidalCategoryStruct.tensorUnit CategoryTheory.Cat)).toCatHom

theorem CategoryTheory.Monoidal.rightUnitor_inv E1 #

∀ (C : CategoryTheory.Cat),
  (CategoryTheory.MonoidalCategoryStruct.rightUnitor C).inv =
    (CategoryTheory.Prod.sectL ↑C { down := { as := PUnit.unit } }).toCatHom