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.Equivalence.Symmetry

29 declarations. Mathlib docs · Source

Functoriality of the symmetry of equivalences

Using the calculus of mates in Mathlib.CategoryTheory.Adjunction.Mates, we prove that passing to the symmetric equivalence defines an equivalence between C ≌ D and (D ≌ C)ᵒᵖ, and provides the definition of the functor that takes an equivalence to its inverse.

Main definitions

  • Equivalence.symmEquiv C D: the equivalence (C ≌ D) ≌ (D ≌ C)ᵒᵖ obtained by taking Equivalence.symm on objects, and conjugateEquiv on maps.
  • Equivalence.inverseFunctor C D: The functor (C ≌ D) ⥤ (D ⥤ C)ᵒᵖ sending an equivalence e to the functor e.inverse.
  • congrLeftFunctor C D E: the functor (C ≌ D) ⥤ ((C ⥤ E) ≌ (D ⥤ E))ᵒᵖ that applies Equivalence.congrLeft on objects, and whiskers left by conjugateEquiv on maps.

def CategoryTheory.Equivalence.symmEquivFunctor E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (D : Type u_2) → [inst_1 : CategoryTheory.Category.{v_2, u_2} D] → CategoryTheory.Functor (C ≌ D) (D ≌ C)ᵒᵖ

The forward functor of the equivalence (C ≌ D) ≌ (D ≌ C)ᵒᵖ.

theorem CategoryTheory.Equivalence.symmEquivFunctor_obj E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (e : C ≌ D),
  (CategoryTheory.Equivalence.symmEquivFunctor C D).obj e = Opposite.op e.symm

theorem CategoryTheory.Equivalence.symmEquivFunctor_map E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] {e f : C ≌ D} (α : e ⟶ f),
  (CategoryTheory.Equivalence.symmEquivFunctor C D).map α =
    (CategoryTheory.Equivalence.mkHom
        ((CategoryTheory.conjugateEquiv f.toAdjunction e.toAdjunction) (CategoryTheory.Equivalence.asNatTrans α))).op

def CategoryTheory.Equivalence.symmEquivInverse E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (D : Type u_2) → [inst_1 : CategoryTheory.Category.{v_2, u_2} D] → CategoryTheory.Functor (D ≌ C)ᵒᵖ (C ≌ D)

The inverse functor of the equivalence (C ≌ D) ≌ (D ≌ C)ᵒᵖ.

theorem CategoryTheory.Equivalence.symmEquivInverse_obj_counitIso_hom E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (X : (D ≌ C)ᵒᵖ),
  ((CategoryTheory.Equivalence.symmEquivInverse C D).obj X).counitIso.hom = (Opposite.unop X).unitIso.inv

theorem CategoryTheory.Equivalence.symmEquivInverse_obj_functor E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (X : (D ≌ C)ᵒᵖ),
  ((CategoryTheory.Equivalence.symmEquivInverse C D).obj X).functor = (Opposite.unop X).inverse

theorem CategoryTheory.Equivalence.symmEquivInverse_obj_counitIso_inv E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (X : (D ≌ C)ᵒᵖ),
  ((CategoryTheory.Equivalence.symmEquivInverse C D).obj X).counitIso.inv = (Opposite.unop X).unitIso.hom

theorem CategoryTheory.Equivalence.symmEquivInverse_obj_unitIso_inv E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (X : (D ≌ C)ᵒᵖ),
  ((CategoryTheory.Equivalence.symmEquivInverse C D).obj X).unitIso.inv = (Opposite.unop X).counitIso.hom

theorem CategoryTheory.Equivalence.symmEquivInverse_obj_inverse E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (X : (D ≌ C)ᵒᵖ),
  ((CategoryTheory.Equivalence.symmEquivInverse C D).obj X).inverse = (Opposite.unop X).functor

theorem CategoryTheory.Equivalence.symmEquivInverse_obj_unitIso_hom E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (X : (D ≌ C)ᵒᵖ),
  ((CategoryTheory.Equivalence.symmEquivInverse C D).obj X).unitIso.hom = (Opposite.unop X).counitIso.inv

theorem CategoryTheory.Equivalence.symmEquivInverse_map_app E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] {X Y : (D ≌ C)ᵒᵖ} (f : X ⟶ Y) (X_1 : C),
  ((CategoryTheory.Equivalence.symmEquivInverse C D).map f).app X_1 =
    CategoryTheory.CategoryStruct.comp ((Opposite.unop X).inverse.map ((Opposite.unop Y).counitInv.app X_1))
      (CategoryTheory.CategoryStruct.comp
        ((Opposite.unop X).inverse.map
          ((CategoryTheory.Equivalence.asNatTrans f.unop).app ((Opposite.unop Y).inverse.obj X_1)))
        ((Opposite.unop X).unitInv.app ((Opposite.unop Y).inverse.obj X_1)))

def CategoryTheory.Equivalence.symmEquiv E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (D : Type u_2) → [inst_1 : CategoryTheory.Category.{v_2, u_2} D] → (C ≌ D) ≌ (D ≌ C)ᵒᵖ

Taking the symmetric of an equivalence induces an equivalence of categories (C ≌ D) ≌ (D ≌ C)ᵒᵖ.

theorem CategoryTheory.Equivalence.symmEquiv_functor E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D],
  (CategoryTheory.Equivalence.symmEquiv C D).functor = CategoryTheory.Equivalence.symmEquivFunctor C D

theorem CategoryTheory.Equivalence.symmEquiv_counitIso E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D],
  (CategoryTheory.Equivalence.symmEquiv C D).counitIso =
    CategoryTheory.NatIso.ofComponents (fun e ↦ (CategoryTheory.Iso.refl (Opposite.unop e)).op) ⋯

theorem CategoryTheory.Equivalence.symmEquiv_unitIso E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D],
  (CategoryTheory.Equivalence.symmEquiv C D).unitIso =
    CategoryTheory.NatIso.ofComponents (fun e ↦ CategoryTheory.Iso.refl ((CategoryTheory.Functor.id (C ≌ D)).obj e)) ⋯

theorem CategoryTheory.Equivalence.symmEquiv_inverse E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D],
  (CategoryTheory.Equivalence.symmEquiv C D).inverse = CategoryTheory.Equivalence.symmEquivInverse C D

def CategoryTheory.Equivalence.inverseFunctor E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (D : Type u_2) →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] → CategoryTheory.Functor (C ≌ D) (CategoryTheory.Functor D C)ᵒᵖ

The inverse functor that sends a functor to its inverse.

theorem CategoryTheory.Equivalence.inverseFunctor_obj E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (X : C ≌ D),
  (CategoryTheory.Equivalence.inverseFunctor C D).obj X = Opposite.op X.inverse

theorem CategoryTheory.Equivalence.inverseFunctor_map E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] {X Y : C ≌ D} (f : X ⟶ Y),
  (CategoryTheory.Equivalence.inverseFunctor C D).map f =
    ((CategoryTheory.conjugateEquiv Y.toAdjunction X.toAdjunction) (CategoryTheory.Equivalence.asNatTrans f)).op

def CategoryTheory.Equivalence.inverseFunctorObjIso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {D : Type u_2} →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
        (e : C ≌ D) → (CategoryTheory.Equivalence.inverseFunctor C D).obj e ≅ Opposite.op e.inverse

The inverse functor sends an equivalence to its inverse.

theorem CategoryTheory.Equivalence.inverseFunctorObjIso_inv E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {D : Type u_2}
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (e : C ≌ D),
  e.inverseFunctorObjIso.inv = CategoryTheory.CategoryStruct.id (Opposite.op e.inverse)

theorem CategoryTheory.Equivalence.inverseFunctorObjIso_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {D : Type u_2}
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (e : C ≌ D),
  e.inverseFunctorObjIso.hom = CategoryTheory.CategoryStruct.id (Opposite.op e.inverse)

theorem CategoryTheory.Equivalence.inverseFunctorMapIso_symm_eq_isoInverseOfIsoFunctor E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {D : Type u_2}
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] {e f : C ≌ D} (α : e ≅ f),
  ((CategoryTheory.Equivalence.inverseFunctor C D).mapIso α.symm).unop =
    ((CategoryTheory.Equivalence.functorFunctor C D).mapIso α).isoInverseOfIsoFunctor

We can compare the way we obtain a natural isomorphism e.inverse ≅ f.inverse from an isomorphism e ≌ f via inverseFunctor with the way we get one through Iso.isoInverseOfIsoFunctor.

def CategoryTheory.Equivalence.inverseFunctorObj' E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {D : Type u_2} →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
        (e : C ≌ D) → Opposite.unop ((CategoryTheory.Equivalence.inverseFunctor C D).obj e) ≅ e.inverse

An "unopped" version of the equivalence inverseFunctorObj'.

theorem CategoryTheory.Equivalence.inverseFunctorObj'_hom_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {D : Type u_2}
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (e : C ≌ D) (X : D),
  e.inverseFunctorObj'.hom.app X = CategoryTheory.CategoryStruct.id (e.inverse.obj X)

theorem CategoryTheory.Equivalence.inverseFunctorObj'_inv_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {D : Type u_2}
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (e : C ≌ D) (X : D),
  e.inverseFunctorObj'.inv.app X = CategoryTheory.CategoryStruct.id (e.inverse.obj X)

def CategoryTheory.Equivalence.congrLeftFunctor E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (D : Type u_2) →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
        (E : Type u_3) →
          [inst_2 : CategoryTheory.Category.{v_3, u_3} E] →
            CategoryTheory.Functor (C ≌ D) (CategoryTheory.Functor C E ≌ CategoryTheory.Functor D E)ᵒᵖ

Promoting Equivalence.congrLeft to a functor.

theorem CategoryTheory.Equivalence.congrLeftFunctor_obj E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (E : Type u_3) [inst_2 : CategoryTheory.Category.{v_3, u_3} E]
  (X : C ≌ D), (CategoryTheory.Equivalence.congrLeftFunctor C D E).obj X = Opposite.op X.congrLeft

theorem CategoryTheory.Equivalence.congrLeftFunctor_map E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (E : Type u_3) [inst_2 : CategoryTheory.Category.{v_3, u_3} E]
  {X Y : C ≌ D} (f : X ⟶ Y),
  (CategoryTheory.Equivalence.congrLeftFunctor C D E).map f =
    (CategoryTheory.Equivalence.mkHom
        ((CategoryTheory.Functor.whiskeringLeft D C E).map
          ((CategoryTheory.conjugateEquiv Y.toAdjunction X.toAdjunction) (CategoryTheory.Equivalence.asNatTrans f)))).op