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

88 declarations and 1 deprecated aliases. Mathlib docs · Source

theorem Quotient.recOnSubsingleton₂.congr_simp E1 #

∀ {α : Sort uA} {β : Sort uB} {s₁ : Setoid α} {s₂ : Setoid β} {motive : Quotient s₁ → Quotient s₂ → Sort uC}
  [s : ∀ (a : α) (b : β), Subsingleton (motive ⟦a⟧ ⟦b⟧)] (q₁ : Quotient s₁) (q₂ : Quotient s₂)
  (g g_1 : (a : α) → (b : β) → motive ⟦a⟧ ⟦b⟧),
  g = g_1 → Quotient.recOnSubsingleton₂ q₁ q₂ g = Quotient.recOnSubsingleton₂ q₁ q₂ g_1

theorem Quotient.recOnSubsingleton.congr_simp E1 #

∀ {α : Sort u} {s : Setoid α} {motive : Quotient s → Sort v} [h : ∀ (a : α), Subsingleton (motive ⟦a⟧)] (q : Quotient s)
  (f f_1 : (a : α) → motive ⟦a⟧), f = f_1 → Quotient.recOnSubsingleton q f = Quotient.recOnSubsingleton q f_1

def CategoryTheory.Skeletal E1 #

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

A category is skeletal if isomorphic objects are equal.

theorem CategoryTheory.Functor.isEquivalence_iff_isIso_of_skeletal 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), CategoryTheory.Skeletal C → CategoryTheory.Skeletal D → (F.IsEquivalence ↔ F.IsIso)

A functor between skeletal categories is an equivalence if and only if it is an isomorphism.

structure CategoryTheory.IsSkeletonOf E1 #

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

IsSkeletonOf C D F says that F : D ⥤ C exhibits D as a skeletal full subcategory of C, in particular F is a (strong) equivalence and D is skeletal.

ctor CategoryTheory.IsSkeletonOf.mk E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F : CategoryTheory.Functor D C},
  CategoryTheory.Skeletal D →
    autoParam F.IsEquivalence CategoryTheory.IsSkeletonOf.eqv._autoParam → CategoryTheory.IsSkeletonOf C D F

theorem CategoryTheory.IsSkeletonOf.skel E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F : CategoryTheory.Functor D C}, CategoryTheory.IsSkeletonOf C D F → CategoryTheory.Skeletal D

The category D has isomorphic objects equal

theorem CategoryTheory.IsSkeletonOf.eqv E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F : CategoryTheory.Functor D C}, CategoryTheory.IsSkeletonOf C D F → F.IsEquivalence

The functor F is an equivalence

theorem CategoryTheory.functor_skeletal E1 #

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

If C is thin and skeletal, D ⥤ C is skeletal. CategoryTheory.functor_thin shows it is thin also.

def CategoryTheory.Skeleton E1 #

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

Construct the skeleton category as the induced category on the isomorphism classes, and derive its category structure.

instance CategoryTheory.instCategorySkeleton E0 #

(C : Type u_2) →
  [inst : CategoryTheory.Category.{u_1, u_2} C] → CategoryTheory.Category.{u_1, u_2} (CategoryTheory.Skeleton C)

instance CategoryTheory.instInhabitedSkeleton E0 #

(C : Type u_1) → [inst : CategoryTheory.Category.{u_2, u_1} C] → [Inhabited C] → Inhabited (CategoryTheory.Skeleton C)

instance CategoryTheory.instCoeSortSkeleton E0 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{u_3, u_1} C] → (α : Sort u_2) → [CoeSort C α] → CoeSort (CategoryTheory.Skeleton C) α

def CategoryTheory.fromSkeleton E1 #

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

The functor from the skeleton of C to C.

theorem CategoryTheory.fromSkeleton_obj E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (a : Quotient (CategoryTheory.isIsomorphicSetoid C)),
  (CategoryTheory.fromSkeleton C).obj a = a.out

theorem CategoryTheory.fromSkeleton_map E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : CategoryTheory.InducedCategory C Quotient.out}
  (f : X ⟶ Y), (CategoryTheory.fromSkeleton C).map f = f.hom

instance CategoryTheory.instFullSkeletonFromSkeleton E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C], (CategoryTheory.fromSkeleton C).Full

instance CategoryTheory.instFaithfulSkeletonFromSkeleton E0 #

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

instance CategoryTheory.instEssSurjSkeletonFromSkeleton E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C], (CategoryTheory.fromSkeleton C).EssSurj

instance CategoryTheory.fromSkeleton.isEquivalence E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C], (CategoryTheory.fromSkeleton C).IsEquivalence

abbrev CategoryTheory.toSkeleton E1 #

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

The class of an object in the skeleton.

def CategoryTheory.fromSkeletonToSkeletonIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    (X : C) → (CategoryTheory.fromSkeleton C).obj (CategoryTheory.toSkeleton X) ≅ X

The isomorphism between ⟦X⟧.out and X.

theorem CategoryTheory.Skeleton.comp_hom E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z : CategoryTheory.Skeleton C} (f : X ⟶ Y) (g : Y ⟶ Z),
  (CategoryTheory.CategoryStruct.comp f g).hom = CategoryTheory.CategoryStruct.comp f.hom g.hom

theorem CategoryTheory.Skeleton.comp_hom_assoc E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z : CategoryTheory.Skeleton C} (f : X ⟶ Y) (g : Y ⟶ Z)
  {Z_1 : C} (h : Quotient.out Z ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g).hom h =
    CategoryTheory.CategoryStruct.comp f.hom (CategoryTheory.CategoryStruct.comp g.hom h)

def CategoryTheory.toSkeletonFunctor E1 #

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

An inverse to fromSkeleton C that forms an equivalence with it.

theorem CategoryTheory.toSkeletonFunctor_map_hom E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y),
  ((CategoryTheory.toSkeletonFunctor C).map f).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.fromSkeletonToSkeletonIso X).hom
      (CategoryTheory.CategoryStruct.comp f (CategoryTheory.fromSkeletonToSkeletonIso Y).inv)

theorem CategoryTheory.toSkeletonFunctor_obj E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C),
  (CategoryTheory.toSkeletonFunctor C).obj X = CategoryTheory.toSkeleton X

def CategoryTheory.skeletonEquivalence E1 #

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

The equivalence between the skeleton and the category itself.

theorem CategoryTheory.skeletonEquivalence_unitIso E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C],
  (CategoryTheory.skeletonEquivalence C).unitIso =
    CategoryTheory.NatIso.ofComponents (fun X ↦ CategoryTheory.InducedCategory.isoMk (Nonempty.some ⋯).symm) ⋯

theorem CategoryTheory.skeletonEquivalence_inverse E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C],
  (CategoryTheory.skeletonEquivalence C).inverse = CategoryTheory.toSkeletonFunctor C

theorem CategoryTheory.skeletonEquivalence_counitIso E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C],
  (CategoryTheory.skeletonEquivalence C).counitIso =
    CategoryTheory.NatIso.ofComponents CategoryTheory.fromSkeletonToSkeletonIso ⋯

theorem CategoryTheory.skeletonEquivalence_functor E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C],
  (CategoryTheory.skeletonEquivalence C).functor = CategoryTheory.fromSkeleton C

instance CategoryTheory.toSkeletonFunctor.isEquivalence E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C], (CategoryTheory.toSkeletonFunctor C).IsEquivalence

theorem CategoryTheory.skeleton_skeletal E1 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C], CategoryTheory.Skeletal (CategoryTheory.Skeleton C)

theorem CategoryTheory.skeleton_isSkeleton E1 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C],
  CategoryTheory.IsSkeletonOf C (CategoryTheory.Skeleton C) (CategoryTheory.fromSkeleton C)

The skeleton of C given by choice is a skeleton of C.

theorem CategoryTheory.toSkeleton_fromSkeleton_obj E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : CategoryTheory.Skeleton C),
  CategoryTheory.toSkeleton ((CategoryTheory.fromSkeleton C).obj X) = X

theorem CategoryTheory.toSkeleton_eq_toSkeleton_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C},
  CategoryTheory.toSkeleton X = CategoryTheory.toSkeleton Y ↔ Nonempty (X ≅ Y)

theorem CategoryTheory.congr_toSkeleton_of_iso E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (e : X ≅ Y),
  CategoryTheory.toSkeleton X = CategoryTheory.toSkeleton Y

def CategoryTheory.Skeleton.isoOfEq E1 #

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

Provides a (noncomputable) isomorphism X ≅ Y given that toSkeleton X = toSkeleton Y.

theorem CategoryTheory.toSkeleton_eq_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {Y : CategoryTheory.Skeleton C},
  CategoryTheory.toSkeleton X = Y ↔ Nonempty (X ≅ (CategoryTheory.fromSkeleton C).obj Y)

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

From a functor C ⥤ D, construct a map of skeletons Skeleton C → Skeleton D.

theorem CategoryTheory.Functor.mapSkeleton_obj_toSkeleton 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) (X : C),
  F.mapSkeleton.obj (CategoryTheory.toSkeleton X) = CategoryTheory.toSkeleton (F.obj X)

instance CategoryTheory.Functor.instFullSkeletonMapSkeleton 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.mapSkeleton.Full

instance CategoryTheory.Functor.instFaithfulSkeletonMapSkeleton 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.Faithful], F.mapSkeleton.Faithful

instance CategoryTheory.Functor.instEssSurjSkeletonMapSkeleton 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.EssSurj], F.mapSkeleton.EssSurj

def CategoryTheory.Functor.toSkeletonFunctorCompMapSkeletonIso 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) →
          (CategoryTheory.toSkeletonFunctor C).comp F.mapSkeleton ≅ F.comp (CategoryTheory.toSkeletonFunctor D)

A natural isomorphism between X ↦ ⟦X⟧ ↦ ⟦FX⟧ and X ↦ FX ↦ ⟦FX⟧. On the level of categories, these are C ⥤ Skeleton C ⥤ Skeleton D and C ⥤ D ⥤ Skeleton D. So this says that the square formed by these 4 objects and 4 functors commutes.

theorem CategoryTheory.Functor.mapSkeleton_injective 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.Full] [F.Faithful], Function.Injective F.mapSkeleton.obj

theorem CategoryTheory.Functor.mapSkeleton_surjective 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.EssSurj], Function.Surjective F.mapSkeleton.obj

instance CategoryTheory.Functor.instIsIsoSkeletonMapSkeletonOfIsEquivalence 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.IsEquivalence], F.mapSkeleton.IsIso

theorem CategoryTheory.Functor.isEquivalence_iff_isIso_mapSkeleton 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 ↔ F.mapSkeleton.IsIso

A functor is an equivalence if and only if its induced functor on skeletons is an isomorphism.

def CategoryTheory.Equivalence.skeletonIsoCat E1 #

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

An equivalence of categories induces an isomorphism between their skeletons.

def CategoryTheory.ThinSkeleton E1 #

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

Construct the skeleton category by taking the quotient of objects. This construction gives a preorder with nice definitional properties, but is only really appropriate for thin categories. If your original category is not thin, you probably want to be using Skeleton instead of this.

abbrev CategoryTheory.ThinSkeleton.mk E1 #

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

Convenience constructor for ThinSkeleton.

instance CategoryTheory.inhabitedThinSkeleton E0 #

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

instance CategoryTheory.ThinSkeleton.preorder E0 #

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

def CategoryTheory.toThinSkeleton E1 #

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

The functor from a category to its thin skeleton.

theorem CategoryTheory.toThinSkeleton_map E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y),
  (CategoryTheory.toThinSkeleton C).map f = CategoryTheory.homOfLE ⋯

theorem CategoryTheory.toThinSkeleton_obj E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (c : C),
  (CategoryTheory.toThinSkeleton C).obj c = CategoryTheory.ThinSkeleton.mk c

instance CategoryTheory.ThinSkeleton.thin E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C], Quiver.IsThin (CategoryTheory.ThinSkeleton C)

The thin skeleton is thin.

def CategoryTheory.ThinSkeleton.map 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.ThinSkeleton C) (CategoryTheory.ThinSkeleton D)

A functor C ⥤ D computably lowers to a functor ThinSkeleton C ⥤ ThinSkeleton D.

theorem CategoryTheory.ThinSkeleton.map_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) {X Y : CategoryTheory.ThinSkeleton C} (a : X ⟶ Y),
  (CategoryTheory.ThinSkeleton.map F).map a =
    Quotient.recOnSubsingleton₂ (motive := fun x x_1 ↦ (x ⟶ x_1) → (Quotient.map F.obj ⋯ x ⟶ Quotient.map F.obj ⋯ x_1))
      X Y (fun x x_1 k ↦ CategoryTheory.homOfLE ⋯) a

theorem CategoryTheory.ThinSkeleton.map_obj 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) (a : Quotient (CategoryTheory.isIsomorphicSetoid C)),
  (CategoryTheory.ThinSkeleton.map F).obj a = Quotient.map F.obj ⋯ a

theorem CategoryTheory.ThinSkeleton.comp_toThinSkeleton 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.comp (CategoryTheory.toThinSkeleton D) = (CategoryTheory.toThinSkeleton C).comp (CategoryTheory.ThinSkeleton.map F)

def CategoryTheory.ThinSkeleton.mapNatTrans E1 #

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

Given a natural transformation F₁ ⟶ F₂, induce a natural transformation map F₁ ⟶ map F₂.

def CategoryTheory.ThinSkeleton.map₂ObjMap 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 (CategoryTheory.Functor D E) →
              CategoryTheory.ThinSkeleton C → CategoryTheory.ThinSkeleton D → CategoryTheory.ThinSkeleton E

Given a bifunctor, we descend to a function on objects of ThinSkeleton

def CategoryTheory.ThinSkeleton.map₂Functor 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 (CategoryTheory.Functor D E) →
              CategoryTheory.ThinSkeleton C →
                CategoryTheory.Functor (CategoryTheory.ThinSkeleton D) (CategoryTheory.ThinSkeleton E)

For each x : ThinSkeleton C, we promote map₂ObjMap F x to a functor

def CategoryTheory.ThinSkeleton.map₂NatTrans 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 (CategoryTheory.Functor D E)) →
              {x₁ x₂ : CategoryTheory.ThinSkeleton C} →
                (x₁ ⟶ x₂) →
                  (CategoryTheory.ThinSkeleton.map₂Functor F x₁ ⟶ CategoryTheory.ThinSkeleton.map₂Functor F x₂)

This provides natural transformations map₂Functor F x₁ ⟶ map₂Functor F x₂ given x₁ ⟶ x₂

def CategoryTheory.ThinSkeleton.map₂ 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 (CategoryTheory.Functor D E) →
              CategoryTheory.Functor (CategoryTheory.ThinSkeleton C)
                (CategoryTheory.Functor (CategoryTheory.ThinSkeleton D) (CategoryTheory.ThinSkeleton E))

A functor C ⥤ D ⥤ E computably lowers to a functor ThinSkeleton C ⥤ ThinSkeleton D ⥤ ThinSkeleton E

theorem CategoryTheory.ThinSkeleton.map₂_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]
  (F : CategoryTheory.Functor C (CategoryTheory.Functor D E)) (a : CategoryTheory.ThinSkeleton C),
  (CategoryTheory.ThinSkeleton.map₂ F).obj a = CategoryTheory.ThinSkeleton.map₂Functor F a

theorem CategoryTheory.ThinSkeleton.map₂_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]
  (F : CategoryTheory.Functor C (CategoryTheory.Functor D E)) {X Y : CategoryTheory.ThinSkeleton C} (a : X ⟶ Y),
  (CategoryTheory.ThinSkeleton.map₂ F).map a = CategoryTheory.ThinSkeleton.map₂NatTrans F a

instance CategoryTheory.ThinSkeleton.toThinSkeleton_faithful E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] [Quiver.IsThin C],
  (CategoryTheory.toThinSkeleton C).Faithful

def CategoryTheory.ThinSkeleton.fromThinSkeleton E1 #

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

Use Quotient.out to create a functor out of the thin skeleton.

theorem CategoryTheory.ThinSkeleton.fromThinSkeleton_map E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : Quiver.IsThin C]
  {x y : CategoryTheory.ThinSkeleton C} (a : x ⟶ y),
  (CategoryTheory.ThinSkeleton.fromThinSkeleton C).map a =
    Quotient.recOnSubsingleton₂ (motive := fun x x_1 ↦ (x ⟶ x_1) → (Quotient.out x ⟶ Quotient.out x_1)) x y
      (fun X Y f ↦
        CategoryTheory.CategoryStruct.comp (Nonempty.some ⋯).hom
          (CategoryTheory.CategoryStruct.comp (Nonempty.some ⋯) (Nonempty.some ⋯).inv))
      a

theorem CategoryTheory.ThinSkeleton.fromThinSkeleton_obj E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : Quiver.IsThin C]
  (a : Quotient (CategoryTheory.isIsomorphicSetoid C)), (CategoryTheory.ThinSkeleton.fromThinSkeleton C).obj a = a.out

def CategoryTheory.ThinSkeleton.equivalence E1 #

(C : Type u₁) → [inst : CategoryTheory.Category.{v₁, u₁} C] → [Quiver.IsThin C] → CategoryTheory.ThinSkeleton C ≌ C

The equivalence between the thin skeleton and the category itself.

instance CategoryTheory.ThinSkeleton.fromThinSkeleton_isEquivalence E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : Quiver.IsThin C],
  (CategoryTheory.ThinSkeleton.fromThinSkeleton C).IsEquivalence

theorem CategoryTheory.ThinSkeleton.equiv_of_both_ways E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [Quiver.IsThin C] {X Y : C} (f : X ⟶ Y) (g : Y ⟶ X), X ≈ Y

instance CategoryTheory.ThinSkeleton.thinSkeletonPartialOrder E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] → [Quiver.IsThin C] → PartialOrder (CategoryTheory.ThinSkeleton C)

theorem CategoryTheory.ThinSkeleton.skeletal E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [Quiver.IsThin C],
  CategoryTheory.Skeletal (CategoryTheory.ThinSkeleton C)

theorem CategoryTheory.ThinSkeleton.map_comp_eq 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] [Quiver.IsThin C] (F : CategoryTheory.Functor E D)
  (G : CategoryTheory.Functor D C),
  CategoryTheory.ThinSkeleton.map (F.comp G) =
    (CategoryTheory.ThinSkeleton.map F).comp (CategoryTheory.ThinSkeleton.map G)

theorem CategoryTheory.ThinSkeleton.map_id_eq E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [Quiver.IsThin C],
  CategoryTheory.ThinSkeleton.map (CategoryTheory.Functor.id C) =
    CategoryTheory.Functor.id (CategoryTheory.ThinSkeleton C)

theorem CategoryTheory.ThinSkeleton.map_iso_eq E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [Quiver.IsThin C] {F₁ F₂ : CategoryTheory.Functor D C} (h : F₁ ≅ F₂),
  CategoryTheory.ThinSkeleton.map F₁ = CategoryTheory.ThinSkeleton.map F₂

def CategoryTheory.ThinSkeleton.fromThinSkeletonCompToThinSkeletonIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        [inst_2 : Quiver.IsThin C] →
          (F : CategoryTheory.Functor C D) →
            (CategoryTheory.ThinSkeleton.fromThinSkeleton C).comp (F.comp (CategoryTheory.toThinSkeleton D)) ≅
              CategoryTheory.ThinSkeleton.map F

Applying fromThinSkeleton, F and then toThinSkeleton is isomorphic to applying map F.

def CategoryTheory.ThinSkeleton.mapCompFromThinSkeletonIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        [inst_2 : Quiver.IsThin C] →
          [inst_3 : Quiver.IsThin D] →
            (F : CategoryTheory.Functor C D) →
              (CategoryTheory.ThinSkeleton.map F).comp (CategoryTheory.ThinSkeleton.fromThinSkeleton D) ≅
                (CategoryTheory.ThinSkeleton.fromThinSkeleton C).comp F

Applying map F and then fromThinSkeleton is isomorphic to first applying fromThinSkeleton and then applying F.

theorem CategoryTheory.ThinSkeleton.thinSkeleton_isSkeleton E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : Quiver.IsThin C],
  CategoryTheory.IsSkeletonOf C (CategoryTheory.ThinSkeleton C) (CategoryTheory.ThinSkeleton.fromThinSkeleton C)

fromThinSkeleton C exhibits the thin skeleton as a skeleton.

instance CategoryTheory.ThinSkeleton.isSkeletonOfInhabited E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : Quiver.IsThin C] →
      Inhabited
        (CategoryTheory.IsSkeletonOf C (CategoryTheory.ThinSkeleton C) (CategoryTheory.ThinSkeleton.fromThinSkeleton C))

def CategoryTheory.ThinSkeleton.lowerAdjunction E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (R : CategoryTheory.Functor D C) →
          (L : CategoryTheory.Functor C D) →
            (L ⊣ R) → (CategoryTheory.ThinSkeleton.map L ⊣ CategoryTheory.ThinSkeleton.map R)

An adjunction between thin categories gives an adjunction between their thin skeletons.

def CategoryTheory.Equivalence.thinSkeletonOrderIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {α : Type u_1} → [inst_1 : PartialOrder α] → [Quiver.IsThin C] → (C ≌ α) → CategoryTheory.ThinSkeleton C ≃o α

When e : C ≌ α is a categorical equivalence from a thin category C to some partial order α, the ThinSkeleton C is order isomorphic to α.

Deprecated aliases

NameNew nameSince
CategoryTheory.Equivalence.skeletonEquiv2026-08-16