The areas / V24. Category theory
Mathlib.CategoryTheory.Limits.Sifted
26 declarations. Mathlib docs · Source
Sifted categories
A category C is sifted if C is nonempty and the diagonal functor C ⥤ C × C is final.
Sifted categories can be characterized as those such that the colimit functor (C ⥤ Type) ⥤ Type
preserves finite products. We achieve this characterization in this file.
Main results
isSifted_of_hasBinaryCoproducts_and_nonempty: A nonempty category with binary coproducts is sifted.IsSifted.colimPreservesFiniteProductsOfIsSifted: TheType-valued colimit functor for sifted diagrams preserves finite products.IsSifted.of_colimit_preservesFiniteProducts: The converse: if theType-valued colimit functor preserves finite products, the category is sifted.IsSifted.of_final_functor_from_sifted: A category admitting a final functor from a sifted category is itself sifted.
References
- nLab, Sifted category
- [Algebraic Theories, Chapter 2.][Adamek_Rosicky_Vitale_2010]
abbrev CategoryTheory.IsSiftedOrEmpty E1 #
(C : Type u) → [CategoryTheory.Category.{v, u} C] → Prop
A category C IsSiftedOrEmpty if the diagonal functor C ⥤ C × C is final.
class CategoryTheory.IsSifted E1 #
(C : Type u) → [CategoryTheory.Category.{v, u} C] → Prop
A category C IsSifted if
- the diagonal functor
C ⥤ C × Cis final. - there exists some object.
instance CategoryTheory.IsSifted.toFinal E0 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.IsSifted C],
(CategoryTheory.Functor.diag C).Final
ctor CategoryTheory.IsSifted.mk E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [toFinal : (CategoryTheory.Functor.diag C).Final]
[nonempty : Nonempty C], CategoryTheory.IsSifted C
theorem CategoryTheory.IsSifted.nonempty E1 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.IsSifted C], Nonempty C
theorem CategoryTheory.IsSifted.isSifted_of_equiv E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.IsSifted C] {D : Type u₁}
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] (e : D ≌ C), CategoryTheory.IsSifted D
Being sifted is preserved by equivalences of categories
theorem CategoryTheory.IsSifted.isSifted_iff_asSmallIsSifted E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
CategoryTheory.IsSifted C ↔ CategoryTheory.IsSifted (CategoryTheory.AsSmall C)
In particular a category is sifted iff and only if it is so when viewed as a small category
instance CategoryTheory.IsSifted.instIsConnected E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.IsSifted C], CategoryTheory.IsConnected C
A sifted category is connected.
instance CategoryTheory.IsSifted.instIsSiftedOrEmptyOfHasBinaryCoproducts E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasBinaryCoproducts C],
CategoryTheory.IsSiftedOrEmpty C
A category with binary coproducts is sifted or empty.
instance CategoryTheory.IsSifted.isSifted_of_hasBinaryCoproducts_and_nonempty E3 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [Nonempty C] [CategoryTheory.Limits.HasBinaryCoproducts C],
CategoryTheory.IsSifted C
A nonempty category with binary coproducts is sifted.
instance CategoryTheory.IsSifted.instIsSiftedOrEmptyProd E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₁} [inst_1 : CategoryTheory.Category.{v₁, u₁} D]
[CategoryTheory.IsSiftedOrEmpty C] [CategoryTheory.IsSiftedOrEmpty D], CategoryTheory.IsSiftedOrEmpty (C × D)
instance CategoryTheory.IsSifted.prod_isSifted E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₁} [inst_1 : CategoryTheory.Category.{v₁, u₁} D]
[CategoryTheory.IsSifted C] [CategoryTheory.IsSifted D], CategoryTheory.IsSifted (C × D)
The product of two sifted categories is sifted.
instance CategoryTheory.instFinalProdProd' E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.IsSiftedOrEmpty C] {D : Type u₁}
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] {D' : Type u₂} [inst_3 : CategoryTheory.Category.{v₂, u₂} D']
(F : CategoryTheory.Functor C D) (G : CategoryTheory.Functor C D') [F.Final] [G.Final], (F.prod' G).Final
theorem CategoryTheory.IsSifted.factorization_prodComparison_colim E1 #
∀ {C : Type u} [inst : CategoryTheory.SmallCategory C] (X Y : CategoryTheory.Functor C (Type u)),
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Limits.HasColimit.isoOfNatIso
((CategoryTheory.MonoidalCategory.externalProductCompDiagIso C (Type u)).app (X, Y)).symm).hom
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Limits.colimit.pre (CategoryTheory.MonoidalCategory.externalProduct X Y)
(CategoryTheory.Functor.diag C))
(CategoryTheory.Limits.PreservesColimit₂.isoColimitUncurryWhiskeringLeft₂ X Y
(CategoryTheory.MonoidalCategory.curriedTensor (Type u))).hom) =
CategoryTheory.CartesianMonoidalCategory.prodComparison CategoryTheory.Limits.colim X Y
Through the isomorphisms PreservesColimit₂.isoColimitUncurryWhiskeringLeft₂ and
externalProductCompDiagIso, the comparison map colimit.pre (X ⊠ Y) (diag C) identifies with the
product comparison map for the colimit functor.
instance CategoryTheory.IsSifted.instIsIsoObjFunctorTypeColimTensorObjProdComparison E0 #
∀ {C : Type u} [inst : CategoryTheory.SmallCategory C] (X Y : CategoryTheory.Functor C (Type u))
[CategoryTheory.IsSifted C],
CategoryTheory.IsIso (CategoryTheory.CartesianMonoidalCategory.prodComparison CategoryTheory.Limits.colim X Y)
If C is sifted, the canonical product comparison map for the colim functor
(C ⥤ Type) ⥤ Type is an isomorphism.
instance CategoryTheory.IsSifted.colim_preservesLimits_pair_of_sSifted E0 #
∀ {C : Type u} [inst : CategoryTheory.SmallCategory C] [CategoryTheory.IsSifted C]
{X Y : CategoryTheory.Functor C (Type u)},
CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.pair X Y) CategoryTheory.Limits.colim
instance CategoryTheory.IsSifted.colim_preservesBinaryProducts_of_isSifted E0 #
∀ {C : Type u} [inst : CategoryTheory.SmallCategory C] [CategoryTheory.IsSifted C],
CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete CategoryTheory.Limits.WalkingPair)
CategoryTheory.Limits.colim
Sifted colimits commute with binary products
instance CategoryTheory.IsSifted.colim_preservesTerminal_of_isSifted E0 #
∀ {C : Type u} [inst : CategoryTheory.SmallCategory C] [CategoryTheory.IsSifted C],
CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty (CategoryTheory.Functor C (Type u)))
CategoryTheory.Limits.colim
If C is sifted, the colimit functor (C ⥤ Type) ⥤ Type preserves terminal objects
instance CategoryTheory.IsSifted.colim_preservesLimitsOfShape_pempty_of_isSifted E0 #
∀ {C : Type u} [inst : CategoryTheory.SmallCategory C] [CategoryTheory.IsSifted C],
CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete PEmpty.{1}) CategoryTheory.Limits.colim
instance CategoryTheory.IsSifted.colim_preservesFiniteProducts_of_isSifted E0 #
∀ {C : Type u} [inst : CategoryTheory.SmallCategory C] [CategoryTheory.IsSifted C],
CategoryTheory.Limits.PreservesFiniteProducts CategoryTheory.Limits.colim
If C is sifted, the colim functor (C ⥤ Type) ⥤ Type preserves finite products.
theorem CategoryTheory.IsSifted.isSiftedOrEmpty_of_colim_preservesBinaryProducts E1 #
∀ (C : Type u) [inst : CategoryTheory.SmallCategory C]
[CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete CategoryTheory.Limits.WalkingPair)
CategoryTheory.Limits.colim],
CategoryTheory.IsSiftedOrEmpty C
If the colim functor (C ⥤ Type) ⥤ Type preserves binary products, then C is sifted or
empty.
theorem CategoryTheory.IsSifted.isSiftedOrEmpty_of_colim_preservesFiniteProducts E1 #
∀ (C : Type u) [inst : CategoryTheory.SmallCategory C]
[h : CategoryTheory.Limits.PreservesFiniteProducts CategoryTheory.Limits.colim], CategoryTheory.IsSiftedOrEmpty C
theorem CategoryTheory.IsSifted.nonempty_of_colim_preservesLimitsOfShapeFinZero E1 #
∀ (C : Type u) [inst : CategoryTheory.SmallCategory C]
[CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete (Fin 0)) CategoryTheory.Limits.colim],
Nonempty C
theorem CategoryTheory.IsSifted.of_colim_preservesFiniteProducts E1 #
∀ (C : Type u) [inst : CategoryTheory.SmallCategory C]
[h : CategoryTheory.Limits.PreservesFiniteProducts CategoryTheory.Limits.colim], CategoryTheory.IsSifted C
If the colim functor (C ⥤ Type) ⥤ Type preserves finite products, then C is sifted.
theorem CategoryTheory.IsSifted.of_final_functor_from_sifted' E1 #
∀ {C : Type u} [inst : CategoryTheory.SmallCategory C] {D : Type u} [inst_1 : CategoryTheory.SmallCategory D]
[CategoryTheory.IsSifted C] (F : CategoryTheory.Functor C D) [F.Final], CategoryTheory.IsSifted D
Auxiliary version of IsSifted.of_final_functor_from_sifted where everything is a
small category.
theorem CategoryTheory.IsSifted.of_final_functor_from_sifted E3 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₁} [inst_1 : CategoryTheory.Category.{v₁, u₁} D]
[h₁ : CategoryTheory.IsSifted C] (F : CategoryTheory.Functor C D) [F.Final], CategoryTheory.IsSifted D
A functor admitting a final functor from a sifted category is sifted.