The areas / V24. Category theory
Mathlib.CategoryTheory.Limits.Shapes.Countable
38 declarations. Mathlib docs · Source
Countable limits and colimits
A typeclass for categories with all countable (co)limits.
We also prove that all cofiltered limits over countable preorders are isomorphic to sequential
limits, see sequentialFunctor_initial.
Projects
-
There is a series of
proof_wantedinWanted/CategoryTheory/Limits/Shapes/Countable.lean, implying that all cofiltered limits over countable categories are isomorphic to sequential limits. -
Prove the dual result for filtered colimits.
theorem CategoryTheory.Limits.IsCofiltered.sequentialFunctor_obj.congr_simp E1 #
∀ (J : Type u_2) [inst : Countable J] [inst_1 : Preorder J] [inst_2 : CategoryTheory.IsCofiltered J] (a a_1 : ℕ),
a = a_1 →
CategoryTheory.Limits.IsCofiltered.sequentialFunctor_obj J a =
CategoryTheory.Limits.IsCofiltered.sequentialFunctor_obj J a_1
theorem CategoryTheory.Limits.IsFiltered.sequentialFunctor_obj.congr_simp E1 #
∀ (J : Type u_2) [inst : Countable J] [inst_1 : Preorder J] [inst_2 : CategoryTheory.IsFiltered J] (a a_1 : ℕ),
a = a_1 →
CategoryTheory.Limits.IsFiltered.sequentialFunctor_obj J a =
CategoryTheory.Limits.IsFiltered.sequentialFunctor_obj J a_1
class CategoryTheory.Limits.HasCountableLimits E1 #
(C : Type u_1) → [CategoryTheory.Category.{v_1, u_1} C] → Prop
A category has all countable limits if every functor J ⥤ C with a CountableCategory J
instance and J : Type has a limit.
ctor CategoryTheory.Limits.HasCountableLimits.mk E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C],
autoParam
(∀ (J : Type) [inst_1 : CategoryTheory.SmallCategory J] [CategoryTheory.CountableCategory J],
CategoryTheory.Limits.HasLimitsOfShape J C)
CategoryTheory.Limits.HasCountableLimits.out._autoParam →
CategoryTheory.Limits.HasCountableLimits C
theorem CategoryTheory.Limits.HasCountableLimits.out E1 #
∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} [self : CategoryTheory.Limits.HasCountableLimits C]
(J : Type) [inst_1 : CategoryTheory.SmallCategory J] [CategoryTheory.CountableCategory J],
CategoryTheory.Limits.HasLimitsOfShape J C
C has all limits over any type J whose objects and morphisms lie in the same universe
and which has countably many objects and morphisms
class CategoryTheory.Limits.HasCountableColimits E1 #
(C : Type u_1) → [CategoryTheory.Category.{v_1, u_1} C] → Prop
A category has all countable colimits if every functor J ⥤ C with a CountableCategory J
instance and J : Type has a colimit.
ctor CategoryTheory.Limits.HasCountableColimits.mk E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C],
(∀ (J : Type) [inst_1 : CategoryTheory.SmallCategory J] [CategoryTheory.CountableCategory J],
CategoryTheory.Limits.HasColimitsOfShape J C) →
CategoryTheory.Limits.HasCountableColimits C
theorem CategoryTheory.Limits.HasCountableColimits.out E1 #
∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} [self : CategoryTheory.Limits.HasCountableColimits C]
(J : Type) [inst_1 : CategoryTheory.SmallCategory J] [CategoryTheory.CountableCategory J],
CategoryTheory.Limits.HasColimitsOfShape J C
C has all limits over any type J whose objects and morphisms lie in the same universe
and which has countably many objects and morphisms
instance CategoryTheory.Limits.hasFiniteColimits_of_hasCountableColimits E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [CategoryTheory.Limits.HasCountableColimits C],
CategoryTheory.Limits.HasFiniteColimits C
instance CategoryTheory.Limits.hasFiniteLimits_of_hasCountableLimits E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [CategoryTheory.Limits.HasCountableLimits C],
CategoryTheory.Limits.HasFiniteLimits C
instance CategoryTheory.Limits.hasCountableLimits_of_hasLimits E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [CategoryTheory.Limits.HasLimits C],
CategoryTheory.Limits.HasCountableLimits C
instance CategoryTheory.Limits.hasCountableColimits_of_hasColimits E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [CategoryTheory.Limits.HasColimits C],
CategoryTheory.Limits.HasCountableColimits C
instance CategoryTheory.Limits.instHasLimitsOfShapeOfHasCountableLimitsOfCountableCategory E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (J : Type u_2)
[CategoryTheory.Limits.HasCountableLimits C] [inst_2 : CategoryTheory.Category.{v, u_2} J]
[CategoryTheory.CountableCategory J], CategoryTheory.Limits.HasLimitsOfShape J C
instance CategoryTheory.Limits.instHasColimitsOfShapeOfHasCountableColimitsOfCountableCategory E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (J : Type u_2)
[CategoryTheory.Limits.HasCountableColimits C] [inst_2 : CategoryTheory.Category.{v, u_2} J]
[CategoryTheory.CountableCategory J], CategoryTheory.Limits.HasColimitsOfShape J C
class CategoryTheory.Limits.HasCountableProducts E1 #
(C : Type u_1) → [CategoryTheory.Category.{v_1, u_1} C] → Prop
A category has countable products if it has all products indexed by countable types.
ctor CategoryTheory.Limits.HasCountableProducts.mk E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C],
(∀ (J : Type) [Countable J], CategoryTheory.Limits.HasProductsOfShape J C) →
CategoryTheory.Limits.HasCountableProducts C
theorem CategoryTheory.Limits.HasCountableProducts.out E1 #
∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} [self : CategoryTheory.Limits.HasCountableProducts C]
(J : Type) [Countable J], CategoryTheory.Limits.HasProductsOfShape J C
class CategoryTheory.Limits.HasCountableCoproducts E1 #
(C : Type u_1) → [CategoryTheory.Category.{v_1, u_1} C] → Prop
A category has countable coproducts if it has all coproducts indexed by countable types.
ctor CategoryTheory.Limits.HasCountableCoproducts.mk E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C],
(∀ (J : Type) [Countable J], CategoryTheory.Limits.HasCoproductsOfShape J C) →
CategoryTheory.Limits.HasCountableCoproducts C
theorem CategoryTheory.Limits.HasCountableCoproducts.out E1 #
∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} [self : CategoryTheory.Limits.HasCountableCoproducts C]
(J : Type) [Countable J], CategoryTheory.Limits.HasCoproductsOfShape J C
instance CategoryTheory.Limits.instHasProductsOfShapeOfHasCountableProductsOfCountable E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [CategoryTheory.Limits.HasCountableProducts C]
(J : Type u_3) [Countable J], CategoryTheory.Limits.HasProductsOfShape J C
instance CategoryTheory.Limits.instHasCoproductsOfShapeOfHasCountableCoproductsOfCountable E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [CategoryTheory.Limits.HasCountableCoproducts C]
(J : Type u_3) [Countable J], CategoryTheory.Limits.HasCoproductsOfShape J C
instance CategoryTheory.Limits.hasCountableProducts_of_hasProducts E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [CategoryTheory.Limits.HasProducts.{u_3, v_1, u_1} C],
CategoryTheory.Limits.HasCountableProducts C
instance CategoryTheory.Limits.hasCountableCoproducts_of_hasCoproducts E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [CategoryTheory.Limits.HasCoproducts.{u_3, v_1, u_1} C],
CategoryTheory.Limits.HasCountableCoproducts C
instance CategoryTheory.Limits.hasCountableProducts_of_hasCountableLimits E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [CategoryTheory.Limits.HasCountableLimits C],
CategoryTheory.Limits.HasCountableProducts C
instance CategoryTheory.Limits.hasCountableCoproducts_of_hasCountableColimits E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [CategoryTheory.Limits.HasCountableColimits C],
CategoryTheory.Limits.HasCountableCoproducts C
instance CategoryTheory.Limits.hasFiniteProducts_of_hasCountableProducts E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [CategoryTheory.Limits.HasCountableProducts C],
CategoryTheory.Limits.HasFiniteProducts C
instance CategoryTheory.Limits.hasFiniteCoproducts_of_hasCountableCoproducts E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [CategoryTheory.Limits.HasCountableCoproducts C],
CategoryTheory.Limits.HasFiniteCoproducts C
def CategoryTheory.Limits.IsFiltered.sequentialFunctor_obj E1 #
(J : Type u_2) → [Countable J] → [inst : Preorder J] → [CategoryTheory.IsFiltered J] → ℕ → J
The object part of the initial functor ℕᵒᵖ ⥤ J
theorem CategoryTheory.Limits.IsFiltered.sequentialFunctor_map E1 #
∀ (J : Type u_2) [inst : Countable J] [inst_1 : Preorder J] [inst_2 : CategoryTheory.IsFiltered J],
Monotone (CategoryTheory.Limits.IsFiltered.sequentialFunctor_obj J)
def CategoryTheory.Limits.IsFiltered.sequentialFunctor E1 #
(J : Type u_2) → [Countable J] → [inst : Preorder J] → [CategoryTheory.IsFiltered J] → CategoryTheory.Functor ℕ J
The initial functor ℕᵒᵖ ⥤ J, which allows us to turn cofiltered limits over countable preorders
into sequential limits.
theorem CategoryTheory.Limits.IsFiltered.sequentialFunctor_final_aux E0 #
∀ (J : Type u_2) [inst : Countable J] [inst_1 : Preorder J] [inst_2 : CategoryTheory.IsFiltered J] (j : J),
∃ n, j ≤ CategoryTheory.Limits.IsFiltered.sequentialFunctor_obj J n
instance CategoryTheory.Limits.IsFiltered.sequentialFunctor_final E0 #
∀ (J : Type u_2) [inst : Countable J] [inst_1 : Preorder J] [inst_2 : CategoryTheory.IsFiltered J],
(CategoryTheory.Limits.IsFiltered.sequentialFunctor J).Final
def CategoryTheory.Limits.IsCofiltered.sequentialFunctor_obj E1 #
(J : Type u_2) → [Countable J] → [inst : Preorder J] → [CategoryTheory.IsCofiltered J] → ℕ → J
The object part of the initial functor ℕᵒᵖ ⥤ J
theorem CategoryTheory.Limits.IsCofiltered.sequentialFunctor_map E1 #
∀ (J : Type u_2) [inst : Countable J] [inst_1 : Preorder J] [inst_2 : CategoryTheory.IsCofiltered J],
Antitone (CategoryTheory.Limits.IsCofiltered.sequentialFunctor_obj J)
def CategoryTheory.Limits.IsCofiltered.sequentialFunctor E1 #
(J : Type u_2) → [Countable J] → [inst : Preorder J] → [CategoryTheory.IsCofiltered J] → CategoryTheory.Functor ℕᵒᵖ J
The initial functor ℕᵒᵖ ⥤ J, which allows us to turn cofiltered limits over countable preorders
into sequential limits.
TODO: redefine this as (IsFiltered.sequentialFunctor Jᵒᵖ).leftOp. This would need API for initial/
final functors of the form leftOp/rightOp.
theorem CategoryTheory.Limits.IsCofiltered.sequentialFunctor_initial_aux E0 #
∀ (J : Type u_2) [inst : Countable J] [inst_1 : Preorder J] [inst_2 : CategoryTheory.IsCofiltered J] (j : J),
∃ n, CategoryTheory.Limits.IsCofiltered.sequentialFunctor_obj J n ≤ j
instance CategoryTheory.Limits.IsCofiltered.sequentialFunctor_initial E0 #
∀ (J : Type u_2) [inst : Countable J] [inst_1 : Preorder J] [inst_2 : CategoryTheory.IsCofiltered J],
(CategoryTheory.Limits.IsCofiltered.sequentialFunctor J).Initial