mathlib documentation

category_theory.skeletal

Skeleton of a category #

Define skeletal categories as categories in which any two isomorphic objects are equal.

Construct the skeleton of an arbitrary category by taking isomorphism classes, and show it is a skeleton of the original category.

In addition, construct the skeleton of a thin category as a partial ordering, and (noncomputably) show it is a skeleton of the original category. The advantage of this special case being handled separately is that lemmas and definitions about orderings can be used directly, for example for the subobject lattice. In addition, some of the commutative diagrams about the functors commute definitionally on the nose which is convenient in practice.

def category_theory.skeletal (C : Type u₁) [category_theory.category C] :
Prop

A category is skeletal if isomorphic objects are equal.

Equations
structure category_theory.is_skeleton_of (C : Type u₁) [category_theory.category C] (D : Type u₂) [category_theory.category D] (F : D C) :
Type (max u₁ u₂ v₁ v₂)

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

Instances for category_theory.is_skeleton_of
theorem category_theory.functor.eq_of_iso {C : Type u₁} [category_theory.category C] {D : Type u₂} [category_theory.category D] {F₁ F₂ : D C} [∀ (X Y : C), subsingleton (X Y)] (hC : category_theory.skeletal C) (hF : F₁ F₂) :
F₁ = F₂

If C is thin and skeletal, then any naturally isomorphic functors to C are equal.

theorem category_theory.functor_skeletal {C : Type u₁} [category_theory.category C] {D : Type u₂} [category_theory.category D] [∀ (X Y : C), subsingleton (X Y)] (hC : category_theory.skeletal C) :

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

@[protected, instance]
def category_theory.skeleton (C : Type u₁) [category_theory.category C] :
Type u₁

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

Equations
Instances for category_theory.skeleton

The equivalence between the skeleton and the category itself.

Equations

Two categories which are categorically equivalent have skeletons with equivalent objects.

Equations
def category_theory.thin_skeleton (C : Type u₁) [category_theory.category 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.

Equations
Instances for category_theory.thin_skeleton
@[protected, instance]
Equations

The functor from a category to its thin skeleton.

Equations
Instances for category_theory.to_thin_skeleton

The constructions here are intended to be used when the category C is thin, even though some of the statements can be shown without this assumption.

@[protected, instance]

The thin skeleton is thin.

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

Equations

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

Equations
@[simp]
@[simp]
theorem category_theory.thin_skeleton.map₂_obj_map {C : Type u₁} [category_theory.category C] {D : Type u₂} [category_theory.category D] {E : Type u₃} [category_theory.category E] (F : C D E) (x : category_theory.thin_skeleton C) (y₁ y₂ : category_theory.thin_skeleton D) (ᾰ : y₁ y₂) :
@[simp]
theorem category_theory.thin_skeleton.map₂_map {C : Type u₁} [category_theory.category C] {D : Type u₂} [category_theory.category D] {E : Type u₃} [category_theory.category E] (F : C D E) (x₁ x₂ : category_theory.thin_skeleton C) (ᾰ : x₁ x₂) :

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

Equations

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

Equations
Instances for category_theory.thin_skeleton.from_thin_skeleton
noncomputable def category_theory.thin_skeleton.equivalence (C : Type u₁) [category_theory.category C] [∀ (X Y : C), subsingleton (X Y)] :

The equivalence between the thin skeleton and the category itself.

Equations
theorem category_theory.thin_skeleton.equiv_of_both_ways {C : Type u₁} [category_theory.category C] [∀ (X Y : C), subsingleton (X Y)] {X Y : C} (f : X Y) (g : Y X) :
X Y
theorem category_theory.thin_skeleton.map_iso_eq {C : Type u₁} [category_theory.category C] {D : Type u₂} [category_theory.category D] [∀ (X Y : C), subsingleton (X Y)] {F₁ F₂ : D C} (h : F₁ F₂) :

from_thin_skeleton C exhibits the thin skeleton as a skeleton.

Equations
noncomputable def category_theory.equivalence.thin_skeleton_order_iso {C : Type u₁} [category_theory.category C] {α : Type u_1} [partial_order α] [∀ (X Y : C), subsingleton (X Y)] (e : C α) :

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

Equations