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 / V25. Higher structures in categories

Mathlib.CategoryTheory.Presentable.Basic

65 declarations. Mathlib docs · Source

Presentable objects

A functor F : C ⥤ D is κ-accessible (Functor.IsCardinalAccessible) if it commutes with colimits of shape J where J is any κ-filtered category (that is essentially small relative to the universe w such that κ : Cardinal.{w}.). We also introduce another typeclass Functor.IsAccessible saying that there exists a regular cardinal κ such that Functor.IsCardinalAccessible.

An object X of a category is κ-presentable (IsCardinalPresentable) if the functor Hom(X, _) (i.e. coyoneda.obj (op X)) is κ-accessible. Similarly as for accessible functors, we define a type class IsPresentable.

References

  • [Adámek, J. and Rosický, J., Locally presentable and accessible categories][Adamek_Rosicky_1994]

theorem CategoryTheory.Functor.IsCardinalAccessible.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F F_1 : CategoryTheory.Functor C D),
  F = F_1 →
    ∀ (κ κ_1 : Cardinal.{w}) (e_κ : κ = κ_1) [inst_2 : Fact κ.IsRegular],
      F.IsCardinalAccessible κ = F_1.IsCardinalAccessible κ_1

theorem CategoryTheory.IsCardinalFiltered.congr_simp E1 #

∀ (J : Type u) [inst : CategoryTheory.Category.{v, u} J] (κ κ_1 : Cardinal.{w}) (e_κ : κ = κ_1)
  [inst_1 : Fact κ.IsRegular], CategoryTheory.IsCardinalFiltered J κ = CategoryTheory.IsCardinalFiltered J κ_1

theorem CategoryTheory.IsCardinalPresentable.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X X_1 : C),
  X = X_1 →
    ∀ (κ κ_1 : Cardinal.{w}) (e_κ : κ = κ_1) [inst_1 : Fact κ.IsRegular],
      CategoryTheory.IsCardinalPresentable X κ = CategoryTheory.IsCardinalPresentable X_1 κ_1

class CategoryTheory.Functor.IsCardinalAccessible E1 #

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

A functor F : C ⥤ D is κ-accessible (with κ a regular cardinal) if it preserves colimits of shape J where J is any κ-filtered category. In the mathematical literature, some assumptions are often made on the categories C or D (e.g. the existence of κ-filtered colimits, see HasCardinalFilteredColimits below), but here we do not make such assumptions.

ctor CategoryTheory.Functor.IsCardinalAccessible.mk 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} {κ : Cardinal.{w}} [inst_2 : Fact κ.IsRegular],
  autoParam
      (∀ (J : Type w) [inst_3 : CategoryTheory.SmallCategory J] [CategoryTheory.IsCardinalFiltered J κ],
        CategoryTheory.Limits.PreservesColimitsOfShape J F)
      CategoryTheory.Functor.IsCardinalAccessible.preservesColimitOfShape._autoParam →
    F.IsCardinalAccessible κ

theorem CategoryTheory.Functor.IsCardinalAccessible.preservesColimitOfShape 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} (κ : Cardinal.{w}) {inst_2 : Fact κ.IsRegular} [self : F.IsCardinalAccessible κ]
  (J : Type w) [inst_3 : CategoryTheory.SmallCategory J] [CategoryTheory.IsCardinalFiltered J κ],
  CategoryTheory.Limits.PreservesColimitsOfShape J F

theorem CategoryTheory.Functor.preservesColimitsOfShape_of_isCardinalAccessible 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) (κ : Cardinal.{w}) [inst_2 : Fact κ.IsRegular] [F.IsCardinalAccessible κ]
  (J : Type w) [inst_4 : CategoryTheory.SmallCategory J] [CategoryTheory.IsCardinalFiltered J κ],
  CategoryTheory.Limits.PreservesColimitsOfShape J F

theorem CategoryTheory.Functor.preservesColimitsOfShape_of_isCardinalAccessible_of_essentiallySmall 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) (κ : Cardinal.{w}) [inst_2 : Fact κ.IsRegular] [F.IsCardinalAccessible κ]
  (J : Type u₃) [inst_4 : CategoryTheory.Category.{v₃, u₃} J] [CategoryTheory.EssentiallySmall.{w, v₃, u₃} J]
  [CategoryTheory.IsCardinalFiltered J κ], CategoryTheory.Limits.PreservesColimitsOfShape J F

theorem CategoryTheory.Functor.isCardinalAccessible_of_le 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) {κ : Cardinal.{w}} [inst_2 : Fact κ.IsRegular] [F.IsCardinalAccessible κ]
  {κ' : Cardinal.{w}} [inst_4 : Fact κ'.IsRegular], κ ≤ κ' → F.IsCardinalAccessible κ'

theorem CategoryTheory.Functor.isCardinalAccessible_of_natIso 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} (e : F ≅ G) (κ : Cardinal.{w}) [inst_2 : Fact κ.IsRegular]
  [F.IsCardinalAccessible κ], G.IsCardinalAccessible κ

instance CategoryTheory.Functor.instIsCardinalAccessibleId E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular],
  (CategoryTheory.Functor.id C).IsCardinalAccessible κ

instance CategoryTheory.Functor.instIsCardinalAccessibleComp E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (κ : Cardinal.{w}) [inst_2 : Fact κ.IsRegular] {E : Type u₃} [inst_3 : CategoryTheory.Category.{v₃, u₃} E]
  (F : CategoryTheory.Functor C D) (G : CategoryTheory.Functor D E) [F.IsCardinalAccessible κ]
  [G.IsCardinalAccessible κ], (F.comp G).IsCardinalAccessible κ

instance CategoryTheory.Functor.instIsCardinalAccessibleOfPreservesColimitsOfSize 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) (κ : Cardinal.{w}) [inst_2 : Fact κ.IsRegular]
  [CategoryTheory.Limits.PreservesColimitsOfSize.{w, w, v₁, v₂, u₁, u₂} F], F.IsCardinalAccessible κ

instance CategoryTheory.Functor.instIsCardinalAccessibleObjConst E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular] (A : C),
  ((CategoryTheory.Functor.const C).obj A).IsCardinalAccessible κ

class CategoryTheory.Functor.IsAccessible E1 #

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

A functor is accessible relative to a universe w if it is κ-accessible for some regular κ : Cardinal.{w}.

ctor CategoryTheory.Functor.IsAccessible.mk 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 : Fact κ.IsRegular), F.IsCardinalAccessible κ) → CategoryTheory.Functor.IsAccessible.{w, v₁, v₂, u₁, u₂} F

theorem CategoryTheory.Functor.IsAccessible.exists_cardinal 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) [self : CategoryTheory.Functor.IsAccessible.{w, v₁, v₂, u₁, u₂} F],
  ∃ κ, ∃ (x : Fact κ.IsRegular), F.IsCardinalAccessible κ

theorem CategoryTheory.Functor.isAccessible_of_isCardinalAccessible 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) (κ : Cardinal.{w}) [inst_2 : Fact κ.IsRegular] [F.IsCardinalAccessible κ],
  CategoryTheory.Functor.IsAccessible.{w, v₁, v₂, u₁, u₂} F

instance CategoryTheory.Functor.instIsAccessibleId E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C],
  CategoryTheory.Functor.IsAccessible.{w, v₁, v₁, u₁, u₁} (CategoryTheory.Functor.id C)

instance CategoryTheory.Functor.instIsAccessibleComp 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) [CategoryTheory.Functor.IsAccessible.{w, v₁, v₂, u₁, u₂} F]
  [CategoryTheory.Functor.IsAccessible.{w, v₂, v₃, u₂, u₃} G],
  CategoryTheory.Functor.IsAccessible.{w, v₁, v₃, u₁, u₃} (F.comp G)

instance CategoryTheory.Functor.instIsAccessibleObjConst E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (A : C),
  CategoryTheory.Functor.IsAccessible.{w, v₁, v₁, u₁, u₁} ((CategoryTheory.Functor.const C).obj A)

abbrev CategoryTheory.IsCardinalPresentable E1 #

{C : Type u₁} → [CategoryTheory.Category.{v₁, u₁} C] → C → (κ : Cardinal.{w}) → [Fact κ.IsRegular] → Prop

An object X in a category is κ-presentable (for κ a regular cardinal) when the functor Hom(X, _) preserves colimits indexed by κ-filtered categories.

abbrev CategoryTheory.isCardinalPresentable E1 #

(C : Type u₁) →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    (κ : Cardinal.{w}) → [Fact κ.IsRegular] → CategoryTheory.ObjectProperty C

The property of objects that are κ-presentable.

instance CategoryTheory.instIsCardinalPresentableObjIsCardinalPresentable E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  (X : (CategoryTheory.isCardinalPresentable C κ).FullSubcategory), CategoryTheory.IsCardinalPresentable X.obj κ

instance CategoryTheory.instIsCardinalPresentableObjFullSubcategoryIsCardinalPresentableι E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  (X : (CategoryTheory.isCardinalPresentable C κ).FullSubcategory),
  CategoryTheory.IsCardinalPresentable ((CategoryTheory.isCardinalPresentable C κ).ι.obj X) κ

theorem CategoryTheory.isCardinalPresentable_iff_isCardinalAccessible_coyoneda_obj E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular],
  CategoryTheory.IsCardinalPresentable X κ ↔ (CategoryTheory.coyoneda.obj (Opposite.op X)).IsCardinalAccessible κ

theorem CategoryTheory.isCardinalPresentable_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular] (X : C),
  CategoryTheory.isCardinalPresentable C κ X ↔ CategoryTheory.IsCardinalPresentable X κ

theorem CategoryTheory.preservesColimitsOfShape_of_isCardinalPresentable E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  [CategoryTheory.IsCardinalPresentable X κ] (J : Type w) [inst_3 : CategoryTheory.SmallCategory J]
  [CategoryTheory.IsCardinalFiltered J κ],
  CategoryTheory.Limits.PreservesColimitsOfShape J (CategoryTheory.coyoneda.obj (Opposite.op X))

theorem CategoryTheory.preservesColimitsOfShape_of_isCardinalPresentable_of_essentiallySmall E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  [CategoryTheory.IsCardinalPresentable X κ] (J : Type u₃) [inst_3 : CategoryTheory.Category.{v₃, u₃} J]
  [CategoryTheory.EssentiallySmall.{w, v₃, u₃} J] [CategoryTheory.IsCardinalFiltered J κ],
  CategoryTheory.Limits.PreservesColimitsOfShape J (CategoryTheory.coyoneda.obj (Opposite.op X))

theorem CategoryTheory.isCardinalPresentable_of_le E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) {κ : Cardinal.{w}} [inst_1 : Fact κ.IsRegular]
  [CategoryTheory.IsCardinalPresentable X κ] {κ' : Cardinal.{w}} [inst_3 : Fact κ'.IsRegular],
  κ ≤ κ' → CategoryTheory.IsCardinalPresentable X κ'

theorem CategoryTheory.isCardinalPresentable_monotone E1 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] {κ : Cardinal.{w}} [inst_1 : Fact κ.IsRegular]
  {κ' : Cardinal.{w}} [inst_2 : Fact κ'.IsRegular],
  κ ≤ κ' → CategoryTheory.isCardinalPresentable C κ ≤ CategoryTheory.isCardinalPresentable C κ'

theorem CategoryTheory.isCardinalPresentable_of_iso E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (e : X ≅ Y) (κ : Cardinal.{w})
  [inst_1 : Fact κ.IsRegular] [CategoryTheory.IsCardinalPresentable X κ], CategoryTheory.IsCardinalPresentable Y κ

instance CategoryTheory.instIsClosedUnderIsomorphismsIsCardinalPresentable E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular],
  (CategoryTheory.isCardinalPresentable C κ).IsClosedUnderIsomorphisms

theorem CategoryTheory.isCardinalPresentable_of_equivalence E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  {C' : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C'] [CategoryTheory.IsCardinalPresentable X κ] (e : C ≌ C'),
  CategoryTheory.IsCardinalPresentable (e.functor.obj X) κ

instance CategoryTheory.isCardinalPresentable_of_isEquivalence E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  {C' : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C'] [CategoryTheory.IsCardinalPresentable X κ]
  (F : CategoryTheory.Functor C C') [F.IsEquivalence], CategoryTheory.IsCardinalPresentable (F.obj X) κ

theorem CategoryTheory.isCardinalPresentable_iff_of_isEquivalence E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  {C' : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C'] (F : CategoryTheory.Functor C C') [F.IsEquivalence],
  CategoryTheory.IsCardinalPresentable (F.obj X) κ ↔ CategoryTheory.IsCardinalPresentable X κ

theorem CategoryTheory.IsCardinalPresentable.mk E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {κ : Cardinal.{w}} [inst_1 : Fact κ.IsRegular],
  (∀ (J : Type w) [inst_2 : CategoryTheory.SmallCategory J] [CategoryTheory.IsCardinalFiltered J κ]
      (F : CategoryTheory.Functor J C) (c : CategoryTheory.Limits.Cocone F) (x : CategoryTheory.Limits.IsColimit c),
      (∀ (g : X ⟶ c.pt), ∃ j f, CategoryTheory.CategoryStruct.comp f (c.ι.app j) = g) ∧
        ∀ (j : J) (f₁ f₂ : X ⟶ F.obj j),
          CategoryTheory.CategoryStruct.comp f₁ (c.ι.app j) = CategoryTheory.CategoryStruct.comp f₂ (c.ι.app j) →
            ∃ j' a, CategoryTheory.CategoryStruct.comp f₁ (F.map a) = CategoryTheory.CategoryStruct.comp f₂ (F.map a)) →
    CategoryTheory.IsCardinalPresentable X κ

theorem CategoryTheory.Limits.exists_hom_of_preservesColimit_coyoneda E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} J] {D : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.Cocone D}
  (hc : CategoryTheory.Limits.IsColimit c) {X : C}
  [CategoryTheory.Limits.PreservesColimit D (CategoryTheory.coyoneda.obj (Opposite.op X))] (f : X ⟶ c.pt),
  ∃ j p, CategoryTheory.CategoryStruct.comp p (c.ι.app j) = f

theorem CategoryTheory.Limits.exists_hom₂_of_preservesColimit_coyoneda E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} J] {D : CategoryTheory.Functor J C} [CategoryTheory.IsFiltered J]
  {c : CategoryTheory.Limits.Cocone D} (hc : CategoryTheory.Limits.IsColimit c) {X : C}
  [CategoryTheory.Limits.PreservesColimit D (CategoryTheory.coyoneda.obj (Opposite.op X))] (f g : X ⟶ c.pt),
  ∃ j p q, CategoryTheory.CategoryStruct.comp p (c.ι.app j) = f ∧ CategoryTheory.CategoryStruct.comp q (c.ι.app j) = g

theorem CategoryTheory.Limits.exists_hom_of_preservesColimit_coyoneda_of_hasCardinalLT E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  {J : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} J] {D : CategoryTheory.Functor J C}
  [CategoryTheory.IsCardinalFiltered J κ] {c : CategoryTheory.Limits.Cocone D} (hc : CategoryTheory.Limits.IsColimit c)
  {X : C} [CategoryTheory.Limits.PreservesColimit D (CategoryTheory.coyoneda.obj (Opposite.op X))] {ι : Type u_2},
  HasCardinalLT ι κ →
    ∀ (f : ι → (X ⟶ c.pt)), ∃ j p, ∀ (i : ι), CategoryTheory.CategoryStruct.comp (p i) (c.ι.app j) = f i

theorem CategoryTheory.Limits.exists_eq_of_preservesColimit_coyoneda E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} J] {D : CategoryTheory.Functor J C} [CategoryTheory.IsFiltered J]
  {c : CategoryTheory.Limits.Cocone D} (hc : CategoryTheory.Limits.IsColimit c) {X : C}
  [CategoryTheory.Limits.PreservesColimit D (CategoryTheory.coyoneda.obj (Opposite.op X))] {i j : J} (f : X ⟶ D.obj i)
  (g : X ⟶ D.obj j),
  CategoryTheory.CategoryStruct.comp f (c.ι.app i) = CategoryTheory.CategoryStruct.comp g (c.ι.app j) →
    ∃ k u v, CategoryTheory.CategoryStruct.comp f (D.map u) = CategoryTheory.CategoryStruct.comp g (D.map v)

theorem CategoryTheory.Limits.exists_eq_of_preservesColimit_coyoneda_self E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} J] {D : CategoryTheory.Functor J C} [CategoryTheory.IsFiltered J]
  {c : CategoryTheory.Limits.Cocone D} (hc : CategoryTheory.Limits.IsColimit c) {X : C}
  [CategoryTheory.Limits.PreservesColimit D (CategoryTheory.coyoneda.obj (Opposite.op X))] {i : J} (f g : X ⟶ D.obj i),
  CategoryTheory.CategoryStruct.comp f (c.ι.app i) = CategoryTheory.CategoryStruct.comp g (c.ι.app i) →
    ∃ j a, CategoryTheory.CategoryStruct.comp f (D.map a) = CategoryTheory.CategoryStruct.comp g (D.map a)

theorem CategoryTheory.Limits.exists_eq_of_preservesColimit_coyoneda_self_of_hasCardinalLT E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  {J : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} J] {D : CategoryTheory.Functor J C}
  [CategoryTheory.IsCardinalFiltered J κ] {c : CategoryTheory.Limits.Cocone D} (hc : CategoryTheory.Limits.IsColimit c)
  {X : C} [CategoryTheory.Limits.PreservesColimit D (CategoryTheory.coyoneda.obj (Opposite.op X))] {i : J}
  {ι : Type u_2},
  HasCardinalLT ι κ →
    ∀ (f : ι → (X ⟶ D.obj i)),
      (∀ (k k' : ι),
          CategoryTheory.CategoryStruct.comp (f k) (c.ι.app i) =
            CategoryTheory.CategoryStruct.comp (f k') (c.ι.app i)) →
        ∃ j a,
          ∀ (k k' : ι),
            CategoryTheory.CategoryStruct.comp (f k) (D.map a) = CategoryTheory.CategoryStruct.comp (f k') (D.map a)

theorem CategoryTheory.Limits.exists_hom_of_preservesColimit_yoneda E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} J] {D : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.Cone D}
  (hc : CategoryTheory.Limits.IsLimit c) {X : C}
  [CategoryTheory.Limits.PreservesColimit D.op (CategoryTheory.yoneda.obj X)] (f : c.pt ⟶ X),
  ∃ j p, CategoryTheory.CategoryStruct.comp (c.π.app j) p = f

theorem CategoryTheory.Limits.exists_eq_of_preservesColimit_yoneda E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} J] {D : CategoryTheory.Functor J C} [CategoryTheory.IsCofiltered J]
  {c : CategoryTheory.Limits.Cone D} (hc : CategoryTheory.Limits.IsLimit c) {X : C}
  [CategoryTheory.Limits.PreservesColimit D.op (CategoryTheory.yoneda.obj X)] {i j : J} (f : D.obj i ⟶ X)
  (g : D.obj j ⟶ X),
  CategoryTheory.CategoryStruct.comp (c.π.app i) f = CategoryTheory.CategoryStruct.comp (c.π.app j) g →
    ∃ k u v, CategoryTheory.CategoryStruct.comp (D.map u) f = CategoryTheory.CategoryStruct.comp (D.map v) g

theorem CategoryTheory.Limits.exists_eq_of_preservesColimit_yoneda_self E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} J] {D : CategoryTheory.Functor J C} [CategoryTheory.IsCofiltered J]
  {c : CategoryTheory.Limits.Cone D} (hc : CategoryTheory.Limits.IsLimit c) {X : C}
  [CategoryTheory.Limits.PreservesColimit D.op (CategoryTheory.yoneda.obj X)] {i : J} (f g : D.obj i ⟶ X),
  CategoryTheory.CategoryStruct.comp (c.π.app i) f = CategoryTheory.CategoryStruct.comp (c.π.app i) g →
    ∃ j a, CategoryTheory.CategoryStruct.comp (D.map a) f = CategoryTheory.CategoryStruct.comp (D.map a) g

theorem CategoryTheory.IsCardinalPresentable.exists_hom_of_isColimit E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  {J : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} J] [CategoryTheory.IsCardinalPresentable X κ]
  [CategoryTheory.EssentiallySmall.{w, v_1, u_1} J] [CategoryTheory.IsCardinalFiltered J κ]
  {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.Cocone F} (hc : CategoryTheory.Limits.IsColimit c)
  (f : X ⟶ c.pt), ∃ j f', CategoryTheory.CategoryStruct.comp f' (c.ι.app j) = f

theorem CategoryTheory.IsCardinalPresentable.exists_hom_above_of_isColimit E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  {J : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} J] [CategoryTheory.IsCardinalPresentable X κ]
  [CategoryTheory.EssentiallySmall.{w, v_1, u_1} J] [CategoryTheory.IsCardinalFiltered J κ]
  {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.Cocone F} (hc : CategoryTheory.Limits.IsColimit c)
  (f : X ⟶ c.pt) (j₀ : J), ∃ j x f', CategoryTheory.CategoryStruct.comp f' (c.ι.app j) = f

A variant of IsCardinalPresentable.exists_hom_of_isColimit where one also imposes the index found to be over a given index j₀.

theorem CategoryTheory.IsCardinalPresentable.exists_hom₂_of_isColimit E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  {J : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} J] [CategoryTheory.IsCardinalPresentable X κ]
  [CategoryTheory.EssentiallySmall.{w, v_1, u_1} J] [CategoryTheory.IsCardinalFiltered J κ]
  {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.Cocone F} (hc : CategoryTheory.Limits.IsColimit c)
  (f g : X ⟶ c.pt),
  ∃ j f' g',
    CategoryTheory.CategoryStruct.comp f' (c.ι.app j) = f ∧ CategoryTheory.CategoryStruct.comp g' (c.ι.app j) = g

theorem CategoryTheory.IsCardinalPresentable.exists_hom_of_isColimit_of_hasCardinalLT E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  {J : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} J] [CategoryTheory.IsCardinalPresentable X κ]
  [CategoryTheory.EssentiallySmall.{w, v_1, u_1} J] [CategoryTheory.IsCardinalFiltered J κ]
  {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.Cocone F} (hc : CategoryTheory.Limits.IsColimit c)
  {ι : Type u_2},
  HasCardinalLT ι κ →
    ∀ (f : ι → (X ⟶ c.pt)), ∃ j f', ∀ (i : ι), CategoryTheory.CategoryStruct.comp (f' i) (c.ι.app j) = f i

theorem CategoryTheory.IsCardinalPresentable.exists_eq_of_isColimit E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  {J : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} J] [CategoryTheory.IsCardinalPresentable X κ]
  [CategoryTheory.EssentiallySmall.{w, v_1, u_1} J] [CategoryTheory.IsCardinalFiltered J κ]
  {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.Cocone F} (hc : CategoryTheory.Limits.IsColimit c)
  {i₁ i₂ : J} (f₁ : X ⟶ F.obj i₁) (f₂ : X ⟶ F.obj i₂),
  CategoryTheory.CategoryStruct.comp f₁ (c.ι.app i₁) = CategoryTheory.CategoryStruct.comp f₂ (c.ι.app i₂) →
    ∃ j u v, CategoryTheory.CategoryStruct.comp f₁ (F.map u) = CategoryTheory.CategoryStruct.comp f₂ (F.map v)

theorem CategoryTheory.IsCardinalPresentable.exists_eq_of_isColimit' E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  {J : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} J] [CategoryTheory.IsCardinalPresentable X κ]
  [CategoryTheory.EssentiallySmall.{w, v_1, u_1} J] [CategoryTheory.IsCardinalFiltered J κ]
  {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.Cocone F} (hc : CategoryTheory.Limits.IsColimit c) {i : J}
  (f₁ f₂ : X ⟶ F.obj i),
  CategoryTheory.CategoryStruct.comp f₁ (c.ι.app i) = CategoryTheory.CategoryStruct.comp f₂ (c.ι.app i) →
    ∃ j u, CategoryTheory.CategoryStruct.comp f₁ (F.map u) = CategoryTheory.CategoryStruct.comp f₂ (F.map u)

theorem CategoryTheory.IsCardinalPresentable.exists_eq_of_isColimit'_of_hasCardinalLT E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  {J : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} J] [CategoryTheory.IsCardinalPresentable X κ]
  [CategoryTheory.EssentiallySmall.{w, v_1, u_1} J] [CategoryTheory.IsCardinalFiltered J κ]
  {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.Cocone F} (hc : CategoryTheory.Limits.IsColimit c) {i : J}
  {ι : Type u_2},
  HasCardinalLT ι κ →
    ∀ (f : ι → (X ⟶ F.obj i)),
      (∀ (i₀ i₁ : ι),
          CategoryTheory.CategoryStruct.comp (f i₀) (c.ι.app i) =
            CategoryTheory.CategoryStruct.comp (f i₁) (c.ι.app i)) →
        ∃ j u,
          ∀ (i₀ i₁ : ι),
            CategoryTheory.CategoryStruct.comp (f i₀) (F.map u) = CategoryTheory.CategoryStruct.comp (f i₁) (F.map u)

theorem CategoryTheory.IsCardinalPresentable.exists_of_square E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  {J : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} J] [CategoryTheory.IsCardinalFiltered J κ]
  [CategoryTheory.EssentiallySmall.{w, v_1, u_1} J] {F : CategoryTheory.Functor J C}
  {c : CategoryTheory.Limits.Cocone F} (hc : CategoryTheory.Limits.IsColimit c) {X₀ X₁ : C}
  [CategoryTheory.IsCardinalPresentable X₀ κ] [CategoryTheory.IsCardinalPresentable X₁ κ] (f₀₁ : X₀ ⟶ X₁)
  (q : X₁ ⟶ c.pt) {j₀ : J} (g : X₀ ⟶ F.obj j₀),
  CategoryTheory.CategoryStruct.comp f₀₁ q = CategoryTheory.CategoryStruct.comp g (c.ι.app j₀) →
    ∃ j₁ u q',
      CategoryTheory.CategoryStruct.comp f₀₁ q' = CategoryTheory.CategoryStruct.comp g (F.map u) ∧
        q = CategoryTheory.CategoryStruct.comp q' (c.ι.app j₁)

In a category C, given a diagram F : J ⥤ C where J is κ-filtered and a commutative square

 X₀ ------> X₁
 |          |
 | g        | q
 v          v
F(j₀) --> colim F

where X₁ is κ-presentable, there exists an index j₁ and a commutative diagram

  X₀ -------------> X₁
  |                 |  \
  |                 |   v
  | g            q' |   colimF
  |                 |   ^
  v                 v  /
F(j₀) ----------> F(j₁)

theorem CategoryTheory.IsCardinalPresentable.exists_commSq_of_isColimit E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  {J : Type u_2} [inst_2 : CategoryTheory.Category.{v_2, u_2} J] [CategoryTheory.EssentiallySmall.{w, v_2, u_2} J]
  [CategoryTheory.IsCardinalFiltered J κ] {X Y : CategoryTheory.Functor J C} (f : X ⟶ Y)
  {c₁ : CategoryTheory.Limits.Cocone X} {c₂ : CategoryTheory.Limits.Cocone Y} (hc₁ : CategoryTheory.Limits.IsColimit c₁)
  (hc₂ : CategoryTheory.Limits.IsColimit c₂) (f' : c₁.pt ⟶ c₂.pt),
  (∀ (j : J),
      CategoryTheory.CategoryStruct.comp (c₁.ι.app j) f' = CategoryTheory.CategoryStruct.comp (f.app j) (c₂.ι.app j)) →
    ∀ ⦃X' Y' : C⦄ ⦃t : X' ⟶ Y'⦄ ⦃l : X' ⟶ c₁.pt⦄ ⦃r : Y' ⟶ c₂.pt⦄ [CategoryTheory.IsCardinalPresentable X' κ]
      [CategoryTheory.IsCardinalPresentable Y' κ],
      CategoryTheory.CommSq t l r f' →
        ∃ j l' r',
          CategoryTheory.CategoryStruct.comp l' (c₁.ι.app j) = l ∧
            CategoryTheory.CategoryStruct.comp r' (c₂.ι.app j) = r ∧ CategoryTheory.CommSq t l' r' (f.app j)

Given a commutative square where both objects on the top are κ-presentable and the bottom map is a colimit of a natural transformation f : X ⟶ Y between functors in J ⥤ C where J is κ-filtered, the commutative square can be refined by replacing the colimit map in the bottom by a morphism f.app j : X.obj j ⟶ Y.obj j for a big enough j.

theorem CategoryTheory.isCardinalPresentable_iff_isCardinalAccessible_uliftCoyoneda_obj E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular],
  CategoryTheory.IsCardinalPresentable X κ ↔
    (CategoryTheory.uliftCoyoneda.{t, v₁, u₁}.obj (Opposite.op X)).IsCardinalAccessible κ

instance CategoryTheory.instIsCardinalAccessibleObjOppositeFunctorTypeUliftCoyonedaOpOfIsCardinalPresentable E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  [CategoryTheory.IsCardinalPresentable X κ],
  (CategoryTheory.uliftCoyoneda.{t, v₁, u₁}.obj (Opposite.op X)).IsCardinalAccessible κ

abbrev CategoryTheory.IsPresentable E1 #

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

An object of a category is presentable relative to a universe w if it is κ-presentable for some regular κ : Cardinal.{w}.

theorem CategoryTheory.isPresentable_of_isCardinalPresentable E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  [CategoryTheory.IsCardinalPresentable X κ], CategoryTheory.IsPresentable.{w, v₁, u₁} X

class CategoryTheory.HasCardinalFilteredColimits E1 #

(C : Type u₁) → [CategoryTheory.Category.{v₁, u₁} C] → (κ : Cardinal.{w}) → [Fact κ.IsRegular] → Prop

A category has κ-filtered colimits if it has colimits of shape J for any κ-filtered category J.

ctor CategoryTheory.HasCardinalFilteredColimits.mk E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {κ : Cardinal.{w}} [inst_1 : Fact κ.IsRegular],
  autoParam
      (∀ (J : Type w) [inst_2 : CategoryTheory.SmallCategory J] [CategoryTheory.IsCardinalFiltered J κ],
        CategoryTheory.Limits.HasColimitsOfShape J C)
      CategoryTheory.HasCardinalFilteredColimits.hasColimitsOfShape'._autoParam →
    CategoryTheory.HasCardinalFilteredColimits C κ

theorem CategoryTheory.HasCardinalFilteredColimits.hasColimitsOfShape' E1 #

∀ (C : Type u₁) {inst : CategoryTheory.Category.{v₁, u₁} C} (κ : Cardinal.{w}) {inst_1 : Fact κ.IsRegular}
  [self : CategoryTheory.HasCardinalFilteredColimits C κ] (J : Type w) [inst_2 : CategoryTheory.SmallCategory J]
  [CategoryTheory.IsCardinalFiltered J κ], CategoryTheory.Limits.HasColimitsOfShape J C

instance CategoryTheory.instHasCardinalFilteredColimitsOfHasColimitsOfSize E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  [CategoryTheory.Limits.HasColimitsOfSize.{w, w, v₁, u₁} C], CategoryTheory.HasCardinalFilteredColimits C κ

theorem CategoryTheory.HasCardinalFilteredColimits.hasColimitsOfShape E1 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (κ : Cardinal.{w}) [inst_1 : Fact κ.IsRegular]
  [CategoryTheory.HasCardinalFilteredColimits C κ] (J : Type u₃) [inst_3 : CategoryTheory.Category.{v₃, u₃} J]
  [CategoryTheory.EssentiallySmall.{w, v₃, u₃} J] [CategoryTheory.IsCardinalFiltered J κ],
  CategoryTheory.Limits.HasColimitsOfShape J C

theorem CategoryTheory.HasCardinalFilteredColimits.of_le E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {κ : Cardinal.{w}} [inst_1 : Fact κ.IsRegular]
  [CategoryTheory.HasCardinalFilteredColimits C κ] {κ' : Cardinal.{w}} [inst_3 : Fact κ'.IsRegular],
  κ ≤ κ' → CategoryTheory.HasCardinalFilteredColimits C κ'