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

95 declarations. Mathlib docs · Source

def CategoryTheory.Core.ctorIdx E1 #

{C : Type u₁} → CategoryTheory.Core C → ℕ

theorem CategoryTheory.Core.mk.injEq E0 #

∀ {C : Type u₁} (of of_1 : C), ({ of := of } = { of := of_1 }) = (of = of_1)

theorem CategoryTheory.CoreHom.mk.injEq E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : CategoryTheory.Core C} (iso iso_1 : X.of ≅ Y.of),
  ({ iso := iso } = { iso := iso_1 }) = (iso = iso_1)

theorem CategoryTheory.Core.mk.inj E1 #

∀ {C : Type u₁} {of of_1 : C}, { of := of } = { of := of_1 } → of = of_1

theorem CategoryTheory.CoreHom.mk.inj E1 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {X Y : CategoryTheory.Core C} {iso iso_1 : X.of ≅ Y.of},
  { iso := iso } = { iso := iso_1 } → iso = iso_1

def CategoryTheory.CoreHom.ctorIdx E1 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} → {X Y : CategoryTheory.Core C} → CategoryTheory.CoreHom X Y → ℕ

structure CategoryTheory.Core E1 #

Type u₁ → Type u₁

The core of a category C is the groupoid whose morphisms are all the isomorphisms of C.

ctor CategoryTheory.Core.mk E0 #

{C : Type u₁} → C → CategoryTheory.Core C

abbrev CategoryTheory.Core.of E1 #

{C : Type u₁} → CategoryTheory.Core C → C

The object of the base category underlying an object in Core C.

structure CategoryTheory.CoreHom E1 #

{C : Type u₁} → [CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.Core C → CategoryTheory.Core C → Type v₁

The hom-type between two objects of Core C. It is defined as a one-field structure to prevent defeq abuses.

theorem CategoryTheory.CoreHom.ext_iff E0 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {X Y : CategoryTheory.Core C}
  {x y : CategoryTheory.CoreHom X Y}, x = y ↔ x.iso = y.iso

theorem CategoryTheory.CoreHom.ext E1 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {X Y : CategoryTheory.Core C}
  {x y : CategoryTheory.CoreHom X Y}, x.iso = y.iso → x = y

ctor CategoryTheory.CoreHom.mk E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : CategoryTheory.Core C} → (X.of ≅ Y.of) → CategoryTheory.CoreHom X Y

abbrev CategoryTheory.CoreHom.iso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : CategoryTheory.Core C} → CategoryTheory.CoreHom X Y → (X.of ≅ Y.of)

The isomorphism of objects of C underlying a morphism in Core C.

instance CategoryTheory.coreCategory E0 #

{C : Type u₁} → [CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.Groupoid (CategoryTheory.Core C)

theorem CategoryTheory.coreCategory_id_iso E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : CategoryTheory.Core C),
  (CategoryTheory.CategoryStruct.id X).iso = CategoryTheory.Iso.refl X.of

theorem CategoryTheory.coreCategory_inv_iso E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {x x_1 : CategoryTheory.Core C}
  (f : CategoryTheory.CoreHom x x_1), (CategoryTheory.Groupoid.inv f).iso = f.iso.symm

theorem CategoryTheory.coreCategory_comp_iso E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {x y z : CategoryTheory.Core C} (f : x ⟶ y) (g : y ⟶ z),
  (CategoryTheory.CategoryStruct.comp f g).iso = f.iso ≪≫ g.iso

def CategoryTheory.Core.inclusion E1 #

(C : Type u₁) → [inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.Functor (CategoryTheory.Core C) C

The core of a category is naturally included in the category.

theorem CategoryTheory.Core.inclusion_obj E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (self : CategoryTheory.Core C),
  (CategoryTheory.Core.inclusion C).obj self = self.of

theorem CategoryTheory.Core.inclusion_map E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : CategoryTheory.Core C} (f : X ⟶ Y),
  (CategoryTheory.Core.inclusion C).map f = f.iso.hom

theorem CategoryTheory.Core.hom_ext E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : CategoryTheory.Core C} {f g : X ⟶ Y},
  f.iso.hom = g.iso.hom → f = g

theorem CategoryTheory.Core.hom_ext_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : CategoryTheory.Core C} {f g : X ⟶ Y},
  f = g ↔ f.iso.hom = g.iso.hom

def CategoryTheory.Core.isoMk E1 #

{C : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} C] → {x y : CategoryTheory.Core C} → (x.of ≅ y.of) → (x ≅ y)

Construct an isomorphism in Core C from an isomorphism in C.

theorem CategoryTheory.Core.isoMk_hom_iso E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {x y : CategoryTheory.Core C} (e : x.of ≅ y.of),
  (CategoryTheory.Core.isoMk e).hom.iso = e

theorem CategoryTheory.Core.isoMk_inv_iso E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {x y : CategoryTheory.Core C} (e : x.of ≅ y.of),
  (CategoryTheory.Core.isoMk e).inv.iso = e.symm

instance CategoryTheory.Core.instFaithfulInclusion E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C], (CategoryTheory.Core.inclusion C).Faithful

def CategoryTheory.Core.functorToCore E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {G : Type u₂} →
      [inst_1 : CategoryTheory.Groupoid G] →
        CategoryTheory.Functor G C → CategoryTheory.Functor G (CategoryTheory.Core C)

A functor from a groupoid to a category C factors through the core of C.

theorem CategoryTheory.Core.functorToCore_map_iso_hom E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {G : Type u₂} [inst_1 : CategoryTheory.Groupoid G]
  (F : CategoryTheory.Functor G C) {X Y : G} (f : X ⟶ Y),
  ((CategoryTheory.Core.functorToCore F).map f).iso.hom = F.map f

theorem CategoryTheory.Core.functorToCore_obj_of E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {G : Type u₂} [inst_1 : CategoryTheory.Groupoid G]
  (F : CategoryTheory.Functor G C) (X : G), ((CategoryTheory.Core.functorToCore F).obj X).of = F.obj X

theorem CategoryTheory.Core.functorToCore_map_iso_inv E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {G : Type u₂} [inst_1 : CategoryTheory.Groupoid G]
  (F : CategoryTheory.Functor G C) {X Y : G} (f : X ⟶ Y),
  ((CategoryTheory.Core.functorToCore F).map f).iso.inv = CategoryTheory.inv (F.map f)

def CategoryTheory.Core.forgetFunctorToCore E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {G : Type u₂} →
      [inst_1 : CategoryTheory.Groupoid G] →
        CategoryTheory.Functor (CategoryTheory.Functor G (CategoryTheory.Core C)) (CategoryTheory.Functor G C)

We can functorially associate to any functor from a groupoid to the core of a category C, a functor from the groupoid to C, simply by composing with the embedding Core C ⥤ C.

theorem CategoryTheory.Core.forgetFunctorToCore_map_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {G : Type u₂} [inst_1 : CategoryTheory.Groupoid G]
  {X Y : CategoryTheory.Functor G (CategoryTheory.Core C)} (α : X ⟶ Y) (X_1 : G),
  (CategoryTheory.Core.forgetFunctorToCore.map α).app X_1 = (α.app X_1).iso.hom

theorem CategoryTheory.Core.forgetFunctorToCore_obj_obj E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {G : Type u₂} [inst_1 : CategoryTheory.Groupoid G]
  (F : CategoryTheory.Functor G (CategoryTheory.Core C)) (X : G),
  (CategoryTheory.Core.forgetFunctorToCore.obj F).obj X = (F.obj X).of

theorem CategoryTheory.Core.forgetFunctorToCore_obj_map E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {G : Type u₂} [inst_1 : CategoryTheory.Groupoid G]
  (F : CategoryTheory.Functor G (CategoryTheory.Core C)) {X Y : G} (f : X ⟶ Y),
  (CategoryTheory.Core.forgetFunctorToCore.obj F).map f = (F.map f).iso.hom

def CategoryTheory.Functor.core 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 (CategoryTheory.Core C) (CategoryTheory.Core D)

A functor C ⥤ D induces a functor Core C ⥤ Core D.

theorem CategoryTheory.Functor.core_obj_of 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) (X : CategoryTheory.Core C), (F.core.obj X).of = F.obj X.of

theorem CategoryTheory.Functor.core_map_iso_hom 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) {X Y : CategoryTheory.Core C} (f : X ⟶ Y), (F.core.map f).iso.hom = F.map f.iso.hom

theorem CategoryTheory.Functor.core_map_iso_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) {X Y : CategoryTheory.Core C} (f : X ⟶ Y), (F.core.map f).iso.inv = F.map f.iso.inv

def CategoryTheory.Functor.coreId E1 #

(C : Type u₁) →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    (CategoryTheory.Functor.id C).core ≅ CategoryTheory.Functor.id (CategoryTheory.Core C)

The core of the identity functor is the identity functor on the cores.

theorem CategoryTheory.Functor.coreId_hom_app_iso_hom E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (X : CategoryTheory.Core C),
  ((CategoryTheory.Functor.coreId C).hom.app X).iso.hom = CategoryTheory.CategoryStruct.id X.of

theorem CategoryTheory.Functor.coreId_inv_app_iso_inv E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (X : CategoryTheory.Core C),
  ((CategoryTheory.Functor.coreId C).inv.app X).iso.inv = CategoryTheory.CategoryStruct.id X.of

theorem CategoryTheory.Functor.coreId_inv_app_iso_hom E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (X : CategoryTheory.Core C),
  ((CategoryTheory.Functor.coreId C).inv.app X).iso.hom = CategoryTheory.CategoryStruct.id X.of

theorem CategoryTheory.Functor.coreId_hom_app_iso_inv E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (X : CategoryTheory.Core C),
  ((CategoryTheory.Functor.coreId C).hom.app X).iso.inv = CategoryTheory.CategoryStruct.id X.of

def CategoryTheory.Functor.coreComp 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 D) → (G : CategoryTheory.Functor D E) → (F.comp G).core ≅ F.core.comp G.core

The core of the composition of F and G is the composition of the cores.

theorem CategoryTheory.Functor.coreComp_hom_app_iso_inv 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) (X : CategoryTheory.Core C),
  ((F.coreComp G).hom.app X).iso.inv = CategoryTheory.CategoryStruct.id (G.obj (F.obj X.of))

theorem CategoryTheory.Functor.coreComp_hom_app_iso_hom 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) (X : CategoryTheory.Core C),
  ((F.coreComp G).hom.app X).iso.hom = CategoryTheory.CategoryStruct.id (G.obj (F.obj X.of))

theorem CategoryTheory.Functor.coreComp_inv_app_iso_hom 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) (X : CategoryTheory.Core C),
  ((F.coreComp G).inv.app X).iso.hom = CategoryTheory.CategoryStruct.id (G.obj (F.obj X.of))

theorem CategoryTheory.Functor.coreComp_inv_app_iso_inv 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) (X : CategoryTheory.Core C),
  ((F.coreComp G).inv.app X).iso.inv = CategoryTheory.CategoryStruct.id (G.obj (F.obj X.of))

def CategoryTheory.Functor.coreCompInclusionIso 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.core.comp (CategoryTheory.Core.inclusion D) ≅ (CategoryTheory.Core.inclusion C).comp F

The natural isomorphism

                  F.core
            Core C ⥤ Core D
 inclusion C  ‖          ‖  inclusion D
              V          V
              C    ⥤    D
                    F

thought of as pseudonaturality of inclusion, when viewing Core as a pseudofunctor.

theorem CategoryTheory.Functor.coreCompInclusionIso_hom_app 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) (X : CategoryTheory.Core C),
  F.coreCompInclusionIso.hom.app X = CategoryTheory.CategoryStruct.id (F.obj X.of)

theorem CategoryTheory.Functor.coreCompInclusionIso_inv_app 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) (X : CategoryTheory.Core C),
  F.coreCompInclusionIso.inv.app X = CategoryTheory.CategoryStruct.id (F.obj X.of)

theorem CategoryTheory.Functor.core_comp_inclusion 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.core.comp (CategoryTheory.Core.inclusion D) = (CategoryTheory.Core.inclusion C).comp F

def CategoryTheory.Iso.core 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} → (F ≅ G) → (F.core ≅ G.core)

A natural isomorphism of functors induces a natural isomorphism between their cores.

theorem CategoryTheory.Iso.core_inv_app_iso_hom E0 #

∀ {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} (α : F ≅ G) (X : CategoryTheory.Core C),
  (α.core.inv.app X).iso.hom = α.inv.app X.of

theorem CategoryTheory.Iso.core_hom_app_iso_inv E0 #

∀ {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} (α : F ≅ G) (X : CategoryTheory.Core C),
  (α.core.hom.app X).iso.inv = α.inv.app X.of

theorem CategoryTheory.Iso.core_inv_app_iso_inv E0 #

∀ {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} (α : F ≅ G) (X : CategoryTheory.Core C),
  (α.core.inv.app X).iso.inv = α.hom.app X.of

theorem CategoryTheory.Iso.core_hom_app_iso_hom E0 #

∀ {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} (α : F ≅ G) (X : CategoryTheory.Core C),
  (α.core.hom.app X).iso.hom = α.hom.app X.of

theorem CategoryTheory.Iso.coreComp E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F G H : CategoryTheory.Functor C D} (α : F ≅ G) (β : G ≅ H), (α ≪≫ β).core = α.core ≪≫ β.core

theorem CategoryTheory.Iso.coreId 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}, (CategoryTheory.Iso.refl F).core = CategoryTheory.Iso.refl F.core

theorem CategoryTheory.Iso.coreWhiskerLeft 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 D)
  {G H : CategoryTheory.Functor D E} (η : G ≅ H),
  (F.isoWhiskerLeft η).core = F.coreComp G ≪≫ F.core.isoWhiskerLeft η.core ≪≫ (F.coreComp H).symm

theorem CategoryTheory.Iso.coreWhiskerRight 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 G : CategoryTheory.Functor C D} (η : F ≅ G)
  (H : CategoryTheory.Functor D E),
  (CategoryTheory.Functor.isoWhiskerRight η H).core =
    F.coreComp H ≪≫ CategoryTheory.Functor.isoWhiskerRight η.core H.core ≪≫ (G.coreComp H).symm

theorem CategoryTheory.Iso.coreLeftUnitor 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.leftUnitor.core =
    (CategoryTheory.Functor.id C).coreComp F ≪≫
      CategoryTheory.Functor.isoWhiskerRight (CategoryTheory.Functor.coreId C) F.core ≪≫ F.core.leftUnitor

theorem CategoryTheory.Iso.coreRightUnitor 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.rightUnitor.core =
    F.coreComp (CategoryTheory.Functor.id D) ≪≫
      F.core.isoWhiskerLeft (CategoryTheory.Functor.coreId D) ≪≫ F.core.rightUnitor

theorem CategoryTheory.Iso.coreAssociator 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' : Type u₄}
  [inst_3 : CategoryTheory.Category.{v₄, u₄} E'] (F : CategoryTheory.Functor C D) (G : CategoryTheory.Functor D E)
  (H : CategoryTheory.Functor E E'),
  (F.associator G H).core =
    (F.comp G).coreComp H ≪≫
      CategoryTheory.Functor.isoWhiskerRight (F.coreComp G) H.core ≪≫
        F.core.associator G.core H.core ≪≫ (F.core.isoWhiskerLeft (G.coreComp H)).symm ≪≫ (F.coreComp (G.comp H)).symm

def CategoryTheory.Core.functorToCoreCompLeftIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {G : Type u₂} →
      [inst_1 : CategoryTheory.Groupoid G] →
        {G' : Type u₃} →
          [inst_2 : CategoryTheory.Groupoid G'] →
            (H : CategoryTheory.Functor G C) →
              (F : CategoryTheory.Functor G' G) →
                CategoryTheory.Core.functorToCore (F.comp H) ≅ F.comp (CategoryTheory.Core.functorToCore H)

The functor functorToCore (F ⋙ H) factors through functorToCore H.

theorem CategoryTheory.Core.functorToCore_comp_left E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {G : Type u₂} [inst_1 : CategoryTheory.Groupoid G]
  {G' : Type u₃} [inst_2 : CategoryTheory.Groupoid G'] (H : CategoryTheory.Functor G C)
  (F : CategoryTheory.Functor G' G),
  CategoryTheory.Core.functorToCore (F.comp H) = F.comp (CategoryTheory.Core.functorToCore H)

def CategoryTheory.Core.functorToCoreCompRightIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {G : Type u₂} →
      [inst_1 : CategoryTheory.Groupoid G] →
        {C' : Type u₄} →
          [inst_2 : CategoryTheory.Category.{v₄, u₄} C'] →
            (H : CategoryTheory.Functor G C) →
              (F : CategoryTheory.Functor C C') →
                CategoryTheory.Core.functorToCore (H.comp F) ≅ (CategoryTheory.Core.functorToCore H).comp F.core

The functor functorToCore (H ⋙ F) factors through functorToCore H.

theorem CategoryTheory.Core.functorToCore_comp_right E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {G : Type u₂} [inst_1 : CategoryTheory.Groupoid G]
  {C' : Type u₄} [inst_2 : CategoryTheory.Category.{v₄, u₄} C'] (H : CategoryTheory.Functor G C)
  (F : CategoryTheory.Functor C C'),
  CategoryTheory.Core.functorToCore (H.comp F) = (CategoryTheory.Core.functorToCore H).comp F.core

def CategoryTheory.Core.inclusionCompFunctorToCoreIso E1 #

{G : Type u₂} →
  [inst : CategoryTheory.Groupoid G] →
    (CategoryTheory.Core.inclusion G).comp (CategoryTheory.Core.functorToCore (CategoryTheory.Functor.id G)) ≅
      CategoryTheory.Functor.id (CategoryTheory.Core G)

The functor functorToCore (𝟭 G) is a section of inclusion G.

theorem CategoryTheory.Core.inclusion_comp_functorToCore E1 #

∀ {G : Type u₂} [inst : CategoryTheory.Groupoid G],
  (CategoryTheory.Core.inclusion G).comp (CategoryTheory.Core.functorToCore (CategoryTheory.Functor.id G)) =
    CategoryTheory.Functor.id (CategoryTheory.Core G)

def CategoryTheory.Core.functorToCoreInclusionIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    CategoryTheory.Core.functorToCore (CategoryTheory.Core.inclusion C) ≅
      CategoryTheory.Functor.id (CategoryTheory.Core C)

The functor functorToCore (inclusion C) is isomorphic to the identity on Core C.

theorem CategoryTheory.Core.functorToCore_inclusion E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C],
  CategoryTheory.Core.functorToCore (CategoryTheory.Core.inclusion C) =
    CategoryTheory.Functor.id (CategoryTheory.Core C)

def CategoryTheory.Equivalence.core E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] → (C ≌ D) → (CategoryTheory.Core C ≌ CategoryTheory.Core D)

Equivalent categories have equivalent cores.

theorem CategoryTheory.Equivalence.core_inverse_map_iso_hom 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 : CategoryTheory.Core D} (f : X ⟶ Y), (E.core.inverse.map f).iso.hom = E.inverse.map f.iso.hom

theorem CategoryTheory.Equivalence.core_unitIso_hom_app_iso_inv E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (E : C ≌ D) (X : CategoryTheory.Core C), (E.core.unitIso.hom.app X).iso.inv = E.unitIso.inv.app X.of

theorem CategoryTheory.Equivalence.core_functor_obj_of E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (E : C ≌ D) (X : CategoryTheory.Core C), (E.core.functor.obj X).of = E.functor.obj X.of

theorem CategoryTheory.Equivalence.core_functor_map_iso_inv 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 : CategoryTheory.Core C} (f : X ⟶ Y), (E.core.functor.map f).iso.inv = E.functor.map f.iso.inv

theorem CategoryTheory.Equivalence.core_counitIso_hom_app_iso_hom E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (E : C ≌ D) (X : CategoryTheory.Core D), (E.core.counitIso.hom.app X).iso.hom = E.counitIso.hom.app X.of

theorem CategoryTheory.Equivalence.core_inverse_map_iso_inv 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 : CategoryTheory.Core D} (f : X ⟶ Y), (E.core.inverse.map f).iso.inv = E.inverse.map f.iso.inv

theorem CategoryTheory.Equivalence.core_inverse_obj_of E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (E : C ≌ D) (X : CategoryTheory.Core D), (E.core.inverse.obj X).of = E.inverse.obj X.of

theorem CategoryTheory.Equivalence.core_counitIso_hom_app_iso_inv E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (E : C ≌ D) (X : CategoryTheory.Core D), (E.core.counitIso.hom.app X).iso.inv = E.counitIso.inv.app X.of

theorem CategoryTheory.Equivalence.core_unitIso_hom_app_iso_hom E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (E : C ≌ D) (X : CategoryTheory.Core C), (E.core.unitIso.hom.app X).iso.hom = E.unitIso.hom.app X.of

theorem CategoryTheory.Equivalence.core_counitIso_inv_app_iso_hom E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (E : C ≌ D) (X : CategoryTheory.Core D), (E.core.counitIso.inv.app X).iso.hom = E.counitIso.inv.app X.of

theorem CategoryTheory.Equivalence.core_functor_map_iso_hom 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 : CategoryTheory.Core C} (f : X ⟶ Y), (E.core.functor.map f).iso.hom = E.functor.map f.iso.hom

theorem CategoryTheory.Equivalence.core_unitIso_inv_app_iso_hom E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (E : C ≌ D) (X : CategoryTheory.Core C), (E.core.unitIso.inv.app X).iso.hom = E.unitIso.inv.app X.of

theorem CategoryTheory.Equivalence.core_unitIso_inv_app_iso_inv E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (E : C ≌ D) (X : CategoryTheory.Core C), (E.core.unitIso.inv.app X).iso.inv = E.unitIso.hom.app X.of

theorem CategoryTheory.Equivalence.core_counitIso_inv_app_iso_inv E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (E : C ≌ D) (X : CategoryTheory.Core D), (E.core.counitIso.inv.app X).iso.inv = E.counitIso.hom.app X.of

def CategoryTheory.coreFunctor E1 #

(C : Type u₁) →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    (D : Type u₂) →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        CategoryTheory.Functor (CategoryTheory.Core (CategoryTheory.Functor C D))
          (CategoryTheory.Functor (CategoryTheory.Core C) (CategoryTheory.Core D))

Taking the core of a functor is functorial if we discard non-invertible natural transformations.

theorem CategoryTheory.coreFunctor_obj_map_iso_inv E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Core (CategoryTheory.Functor C D)) {X Y : CategoryTheory.Core C} (f : X ⟶ Y),
  (((CategoryTheory.coreFunctor C D).obj F).map f).iso.inv = F.of.map f.iso.inv

theorem CategoryTheory.coreFunctor_obj_obj_of E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Core (CategoryTheory.Functor C D)) (X : CategoryTheory.Core C),
  (((CategoryTheory.coreFunctor C D).obj F).obj X).of = F.of.obj X.of

theorem CategoryTheory.coreFunctor_map_app_iso_inv E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X Y : CategoryTheory.Core (CategoryTheory.Functor C D)} (η : X ⟶ Y) (X_1 : CategoryTheory.Core C),
  (((CategoryTheory.coreFunctor C D).map η).app X_1).iso.inv = η.iso.inv.app X_1.of

theorem CategoryTheory.coreFunctor_map_app_iso_hom E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X Y : CategoryTheory.Core (CategoryTheory.Functor C D)} (η : X ⟶ Y) (X_1 : CategoryTheory.Core C),
  (((CategoryTheory.coreFunctor C D).map η).app X_1).iso.hom = η.iso.hom.app X_1.of

theorem CategoryTheory.coreFunctor_obj_map_iso_hom E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Core (CategoryTheory.Functor C D)) {X Y : CategoryTheory.Core C} (f : X ⟶ Y),
  (((CategoryTheory.coreFunctor C D).obj F).map f).iso.hom = F.of.map f.iso.hom

def CategoryTheory.ofEquivFunctor E1 #

(m : Type u₁ → Type u₂) →
  [EquivFunctor m] → CategoryTheory.Functor (CategoryTheory.Core (Type u₁)) (CategoryTheory.Core (Type u₂))

ofEquivFunctor m lifts a type-level EquivFunctor to a categorical functor Core (Type u₁) ⥤ Core (Type u₂).