Presentable objects in Type #
In this file, we show that if κ : Cardinal.{u} is a regular cardinal,
then X : Type u is κ-presentable in the category of types iff
HasCardinalLT X κ holds, i.e. the cardinal number of X is less than κ.
theorem
HasCardinalLT.isCardinalPresentable
{X : Type u}
{κ : Cardinal.{u}}
(hX : HasCardinalLT X κ)
[Fact κ.IsRegular]
:
@[reducible, inline]
Given X : Type u and κ : Cardinal.{u} X, this is the preordered type
of subsets of X of cardinality < κ.
Equations
- HasCardinalLT.Set X κ = { A : Set X // HasCardinalLT (↑A) κ }
Instances For
instance
HasCardinalLT.Set.instIsCardinalFiltered
(X : Type u)
(κ : Cardinal.{u})
[Fact κ.IsRegular]
:
instance
HasCardinalLT.Set.instIsFilteredOfFactIsRegular
(X : Type u)
(κ : Cardinal.{u})
[Fact κ.IsRegular]
:
theorem
HasCardinalLT.Set.isFiltered_of_aleph0_le
(X : Type u)
(κ : Cardinal.{u})
(hκ : Cardinal.aleph0 ≤ κ)
:
def
HasCardinalLT.Set.functor
(X : Type u)
(κ : Cardinal.{u})
:
CategoryTheory.Functor (HasCardinalLT.Set X κ) (Type u)
The functor HasCardinalLT.Set X κ ⥤ Type u which sends a subset of X
of cardinality κ to the corresponding subtype.
Equations
Instances For
@[simp]
theorem
HasCardinalLT.Set.functor_map_hom_apply_coe
(X : Type u)
(κ : Cardinal.{u})
{X✝ Y✝ : HasCardinalLT.Set X κ}
(f : X✝ ⟶ Y✝)
(x✝ : ↑(⋯.functor.obj X✝))
:
@[simp]
theorem
HasCardinalLT.Set.functor_obj
(X : Type u)
(κ : Cardinal.{u})
(X✝ : HasCardinalLT.Set X κ)
:
The cocone for Set.functor X κ : HasCardinalLT.Set X κ ⥤ Type u with point X.
Equations
- HasCardinalLT.Set.cocone X κ = { pt := X, ι := { app := fun (x : HasCardinalLT.Set X κ) => TypeCat.ofHom Subtype.val, naturality := ⋯ } }
Instances For
@[simp]
@[simp]
theorem
HasCardinalLT.Set.cocone_ι_app
(X : Type u)
(κ : Cardinal.{u})
(x✝ : HasCardinalLT.Set X κ)
:
noncomputable def
HasCardinalLT.Set.isColimitCocone
(X : Type u)
(κ : Cardinal.{u})
(hκ : Cardinal.aleph0 ≤ κ)
:
Any type X is the (filtered) colimit of its subsets of cardinality < κ
when κ is an infinite cardinal. (This colimit is κ-filtered when κ is
a regular cardinal.)
Equations
Instances For
theorem
CategoryTheory.Types.isCardinalPresentable_iff
{X : Type u}
(κ : Cardinal.{u})
[Fact κ.IsRegular]
: