The areas / V24. Category theory
Mathlib.CategoryTheory.Equivalence
215 declarations. Mathlib docs · Source
Equivalence of categories
An equivalence of categories C and D is a pair of functors F : C ⥤ D and G : D ⥤ C such
that η : 𝟭 C ≅ F ⋙ G and ε : G ⋙ F ≅ 𝟭 D. In many situations, equivalences are a better
notion of "sameness" of categories than the stricter isomorphism of categories.
Recall that one way to express that two functors F : C ⥤ D and G : D ⥤ C are adjoint is using
two natural transformations η : 𝟭 C ⟶ F ⋙ G and ε : G ⋙ F ⟶ 𝟭 D, called the unit and the
counit, such that the compositions F ⟶ FGF ⟶ F and G ⟶ GFG ⟶ G are the identity. Unfortunately,
it is not the case that the natural isomorphisms η and ε in the definition of an equivalence
automatically give an adjunction. However, it is true that
- if one of the two compositions is the identity, then so is the other, and
- given an equivalence of categories, it is always possible to refine
ηin such a way that the identities are satisfied.
For this reason, in mathlib we define an equivalence to be a "half-adjoint equivalence", which is
a tuple (F, G, η, ε) as in the first paragraph such that the composite F ⟶ FGF ⟶ F is the
identity. By the remark above, this already implies that the tuple is an "adjoint equivalence",
i.e., that the composite G ⟶ GFG ⟶ G is also the identity.
We also define essentially surjective functors and show that a functor is an equivalence if and only if it is full, faithful and essentially surjective.
Main definitions
Equivalence: bundled (half-)adjoint equivalences of categoriesFunctor.EssSurj: type class on a functorFcontaining the data of the preimages and the isomorphismsF.obj (preimage d) ≅ d.Functor.IsEquivalence: type class on a functorFwhich is full, faithful and essentially surjective.
Main results
Equivalence.mk: upgrade an equivalence to a (half-)adjoint equivalenceisEquivalence_iff_of_iso: whenFandGare isomorphic functors,Fis an equivalence iffGis.Functor.asEquivalenceFunctor: construction of an equivalence of categories from a functorFwhich satisfies the propertyF.IsEquivalence(i.e.Fis full, faithful and essentially surjective).
Notation
We write C ≌ D (\backcong, not to be confused with ≅/\cong) for a bundled equivalence.
While these abbreviations are convenient, they also cause some trouble, preventing structure projections from unfolding.
theorem CategoryTheory.Equivalence.mk'.inj E1 #
∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
{functor : CategoryTheory.Functor C D} {inverse : CategoryTheory.Functor D C}
{unitIso : CategoryTheory.Functor.id C ≅ functor.comp inverse}
{counitIso : inverse.comp functor ≅ CategoryTheory.Functor.id D}
{functor_unitIso_comp :
autoParam
(∀ (X : C),
CategoryTheory.CategoryStruct.comp (functor.map (unitIso.hom.app X)) (counitIso.hom.app (functor.obj X)) =
CategoryTheory.CategoryStruct.id (functor.obj X))
CategoryTheory.Equivalence.functor_unitIso_comp._autoParam}
{functor_1 : CategoryTheory.Functor C D} {inverse_1 : CategoryTheory.Functor D C}
{unitIso_1 : CategoryTheory.Functor.id C ≅ functor_1.comp inverse_1}
{counitIso_1 : inverse_1.comp functor_1 ≅ CategoryTheory.Functor.id D}
{functor_unitIso_comp_1 :
autoParam
(∀ (X : C),
CategoryTheory.CategoryStruct.comp (functor_1.map (unitIso_1.hom.app X))
(counitIso_1.hom.app (functor_1.obj X)) =
CategoryTheory.CategoryStruct.id (functor_1.obj X))
CategoryTheory.Equivalence.functor_unitIso_comp._autoParam},
{ functor := functor, inverse := inverse, unitIso := unitIso, counitIso := counitIso,
functor_unitIso_comp := functor_unitIso_comp } =
{ functor := functor_1, inverse := inverse_1, unitIso := unitIso_1, counitIso := counitIso_1,
functor_unitIso_comp := functor_unitIso_comp_1 } →
functor = functor_1 ∧ inverse = inverse_1 ∧ unitIso ≍ unitIso_1 ∧ counitIso ≍ counitIso_1
theorem CategoryTheory.Equivalence.mk'.injEq E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(functor : CategoryTheory.Functor C D) (inverse : CategoryTheory.Functor D C)
(unitIso : CategoryTheory.Functor.id C ≅ functor.comp inverse)
(counitIso : inverse.comp functor ≅ CategoryTheory.Functor.id D)
(functor_unitIso_comp :
autoParam
(∀ (X : C),
CategoryTheory.CategoryStruct.comp (functor.map (unitIso.hom.app X)) (counitIso.hom.app (functor.obj X)) =
CategoryTheory.CategoryStruct.id (functor.obj X))
CategoryTheory.Equivalence.functor_unitIso_comp._autoParam)
(functor_1 : CategoryTheory.Functor C D) (inverse_1 : CategoryTheory.Functor D C)
(unitIso_1 : CategoryTheory.Functor.id C ≅ functor_1.comp inverse_1)
(counitIso_1 : inverse_1.comp functor_1 ≅ CategoryTheory.Functor.id D)
(functor_unitIso_comp_1 :
autoParam
(∀ (X : C),
CategoryTheory.CategoryStruct.comp (functor_1.map (unitIso_1.hom.app X))
(counitIso_1.hom.app (functor_1.obj X)) =
CategoryTheory.CategoryStruct.id (functor_1.obj X))
CategoryTheory.Equivalence.functor_unitIso_comp._autoParam),
({ functor := functor, inverse := inverse, unitIso := unitIso, counitIso := counitIso,
functor_unitIso_comp := functor_unitIso_comp } =
{ functor := functor_1, inverse := inverse_1, unitIso := unitIso_1, counitIso := counitIso_1,
functor_unitIso_comp := functor_unitIso_comp_1 }) =
(functor = functor_1 ∧ inverse = inverse_1 ∧ unitIso ≍ unitIso_1 ∧ counitIso ≍ counitIso_1)
def CategoryTheory.Equivalence.ctorIdx E1 #
{C : Type u₁} →
{D : Type u₂} →
{inst : CategoryTheory.Category.{v₁, u₁} C} → {inst_1 : CategoryTheory.Category.{v₂, u₂} D} → (C ≌ D) → ℕ
structure CategoryTheory.Equivalence E3 #
(C : Type u₁) →
(D : Type u₂) →
[CategoryTheory.Category.{v₁, u₁} C] → [CategoryTheory.Category.{v₂, u₂} D] → Type (max (max (max u₁ u₂) v₁) v₂)
An equivalence of categories.
We define an equivalence between C and D, with notation C ≌ D, as a half-adjoint equivalence:
a pair of functors F : C ⥤ D and G : D ⥤ C with a unit η : 𝟭 C ≅ F ⋙ G and counit
ε : G ⋙ F ≅ 𝟭 D, such that the natural isomorphisms η and ε satisfy the triangle law for
F: namely, Fη ≫ εF = 𝟙 F. Or, in other words, the composite F ⟶ F ⋙ G ⋙ F ⟶ F is the
identity.
In unit_inverse_comp, we show that this is sufficient to establish a full adjoint
equivalence. I.e., the composite G ⟶ G ⋙ F ⋙ G ⟶ G is also the identity.
The triangle equation functor_unitIso_comp is written as a family of equalities between
morphisms. It is more complicated if we write it as an equality of natural transformations, because
then we would either have to insert natural transformations like F ⟶ F𝟭 or abuse defeq.
theorem CategoryTheory.Equivalence.ext E1 #
∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
{x y : C ≌ D},
x.functor = y.functor → x.inverse = y.inverse → x.unitIso ≍ y.unitIso → x.counitIso ≍ y.counitIso → x = y
theorem CategoryTheory.Equivalence.ext_iff E0 #
∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
{x y : C ≌ D},
x = y ↔ x.functor = y.functor ∧ x.inverse = y.inverse ∧ x.unitIso ≍ y.unitIso ∧ x.counitIso ≍ y.counitIso
ctor CategoryTheory.Equivalence.mk' E0 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(functor : CategoryTheory.Functor C D) →
(inverse : CategoryTheory.Functor D C) →
(unitIso : CategoryTheory.Functor.id C ≅ functor.comp inverse) →
(counitIso : inverse.comp functor ≅ CategoryTheory.Functor.id D) →
autoParam
(∀ (X : C),
CategoryTheory.CategoryStruct.comp (functor.map (unitIso.hom.app X))
(counitIso.hom.app (functor.obj X)) =
CategoryTheory.CategoryStruct.id (functor.obj X))
CategoryTheory.Equivalence.functor_unitIso_comp._autoParam →
(C ≌ D)
abbrev CategoryTheory.Equivalence.functor E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] → (C ≌ D) → CategoryTheory.Functor C D
The forwards direction of an equivalence.
abbrev CategoryTheory.Equivalence.inverse E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] → (C ≌ D) → CategoryTheory.Functor D C
The backwards direction of an equivalence.
abbrev CategoryTheory.Equivalence.unitIso E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(self : C ≌ D) → CategoryTheory.Functor.id C ≅ self.functor.comp self.inverse
The composition functor ⋙ inverse is isomorphic to the identity.
abbrev CategoryTheory.Equivalence.counitIso E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(self : C ≌ D) → self.inverse.comp self.functor ≅ CategoryTheory.Functor.id D
The composition inverse ⋙ functor is isomorphic to the identity.
theorem CategoryTheory.Equivalence.functor_unitIso_comp E1 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(self : C ≌ D) (X : C),
CategoryTheory.CategoryStruct.comp (self.functor.map (self.unitIso.hom.app X))
(self.counitIso.hom.app (self.functor.obj X)) =
CategoryTheory.CategoryStruct.id (self.functor.obj X)
The triangle law for the forwards direction of an equivalence: the unit and counit compose to the identity when whiskered along the forwards direction.
We state this as a family of equalities among morphisms instead of an equality of natural
transformations to avoid abusing defeq or inserting natural transformations like F ⟶ F𝟭.
def CategoryTheory.«term_≌_» E1 #
Lean.TrailingParserDescr
An equivalence of categories.
We define an equivalence between C and D, with notation C ≌ D, as a half-adjoint equivalence:
a pair of functors F : C ⥤ D and G : D ⥤ C with a unit η : 𝟭 C ≅ F ⋙ G and counit
ε : G ⋙ F ≅ 𝟭 D, such that the natural isomorphisms η and ε satisfy the triangle law for
F: namely, Fη ≫ εF = 𝟙 F. Or, in other words, the composite F ⟶ F ⋙ G ⋙ F ⟶ F is the
identity.
In unit_inverse_comp, we show that this is sufficient to establish a full adjoint
equivalence. I.e., the composite G ⟶ G ⋙ F ⋙ G ⟶ G is also the identity.
The triangle equation functor_unitIso_comp is written as a family of equalities between
morphisms. It is more complicated if we write it as an equality of natural transformations, because
then we would either have to insert natural transformations like F ⟶ F𝟭 or abuse defeq.
abbrev CategoryTheory.Equivalence.unit E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(e : C ≌ D) → CategoryTheory.Functor.id C ⟶ e.functor.comp e.inverse
The unit of an equivalence of categories.
abbrev CategoryTheory.Equivalence.unitInv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(e : C ≌ D) → e.functor.comp e.inverse ⟶ CategoryTheory.Functor.id C
The inverse of the unit of an equivalence of categories.
abbrev CategoryTheory.Equivalence.counit E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(e : C ≌ D) → e.inverse.comp e.functor ⟶ CategoryTheory.Functor.id D
The counit of an equivalence of categories.
abbrev CategoryTheory.Equivalence.counitInv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(e : C ≌ D) → CategoryTheory.Functor.id D ⟶ e.inverse.comp e.functor
The inverse of the counit of an equivalence of categories.
theorem CategoryTheory.Equivalence.unitIso_hom_inv_id_app E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (X : C),
CategoryTheory.CategoryStruct.comp (e.unit.app X) (e.unitInv.app X) = CategoryTheory.CategoryStruct.id X
theorem CategoryTheory.Equivalence.unitIso_hom_inv_id_app_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (X : C) {Z : C} (h : X ⟶ Z),
CategoryTheory.CategoryStruct.comp (e.unit.app X) (CategoryTheory.CategoryStruct.comp (e.unitInv.app X) h) = h
theorem CategoryTheory.Equivalence.unitIso_inv_hom_id_app E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (X : C),
CategoryTheory.CategoryStruct.comp (e.unitInv.app X) (e.unit.app X) =
CategoryTheory.CategoryStruct.id (e.inverse.obj (e.functor.obj X))
theorem CategoryTheory.Equivalence.unitIso_inv_hom_id_app_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (X : C) {Z : C} (h : e.inverse.obj (e.functor.obj X) ⟶ Z),
CategoryTheory.CategoryStruct.comp (e.unitInv.app X) (CategoryTheory.CategoryStruct.comp (e.unit.app X) h) = h
theorem CategoryTheory.Equivalence.counitIso_hom_inv_id_app_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (Y : D) {Z : D} (h : e.functor.obj (e.inverse.obj Y) ⟶ Z),
CategoryTheory.CategoryStruct.comp (e.counit.app Y) (CategoryTheory.CategoryStruct.comp (e.counitInv.app Y) h) = h
theorem CategoryTheory.Equivalence.counitIso_hom_inv_id_app E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (Y : D),
CategoryTheory.CategoryStruct.comp (e.counit.app Y) (e.counitInv.app Y) =
CategoryTheory.CategoryStruct.id (e.functor.obj (e.inverse.obj Y))
theorem CategoryTheory.Equivalence.counitIso_inv_hom_id_app_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (Y : D) {Z : D} (h : Y ⟶ Z),
CategoryTheory.CategoryStruct.comp (e.counitInv.app Y) (CategoryTheory.CategoryStruct.comp (e.counit.app Y) h) = h
theorem CategoryTheory.Equivalence.counitIso_inv_hom_id_app E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (Y : D),
CategoryTheory.CategoryStruct.comp (e.counitInv.app Y) (e.counit.app Y) = CategoryTheory.CategoryStruct.id Y
instance CategoryTheory.Equivalence.instCategory E0 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
CategoryTheory.Category.{max u₁ v₂, max (max (max u₂ u₁) v₂) v₁} (C ≌ D)
def CategoryTheory.Equivalence.mkHom E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} → [inst_1 : CategoryTheory.Category.{v₂, u₂} D] → {e f : C ≌ D} → (e.functor ⟶ f.functor) → (e ⟶ f)
Promote a natural transformation e.functor ⟶ f.functor to a morphism in C ≌ D.
def CategoryTheory.Equivalence.asNatTrans E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} → [inst_1 : CategoryTheory.Category.{v₂, u₂} D] → {e f : C ≌ D} → (e ⟶ f) → (e.functor ⟶ f.functor)
Recover a natural transformation between e.functor and f.functor from the data of
a morphism e ⟶ f.
theorem CategoryTheory.Equivalence.hom_ext E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{e f : C ≌ D} {α β : e ⟶ f}, CategoryTheory.Equivalence.asNatTrans α = CategoryTheory.Equivalence.asNatTrans β → α = β
theorem CategoryTheory.Equivalence.hom_ext_iff E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{e f : C ≌ D} {α β : e ⟶ f}, α = β ↔ CategoryTheory.Equivalence.asNatTrans α = CategoryTheory.Equivalence.asNatTrans β
theorem CategoryTheory.Equivalence.mkHom_asNatTrans E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{e f : C ≌ D} (η : e.functor ⟶ f.functor),
CategoryTheory.Equivalence.mkHom (CategoryTheory.Equivalence.asNatTrans η) = η
theorem CategoryTheory.Equivalence.asNatTrans_mkHom E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{e f : C ≌ D} (η : e ⟶ f), CategoryTheory.Equivalence.asNatTrans (CategoryTheory.Equivalence.mkHom η) = η
theorem CategoryTheory.Equivalence.id_asNatTrans E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{e : C ≌ D},
CategoryTheory.Equivalence.asNatTrans (CategoryTheory.CategoryStruct.id e) =
CategoryTheory.CategoryStruct.id e.functor
theorem CategoryTheory.Equivalence.comp_asNatTrans E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{e f g : C ≌ D} (α : e ⟶ f) (β : f ⟶ g),
CategoryTheory.Equivalence.asNatTrans (CategoryTheory.CategoryStruct.comp α β) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Equivalence.asNatTrans α)
(CategoryTheory.Equivalence.asNatTrans β)
theorem CategoryTheory.Equivalence.comp_asNatTrans_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{e f g : C ≌ D} (α : e ⟶ f) (β : f ⟶ g) {Z : CategoryTheory.Functor C D} (h : g.functor ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Equivalence.asNatTrans (CategoryTheory.CategoryStruct.comp α β))
h =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Equivalence.asNatTrans α)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Equivalence.asNatTrans β) h)
theorem CategoryTheory.Equivalence.mkHom_id_functor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{e : C ≌ D},
CategoryTheory.Equivalence.mkHom (CategoryTheory.CategoryStruct.id e.functor) = CategoryTheory.CategoryStruct.id e
theorem CategoryTheory.Equivalence.mkHom_comp E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{e f g : C ≌ D} (α : e.functor ⟶ f.functor) (β : f.functor ⟶ g.functor),
CategoryTheory.Equivalence.mkHom (CategoryTheory.CategoryStruct.comp α β) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Equivalence.mkHom α) (CategoryTheory.Equivalence.mkHom β)
theorem CategoryTheory.Equivalence.mkHom_comp_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{e f g : C ≌ D} (α : e.functor ⟶ f.functor) (β : f.functor ⟶ g.functor) {Z : C ≌ D} (h : g ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Equivalence.mkHom (CategoryTheory.CategoryStruct.comp α β)) h =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Equivalence.mkHom α)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Equivalence.mkHom β) h)
def CategoryTheory.Equivalence.mkIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} → [inst_1 : CategoryTheory.Category.{v₂, u₂} D] → {e f : C ≌ D} → (e.functor ≅ f.functor) → (e ≅ f)
Construct an isomorphism in C ≌ D from a natural isomorphism between the functors
of the equivalences.
theorem CategoryTheory.Equivalence.mkIso_hom E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{e f : C ≌ D} (η : e.functor ≅ f.functor),
(CategoryTheory.Equivalence.mkIso η).hom = CategoryTheory.Equivalence.mkHom η.hom
theorem CategoryTheory.Equivalence.mkIso_inv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{e f : C ≌ D} (η : e.functor ≅ f.functor),
(CategoryTheory.Equivalence.mkIso η).inv = CategoryTheory.Equivalence.mkHom η.inv
def CategoryTheory.Equivalence.functorFunctor E1 #
(C : Type u₁) →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(D : Type u₂) →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] → CategoryTheory.Functor (C ≌ D) (CategoryTheory.Functor C D)
The functor functor that sends an equivalence of categories to its functor.
theorem CategoryTheory.Equivalence.functorFunctor_obj E0 #
∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(f : C ≌ D), (CategoryTheory.Equivalence.functorFunctor C D).obj f = f.functor
theorem CategoryTheory.Equivalence.functorFunctor_map E0 #
∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{X Y : C ≌ D} (α : X ⟶ Y),
(CategoryTheory.Equivalence.functorFunctor C D).map α = CategoryTheory.Equivalence.asNatTrans α
theorem CategoryTheory.Equivalence.Equivalence_mk'_unit E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(functor : CategoryTheory.Functor C D) (inverse : CategoryTheory.Functor D C)
(unit_iso : CategoryTheory.Functor.id C ≅ functor.comp inverse)
(counit_iso : inverse.comp functor ≅ CategoryTheory.Functor.id D)
(f :
∀ (X : C),
CategoryTheory.CategoryStruct.comp (functor.map (unit_iso.hom.app X)) (counit_iso.hom.app (functor.obj X)) =
CategoryTheory.CategoryStruct.id (functor.obj X)),
{ functor := functor, inverse := inverse, unitIso := unit_iso, counitIso := counit_iso,
functor_unitIso_comp := f }.unit =
unit_iso.hom
theorem CategoryTheory.Equivalence.Equivalence_mk'_counit E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(functor : CategoryTheory.Functor C D) (inverse : CategoryTheory.Functor D C)
(unit_iso : CategoryTheory.Functor.id C ≅ functor.comp inverse)
(counit_iso : inverse.comp functor ≅ CategoryTheory.Functor.id D)
(f :
∀ (X : C),
CategoryTheory.CategoryStruct.comp (functor.map (unit_iso.hom.app X)) (counit_iso.hom.app (functor.obj X)) =
CategoryTheory.CategoryStruct.id (functor.obj X)),
{ functor := functor, inverse := inverse, unitIso := unit_iso, counitIso := counit_iso,
functor_unitIso_comp := f }.counit =
counit_iso.hom
theorem CategoryTheory.Equivalence.Equivalence_mk'_unitInv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(functor : CategoryTheory.Functor C D) (inverse : CategoryTheory.Functor D C)
(unit_iso : CategoryTheory.Functor.id C ≅ functor.comp inverse)
(counit_iso : inverse.comp functor ≅ CategoryTheory.Functor.id D)
(f :
∀ (X : C),
CategoryTheory.CategoryStruct.comp (functor.map (unit_iso.hom.app X)) (counit_iso.hom.app (functor.obj X)) =
CategoryTheory.CategoryStruct.id (functor.obj X)),
{ functor := functor, inverse := inverse, unitIso := unit_iso, counitIso := counit_iso,
functor_unitIso_comp := f }.unitInv =
unit_iso.inv
theorem CategoryTheory.Equivalence.Equivalence_mk'_counitInv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(functor : CategoryTheory.Functor C D) (inverse : CategoryTheory.Functor D C)
(unit_iso : CategoryTheory.Functor.id C ≅ functor.comp inverse)
(counit_iso : inverse.comp functor ≅ CategoryTheory.Functor.id D)
(f :
∀ (X : C),
CategoryTheory.CategoryStruct.comp (functor.map (unit_iso.hom.app X)) (counit_iso.hom.app (functor.obj X)) =
CategoryTheory.CategoryStruct.id (functor.obj X)),
{ functor := functor, inverse := inverse, unitIso := unit_iso, counitIso := counit_iso,
functor_unitIso_comp := f }.counitInv =
counit_iso.inv
theorem CategoryTheory.Equivalence.counit_naturality_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : D} (f : X ⟶ Y) {Z : D} (h : Y ⟶ Z),
CategoryTheory.CategoryStruct.comp (e.functor.map (e.inverse.map f))
(CategoryTheory.CategoryStruct.comp (e.counit.app Y) h) =
CategoryTheory.CategoryStruct.comp (e.counit.app X) (CategoryTheory.CategoryStruct.comp f h)
theorem CategoryTheory.Equivalence.counitInv_naturality E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : D} (f : Y ⟶ X),
CategoryTheory.CategoryStruct.comp (e.counitInv.app Y) (e.functor.map (e.inverse.map f)) =
CategoryTheory.CategoryStruct.comp f (e.counitInv.app X)
theorem CategoryTheory.Equivalence.counitInv_naturality_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : D} (f : Y ⟶ X) {Z : D} (h : e.functor.obj (e.inverse.obj X) ⟶ Z),
CategoryTheory.CategoryStruct.comp (e.counitInv.app Y)
(CategoryTheory.CategoryStruct.comp (e.functor.map (e.inverse.map f)) h) =
CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp (e.counitInv.app X) h)
theorem CategoryTheory.Equivalence.counit_naturality E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : D} (f : X ⟶ Y),
CategoryTheory.CategoryStruct.comp (e.functor.map (e.inverse.map f)) (e.counit.app Y) =
CategoryTheory.CategoryStruct.comp (e.counit.app X) f
theorem CategoryTheory.Equivalence.unitInv_naturality E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : C} (f : Y ⟶ X),
CategoryTheory.CategoryStruct.comp (e.inverse.map (e.functor.map f)) (e.unitInv.app X) =
CategoryTheory.CategoryStruct.comp (e.unitInv.app Y) f
theorem CategoryTheory.Equivalence.unitInv_naturality_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : C} (f : Y ⟶ X) {Z : C} (h : X ⟶ Z),
CategoryTheory.CategoryStruct.comp (e.inverse.map (e.functor.map f))
(CategoryTheory.CategoryStruct.comp (e.unitInv.app X) h) =
CategoryTheory.CategoryStruct.comp (e.unitInv.app Y) (CategoryTheory.CategoryStruct.comp f h)
theorem CategoryTheory.Equivalence.unit_naturality_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : C} (f : X ⟶ Y) {Z : C} (h : e.inverse.obj (e.functor.obj Y) ⟶ Z),
CategoryTheory.CategoryStruct.comp (e.unit.app X)
(CategoryTheory.CategoryStruct.comp (e.inverse.map (e.functor.map f)) h) =
CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp (e.unit.app Y) h)
theorem CategoryTheory.Equivalence.unit_naturality E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : C} (f : X ⟶ Y),
CategoryTheory.CategoryStruct.comp (e.unit.app X) (e.inverse.map (e.functor.map f)) =
CategoryTheory.CategoryStruct.comp f (e.unit.app Y)
theorem CategoryTheory.Equivalence.functor_unit_comp E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (X : C),
CategoryTheory.CategoryStruct.comp (e.functor.map (e.unit.app X)) (e.counit.app (e.functor.obj X)) =
CategoryTheory.CategoryStruct.id (e.functor.obj X)
theorem CategoryTheory.Equivalence.counitInv_functor_comp E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (X : C),
CategoryTheory.CategoryStruct.comp (e.counitInv.app (e.functor.obj X)) (e.functor.map (e.unitInv.app X)) =
CategoryTheory.CategoryStruct.id (e.functor.obj X)
theorem CategoryTheory.Equivalence.counitInv_functor_comp_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (X : C) {Z : D} (h : e.functor.obj X ⟶ Z),
CategoryTheory.CategoryStruct.comp (e.counitInv.app (e.functor.obj X))
(CategoryTheory.CategoryStruct.comp (e.functor.map (e.unitInv.app X)) h) =
h
theorem CategoryTheory.Equivalence.functor_unit_comp_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (X : C) {Z : D} (h : e.functor.obj X ⟶ Z),
CategoryTheory.CategoryStruct.comp (e.functor.map (e.unit.app X))
(CategoryTheory.CategoryStruct.comp (e.counit.app (e.functor.obj X)) h) =
h
theorem CategoryTheory.Equivalence.counitInv_app_functor E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (X : C), e.counitInv.app (e.functor.obj X) = e.functor.map (e.unit.app X)
theorem CategoryTheory.Equivalence.counit_app_functor E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (X : C), e.counit.app (e.functor.obj X) = e.functor.map (e.unitInv.app X)
theorem CategoryTheory.Equivalence.unit_inverse_comp E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (Y : D),
CategoryTheory.CategoryStruct.comp (e.unit.app (e.inverse.obj Y)) (e.inverse.map (e.counit.app Y)) =
CategoryTheory.CategoryStruct.id (e.inverse.obj Y)
The other triangle equality. The proof follows the following proof in Globular: http://globular.science/1905.001
theorem CategoryTheory.Equivalence.inverse_counitInv_comp_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (Y : D) {Z : C} (h : e.inverse.obj Y ⟶ Z),
CategoryTheory.CategoryStruct.comp (e.inverse.map (e.counitInv.app Y))
(CategoryTheory.CategoryStruct.comp (e.unitInv.app (e.inverse.obj Y)) h) =
h
theorem CategoryTheory.Equivalence.inverse_counitInv_comp E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (Y : D),
CategoryTheory.CategoryStruct.comp (e.inverse.map (e.counitInv.app Y)) (e.unitInv.app (e.inverse.obj Y)) =
CategoryTheory.CategoryStruct.id (e.inverse.obj Y)
theorem CategoryTheory.Equivalence.unit_inverse_comp_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (Y : D) {Z : C} (h : e.inverse.obj Y ⟶ Z),
CategoryTheory.CategoryStruct.comp (e.unit.app (e.inverse.obj Y))
(CategoryTheory.CategoryStruct.comp (e.inverse.map (e.counit.app Y)) h) =
h
The other triangle equality. The proof follows the following proof in Globular: http://globular.science/1905.001
theorem CategoryTheory.Equivalence.unitInv_app_inverse E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (Y : D), e.unitInv.app (e.inverse.obj Y) = e.inverse.map (e.counit.app Y)
theorem CategoryTheory.Equivalence.unit_app_inverse E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (Y : D), e.unit.app (e.inverse.obj Y) = e.inverse.map (e.counitInv.app Y)
theorem CategoryTheory.Equivalence.fun_inv_map E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (X Y : D) (f : X ⟶ Y),
e.functor.map (e.inverse.map f) =
CategoryTheory.CategoryStruct.comp (e.counit.app X) (CategoryTheory.CategoryStruct.comp f (e.counitInv.app Y))
theorem CategoryTheory.Equivalence.fun_inv_map_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (X Y : D) (f : X ⟶ Y) {Z : D} (h : e.functor.obj (e.inverse.obj Y) ⟶ Z),
CategoryTheory.CategoryStruct.comp (e.functor.map (e.inverse.map f)) h =
CategoryTheory.CategoryStruct.comp (e.counit.app X)
(CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp (e.counitInv.app Y) h))
theorem CategoryTheory.Equivalence.inv_fun_map E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (X Y : C) (f : X ⟶ Y),
e.inverse.map (e.functor.map f) =
CategoryTheory.CategoryStruct.comp (e.unitInv.app X) (CategoryTheory.CategoryStruct.comp f (e.unit.app Y))
theorem CategoryTheory.Equivalence.inv_fun_map_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) (X Y : C) (f : X ⟶ Y) {Z : C} (h : e.inverse.obj (e.functor.obj Y) ⟶ Z),
CategoryTheory.CategoryStruct.comp (e.inverse.map (e.functor.map f)) h =
CategoryTheory.CategoryStruct.comp (e.unitInv.app X)
(CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp (e.unit.app Y) h))
def CategoryTheory.Equivalence.adjointifyη E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{F : CategoryTheory.Functor C D} →
{G : CategoryTheory.Functor D C} →
(CategoryTheory.Functor.id C ≅ F.comp G) →
(G.comp F ≅ CategoryTheory.Functor.id D) → (CategoryTheory.Functor.id C ≅ F.comp G)
If η : 𝟭 C ≅ F ⋙ G is part of a (not necessarily half-adjoint) equivalence, we can upgrade it
to a refined natural isomorphism adjointifyη η : 𝟭 C ≅ F ⋙ G which exhibits the properties
required for a half-adjoint equivalence. See Equivalence.mk.
theorem CategoryTheory.Equivalence.adjointify_η_ε_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (η : CategoryTheory.Functor.id C ≅ F.comp G)
(ε : G.comp F ≅ CategoryTheory.Functor.id D) (X : C) {Z : D} (h : F.obj X ⟶ Z),
CategoryTheory.CategoryStruct.comp (F.map ((CategoryTheory.Equivalence.adjointifyη η ε).hom.app X))
(CategoryTheory.CategoryStruct.comp (ε.hom.app (F.obj X)) h) =
h
theorem CategoryTheory.Equivalence.adjointify_η_ε E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (η : CategoryTheory.Functor.id C ≅ F.comp G)
(ε : G.comp F ≅ CategoryTheory.Functor.id D) (X : C),
CategoryTheory.CategoryStruct.comp (F.map ((CategoryTheory.Equivalence.adjointifyη η ε).hom.app X))
(ε.hom.app (F.obj X)) =
CategoryTheory.CategoryStruct.id (F.obj X)
def CategoryTheory.Equivalence.mk E3 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(F : CategoryTheory.Functor C D) →
(G : CategoryTheory.Functor D C) →
(CategoryTheory.Functor.id C ≅ F.comp G) → (G.comp F ≅ CategoryTheory.Functor.id D) → (C ≌ D)
Every equivalence of categories consisting of functors F and G such that F ⋙ G and
G ⋙ F are naturally isomorphic to identity functors can be transformed into a half-adjoint
equivalence without changing F or G.
def CategoryTheory.Equivalence.refl E1 #
{C : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} C] → C ≌ C
Equivalence of categories is reflexive.
theorem CategoryTheory.Equivalence.refl_inverse E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C],
CategoryTheory.Equivalence.refl.inverse = CategoryTheory.Functor.id C
theorem CategoryTheory.Equivalence.refl_functor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C],
CategoryTheory.Equivalence.refl.functor = CategoryTheory.Functor.id C
theorem CategoryTheory.Equivalence.refl_counitIso E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C],
CategoryTheory.Equivalence.refl.counitIso =
CategoryTheory.Iso.refl ((CategoryTheory.Functor.id C).comp (CategoryTheory.Functor.id C))
theorem CategoryTheory.Equivalence.refl_unitIso E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C],
CategoryTheory.Equivalence.refl.unitIso = CategoryTheory.Iso.refl (CategoryTheory.Functor.id C)
instance CategoryTheory.Equivalence.instInhabited E0 #
{C : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} C] → Inhabited (C ≌ C)
def CategoryTheory.Equivalence.symm E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} → [inst_1 : CategoryTheory.Category.{v₂, u₂} D] → (C ≌ D) → (D ≌ C)
Equivalence of categories is symmetric.
theorem CategoryTheory.Equivalence.symm_unitIso E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D), e.symm.unitIso = e.counitIso.symm
theorem CategoryTheory.Equivalence.symm_functor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D), e.symm.functor = e.inverse
theorem CategoryTheory.Equivalence.symm_counitIso E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D), e.symm.counitIso = e.unitIso.symm
theorem CategoryTheory.Equivalence.symm_inverse E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D), e.symm.inverse = e.functor
theorem CategoryTheory.Equivalence.mkHom_id_inverse E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{e : C ≌ D},
CategoryTheory.Equivalence.mkHom (CategoryTheory.CategoryStruct.id e.inverse) =
CategoryTheory.CategoryStruct.id e.symm
theorem CategoryTheory.Equivalence.symm_counit E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D), e.symm.counit = e.unitInv
theorem CategoryTheory.Equivalence.symm_unit E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D), e.symm.unit = e.counitInv
def CategoryTheory.Equivalence.trans E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{E : Type u₃} → [inst_2 : CategoryTheory.Category.{v₃, u₃} E] → (C ≌ D) → (D ≌ E) → (C ≌ E)
Equivalence of categories is transitive.
theorem CategoryTheory.Equivalence.trans_counitIso E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (f : D ≌ E),
(e.trans f).counitIso =
((f.inverse.comp e.inverse).associator e.functor f.functor).symm ≪≫
CategoryTheory.Functor.isoWhiskerRight
(f.inverse.associator e.inverse e.functor ≪≫ f.inverse.isoWhiskerLeft e.counitIso ≪≫ f.inverse.rightUnitor)
f.functor ≪≫
f.counitIso
theorem CategoryTheory.Equivalence.trans_functor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (f : D ≌ E),
(e.trans f).functor = e.functor.comp f.functor
theorem CategoryTheory.Equivalence.trans_unitIso E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (f : D ≌ E),
(e.trans f).unitIso =
e.unitIso ≪≫
CategoryTheory.Functor.isoWhiskerRight
(e.functor.rightUnitor.symm ≪≫
e.functor.isoWhiskerLeft f.unitIso ≪≫ (e.functor.associator f.functor f.inverse).symm)
e.inverse ≪≫
(e.functor.comp f.functor).associator f.inverse e.inverse
theorem CategoryTheory.Equivalence.trans_inverse E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (f : D ≌ E),
(e.trans f).inverse = f.inverse.comp e.inverse
def CategoryTheory.Equivalence.funInvIdAssoc E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{E : Type u₃} →
[inst_2 : CategoryTheory.Category.{v₃, u₃} E] →
(e : C ≌ D) → (F : CategoryTheory.Functor C E) → e.functor.comp (e.inverse.comp F) ≅ F
Composing a functor with both functors of an equivalence yields a naturally isomorphic functor.
theorem CategoryTheory.Equivalence.funInvIdAssoc_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (F : CategoryTheory.Functor C E) (X : C),
(e.funInvIdAssoc F).hom.app X = F.map (e.unitInv.app X)
theorem CategoryTheory.Equivalence.funInvIdAssoc_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (F : CategoryTheory.Functor C E) (X : C),
(e.funInvIdAssoc F).inv.app X = F.map (e.unit.app X)
def CategoryTheory.Equivalence.invFunIdAssoc E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{E : Type u₃} →
[inst_2 : CategoryTheory.Category.{v₃, u₃} E] →
(e : C ≌ D) → (F : CategoryTheory.Functor D E) → e.inverse.comp (e.functor.comp F) ≅ F
Composing a functor with both functors of an equivalence yields a naturally isomorphic functor.
theorem CategoryTheory.Equivalence.invFunIdAssoc_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (F : CategoryTheory.Functor D E) (X : D),
(e.invFunIdAssoc F).hom.app X = F.map (e.counit.app X)
theorem CategoryTheory.Equivalence.invFunIdAssoc_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (F : CategoryTheory.Functor D E) (X : D),
(e.invFunIdAssoc F).inv.app X = F.map (e.counitInv.app X)
def CategoryTheory.Equivalence.congrLeft E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{E : Type u₃} →
[inst_2 : CategoryTheory.Category.{v₃, u₃} E] →
(C ≌ D) → (CategoryTheory.Functor C E ≌ CategoryTheory.Functor D E)
If C is equivalent to D, then C ⥤ E is equivalent to D ⥤ E.
theorem CategoryTheory.Equivalence.congrLeft_counitIso_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (X : CategoryTheory.Functor D E),
e.congrLeft.counitIso.inv.app X = (e.invFunIdAssoc X).inv
theorem CategoryTheory.Equivalence.congrLeft_functor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D),
e.congrLeft.functor = (CategoryTheory.Functor.whiskeringLeft D C E).obj e.inverse
theorem CategoryTheory.Equivalence.congrLeft_unitIso_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (X : CategoryTheory.Functor C E),
e.congrLeft.unitIso.inv.app X = (e.funInvIdAssoc X).hom
theorem CategoryTheory.Equivalence.congrLeft_unitIso_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (X : CategoryTheory.Functor C E),
e.congrLeft.unitIso.hom.app X = (e.funInvIdAssoc X).inv
theorem CategoryTheory.Equivalence.congrLeft_counitIso_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (X : CategoryTheory.Functor D E),
e.congrLeft.counitIso.hom.app X = (e.invFunIdAssoc X).hom
theorem CategoryTheory.Equivalence.congrLeft_inverse E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D),
e.congrLeft.inverse = (CategoryTheory.Functor.whiskeringLeft C D E).obj e.functor
def CategoryTheory.Equivalence.congrRight E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{E : Type u₃} →
[inst_2 : CategoryTheory.Category.{v₃, u₃} E] →
(C ≌ D) → (CategoryTheory.Functor E C ≌ CategoryTheory.Functor E D)
If C is equivalent to D, then E ⥤ C is equivalent to E ⥤ D.
theorem CategoryTheory.Equivalence.congrRight_functor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D),
e.congrRight.functor = (CategoryTheory.Functor.whiskeringRight E C D).obj e.functor
theorem CategoryTheory.Equivalence.congrRight_inverse E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D),
e.congrRight.inverse = (CategoryTheory.Functor.whiskeringRight E D C).obj e.inverse
theorem CategoryTheory.Equivalence.congrRight_unitIso_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (X : CategoryTheory.Functor E C),
e.congrRight.unitIso.hom.app X =
CategoryTheory.CategoryStruct.comp X.rightUnitor.inv
(CategoryTheory.CategoryStruct.comp (X.whiskerLeft e.unitIso.hom) (X.associator e.functor e.inverse).hom)
theorem CategoryTheory.Equivalence.congrRight_counitIso_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (X : CategoryTheory.Functor E D),
e.congrRight.counitIso.inv.app X =
CategoryTheory.CategoryStruct.comp X.rightUnitor.inv
(CategoryTheory.CategoryStruct.comp (X.whiskerLeft e.counitIso.inv) (X.associator e.inverse e.functor).inv)
theorem CategoryTheory.Equivalence.congrRight_counitIso_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (X : CategoryTheory.Functor E D),
e.congrRight.counitIso.hom.app X =
CategoryTheory.CategoryStruct.comp (X.associator e.inverse e.functor).hom
(CategoryTheory.CategoryStruct.comp (X.whiskerLeft e.counitIso.hom) X.rightUnitor.hom)
theorem CategoryTheory.Equivalence.congrRight_unitIso_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D) (X : CategoryTheory.Functor E C),
e.congrRight.unitIso.inv.app X =
CategoryTheory.CategoryStruct.comp (X.associator e.functor e.inverse).inv
(CategoryTheory.CategoryStruct.comp (X.whiskerLeft e.unitIso.inv) X.rightUnitor.hom)
def CategoryTheory.Equivalence.congrRightFunctor E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(E : Type u₃) →
[inst_2 : CategoryTheory.Category.{v₃, u₃} E] →
CategoryTheory.Functor (C ≌ D) (CategoryTheory.Functor E C ≌ CategoryTheory.Functor E D)
Promoting Equivalence.congrRight to a functor.
theorem CategoryTheory.Equivalence.congrRightFunctor_obj E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(E : Type u₃) [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (e : C ≌ D),
(CategoryTheory.Equivalence.congrRightFunctor E).obj e = e.congrRight
theorem CategoryTheory.Equivalence.congrRightFunctor_map E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(E : Type u₃) [inst_2 : CategoryTheory.Category.{v₃, u₃} E] {e f : C ≌ D} (α : e ⟶ f),
(CategoryTheory.Equivalence.congrRightFunctor E).map α =
CategoryTheory.Equivalence.mkHom
((CategoryTheory.Functor.whiskeringRight E C D).map (CategoryTheory.Equivalence.asNatTrans α))
theorem CategoryTheory.Equivalence.cancel_unitInv_left E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : C} (f f' : Y ⟶ X),
CategoryTheory.CategoryStruct.comp (e.unitInv.app Y) f = CategoryTheory.CategoryStruct.comp (e.unitInv.app Y) f' ↔
f = f'
theorem CategoryTheory.Equivalence.cancel_unit_right E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : C} (f f' : X ⟶ Y),
CategoryTheory.CategoryStruct.comp f (e.unit.app Y) = CategoryTheory.CategoryStruct.comp f' (e.unit.app Y) ↔ f = f'
theorem CategoryTheory.Equivalence.cancel_unitInv_right E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : C} (f f' : X ⟶ e.inverse.obj (e.functor.obj Y)),
CategoryTheory.CategoryStruct.comp f (e.unitInv.app Y) = CategoryTheory.CategoryStruct.comp f' (e.unitInv.app Y) ↔
f = f'
theorem CategoryTheory.Equivalence.cancel_unit_left E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : C} (f f' : e.inverse.obj (e.functor.obj Y) ⟶ X),
CategoryTheory.CategoryStruct.comp (e.unit.app Y) f = CategoryTheory.CategoryStruct.comp (e.unit.app Y) f' ↔ f = f'
theorem CategoryTheory.Equivalence.cancel_counit_right E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : D} (f f' : X ⟶ e.functor.obj (e.inverse.obj Y)),
CategoryTheory.CategoryStruct.comp f (e.counit.app Y) = CategoryTheory.CategoryStruct.comp f' (e.counit.app Y) ↔
f = f'
theorem CategoryTheory.Equivalence.cancel_counitInv_left E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : D} (f f' : e.functor.obj (e.inverse.obj Y) ⟶ X),
CategoryTheory.CategoryStruct.comp (e.counitInv.app Y) f = CategoryTheory.CategoryStruct.comp (e.counitInv.app Y) f' ↔
f = f'
theorem CategoryTheory.Equivalence.cancel_counitInv_right E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : D} (f f' : X ⟶ Y),
CategoryTheory.CategoryStruct.comp f (e.counitInv.app Y) = CategoryTheory.CategoryStruct.comp f' (e.counitInv.app Y) ↔
f = f'
theorem CategoryTheory.Equivalence.cancel_counit_left E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {X Y : D} (f f' : Y ⟶ X),
CategoryTheory.CategoryStruct.comp (e.counit.app Y) f = CategoryTheory.CategoryStruct.comp (e.counit.app Y) f' ↔
f = f'
theorem CategoryTheory.Equivalence.cancel_unit_right_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {W X X' Y : C} (f : W ⟶ X) (g : X ⟶ Y) (f' : W ⟶ X') (g' : X' ⟶ Y),
CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g (e.unit.app Y)) =
CategoryTheory.CategoryStruct.comp f' (CategoryTheory.CategoryStruct.comp g' (e.unit.app Y)) ↔
CategoryTheory.CategoryStruct.comp f g = CategoryTheory.CategoryStruct.comp f' g'
theorem CategoryTheory.Equivalence.cancel_counitInv_right_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {W X X' Y : D} (f : W ⟶ X) (g : X ⟶ Y) (f' : W ⟶ X') (g' : X' ⟶ Y),
CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g (e.counitInv.app Y)) =
CategoryTheory.CategoryStruct.comp f' (CategoryTheory.CategoryStruct.comp g' (e.counitInv.app Y)) ↔
CategoryTheory.CategoryStruct.comp f g = CategoryTheory.CategoryStruct.comp f' g'
theorem CategoryTheory.Equivalence.cancel_unit_right_assoc' E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {W X X' Y Y' Z : C} (f : W ⟶ X) (g : X ⟶ Y) (h : Y ⟶ Z) (f' : W ⟶ X') (g' : X' ⟶ Y') (h' : Y' ⟶ Z),
CategoryTheory.CategoryStruct.comp f
(CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.comp h (e.unit.app Z))) =
CategoryTheory.CategoryStruct.comp f'
(CategoryTheory.CategoryStruct.comp g' (CategoryTheory.CategoryStruct.comp h' (e.unit.app Z))) ↔
CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g h) =
CategoryTheory.CategoryStruct.comp f' (CategoryTheory.CategoryStruct.comp g' h')
theorem CategoryTheory.Equivalence.cancel_counitInv_right_assoc' E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {W X X' Y Y' Z : D} (f : W ⟶ X) (g : X ⟶ Y) (h : Y ⟶ Z) (f' : W ⟶ X') (g' : X' ⟶ Y') (h' : Y' ⟶ Z),
CategoryTheory.CategoryStruct.comp f
(CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.comp h (e.counitInv.app Z))) =
CategoryTheory.CategoryStruct.comp f'
(CategoryTheory.CategoryStruct.comp g' (CategoryTheory.CategoryStruct.comp h' (e.counitInv.app Z))) ↔
CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g h) =
CategoryTheory.CategoryStruct.comp f' (CategoryTheory.CategoryStruct.comp g' h')
def CategoryTheory.Equivalence.powNat E1 #
{C : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} C] → (C ≌ C) → ℕ → (C ≌ C)
Natural number powers of an auto-equivalence. Use (^) instead.
def CategoryTheory.Equivalence.pow E1 #
{C : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} C] → (C ≌ C) → ℤ → (C ≌ C)
Powers of an auto-equivalence. Use (^) instead.
instance CategoryTheory.Equivalence.instPowInt E0 #
{C : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} C] → Pow (C ≌ C) ℤ
theorem CategoryTheory.Equivalence.pow_zero E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (e : C ≌ C), e ^ 0 = CategoryTheory.Equivalence.refl
theorem CategoryTheory.Equivalence.pow_one E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (e : C ≌ C), e ^ 1 = e
theorem CategoryTheory.Equivalence.pow_neg_one E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (e : C ≌ C), e ^ (-1) = e.symm
instance CategoryTheory.Equivalence.essSurj_functor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {E : Type u₃} [inst_1 : CategoryTheory.Category.{v₃, u₃} E]
(e : C ≌ E), e.functor.EssSurj
The functor of an equivalence of categories is essentially surjective.
instance CategoryTheory.Equivalence.essSurj_inverse E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {E : Type u₃} [inst_1 : CategoryTheory.Category.{v₃, u₃} E]
(e : C ≌ E), e.inverse.EssSurj
def CategoryTheory.Equivalence.fullyFaithfulFunctor E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{E : Type u₃} → [inst_1 : CategoryTheory.Category.{v₃, u₃} E] → (e : C ≌ E) → e.functor.FullyFaithful
The functor of an equivalence of categories is fully faithful.
def CategoryTheory.Equivalence.fullyFaithfulInverse E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{E : Type u₃} → [inst_1 : CategoryTheory.Category.{v₃, u₃} E] → (e : C ≌ E) → e.inverse.FullyFaithful
The inverse of an equivalence of categories is fully faithful.
instance CategoryTheory.Equivalence.faithful_functor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {E : Type u₃} [inst_1 : CategoryTheory.Category.{v₃, u₃} E]
(e : C ≌ E), e.functor.Faithful
The functor of an equivalence of categories is faithful.
instance CategoryTheory.Equivalence.faithful_inverse E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {E : Type u₃} [inst_1 : CategoryTheory.Category.{v₃, u₃} E]
(e : C ≌ E), e.inverse.Faithful
instance CategoryTheory.Equivalence.full_functor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {E : Type u₃} [inst_1 : CategoryTheory.Category.{v₃, u₃} E]
(e : C ≌ E), e.functor.Full
The functor of an equivalence of categories is full.
instance CategoryTheory.Equivalence.full_inverse E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {E : Type u₃} [inst_1 : CategoryTheory.Category.{v₃, u₃} E]
(e : C ≌ E), e.inverse.Full
def CategoryTheory.Equivalence.changeFunctor E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(e : C ≌ D) → {G : CategoryTheory.Functor C D} → (e.functor ≅ G) → (C ≌ D)
If e : C ≌ D is an equivalence of categories, and iso : e.functor ≅ G is
an isomorphism, then there is an equivalence of categories whose functor is G.
theorem CategoryTheory.Equivalence.changeFunctor_unitIso_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {G : CategoryTheory.Functor C D} (iso : e.functor ≅ G) (X : C),
(e.changeFunctor iso).unitIso.hom.app X =
CategoryTheory.CategoryStruct.comp (e.unitIso.hom.app X) (e.inverse.map (iso.hom.app X))
theorem CategoryTheory.Equivalence.changeFunctor_counitIso_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {G : CategoryTheory.Functor C D} (iso : e.functor ≅ G) (X : D),
(e.changeFunctor iso).counitIso.hom.app X =
CategoryTheory.CategoryStruct.comp (iso.inv.app (e.inverse.obj X)) (e.counitIso.hom.app X)
theorem CategoryTheory.Equivalence.changeFunctor_unitIso_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {G : CategoryTheory.Functor C D} (iso : e.functor ≅ G) (X : C),
(e.changeFunctor iso).unitIso.inv.app X =
CategoryTheory.CategoryStruct.comp (e.inverse.map (iso.inv.app X)) (e.unitIso.inv.app X)
theorem CategoryTheory.Equivalence.changeFunctor_functor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {G : CategoryTheory.Functor C D} (iso : e.functor ≅ G), (e.changeFunctor iso).functor = G
theorem CategoryTheory.Equivalence.changeFunctor_inverse E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {G : CategoryTheory.Functor C D} (iso : e.functor ≅ G), (e.changeFunctor iso).inverse = e.inverse
theorem CategoryTheory.Equivalence.changeFunctor_counitIso_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {G : CategoryTheory.Functor C D} (iso : e.functor ≅ G) (X : D),
(e.changeFunctor iso).counitIso.inv.app X =
CategoryTheory.CategoryStruct.comp (e.counitIso.inv.app X) (iso.hom.app (e.inverse.obj X))
theorem CategoryTheory.Equivalence.changeFunctor_refl E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D), e.changeFunctor (CategoryTheory.Iso.refl e.functor) = e
Compatibility of changeFunctor with identity isomorphisms of functors
theorem CategoryTheory.Equivalence.changeFunctor_trans E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {G G' : CategoryTheory.Functor C D} (iso₁ : e.functor ≅ G) (iso₂ : G ≅ G'),
(e.changeFunctor iso₁).changeFunctor iso₂ = e.changeFunctor (iso₁ ≪≫ iso₂)
Compatibility of changeFunctor with the composition of isomorphisms of functors
def CategoryTheory.Equivalence.changeInverse E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(e : C ≌ D) → {G : CategoryTheory.Functor D C} → (e.inverse ≅ G) → (C ≌ D)
If e : C ≌ D is an equivalence of categories, and iso : e.functor ≅ G is
an isomorphism, then there is an equivalence of categories whose inverse is G.
theorem CategoryTheory.Equivalence.changeInverse_functor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {G : CategoryTheory.Functor D C} (iso : e.inverse ≅ G), (e.changeInverse iso).functor = e.functor
theorem CategoryTheory.Equivalence.changeInverse_inverse E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {G : CategoryTheory.Functor D C} (iso : e.inverse ≅ G), (e.changeInverse iso).inverse = G
theorem CategoryTheory.Equivalence.changeInverse_counitIso_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {G : CategoryTheory.Functor D C} (iso : e.inverse ≅ G) (X : D),
(e.changeInverse iso).counitIso.inv.app X =
CategoryTheory.CategoryStruct.comp (e.counitIso.inv.app X) (e.functor.map (iso.hom.app X))
theorem CategoryTheory.Equivalence.changeInverse_unitIso_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {G : CategoryTheory.Functor D C} (iso : e.inverse ≅ G) (X : C),
(e.changeInverse iso).unitIso.inv.app X =
CategoryTheory.CategoryStruct.comp (iso.inv.app (e.functor.obj X)) (e.unitIso.inv.app X)
theorem CategoryTheory.Equivalence.changeInverse_counitIso_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {G : CategoryTheory.Functor D C} (iso : e.inverse ≅ G) (X : D),
(e.changeInverse iso).counitIso.hom.app X =
CategoryTheory.CategoryStruct.comp (e.functor.map (iso.inv.app X)) (e.counitIso.hom.app X)
theorem CategoryTheory.Equivalence.changeInverse_unitIso_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(e : C ≌ D) {G : CategoryTheory.Functor D C} (iso : e.inverse ≅ G) (X : C),
(e.changeInverse iso).unitIso.hom.app X =
CategoryTheory.CategoryStruct.comp (e.unitIso.hom.app X) (iso.hom.app (e.functor.obj X))
class CategoryTheory.Functor.IsEquivalence E3 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} → [inst_1 : CategoryTheory.Category.{v₂, u₂} D] → CategoryTheory.Functor C D → Prop
A functor is an equivalence of categories if it is faithful, full and essentially surjective.
ctor CategoryTheory.Functor.IsEquivalence.mk E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F : CategoryTheory.Functor C D},
autoParam F.Faithful CategoryTheory.Functor.IsEquivalence.faithful._autoParam →
autoParam F.Full CategoryTheory.Functor.IsEquivalence.full._autoParam →
autoParam F.EssSurj CategoryTheory.Functor.IsEquivalence.essSurj._autoParam → F.IsEquivalence
instance CategoryTheory.Functor.IsEquivalence.faithful E0 #
∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {D : Type u₂} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
{F : CategoryTheory.Functor C D} [self : F.IsEquivalence], F.Faithful
instance CategoryTheory.Functor.IsEquivalence.full E0 #
∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {D : Type u₂} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
{F : CategoryTheory.Functor C D} [self : F.IsEquivalence], F.Full
instance CategoryTheory.Functor.IsEquivalence.essSurj E0 #
∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {D : Type u₂} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
{F : CategoryTheory.Functor C D} [self : F.IsEquivalence], F.EssSurj
instance CategoryTheory.Equivalence.isEquivalence_functor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(F : C ≌ D), F.functor.IsEquivalence
instance CategoryTheory.Equivalence.isEquivalence_inverse E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(F : C ≌ D), F.inverse.IsEquivalence
theorem CategoryTheory.Functor.IsEquivalence.mk' E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F : CategoryTheory.Functor C D} (G : CategoryTheory.Functor D C) (η : CategoryTheory.Functor.id C ≅ F.comp G)
(ε : G.comp F ≅ CategoryTheory.Functor.id D), F.IsEquivalence
To see that a functor is an equivalence, it suffices to provide an inverse functor G such that
F ⋙ G and G ⋙ F are naturally isomorphic to identity functors.
def CategoryTheory.Functor.inv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(F : CategoryTheory.Functor C D) → [F.IsEquivalence] → CategoryTheory.Functor D C
A quasi-inverse D ⥤ C to a functor that F : C ⥤ D that is an equivalence,
i.e. faithful, full, and essentially surjective.
def CategoryTheory.Functor.asEquivalence E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] → (F : CategoryTheory.Functor C D) → [F.IsEquivalence] → C ≌ D
Interpret a functor that is an equivalence as an equivalence.
theorem CategoryTheory.Functor.asEquivalence_functor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(F : CategoryTheory.Functor C D) [inst_2 : F.IsEquivalence], F.asEquivalence.functor = F
theorem CategoryTheory.Functor.asEquivalence_inverse E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(F : CategoryTheory.Functor C D) [inst_2 : F.IsEquivalence], F.asEquivalence.inverse = F.inv
theorem CategoryTheory.Functor.asEquivalence_counitIso_hom_app E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(F : CategoryTheory.Functor C D) [inst_2 : F.IsEquivalence] (X : D),
F.asEquivalence.counitIso.hom.app X = (F.objObjPreimageIso X).hom
theorem CategoryTheory.Functor.asEquivalence_unitIso_inv_app E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(F : CategoryTheory.Functor C D) [inst_2 : F.IsEquivalence] (X : C),
F.asEquivalence.unitIso.inv.app X = F.preimage (F.objObjPreimageIso (F.obj X)).hom
theorem CategoryTheory.Functor.asEquivalence_counitIso_inv_app E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(F : CategoryTheory.Functor C D) [inst_2 : F.IsEquivalence] (X : D),
F.asEquivalence.counitIso.inv.app X = (F.objObjPreimageIso X).inv
theorem CategoryTheory.Functor.asEquivalence_unitIso_hom_app E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(F : CategoryTheory.Functor C D) [inst_2 : F.IsEquivalence] (X : C),
F.asEquivalence.unitIso.hom.app X = F.preimage (F.objObjPreimageIso (F.obj X)).inv
instance CategoryTheory.Functor.isEquivalence_refl E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C], (CategoryTheory.Functor.id C).IsEquivalence
instance CategoryTheory.Functor.isEquivalence_inv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(F : CategoryTheory.Functor C D) [inst_2 : F.IsEquivalence], F.inv.IsEquivalence
instance CategoryTheory.Functor.isEquivalence_trans E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (F : CategoryTheory.Functor C D)
(G : CategoryTheory.Functor D E) [F.IsEquivalence] [G.IsEquivalence], (F.comp G).IsEquivalence
instance CategoryTheory.Functor.instIsEquivalenceObjWhiskeringLeft E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (F : CategoryTheory.Functor C D) [F.IsEquivalence],
((CategoryTheory.Functor.whiskeringLeft C D E).obj F).IsEquivalence
instance CategoryTheory.Functor.instIsEquivalenceObjWhiskeringRight E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] (F : CategoryTheory.Functor C D) [F.IsEquivalence],
((CategoryTheory.Functor.whiskeringRight E C D).obj F).IsEquivalence
theorem CategoryTheory.Functor.fun_inv_map E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(F : CategoryTheory.Functor C D) [inst_2 : F.IsEquivalence] (X Y : D) (f : X ⟶ Y),
F.map (F.inv.map f) =
CategoryTheory.CategoryStruct.comp (F.asEquivalence.counit.app X)
(CategoryTheory.CategoryStruct.comp f (F.asEquivalence.counitInv.app Y))
theorem CategoryTheory.Functor.inv_fun_map E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(F : CategoryTheory.Functor C D) [inst_2 : F.IsEquivalence] (X Y : C) (f : X ⟶ Y),
F.inv.map (F.map f) =
CategoryTheory.CategoryStruct.comp (F.asEquivalence.unitInv.app X)
(CategoryTheory.CategoryStruct.comp f (F.asEquivalence.unit.app Y))
theorem CategoryTheory.Functor.isEquivalence_of_iso E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G : CategoryTheory.Functor C D} (e : F ≅ G) [F.IsEquivalence], G.IsEquivalence
theorem CategoryTheory.Functor.isEquivalence_iff_of_iso E3 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G : CategoryTheory.Functor C D} (e : F ≅ G), F.IsEquivalence ↔ G.IsEquivalence
theorem CategoryTheory.Functor.isEquivalence_of_comp_right E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} E] (F : CategoryTheory.Functor C D)
(G : CategoryTheory.Functor D E) [G.IsEquivalence] [(F.comp G).IsEquivalence], F.IsEquivalence
If G and F ⋙ G are equivalence of categories, then F is also an equivalence.
theorem CategoryTheory.Functor.isEquivalence_of_comp_left E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} E] (F : CategoryTheory.Functor C D)
(G : CategoryTheory.Functor D E) [F.IsEquivalence] [(F.comp G).IsEquivalence], G.IsEquivalence
If F and F ⋙ G are equivalence of categories, then G is also an equivalence.
instance CategoryTheory.Equivalence.essSurjInducedFunctor E0 #
∀ {D : Type u₂} [inst : CategoryTheory.Category.{v₂, u₂} D] {C' : Type u_1} (e : C' ≃ D),
(CategoryTheory.inducedFunctor ⇑e).EssSurj
instance CategoryTheory.Equivalence.inducedFunctorOfEquiv E0 #
∀ {D : Type u₂} [inst : CategoryTheory.Category.{v₂, u₂} D] {C' : Type u_1} (e : C' ≃ D),
(CategoryTheory.inducedFunctor ⇑e).IsEquivalence
instance CategoryTheory.Equivalence.fullyFaithfulToEssImage E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(F : CategoryTheory.Functor C D) [F.Full] [F.Faithful], F.toEssImage.IsEquivalence
def CategoryTheory.ObjectProperty.fullSubcategoryCongr E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{P P' : CategoryTheory.ObjectProperty C} → P = P' → (P.FullSubcategory ≌ P'.FullSubcategory)
An equality of properties of objects of a category C induces an equivalence of the
respective induced full subcategories of C.
theorem CategoryTheory.ObjectProperty.fullSubcategoryCongr_inverse E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P P' : CategoryTheory.ObjectProperty C} (h : P = P'),
(CategoryTheory.ObjectProperty.fullSubcategoryCongr h).inverse = CategoryTheory.ObjectProperty.ιOfLE ⋯
theorem CategoryTheory.ObjectProperty.fullSubcategoryCongr_unitIso E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P P' : CategoryTheory.ObjectProperty C} (h : P = P'),
(CategoryTheory.ObjectProperty.fullSubcategoryCongr h).unitIso =
CategoryTheory.Iso.refl (CategoryTheory.Functor.id P.FullSubcategory)
theorem CategoryTheory.ObjectProperty.fullSubcategoryCongr_counitIso E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P P' : CategoryTheory.ObjectProperty C} (h : P = P'),
(CategoryTheory.ObjectProperty.fullSubcategoryCongr h).counitIso =
CategoryTheory.Iso.refl ((CategoryTheory.ObjectProperty.ιOfLE ⋯).comp (CategoryTheory.ObjectProperty.ιOfLE ⋯))
theorem CategoryTheory.ObjectProperty.fullSubcategoryCongr_functor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P P' : CategoryTheory.ObjectProperty C} (h : P = P'),
(CategoryTheory.ObjectProperty.fullSubcategoryCongr h).functor = CategoryTheory.ObjectProperty.ιOfLE ⋯
def CategoryTheory.Iso.compInverseIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{E : Type u₃} →
[inst_2 : CategoryTheory.Category.{v₃, u₃} E] →
{F : CategoryTheory.Functor C E} →
{G : CategoryTheory.Functor C D} → {H : D ≌ E} → (F ≅ G.comp H.functor) → (F.comp H.inverse ≅ G)
Construct an isomorphism F ⋙ H.inverse ≅ G from an isomorphism F ≅ G ⋙ H.functor.
theorem CategoryTheory.Iso.compInverseIso_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] {F : CategoryTheory.Functor C E}
{G : CategoryTheory.Functor C D} {H : D ≌ E} (i : F ≅ G.comp H.functor) (X : C),
i.compInverseIso.inv.app X =
CategoryTheory.CategoryStruct.comp (H.unitIso.hom.app (G.obj X)) (H.inverse.map (i.inv.app X))
theorem CategoryTheory.Iso.compInverseIso_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] {F : CategoryTheory.Functor C E}
{G : CategoryTheory.Functor C D} {H : D ≌ E} (i : F ≅ G.comp H.functor) (X : C),
i.compInverseIso.hom.app X =
CategoryTheory.CategoryStruct.comp (H.inverse.map (i.hom.app X)) (H.unitIso.inv.app (G.obj X))
def CategoryTheory.Iso.isoCompInverse E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{E : Type u₃} →
[inst_2 : CategoryTheory.Category.{v₃, u₃} E] →
{F : CategoryTheory.Functor C E} →
{G : CategoryTheory.Functor C D} → {H : D ≌ E} → (G.comp H.functor ≅ F) → (G ≅ F.comp H.inverse)
Construct an isomorphism G ≅ F ⋙ H.inverse from an isomorphism G ⋙ H.functor ≅ F.
theorem CategoryTheory.Iso.isoCompInverse_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] {F : CategoryTheory.Functor C E}
{G : CategoryTheory.Functor C D} {H : D ≌ E} (i : G.comp H.functor ≅ F) (X : C),
i.isoCompInverse.inv.app X =
CategoryTheory.CategoryStruct.comp (H.inverse.map (i.inv.app X)) (H.unitIso.inv.app (G.obj X))
theorem CategoryTheory.Iso.isoCompInverse_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] {F : CategoryTheory.Functor C E}
{G : CategoryTheory.Functor C D} {H : D ≌ E} (i : G.comp H.functor ≅ F) (X : C),
i.isoCompInverse.hom.app X =
CategoryTheory.CategoryStruct.comp (H.unitIso.hom.app (G.obj X)) (H.inverse.map (i.hom.app X))
def CategoryTheory.Iso.inverseCompIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{E : Type u₃} →
[inst_2 : CategoryTheory.Category.{v₃, u₃} E] →
{F : CategoryTheory.Functor C E} →
{H : CategoryTheory.Functor D E} → {G : C ≌ D} → (F ≅ G.functor.comp H) → (G.inverse.comp F ≅ H)
Construct an isomorphism G.inverse ⋙ F ≅ H from an isomorphism F ≅ G.functor ⋙ H.
theorem CategoryTheory.Iso.inverseCompIso_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] {F : CategoryTheory.Functor C E}
{H : CategoryTheory.Functor D E} {G : C ≌ D} (i : F ≅ G.functor.comp H) (X : D),
i.inverseCompIso.inv.app X =
CategoryTheory.CategoryStruct.comp (H.map (G.counitIso.inv.app X)) (i.inv.app (G.inverse.obj X))
theorem CategoryTheory.Iso.inverseCompIso_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] {F : CategoryTheory.Functor C E}
{H : CategoryTheory.Functor D E} {G : C ≌ D} (i : F ≅ G.functor.comp H) (X : D),
i.inverseCompIso.hom.app X =
CategoryTheory.CategoryStruct.comp (i.hom.app (G.inverse.obj X)) (H.map (G.counitIso.hom.app X))
def CategoryTheory.Iso.isoInverseComp E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{E : Type u₃} →
[inst_2 : CategoryTheory.Category.{v₃, u₃} E] →
{F : CategoryTheory.Functor C E} →
{H : CategoryTheory.Functor D E} → {G : C ≌ D} → (G.functor.comp H ≅ F) → (H ≅ G.inverse.comp F)
Construct an isomorphism H ≅ G.inverse ⋙ F from an isomorphism G.functor ⋙ H ≅ F.
theorem CategoryTheory.Iso.isoInverseComp_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] {F : CategoryTheory.Functor C E}
{H : CategoryTheory.Functor D E} {G : C ≌ D} (i : G.functor.comp H ≅ F) (X : D),
i.isoInverseComp.inv.app X =
CategoryTheory.CategoryStruct.comp (i.inv.app (G.inverse.obj X)) (H.map (G.counitIso.hom.app X))
theorem CategoryTheory.Iso.isoInverseComp_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] {F : CategoryTheory.Functor C E}
{H : CategoryTheory.Functor D E} {G : C ≌ D} (i : G.functor.comp H ≅ F) (X : D),
i.isoInverseComp.hom.app X =
CategoryTheory.CategoryStruct.comp (H.map (G.counitIso.inv.app X)) (i.hom.app (G.inverse.obj X))
def CategoryTheory.Iso.isoInverseOfIsoFunctor E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{G G' : C ≌ D} → (G.functor ≅ G'.functor) → (G.inverse ≅ G'.inverse)
As a special case, given two equivalences G and G' between the same categories,
construct an isomorphism G.inverse ≅ G.inverse from an isomorphism G.functor ≅ G.functor.
theorem CategoryTheory.Iso.isoInverseOfIsoFunctor_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{G G' : C ≌ D} (i : G.functor ≅ G'.functor) (X : D),
i.isoInverseOfIsoFunctor.inv.app X =
CategoryTheory.CategoryStruct.comp (G'.inverse.map (G.counitIso.inv.app X))
(CategoryTheory.CategoryStruct.comp (G'.inverse.map (i.hom.app (G.inverse.obj X)))
(G'.unitIso.inv.app (G.inverse.obj X)))
theorem CategoryTheory.Iso.isoInverseOfIsoFunctor_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{G G' : C ≌ D} (i : G.functor ≅ G'.functor) (X : D),
i.isoInverseOfIsoFunctor.hom.app X =
CategoryTheory.CategoryStruct.comp (G'.unitIso.hom.app (G.inverse.obj X))
(CategoryTheory.CategoryStruct.comp (G'.inverse.map (i.inv.app (G.inverse.obj X)))
(G'.inverse.map (G.counitIso.hom.app X)))
def CategoryTheory.Iso.isoFunctorOfIsoInverse E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{G G' : C ≌ D} → (G.inverse ≅ G'.inverse) → (G.functor ≅ G'.functor)
As a special case, given two equivalences G and G' between the same categories,
construct an isomorphism G.functor ≅ G.functor from an isomorphism G.inverse ≅ G.inverse.
theorem CategoryTheory.Iso.isoFunctorOfIsoInverse_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{G G' : C ≌ D} (i : G.inverse ≅ G'.inverse) (X : C),
i.isoFunctorOfIsoInverse.inv.app X =
CategoryTheory.CategoryStruct.comp (G'.functor.map (G.unitIso.hom.app X))
(CategoryTheory.CategoryStruct.comp (G'.functor.map (i.hom.app (G.functor.obj X)))
(G'.counitIso.hom.app (G.functor.obj X)))
theorem CategoryTheory.Iso.isoFunctorOfIsoInverse_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{G G' : C ≌ D} (i : G.inverse ≅ G'.inverse) (X : C),
i.isoFunctorOfIsoInverse.hom.app X =
CategoryTheory.CategoryStruct.comp (G'.counitIso.inv.app (G.functor.obj X))
(CategoryTheory.CategoryStruct.comp (G'.functor.map (i.inv.app (G.functor.obj X)))
(G'.functor.map (G.unitIso.inv.app X)))
theorem CategoryTheory.Iso.isoFunctorOfIsoInverse_isoInverseOfIsoFunctor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{G G' : C ≌ D} (i : G.functor ≅ G'.functor), i.isoInverseOfIsoFunctor.isoFunctorOfIsoInverse = i
Sanity check: isoFunctorOfIsoInverse (isoInverseOfIsoFunctor i) is just i.
theorem CategoryTheory.Iso.isoInverseOfIsoFunctor_isoFunctorOfIsoInverse E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{G G' : C ≌ D} (i : G.inverse ≅ G'.inverse), i.isoFunctorOfIsoInverse.isoInverseOfIsoFunctor = i