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.Enriched.EnrichedCat

20 declarations. Mathlib docs · Source

def CategoryTheory.EnrichedCat E1 #

(V : Type v) →
  [inst : CategoryTheory.Category.{w, v} V] → [CategoryTheory.MonoidalCategory V] → Type (max (u + 1) (max u v) w)

Category of V-enriched categories for a monoidal category V.

instance CategoryTheory.EnrichedCat.instCoeSortType E0 #

(V : Type v) →
  [inst : CategoryTheory.Category.{w, v} V] →
    [inst_1 : CategoryTheory.MonoidalCategory V] → CoeSort (CategoryTheory.EnrichedCat V) (Type u)

instance CategoryTheory.EnrichedCat.str E0 #

(V : Type v) →
  [inst : CategoryTheory.Category.{w, v} V] →
    [inst_1 : CategoryTheory.MonoidalCategory V] →
      (C : CategoryTheory.EnrichedCat V) → CategoryTheory.EnrichedCategory V ↑C

def CategoryTheory.EnrichedCat.of E1 #

(V : Type v) →
  [inst : CategoryTheory.Category.{w, v} V] →
    [inst_1 : CategoryTheory.MonoidalCategory V] →
      (C : Type u) → [CategoryTheory.EnrichedCategory V C] → CategoryTheory.EnrichedCat V

Construct a bundled EnrichedCat from the underlying type and the typeclass.

def CategoryTheory.EnrichedCat.whiskerLeft E1 #

{V : Type v} →
  [inst : CategoryTheory.Category.{w, v} V] →
    [inst_1 : CategoryTheory.MonoidalCategory V] →
      {C : Type u} →
        [inst_2 : CategoryTheory.EnrichedCategory V C] →
          {D : Type u₁} →
            [inst_3 : CategoryTheory.EnrichedCategory V D] →
              {E : Type u₂} →
                [inst_4 : CategoryTheory.EnrichedCategory V E] →
                  (F : CategoryTheory.EnrichedFunctor V C D) →
                    {G H : CategoryTheory.EnrichedFunctor V D E} →
                      (G ⟶ H) → (CategoryTheory.EnrichedFunctor.comp V F G ⟶ CategoryTheory.EnrichedFunctor.comp V F H)

Whisker a V-enriched natural transformation on the left.

theorem CategoryTheory.EnrichedCat.whiskerLeft_out_app E0 #

∀ {V : Type v} [inst : CategoryTheory.Category.{w, v} V] [inst_1 : CategoryTheory.MonoidalCategory V] {C : Type u}
  [inst_2 : CategoryTheory.EnrichedCategory V C] {D : Type u₁} [inst_3 : CategoryTheory.EnrichedCategory V D]
  {E : Type u₂} [inst_4 : CategoryTheory.EnrichedCategory V E] (F : CategoryTheory.EnrichedFunctor V C D)
  {G H : CategoryTheory.EnrichedFunctor V D E} (α : G ⟶ H) (X : CategoryTheory.ForgetEnrichment V C),
  (CategoryTheory.EnrichedCat.whiskerLeft F α).out.app X =
    α.out.app (CategoryTheory.ForgetEnrichment.of V (F.obj (CategoryTheory.ForgetEnrichment.to V X)))

def CategoryTheory.EnrichedCat.whiskerRight E1 #

{V : Type v} →
  [inst : CategoryTheory.Category.{w, v} V] →
    [inst_1 : CategoryTheory.MonoidalCategory V] →
      {C : Type u} →
        [inst_2 : CategoryTheory.EnrichedCategory V C] →
          {D : Type u₁} →
            [inst_3 : CategoryTheory.EnrichedCategory V D] →
              {E : Type u₂} →
                [inst_4 : CategoryTheory.EnrichedCategory V E] →
                  {F G : CategoryTheory.EnrichedFunctor V C D} →
                    (F ⟶ G) →
                      (H : CategoryTheory.EnrichedFunctor V D E) →
                        CategoryTheory.EnrichedFunctor.comp V F H ⟶ CategoryTheory.EnrichedFunctor.comp V G H

Whisker a V-enriched natural transformation on the right.

theorem CategoryTheory.EnrichedCat.whiskerRight_out_app E0 #

∀ {V : Type v} [inst : CategoryTheory.Category.{w, v} V] [inst_1 : CategoryTheory.MonoidalCategory V] {C : Type u}
  [inst_2 : CategoryTheory.EnrichedCategory V C] {D : Type u₁} [inst_3 : CategoryTheory.EnrichedCategory V D]
  {E : Type u₂} [inst_4 : CategoryTheory.EnrichedCategory V E] {F G : CategoryTheory.EnrichedFunctor V C D} (α : F ⟶ G)
  (H : CategoryTheory.EnrichedFunctor V D E) (X : CategoryTheory.ForgetEnrichment V C),
  (CategoryTheory.EnrichedCat.whiskerRight α H).out.app X =
    CategoryTheory.ForgetEnrichment.homOf V
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.ForgetEnrichment.homTo V (α.out.app X))
        (H.map (F.obj (CategoryTheory.ForgetEnrichment.to V X)) (G.obj (CategoryTheory.ForgetEnrichment.to V X))))

def CategoryTheory.EnrichedCat.leftUnitor E1 #

{V : Type v} →
  [inst : CategoryTheory.Category.{w, v} V] →
    [inst_1 : CategoryTheory.MonoidalCategory V] →
      {C : Type u} →
        [inst_2 : CategoryTheory.EnrichedCategory V C] →
          {D : Type u₁} →
            [inst_3 : CategoryTheory.EnrichedCategory V D] →
              (F : CategoryTheory.EnrichedFunctor V C D) →
                CategoryTheory.EnrichedFunctor.comp V (CategoryTheory.EnrichedFunctor.id V C) F ≅ F

Composing the V-enriched identity functor with any functor is isomorphic to that functor.

theorem CategoryTheory.EnrichedCat.leftUnitor_hom_out_app E0 #

∀ {V : Type v} [inst : CategoryTheory.Category.{w, v} V] [inst_1 : CategoryTheory.MonoidalCategory V] {C : Type u}
  [inst_2 : CategoryTheory.EnrichedCategory V C] {D : Type u₁} [inst_3 : CategoryTheory.EnrichedCategory V D]
  (F : CategoryTheory.EnrichedFunctor V C D) (X : CategoryTheory.ForgetEnrichment V C),
  (CategoryTheory.EnrichedCat.leftUnitor F).hom.out.app X =
    CategoryTheory.CategoryStruct.id
      (CategoryTheory.ForgetEnrichment.of V (F.obj (CategoryTheory.ForgetEnrichment.to V X)))

theorem CategoryTheory.EnrichedCat.leftUnitor_inv_out_app E0 #

∀ {V : Type v} [inst : CategoryTheory.Category.{w, v} V] [inst_1 : CategoryTheory.MonoidalCategory V] {C : Type u}
  [inst_2 : CategoryTheory.EnrichedCategory V C] {D : Type u₁} [inst_3 : CategoryTheory.EnrichedCategory V D]
  (F : CategoryTheory.EnrichedFunctor V C D) (X : CategoryTheory.ForgetEnrichment V C),
  (CategoryTheory.EnrichedCat.leftUnitor F).inv.out.app X =
    CategoryTheory.CategoryStruct.id
      (CategoryTheory.ForgetEnrichment.of V (F.obj (CategoryTheory.ForgetEnrichment.to V X)))

def CategoryTheory.EnrichedCat.rightUnitor E1 #

{V : Type v} →
  [inst : CategoryTheory.Category.{w, v} V] →
    [inst_1 : CategoryTheory.MonoidalCategory V] →
      {C : Type u} →
        [inst_2 : CategoryTheory.EnrichedCategory V C] →
          {D : Type u₁} →
            [inst_3 : CategoryTheory.EnrichedCategory V D] →
              (F : CategoryTheory.EnrichedFunctor V C D) →
                CategoryTheory.EnrichedFunctor.comp V F (CategoryTheory.EnrichedFunctor.id V D) ≅ F

Composing any V-enriched functor with the identity functor is isomorphic to the former functor.

theorem CategoryTheory.EnrichedCat.rightUnitor_hom_out_app E0 #

∀ {V : Type v} [inst : CategoryTheory.Category.{w, v} V] [inst_1 : CategoryTheory.MonoidalCategory V] {C : Type u}
  [inst_2 : CategoryTheory.EnrichedCategory V C] {D : Type u₁} [inst_3 : CategoryTheory.EnrichedCategory V D]
  (F : CategoryTheory.EnrichedFunctor V C D) (X : CategoryTheory.ForgetEnrichment V C),
  (CategoryTheory.EnrichedCat.rightUnitor F).hom.out.app X =
    CategoryTheory.CategoryStruct.id
      (CategoryTheory.ForgetEnrichment.of V (F.obj (CategoryTheory.ForgetEnrichment.to V X)))

theorem CategoryTheory.EnrichedCat.rightUnitor_inv_out_app E0 #

∀ {V : Type v} [inst : CategoryTheory.Category.{w, v} V] [inst_1 : CategoryTheory.MonoidalCategory V] {C : Type u}
  [inst_2 : CategoryTheory.EnrichedCategory V C] {D : Type u₁} [inst_3 : CategoryTheory.EnrichedCategory V D]
  (F : CategoryTheory.EnrichedFunctor V C D) (X : CategoryTheory.ForgetEnrichment V C),
  (CategoryTheory.EnrichedCat.rightUnitor F).inv.out.app X =
    CategoryTheory.CategoryStruct.id
      (CategoryTheory.ForgetEnrichment.of V (F.obj (CategoryTheory.ForgetEnrichment.to V X)))

def CategoryTheory.EnrichedCat.associator E1 #

{V : Type v} →
  [inst : CategoryTheory.Category.{w, v} V] →
    [inst_1 : CategoryTheory.MonoidalCategory V] →
      {C : Type u} →
        [inst_2 : CategoryTheory.EnrichedCategory V C] →
          {D : Type u₁} →
            [inst_3 : CategoryTheory.EnrichedCategory V D] →
              {E : Type u₂} →
                [inst_4 : CategoryTheory.EnrichedCategory V E] →
                  {E' : Type u₃} →
                    [inst_5 : CategoryTheory.EnrichedCategory V E'] →
                      (F : CategoryTheory.EnrichedFunctor V C D) →
                        (G : CategoryTheory.EnrichedFunctor V D E) →
                          (H : CategoryTheory.EnrichedFunctor V E E') →
                            CategoryTheory.EnrichedFunctor.comp V (CategoryTheory.EnrichedFunctor.comp V F G) H ≅
                              CategoryTheory.EnrichedFunctor.comp V F (CategoryTheory.EnrichedFunctor.comp V G H)

Composition of V-enriched functors is associative up to isomorphism.

theorem CategoryTheory.EnrichedCat.associator_inv_out_app E0 #

∀ {V : Type v} [inst : CategoryTheory.Category.{w, v} V] [inst_1 : CategoryTheory.MonoidalCategory V] {C : Type u}
  [inst_2 : CategoryTheory.EnrichedCategory V C] {D : Type u₁} [inst_3 : CategoryTheory.EnrichedCategory V D]
  {E : Type u₂} [inst_4 : CategoryTheory.EnrichedCategory V E] {E' : Type u₃}
  [inst_5 : CategoryTheory.EnrichedCategory V E'] (F : CategoryTheory.EnrichedFunctor V C D)
  (G : CategoryTheory.EnrichedFunctor V D E) (H : CategoryTheory.EnrichedFunctor V E E')
  (X : CategoryTheory.ForgetEnrichment V C),
  (CategoryTheory.EnrichedCat.associator F G H).inv.out.app X =
    CategoryTheory.CategoryStruct.id
      (CategoryTheory.ForgetEnrichment.of V (H.obj (G.obj (F.obj (CategoryTheory.ForgetEnrichment.to V X)))))

theorem CategoryTheory.EnrichedCat.associator_hom_out_app E0 #

∀ {V : Type v} [inst : CategoryTheory.Category.{w, v} V] [inst_1 : CategoryTheory.MonoidalCategory V] {C : Type u}
  [inst_2 : CategoryTheory.EnrichedCategory V C] {D : Type u₁} [inst_3 : CategoryTheory.EnrichedCategory V D]
  {E : Type u₂} [inst_4 : CategoryTheory.EnrichedCategory V E] {E' : Type u₃}
  [inst_5 : CategoryTheory.EnrichedCategory V E'] (F : CategoryTheory.EnrichedFunctor V C D)
  (G : CategoryTheory.EnrichedFunctor V D E) (H : CategoryTheory.EnrichedFunctor V E E')
  (X : CategoryTheory.ForgetEnrichment V C),
  (CategoryTheory.EnrichedCat.associator F G H).hom.out.app X =
    CategoryTheory.CategoryStruct.id
      (CategoryTheory.ForgetEnrichment.of V (H.obj (G.obj (F.obj (CategoryTheory.ForgetEnrichment.to V X)))))

theorem CategoryTheory.EnrichedCat.comp_whiskerRight E1 #

∀ {V : Type v} [inst : CategoryTheory.Category.{w, v} V] [inst_1 : CategoryTheory.MonoidalCategory V] {C : Type u}
  [inst_2 : CategoryTheory.EnrichedCategory V C] {D : Type u₁} [inst_3 : CategoryTheory.EnrichedCategory V D]
  {E : Type u₂} [inst_4 : CategoryTheory.EnrichedCategory V E] {F G H : CategoryTheory.EnrichedFunctor V C D}
  (α : F ⟶ G) (β : G ⟶ H) (I : CategoryTheory.EnrichedFunctor V D E),
  CategoryTheory.EnrichedCat.whiskerRight { out := CategoryTheory.CategoryStruct.comp α.out β.out } I =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.EnrichedCat.whiskerRight α I)
      (CategoryTheory.EnrichedCat.whiskerRight β I)

theorem CategoryTheory.EnrichedCat.whisker_exchange E1 #

∀ {V : Type v} [inst : CategoryTheory.Category.{w, v} V] [inst_1 : CategoryTheory.MonoidalCategory V] {C : Type u}
  [inst_2 : CategoryTheory.EnrichedCategory V C] {D : Type u₁} [inst_3 : CategoryTheory.EnrichedCategory V D]
  {E : Type u₂} [inst_4 : CategoryTheory.EnrichedCategory V E] {F G : CategoryTheory.EnrichedFunctor V C D}
  {H I : CategoryTheory.EnrichedFunctor V D E} (α : F ⟶ G) (β : H ⟶ I),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.EnrichedCat.whiskerLeft F β)
      (CategoryTheory.EnrichedCat.whiskerRight α I) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.EnrichedCat.whiskerRight α H)
      (CategoryTheory.EnrichedCat.whiskerLeft G β)

instance CategoryTheory.EnrichedCat.bicategory E0 #

{V : Type v} →
  [inst : CategoryTheory.Category.{w, v} V] →
    [inst_1 : CategoryTheory.MonoidalCategory V] → CategoryTheory.Bicategory (CategoryTheory.EnrichedCat V)

The bicategory structure on EnrichedCat V for a monoidal category V.