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.Opposite

13 declarations. Mathlib docs · Source

The opposite category of an enriched category

When a monoidal category V is braided, we may define the opposite V-category of a V-category. The symmetry map is required to define the composition morphism.

This file constructs the opposite V-category as an instance on the type Cᵒᵖ and constructs an equivalence between

  • ForgetEnrichment V (Cᵒᵖ), the underlying category of the V-category Cᵒᵖ; and
  • (ForgetEnrichment V C)ᵒᵖ, the opposite category of the underlying category of C.

We also show that if C is an enriched ordinary category (i.e. a category enriched in V equipped with an identification (X ⟶ Y) ≃ (𝟙_ V ⟶ (X ⟶[V] Y))) then Cᵒᵖ is again an enriched ordinary category.

instance CategoryTheory.EnrichedCategory.opposite E0 #

(V : Type u₁) →
  [inst : CategoryTheory.Category.{v₁, u₁} V] →
    [inst_1 : CategoryTheory.MonoidalCategory V] →
      [CategoryTheory.BraidedCategory V] →
        (C : Type u) → [CategoryTheory.EnrichedCategory V C] → CategoryTheory.EnrichedCategory V Cᵒᵖ

For a V-category C, construct the opposite V-category structure on the type Cᵒᵖ using the braiding in V.

theorem CategoryTheory.eComp_op_eq E0 #

∀ (V : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} V] [inst_1 : CategoryTheory.MonoidalCategory V]
  [inst_2 : CategoryTheory.BraidedCategory V] {C : Type u} [inst_3 : CategoryTheory.EnrichedCategory V C] (x y z : Cᵒᵖ),
  CategoryTheory.eComp V z y x =
    CategoryTheory.CategoryStruct.comp
      (β_ (Opposite.unop y ⟶[V] Opposite.unop z) (Opposite.unop x ⟶[V] Opposite.unop y)).hom
      (CategoryTheory.eComp V (Opposite.unop x) (Opposite.unop y) (Opposite.unop z))

Unfold the definition of composition in the enriched opposite category.

theorem CategoryTheory.eComp_op_eq_assoc E1 #

∀ (V : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} V] [inst_1 : CategoryTheory.MonoidalCategory V]
  [inst_2 : CategoryTheory.BraidedCategory V] {C : Type u} [inst_3 : CategoryTheory.EnrichedCategory V C] (x y z : Cᵒᵖ)
  {Z : V} (h : (z ⟶[V] x) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.eComp V z y x) h =
    CategoryTheory.CategoryStruct.comp
      (β_ (Opposite.unop y ⟶[V] Opposite.unop z) (Opposite.unop x ⟶[V] Opposite.unop y)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.eComp V (Opposite.unop x) (Opposite.unop y) (Opposite.unop z))
        h)

Unfold the definition of composition in the enriched opposite category.

theorem CategoryTheory.tensorHom_eComp_op_eq E0 #

∀ (V : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} V] [inst_1 : CategoryTheory.MonoidalCategory V]
  [inst_2 : CategoryTheory.BraidedCategory V] {C : Type u} [inst_3 : CategoryTheory.EnrichedCategory V C] {x y z : Cᵒᵖ}
  {v w : V} (f : v ⟶ z ⟶[V] y) (g : w ⟶ y ⟶[V] x),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.MonoidalCategoryStruct.tensorHom f g)
      (CategoryTheory.eComp V z y x) =
    CategoryTheory.CategoryStruct.comp (β_ v w).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.MonoidalCategoryStruct.tensorHom g f)
        (CategoryTheory.eComp V (Opposite.unop x) (Opposite.unop y) (Opposite.unop z)))

When composing a tensor product of morphisms with the V-composition morphism in Cᵒᵖ, this re-writes the V-composition to be in C and moves the braiding to the left.

theorem CategoryTheory.tensorHom_eComp_op_eq_assoc E1 #

∀ (V : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} V] [inst_1 : CategoryTheory.MonoidalCategory V]
  [inst_2 : CategoryTheory.BraidedCategory V] {C : Type u} [inst_3 : CategoryTheory.EnrichedCategory V C] {x y z : Cᵒᵖ}
  {v w : V} (f : v ⟶ z ⟶[V] y) (g : w ⟶ y ⟶[V] x) {Z : V} (h : (z ⟶[V] x) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.MonoidalCategoryStruct.tensorHom f g)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.eComp V z y x) h) =
    CategoryTheory.CategoryStruct.comp (β_ v w).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.MonoidalCategoryStruct.tensorHom g f)
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.eComp V (Opposite.unop x) (Opposite.unop y) (Opposite.unop z)) h))

When composing a tensor product of morphisms with the V-composition morphism in Cᵒᵖ, this re-writes the V-composition to be in C and moves the braiding to the left.

def CategoryTheory.forgetEnrichmentOppositeEquivalence.functor E1 #

(V : Type u₁) →
  [inst : CategoryTheory.Category.{v₁, u₁} V] →
    [inst_1 : CategoryTheory.MonoidalCategory V] →
      [inst_2 : CategoryTheory.BraidedCategory V] →
        (C : Type u) →
          [inst_3 : CategoryTheory.EnrichedCategory V C] →
            CategoryTheory.Functor (CategoryTheory.ForgetEnrichment V Cᵒᵖ) (CategoryTheory.ForgetEnrichment V C)ᵒᵖ

The functor going from the underlying category of the enriched category Cᵒᵖ to the opposite of the underlying category of the enriched category C.

def CategoryTheory.forgetEnrichmentOppositeEquivalence.inverse E1 #

(V : Type u₁) →
  [inst : CategoryTheory.Category.{v₁, u₁} V] →
    [inst_1 : CategoryTheory.MonoidalCategory V] →
      [inst_2 : CategoryTheory.BraidedCategory V] →
        (C : Type u) →
          [inst_3 : CategoryTheory.EnrichedCategory V C] →
            CategoryTheory.Functor (CategoryTheory.ForgetEnrichment V C)ᵒᵖ (CategoryTheory.ForgetEnrichment V Cᵒᵖ)

The functor going from the opposite of the underlying category of the enriched category C to the underlying category of the enriched category Cᵒᵖ.

def CategoryTheory.forgetEnrichmentOppositeEquivalence E1 #

(V : Type u₁) →
  [inst : CategoryTheory.Category.{v₁, u₁} V] →
    [inst_1 : CategoryTheory.MonoidalCategory V] →
      [inst_2 : CategoryTheory.BraidedCategory V] →
        (C : Type u) →
          [inst_3 : CategoryTheory.EnrichedCategory V C] →
            CategoryTheory.ForgetEnrichment V Cᵒᵖ ≌ (CategoryTheory.ForgetEnrichment V C)ᵒᵖ

The equivalence between the underlying category of the enriched category Cᵒᵖ and the opposite of the underlying category of the enriched category C.

theorem CategoryTheory.forgetEnrichmentOppositeEquivalence_functor E0 #

∀ (V : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} V] [inst_1 : CategoryTheory.MonoidalCategory V]
  [inst_2 : CategoryTheory.BraidedCategory V] (C : Type u) [inst_3 : CategoryTheory.EnrichedCategory V C],
  (CategoryTheory.forgetEnrichmentOppositeEquivalence V C).functor =
    CategoryTheory.forgetEnrichmentOppositeEquivalence.functor V C

theorem CategoryTheory.forgetEnrichmentOppositeEquivalence_unitIso E0 #

∀ (V : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} V] [inst_1 : CategoryTheory.MonoidalCategory V]
  [inst_2 : CategoryTheory.BraidedCategory V] (C : Type u) [inst_3 : CategoryTheory.EnrichedCategory V C],
  (CategoryTheory.forgetEnrichmentOppositeEquivalence V C).unitIso =
    CategoryTheory.NatIso.ofComponents
      (fun x ↦ CategoryTheory.Iso.refl ((CategoryTheory.Functor.id (CategoryTheory.ForgetEnrichment V Cᵒᵖ)).obj x)) ⋯

theorem CategoryTheory.forgetEnrichmentOppositeEquivalence_counitIso E0 #

∀ (V : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} V] [inst_1 : CategoryTheory.MonoidalCategory V]
  [inst_2 : CategoryTheory.BraidedCategory V] (C : Type u) [inst_3 : CategoryTheory.EnrichedCategory V C],
  (CategoryTheory.forgetEnrichmentOppositeEquivalence V C).counitIso =
    CategoryTheory.NatIso.ofComponents
      (fun x ↦
        CategoryTheory.Iso.refl
          (((CategoryTheory.forgetEnrichmentOppositeEquivalence.inverse V C).comp
                (CategoryTheory.forgetEnrichmentOppositeEquivalence.functor V C)).obj
            x))
      ⋯

theorem CategoryTheory.forgetEnrichmentOppositeEquivalence_inverse E0 #

∀ (V : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} V] [inst_1 : CategoryTheory.MonoidalCategory V]
  [inst_2 : CategoryTheory.BraidedCategory V] (C : Type u) [inst_3 : CategoryTheory.EnrichedCategory V C],
  (CategoryTheory.forgetEnrichmentOppositeEquivalence V C).inverse =
    CategoryTheory.forgetEnrichmentOppositeEquivalence.inverse V C

instance CategoryTheory.EnrichedOrdinaryCategory.opposite E0 #

(V : Type u₁) →
  [inst : CategoryTheory.Category.{v₁, u₁} V] →
    [inst_1 : CategoryTheory.MonoidalCategory V] →
      [CategoryTheory.BraidedCategory V] →
        {D : Type u} →
          [inst_3 : CategoryTheory.Category.{v, u} D] →
            [CategoryTheory.EnrichedOrdinaryCategory V D] → CategoryTheory.EnrichedOrdinaryCategory V Dᵒᵖ

If D is an enriched ordinary category then Dᵒᵖ is an enriched ordinary category.