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

23 declarations. Mathlib docs · Source

Countable categories

A category is countable in this sense if it has countably many objects and countably many morphisms.

instance CategoryTheory.discreteCountable E0 #

∀ {α : Type u_1} [Countable α], Countable (CategoryTheory.Discrete α)

class CategoryTheory.CountableCategory E1 #

(J : Type u_1) → [CategoryTheory.Category.{v_1, u_1} J] → Prop

A category with countably many objects and morphisms.

ctor CategoryTheory.CountableCategory.mk E0 #

∀ {J : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} J],
  autoParam (Countable J) CategoryTheory.CountableCategory.countableObj._autoParam →
    autoParam (∀ (j j' : J), Countable (j ⟶ j')) CategoryTheory.CountableCategory.countableHom._autoParam →
      CategoryTheory.CountableCategory J

instance CategoryTheory.CountableCategory.countableObj E0 #

∀ {J : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} J} [self : CategoryTheory.CountableCategory J], Countable J

instance CategoryTheory.CountableCategory.countableHom E0 #

∀ {J : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} J} [self : CategoryTheory.CountableCategory J] (j j' : J),
  Countable (j ⟶ j')

instance CategoryTheory.countableCategoryDiscreteOfCountable E0 #

∀ (J : Type u_1) [Countable J], CategoryTheory.CountableCategory (CategoryTheory.Discrete J)

instance CategoryTheory.instCountableCategoryOfCountableOfIsThin E0 #

∀ {J : Type u} [Countable J] [inst : CategoryTheory.Category.{v_1, u} J] [Quiver.IsThin J],
  CategoryTheory.CountableCategory J

instance CategoryTheory.instCountableCategoryNat E0 #

CategoryTheory.CountableCategory ℕ

abbrev CategoryTheory.CountableCategory.ObjAsType E1 #

(α : Type u) → [inst : CategoryTheory.Category.{v, u} α] → [CategoryTheory.CountableCategory α] → Type

A countable category α is equivalent to a category with objects in Type.

instance CategoryTheory.CountableCategory.instCountableObjAsType E0 #

∀ (α : Type u) [inst : CategoryTheory.Category.{v, u} α] [inst_1 : CategoryTheory.CountableCategory α],
  Countable (CategoryTheory.CountableCategory.ObjAsType α)

instance CategoryTheory.CountableCategory.instCountableHomObjAsType E0 #

∀ (α : Type u) [inst : CategoryTheory.Category.{v, u} α] [inst_1 : CategoryTheory.CountableCategory α]
  {i j : CategoryTheory.CountableCategory.ObjAsType α}, Countable (i ⟶ j)

instance CategoryTheory.CountableCategory.instObjAsType E0 #

∀ (α : Type u) [inst : CategoryTheory.Category.{v, u} α] [inst_1 : CategoryTheory.CountableCategory α],
  CategoryTheory.CountableCategory (CategoryTheory.CountableCategory.ObjAsType α)

def CategoryTheory.CountableCategory.objAsTypeEquiv E1 #

(α : Type u) →
  [inst : CategoryTheory.Category.{v, u} α] →
    [inst_1 : CategoryTheory.CountableCategory α] → CategoryTheory.CountableCategory.ObjAsType α ≌ α

The constructed category is indeed equivalent to α.

def CategoryTheory.CountableCategory.HomAsType E1 #

(α : Type u) → [inst : CategoryTheory.Category.{v, u} α] → [CategoryTheory.CountableCategory α] → Type

A countable category α is equivalent to a small category with objects in Type.

instance CategoryTheory.CountableCategory.instLocallySmallObjAsType E0 #

∀ (α : Type u) [inst : CategoryTheory.Category.{v, u} α] [inst_1 : CategoryTheory.CountableCategory α],
  CategoryTheory.LocallySmall.{0, v, 0} (CategoryTheory.CountableCategory.ObjAsType α)

instance CategoryTheory.CountableCategory.instSmallCategoryHomAsType E0 #

(α : Type u) →
  [inst : CategoryTheory.Category.{v, u} α] →
    [inst_1 : CategoryTheory.CountableCategory α] →
      CategoryTheory.SmallCategory (CategoryTheory.CountableCategory.HomAsType α)

instance CategoryTheory.CountableCategory.instCountableHomAsType E0 #

∀ (α : Type u) [inst : CategoryTheory.Category.{v, u} α] [inst_1 : CategoryTheory.CountableCategory α],
  Countable (CategoryTheory.CountableCategory.HomAsType α)

instance CategoryTheory.CountableCategory.instCountableHomHomAsType E0 #

∀ (α : Type u) [inst : CategoryTheory.Category.{v, u} α] [inst_1 : CategoryTheory.CountableCategory α]
  {i j : CategoryTheory.CountableCategory.HomAsType α}, Countable (i ⟶ j)

instance CategoryTheory.CountableCategory.instHomAsType E0 #

∀ (α : Type u) [inst : CategoryTheory.Category.{v, u} α] [inst_1 : CategoryTheory.CountableCategory α],
  CategoryTheory.CountableCategory (CategoryTheory.CountableCategory.HomAsType α)

def CategoryTheory.CountableCategory.homAsTypeEquiv E1 #

(α : Type u) →
  [inst : CategoryTheory.Category.{v, u} α] →
    [inst_1 : CategoryTheory.CountableCategory α] → CategoryTheory.CountableCategory.HomAsType α ≌ α

The constructed category is indeed equivalent to α.

instance CategoryTheory.instCountableCategoryOfFinCategory E0 #

∀ (α : Type u_1) [inst : CategoryTheory.SmallCategory α] [CategoryTheory.FinCategory α],
  CategoryTheory.CountableCategory α

instance CategoryTheory.countableCategoryOpposite E0 #

∀ {J : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} J] [CategoryTheory.CountableCategory J],
  CategoryTheory.CountableCategory Jᵒᵖ

The opposite of a countable category is countable.

instance CategoryTheory.countableCategoryUlift E0 #

∀ {J : Type v} [inst : CategoryTheory.Category.{v, v} J] [CategoryTheory.CountableCategory J],
  CategoryTheory.CountableCategory (CategoryTheory.ULiftHom (ULift.{w, v} J))

Applying ULift to morphisms and objects of a category preserves countability.