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.Category.Cat.Op

13 declarations. Mathlib docs · Source

def CategoryTheory.Cat.opFunctor E1 #

CategoryTheory.Functor CategoryTheory.Cat CategoryTheory.Cat

The endofunctor Cat ⥤ Cat assigning to each category its opposite category.

theorem CategoryTheory.Cat.opFunctor_obj E0 #

∀ (C : CategoryTheory.Cat), CategoryTheory.Cat.opFunctor.obj C = ↧(↑C)ᵒᵖ

theorem CategoryTheory.Cat.opFunctor_map E0 #

∀ {X Y : CategoryTheory.Cat} (F : X ⟶ Y), CategoryTheory.Cat.opFunctor.map F = F.toFunctor.op.toCatHom

def CategoryTheory.Cat.opFunctorInvolutive E1 #

CategoryTheory.Cat.opFunctor.comp CategoryTheory.Cat.opFunctor ≅ CategoryTheory.Functor.id CategoryTheory.Cat

The natural isomorphism between the double application of Cat.opFunctor and the identity functor on Cat.

theorem CategoryTheory.Cat.opFunctorInvolutive_hom_app_toFunctor_map E0 #

∀ (X : CategoryTheory.Cat) {X_1 Y : (↑X)ᵒᵖᵒᵖ} (f : X_1 ⟶ Y),
  (CategoryTheory.Cat.opFunctorInvolutive.hom.app X).toFunctor.map f = f.unop.unop

theorem CategoryTheory.Cat.opFunctorInvolutive_hom_app_toFunctor_obj E0 #

∀ (X : CategoryTheory.Cat) (X_1 : (↑X)ᵒᵖᵒᵖ),
  (CategoryTheory.Cat.opFunctorInvolutive.hom.app X).toFunctor.obj X_1 = Opposite.unop (Opposite.unop X_1)

theorem CategoryTheory.Cat.opFunctorInvolutive_inv_app_toFunctor_map E0 #

∀ (X : CategoryTheory.Cat) {X_1 Y : ↑X} (f : X_1 ⟶ Y),
  (CategoryTheory.Cat.opFunctorInvolutive.inv.app X).toFunctor.map f = f.op.op

theorem CategoryTheory.Cat.opFunctorInvolutive_inv_app_toFunctor_obj E0 #

∀ (X : CategoryTheory.Cat) (X_1 : ↑X),
  (CategoryTheory.Cat.opFunctorInvolutive.inv.app X).toFunctor.obj X_1 = Opposite.op (Opposite.op X_1)

def CategoryTheory.Cat.opEquivalence E1 #

CategoryTheory.Cat ≌ CategoryTheory.Cat

The equivalence Cat ≌ Cat associating each category with its opposite category.

theorem CategoryTheory.Cat.opEquivalence_counitIso E0 #

CategoryTheory.Cat.opEquivalence.counitIso =
  CategoryTheory.NatIso.ofComponents
    (fun x ↦
      { hom := (CategoryTheory.unopUnop ↑x).toCatHom, inv := (CategoryTheory.opOp ↑x).toCatHom, hom_inv_id := ⋯,
        inv_hom_id := ⋯ })
    @CategoryTheory.Cat.opEquivalence._proof_4

theorem CategoryTheory.Cat.opEquivalence_unitIso E0 #

CategoryTheory.Cat.opEquivalence.unitIso =
  CategoryTheory.NatIso.ofComponents
    (fun x ↦
      { hom := (CategoryTheory.opOp ↑x).toCatHom, inv := (CategoryTheory.unopUnop ↑x).toCatHom, hom_inv_id := ⋯,
        inv_hom_id := ⋯ })
    @CategoryTheory.Cat.opEquivalence._proof_3

theorem CategoryTheory.Cat.opEquivalence_inverse E0 #

CategoryTheory.Cat.opEquivalence.inverse = CategoryTheory.Cat.opFunctor

theorem CategoryTheory.Cat.opEquivalence_functor E0 #

CategoryTheory.Cat.opEquivalence.functor = CategoryTheory.Cat.opFunctor