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_wanted
at the bottom of this file, implying that all cofiltered limits over countable categories are isomorphic to sequential limits.Prove the dual result for filtered colimits.
A category has all countable limits if every functor J ⥤ C
with a CountableCategory J
instance and J : Type
has a limit.
- out (J : Type) [CategoryTheory.SmallCategory J] [CategoryTheory.CountableCategory J] : CategoryTheory.Limits.HasLimitsOfShape J C
C
has all limits over any typeJ
whose objects and morphisms lie in the same universe and which has countably many objects and morphisms
Instances
A category has countable products if it has all products indexed by countable types.
Instances
A category has all countable colimits if every functor J ⥤ C
with a CountableCategory J
instance and J : Type
has a colimit.
- out (J : Type) [CategoryTheory.SmallCategory J] [CategoryTheory.CountableCategory J] : CategoryTheory.Limits.HasColimitsOfShape J C
C
has all limits over any typeJ
whose objects and morphisms lie in the same universe and which has countably many objects and morphisms
Instances
A category has countable coproducts if it has all coproducts indexed by countable types.
Instances
The object part of the initial functor ℕᵒᵖ ⥤ J
Equations
- CategoryTheory.Limits.IsFiltered.sequentialFunctor_obj J Nat.zero = ⋯.choose 0
- CategoryTheory.Limits.IsFiltered.sequentialFunctor_obj J n.succ = ⋯.choose
Instances For
The initial functor ℕᵒᵖ ⥤ J
, which allows us to turn cofiltered limits over countable preorders
into sequential limits.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The object part of the initial functor ℕᵒᵖ ⥤ J
Equations
- CategoryTheory.Limits.IsCofiltered.sequentialFunctor_obj J Nat.zero = ⋯.choose 0
- CategoryTheory.Limits.IsCofiltered.sequentialFunctor_obj J n.succ = ⋯.choose
Instances For
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
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Alias of CategoryTheory.Limits.IsCofiltered.sequentialFunctor
.
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
.
Equations
Instances For
Alias of CategoryTheory.Limits.IsCofiltered.sequentialFunctor_obj
.
The object part of the initial functor ℕᵒᵖ ⥤ J
Equations
Instances For
Alias of CategoryTheory.Limits.IsCofiltered.sequentialFunctor_map
.
Alias of CategoryTheory.Limits.IsCofiltered.sequentialFunctor_initial_aux
.
Alias of CategoryTheory.Limits.IsCofiltered.sequentialFunctor_initial
.