The areas / V24. Category theory
Mathlib.CategoryTheory.Limits.Constructions.LimitsOfProductsAndEqualizers
38 declarations. Mathlib docs · Source
Constructing limits from products and equalizers.
If a category has all products, and all equalizers, then it has all limits. Similarly, if it has all finite products, and all equalizers, then it has all finite limits.
If a functor preserves all products and equalizers, then it preserves all limits. Similarly, if it preserves all finite products and equalizers, then it preserves all finite limits.
TODO
Provide the dual results. Show the analogous results for functors which reflect or create (co)limits.
We now dualize the above constructions, resorting to copy-paste.
def CategoryTheory.Limits.HasLimitOfHasProductsOfHasEqualizers.buildLimit E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : Type w} →
[inst_1 : CategoryTheory.SmallCategory J] →
{F : CategoryTheory.Functor J C} →
{c₁ : CategoryTheory.Limits.Fan F.obj} →
{c₂ : CategoryTheory.Limits.Fan fun f ↦ F.obj f.fst.2} →
(s t : c₁.pt ⟶ c₂.pt) →
(∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp s (c₂.π.app { as := f }) =
CategoryTheory.CategoryStruct.comp (c₁.π.app { as := f.fst.1 }) (F.map f.snd)) →
(∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp t (c₂.π.app { as := f }) = c₁.π.app { as := f.fst.2 }) →
CategoryTheory.Limits.Fork s t → CategoryTheory.Limits.Cone F
(Implementation) Given the appropriate product and equalizer cones, build the cone for F which is
limiting if the given cones are also.
theorem CategoryTheory.Limits.HasLimitOfHasProductsOfHasEqualizers.buildLimit_pt E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.SmallCategory J]
{F : CategoryTheory.Functor J C} {c₁ : CategoryTheory.Limits.Fan F.obj}
{c₂ : CategoryTheory.Limits.Fan fun f ↦ F.obj f.fst.2} (s t : c₁.pt ⟶ c₂.pt)
(hs :
∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp s (c₂.π.app { as := f }) =
CategoryTheory.CategoryStruct.comp (c₁.π.app { as := f.fst.1 }) (F.map f.snd))
(ht :
∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp t (c₂.π.app { as := f }) = c₁.π.app { as := f.fst.2 })
(i : CategoryTheory.Limits.Fork s t),
(CategoryTheory.Limits.HasLimitOfHasProductsOfHasEqualizers.buildLimit s t hs ht i).pt = i.pt
theorem CategoryTheory.Limits.HasLimitOfHasProductsOfHasEqualizers.buildLimit_π_app E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.SmallCategory J]
{F : CategoryTheory.Functor J C} {c₁ : CategoryTheory.Limits.Fan F.obj}
{c₂ : CategoryTheory.Limits.Fan fun f ↦ F.obj f.fst.2} (s t : c₁.pt ⟶ c₂.pt)
(hs :
∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp s (c₂.π.app { as := f }) =
CategoryTheory.CategoryStruct.comp (c₁.π.app { as := f.fst.1 }) (F.map f.snd))
(ht :
∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp t (c₂.π.app { as := f }) = c₁.π.app { as := f.fst.2 })
(i : CategoryTheory.Limits.Fork s t) (x : J),
(CategoryTheory.Limits.HasLimitOfHasProductsOfHasEqualizers.buildLimit s t hs ht i).π.app x =
CategoryTheory.CategoryStruct.comp i.ι (c₁.π.app { as := x })
def CategoryTheory.Limits.HasLimitOfHasProductsOfHasEqualizers.buildIsLimit E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : Type w} →
[inst_1 : CategoryTheory.SmallCategory J] →
{F : CategoryTheory.Functor J C} →
{c₁ : CategoryTheory.Limits.Fan F.obj} →
{c₂ : CategoryTheory.Limits.Fan fun f ↦ F.obj f.fst.2} →
(s t : c₁.pt ⟶ c₂.pt) →
(hs :
∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp s (c₂.π.app { as := f }) =
CategoryTheory.CategoryStruct.comp (c₁.π.app { as := f.fst.1 }) (F.map f.snd)) →
(ht :
∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp t (c₂.π.app { as := f }) = c₁.π.app { as := f.fst.2 }) →
{i : CategoryTheory.Limits.Fork s t} →
CategoryTheory.Limits.IsLimit c₁ →
CategoryTheory.Limits.IsLimit c₂ →
CategoryTheory.Limits.IsLimit i →
CategoryTheory.Limits.IsLimit
(CategoryTheory.Limits.HasLimitOfHasProductsOfHasEqualizers.buildLimit s t hs ht i)
(Implementation) Show the cone constructed in buildLimit is limiting, provided the cones used in
its construction are.
def CategoryTheory.Limits.limitConeOfEqualizerAndProduct E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : Type w} →
[inst_1 : CategoryTheory.SmallCategory J] →
(F : CategoryTheory.Functor J C) →
[CategoryTheory.Limits.HasLimit (CategoryTheory.Discrete.functor F.obj)] →
[CategoryTheory.Limits.HasLimit (CategoryTheory.Discrete.functor fun f ↦ F.obj f.fst.2)] →
[CategoryTheory.Limits.HasEqualizers C] → CategoryTheory.Limits.LimitCone F
Given the existence of the appropriate (possibly finite) products and equalizers,
we can construct a limit cone for F.
(This assumes the existence of all equalizers, which is technically stronger than needed.)
theorem CategoryTheory.Limits.hasLimit_of_equalizer_and_product E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.SmallCategory J]
(F : CategoryTheory.Functor J C) [CategoryTheory.Limits.HasLimit (CategoryTheory.Discrete.functor F.obj)]
[CategoryTheory.Limits.HasLimit (CategoryTheory.Discrete.functor fun f ↦ F.obj f.fst.2)]
[CategoryTheory.Limits.HasEqualizers C], CategoryTheory.Limits.HasLimit F
Given the existence of the appropriate (possibly finite) products and equalizers, we know a limit of
F exists.
(This assumes the existence of all equalizers, which is technically stronger than needed.)
def CategoryTheory.Limits.limitSubobjectProduct E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : Type w} →
[inst_1 : CategoryTheory.SmallCategory J] →
[inst_2 : CategoryTheory.Limits.HasLimitsOfSize.{w, w, v, u} C] →
(F : CategoryTheory.Functor J C) → CategoryTheory.Limits.limit F ⟶ ∏ᶜ fun j ↦ F.obj j
A limit can be realised as a subobject of a product.
instance CategoryTheory.Limits.limitSubobjectProduct_mono E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.SmallCategory J]
[inst_2 : CategoryTheory.Limits.HasLimitsOfSize.{w, w, v, u} C] (F : CategoryTheory.Functor J C),
CategoryTheory.Mono (CategoryTheory.Limits.limitSubobjectProduct F)
theorem CategoryTheory.Limits.has_limits_of_hasEqualizers_and_products E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasProducts.{w, v, u} C]
[CategoryTheory.Limits.HasEqualizers C], CategoryTheory.Limits.HasLimitsOfSize.{w, w, v, u} C
Any category with products and equalizers has all limits.
theorem CategoryTheory.Limits.hasFiniteLimits_of_hasEqualizers_and_finite_products E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasFiniteProducts C]
[CategoryTheory.Limits.HasEqualizers C], CategoryTheory.Limits.HasFiniteLimits C
Any category with finite products and equalizers has all finite limits.
theorem CategoryTheory.Limits.preservesLimit_of_preservesEqualizers_and_product E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.SmallCategory J]
{D : Type u₂} [inst_2 : CategoryTheory.Category.{v₂, u₂} D]
[CategoryTheory.Limits.HasLimitsOfShape (CategoryTheory.Discrete J) C]
[CategoryTheory.Limits.HasLimitsOfShape (CategoryTheory.Discrete ((p : J × J) × (p.1 ⟶ p.2))) C]
[CategoryTheory.Limits.HasEqualizers C] (G : CategoryTheory.Functor C D)
[CategoryTheory.Limits.PreservesLimitsOfShape CategoryTheory.Limits.WalkingParallelPair G]
[CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete J) G]
[CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete ((p : J × J) × (p.1 ⟶ p.2))) G],
CategoryTheory.Limits.PreservesLimitsOfShape J G
If a functor preserves equalizers and the appropriate products, it preserves limits.
theorem CategoryTheory.Limits.preservesFiniteLimits_of_preservesEqualizers_and_finiteProducts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
[CategoryTheory.Limits.HasEqualizers C] [CategoryTheory.Limits.HasFiniteProducts C] (G : CategoryTheory.Functor C D)
[CategoryTheory.Limits.PreservesLimitsOfShape CategoryTheory.Limits.WalkingParallelPair G]
[CategoryTheory.Limits.PreservesFiniteProducts G], CategoryTheory.Limits.PreservesFiniteLimits G
If G preserves equalizers and finite products, it preserves finite limits.
theorem CategoryTheory.Limits.preservesLimits_of_preservesEqualizers_and_products E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
[CategoryTheory.Limits.HasEqualizers C] [CategoryTheory.Limits.HasProducts.{w, v, u} C]
(G : CategoryTheory.Functor C D)
[CategoryTheory.Limits.PreservesLimitsOfShape CategoryTheory.Limits.WalkingParallelPair G]
[∀ (J : Type w), CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete J) G],
CategoryTheory.Limits.PreservesLimitsOfSize.{w, w, v, v₂, u, u₂} G
If G preserves equalizers and products, it preserves all limits.
def CategoryTheory.Limits.createsLimitsOfShapeOfCreatesEqualizersAndProducts E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : Type w} →
[inst_1 : CategoryTheory.SmallCategory J] →
{D : Type u₂} →
[inst_2 : CategoryTheory.Category.{v₂, u₂} D] →
[CategoryTheory.Limits.HasLimitsOfShape (CategoryTheory.Discrete J) D] →
[CategoryTheory.Limits.HasLimitsOfShape (CategoryTheory.Discrete ((p : J × J) × (p.1 ⟶ p.2))) D] →
[CategoryTheory.Limits.HasEqualizers D] →
(G : CategoryTheory.Functor C D) →
[G.ReflectsIsomorphisms] →
[CategoryTheory.CreatesLimitsOfShape CategoryTheory.Limits.WalkingParallelPair G] →
[CategoryTheory.CreatesLimitsOfShape (CategoryTheory.Discrete J) G] →
[CategoryTheory.CreatesLimitsOfShape (CategoryTheory.Discrete ((p : J × J) × (p.1 ⟶ p.2)))
G] →
CategoryTheory.CreatesLimitsOfShape J G
If a functor creates equalizers and the appropriate products, it creates limits.
We additionally require the rather strong condition that the functor reflects isomorphisms. It is unclear whether the statement remains true without this condition. There are various definitions of "creating limits" in the literature, and whether or not the condition can be dropped seems to depend on the specific definition that is used.
def CategoryTheory.Limits.createsFiniteLimitsOfCreatesEqualizersAndFiniteProducts E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
[CategoryTheory.Limits.HasEqualizers D] →
[CategoryTheory.Limits.HasFiniteProducts D] →
(G : CategoryTheory.Functor C D) →
[G.ReflectsIsomorphisms] →
[CategoryTheory.CreatesLimitsOfShape CategoryTheory.Limits.WalkingParallelPair G] →
[CategoryTheory.Limits.CreatesFiniteProducts G] → CategoryTheory.Limits.CreatesFiniteLimits G
If a functor creates equalizers and finite products, it creates finite limits.
We additionally require the rather strong condition that the functor reflects isomorphisms. It is unclear whether the statement remains true without this condition. There are various definitions of "creating limits" in the literature, and whether or not the condition can be dropped seems to depend on the specific definition that is used.
def CategoryTheory.Limits.createsLimitsOfSizeOfCreatesEqualizersAndProducts E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
[CategoryTheory.Limits.HasEqualizers D] →
[CategoryTheory.Limits.HasProducts.{w, v₂, u₂} D] →
(G : CategoryTheory.Functor C D) →
[G.ReflectsIsomorphisms] →
[CategoryTheory.CreatesLimitsOfShape CategoryTheory.Limits.WalkingParallelPair G] →
[(J : Type w) → CategoryTheory.CreatesLimitsOfShape (CategoryTheory.Discrete J) G] →
CategoryTheory.CreatesLimitsOfSize.{w, w, v, v₂, u, u₂} G
If a functor creates equalizers and products, it creates limits.
We additionally require the rather strong condition that the functor reflects isomorphisms. It is unclear whether the statement remains true without this condition. There are various definitions of "creating limits" in the literature, and whether or not the condition can be dropped seems to depend on the specific definition that is used.
theorem CategoryTheory.Limits.hasFiniteLimits_of_hasTerminal_and_pullbacks E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasTerminal C]
[CategoryTheory.Limits.HasPullbacks C], CategoryTheory.Limits.HasFiniteLimits C
theorem CategoryTheory.Limits.preservesFiniteLimits_of_preservesTerminal_and_pullbacks E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
[CategoryTheory.Limits.HasTerminal C] [CategoryTheory.Limits.HasPullbacks C] (G : CategoryTheory.Functor C D)
[CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete PEmpty.{1}) G]
[CategoryTheory.Limits.PreservesLimitsOfShape CategoryTheory.Limits.WalkingCospan G],
CategoryTheory.Limits.PreservesFiniteLimits G
If G preserves terminal objects and pullbacks, it preserves all finite limits.
def CategoryTheory.Limits.createsFiniteLimitsOfCreatesTerminalAndPullbacks E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
[CategoryTheory.Limits.HasTerminal D] →
[CategoryTheory.Limits.HasPullbacks D] →
(G : CategoryTheory.Functor C D) →
[G.ReflectsIsomorphisms] →
[CategoryTheory.CreatesLimitsOfShape (CategoryTheory.Discrete PEmpty.{1}) G] →
[CategoryTheory.CreatesLimitsOfShape CategoryTheory.Limits.WalkingCospan G] →
CategoryTheory.Limits.CreatesFiniteLimits G
If a functor creates terminal objects and pullbacks, it creates finite limits.
We additionally require the rather strong condition that the functor reflects isomorphisms. It is unclear whether the statement remains true without this condition. There are various definitions of "creating limits" in the literature, and whether or not the condition can be dropped seems to depend on the specific definition that is used.
def CategoryTheory.Limits.HasColimitOfHasCoproductsOfHasCoequalizers.buildColimit E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : Type w} →
[inst_1 : CategoryTheory.SmallCategory J] →
{F : CategoryTheory.Functor J C} →
{c₁ : CategoryTheory.Limits.Cofan fun f ↦ F.obj f.fst.1} →
{c₂ : CategoryTheory.Limits.Cofan F.obj} →
(s t : c₁.pt ⟶ c₂.pt) →
(∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp (c₁.ι.app { as := f }) s =
CategoryTheory.CategoryStruct.comp (F.map f.snd) (c₂.ι.app { as := f.fst.2 })) →
(∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp (c₁.ι.app { as := f }) t = c₂.ι.app { as := f.fst.1 }) →
CategoryTheory.Limits.Cofork s t → CategoryTheory.Limits.Cocone F
(Implementation) Given the appropriate coproduct and coequalizer cocones,
build the cocone for F which is colimiting if the given cocones are also.
theorem CategoryTheory.Limits.HasColimitOfHasCoproductsOfHasCoequalizers.buildColimit_pt E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.SmallCategory J]
{F : CategoryTheory.Functor J C} {c₁ : CategoryTheory.Limits.Cofan fun f ↦ F.obj f.fst.1}
{c₂ : CategoryTheory.Limits.Cofan F.obj} (s t : c₁.pt ⟶ c₂.pt)
(hs :
∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp (c₁.ι.app { as := f }) s =
CategoryTheory.CategoryStruct.comp (F.map f.snd) (c₂.ι.app { as := f.fst.2 }))
(ht :
∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp (c₁.ι.app { as := f }) t = c₂.ι.app { as := f.fst.1 })
(i : CategoryTheory.Limits.Cofork s t),
(CategoryTheory.Limits.HasColimitOfHasCoproductsOfHasCoequalizers.buildColimit s t hs ht i).pt = i.pt
theorem CategoryTheory.Limits.HasColimitOfHasCoproductsOfHasCoequalizers.buildColimit_ι_app E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.SmallCategory J]
{F : CategoryTheory.Functor J C} {c₁ : CategoryTheory.Limits.Cofan fun f ↦ F.obj f.fst.1}
{c₂ : CategoryTheory.Limits.Cofan F.obj} (s t : c₁.pt ⟶ c₂.pt)
(hs :
∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp (c₁.ι.app { as := f }) s =
CategoryTheory.CategoryStruct.comp (F.map f.snd) (c₂.ι.app { as := f.fst.2 }))
(ht :
∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp (c₁.ι.app { as := f }) t = c₂.ι.app { as := f.fst.1 })
(i : CategoryTheory.Limits.Cofork s t) (x : J),
(CategoryTheory.Limits.HasColimitOfHasCoproductsOfHasCoequalizers.buildColimit s t hs ht i).ι.app x =
CategoryTheory.CategoryStruct.comp (c₂.ι.app { as := x }) i.π
def CategoryTheory.Limits.HasColimitOfHasCoproductsOfHasCoequalizers.buildIsColimit E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : Type w} →
[inst_1 : CategoryTheory.SmallCategory J] →
{F : CategoryTheory.Functor J C} →
{c₁ : CategoryTheory.Limits.Cofan fun f ↦ F.obj f.fst.1} →
{c₂ : CategoryTheory.Limits.Cofan F.obj} →
(s t : c₁.pt ⟶ c₂.pt) →
(hs :
∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp (c₁.ι.app { as := f }) s =
CategoryTheory.CategoryStruct.comp (F.map f.snd) (c₂.ι.app { as := f.fst.2 })) →
(ht :
∀ (f : (p : J × J) × (p.1 ⟶ p.2)),
CategoryTheory.CategoryStruct.comp (c₁.ι.app { as := f }) t = c₂.ι.app { as := f.fst.1 }) →
{i : CategoryTheory.Limits.Cofork s t} →
CategoryTheory.Limits.IsColimit c₁ →
CategoryTheory.Limits.IsColimit c₂ →
CategoryTheory.Limits.IsColimit i →
CategoryTheory.Limits.IsColimit
(CategoryTheory.Limits.HasColimitOfHasCoproductsOfHasCoequalizers.buildColimit s t hs ht
i)
(Implementation) Show the cocone constructed in buildColimit is colimiting,
provided the cocones used in its construction are.
def CategoryTheory.Limits.colimitCoconeOfCoequalizerAndCoproduct E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : Type w} →
[inst_1 : CategoryTheory.SmallCategory J] →
(F : CategoryTheory.Functor J C) →
[CategoryTheory.Limits.HasColimit (CategoryTheory.Discrete.functor F.obj)] →
[CategoryTheory.Limits.HasColimit (CategoryTheory.Discrete.functor fun f ↦ F.obj f.fst.1)] →
[CategoryTheory.Limits.HasCoequalizers C] → CategoryTheory.Limits.ColimitCocone F
Given the existence of the appropriate (possibly finite) coproducts and coequalizers,
we can construct a colimit cocone for F.
(This assumes the existence of all coequalizers, which is technically stronger than needed.)
theorem CategoryTheory.Limits.hasColimit_of_coequalizer_and_coproduct E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.SmallCategory J]
(F : CategoryTheory.Functor J C) [CategoryTheory.Limits.HasColimit (CategoryTheory.Discrete.functor F.obj)]
[CategoryTheory.Limits.HasColimit (CategoryTheory.Discrete.functor fun f ↦ F.obj f.fst.1)]
[CategoryTheory.Limits.HasCoequalizers C], CategoryTheory.Limits.HasColimit F
Given the existence of the appropriate (possibly finite) coproducts and coequalizers,
we know a colimit of F exists.
(This assumes the existence of all coequalizers, which is technically stronger than needed.)
def CategoryTheory.Limits.colimitQuotientCoproduct E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : Type w} →
[inst_1 : CategoryTheory.SmallCategory J] →
[inst_2 : CategoryTheory.Limits.HasColimitsOfSize.{w, w, v, u} C] →
(F : CategoryTheory.Functor J C) → (∐ fun j ↦ F.obj j) ⟶ CategoryTheory.Limits.colimit F
A colimit can be realised as a quotient of a coproduct.
instance CategoryTheory.Limits.colimitQuotientCoproduct_epi E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.SmallCategory J]
[inst_2 : CategoryTheory.Limits.HasColimitsOfSize.{w, w, v, u} C] (F : CategoryTheory.Functor J C),
CategoryTheory.Epi (CategoryTheory.Limits.colimitQuotientCoproduct F)
theorem CategoryTheory.Limits.has_colimits_of_hasCoequalizers_and_coproducts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasCoproducts.{w, v, u} C]
[CategoryTheory.Limits.HasCoequalizers C], CategoryTheory.Limits.HasColimitsOfSize.{w, w, v, u} C
Any category with coproducts and coequalizers has all colimits.
theorem CategoryTheory.Limits.hasFiniteColimits_of_hasCoequalizers_and_finite_coproducts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasFiniteCoproducts C]
[CategoryTheory.Limits.HasCoequalizers C], CategoryTheory.Limits.HasFiniteColimits C
Any category with finite coproducts and coequalizers has all finite colimits.
theorem CategoryTheory.Limits.preservesColimit_of_preservesCoequalizers_and_coproduct E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.SmallCategory J]
{D : Type u₂} [inst_2 : CategoryTheory.Category.{v₂, u₂} D]
[CategoryTheory.Limits.HasColimitsOfShape (CategoryTheory.Discrete J) C]
[CategoryTheory.Limits.HasColimitsOfShape (CategoryTheory.Discrete ((p : J × J) × (p.1 ⟶ p.2))) C]
[CategoryTheory.Limits.HasCoequalizers C] (G : CategoryTheory.Functor C D)
[CategoryTheory.Limits.PreservesColimitsOfShape CategoryTheory.Limits.WalkingParallelPair G]
[CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete J) G]
[CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete ((p : J × J) × (p.1 ⟶ p.2))) G],
CategoryTheory.Limits.PreservesColimitsOfShape J G
If a functor preserves coequalizers and the appropriate coproducts, it preserves colimits.
theorem CategoryTheory.Limits.preservesFiniteColimits_of_preservesCoequalizers_and_finiteCoproducts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
[CategoryTheory.Limits.HasCoequalizers C] [CategoryTheory.Limits.HasFiniteCoproducts C]
(G : CategoryTheory.Functor C D)
[CategoryTheory.Limits.PreservesColimitsOfShape CategoryTheory.Limits.WalkingParallelPair G]
[CategoryTheory.Limits.PreservesFiniteCoproducts G], CategoryTheory.Limits.PreservesFiniteColimits G
If G preserves coequalizers and finite coproducts, it preserves finite colimits.
theorem CategoryTheory.Limits.preservesColimits_of_preservesCoequalizers_and_coproducts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
[CategoryTheory.Limits.HasCoequalizers C] [CategoryTheory.Limits.HasCoproducts.{w, v, u} C]
(G : CategoryTheory.Functor C D)
[CategoryTheory.Limits.PreservesColimitsOfShape CategoryTheory.Limits.WalkingParallelPair G]
[∀ (J : Type w), CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete J) G],
CategoryTheory.Limits.PreservesColimitsOfSize.{w, w, v, v₂, u, u₂} G
If G preserves coequalizers and coproducts, it preserves all colimits.
def CategoryTheory.Limits.createsColimitsOfShapeOfCreatesCoequalizersAndCoproducts E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : Type w} →
[inst_1 : CategoryTheory.SmallCategory J] →
{D : Type u₂} →
[inst_2 : CategoryTheory.Category.{v₂, u₂} D] →
[CategoryTheory.Limits.HasColimitsOfShape (CategoryTheory.Discrete J) D] →
[CategoryTheory.Limits.HasColimitsOfShape (CategoryTheory.Discrete ((p : J × J) × (p.1 ⟶ p.2))) D] →
[CategoryTheory.Limits.HasCoequalizers D] →
(G : CategoryTheory.Functor C D) →
[G.ReflectsIsomorphisms] →
[CategoryTheory.CreatesColimitsOfShape CategoryTheory.Limits.WalkingParallelPair G] →
[CategoryTheory.CreatesColimitsOfShape (CategoryTheory.Discrete J) G] →
[CategoryTheory.CreatesColimitsOfShape (CategoryTheory.Discrete ((p : J × J) × (p.1 ⟶ p.2)))
G] →
CategoryTheory.CreatesColimitsOfShape J G
If a functor creates coequalizers and the appropriate coproducts, it creates colimits.
We additionally require the rather strong condition that the functor reflects isomorphisms. It is unclear whether the statement remains true without this condition. There are various definitions of "creating colimits" in the literature, and whether or not the condition can be dropped seems to depend on the specific definition that is used.
def CategoryTheory.Limits.createsFiniteColimitsOfCreatesCoequalizersAndFiniteCoproducts E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
[CategoryTheory.Limits.HasCoequalizers D] →
[CategoryTheory.Limits.HasFiniteCoproducts D] →
(G : CategoryTheory.Functor C D) →
[G.ReflectsIsomorphisms] →
[CategoryTheory.CreatesColimitsOfShape CategoryTheory.Limits.WalkingParallelPair G] →
[CategoryTheory.Limits.CreatesFiniteCoproducts G] → CategoryTheory.Limits.CreatesFiniteColimits G
If a functor creates coequalizers and finite coproducts, it creates finite colimits.
We additionally require the rather strong condition that the functor reflects isomorphisms. It is unclear whether the statement remains true without this condition. There are various definitions of "creating colimits" in the literature, and whether or not the condition can be dropped seems to depend on the specific definition that is used.
def CategoryTheory.Limits.createsColimitsOfSizeOfCreatesCoequalizersAndCoproducts E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
[CategoryTheory.Limits.HasCoequalizers D] →
[CategoryTheory.Limits.HasCoproducts.{w, v₂, u₂} D] →
(G : CategoryTheory.Functor C D) →
[G.ReflectsIsomorphisms] →
[CategoryTheory.CreatesColimitsOfShape CategoryTheory.Limits.WalkingParallelPair G] →
[(J : Type w) → CategoryTheory.CreatesColimitsOfShape (CategoryTheory.Discrete J) G] →
CategoryTheory.CreatesColimitsOfSize.{w, w, v, v₂, u, u₂} G
If a functor creates coequalizers and coproducts, it creates colimits.
We additionally require the rather strong condition that the functor reflects isomorphisms. It is unclear whether the statement remains true without this condition. There are various definitions of "creating colimits" in the literature, and whether or not the condition can be dropped seems to depend on the specific definition that is used.
theorem CategoryTheory.Limits.hasFiniteColimits_of_hasInitial_and_pushouts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasInitial C]
[CategoryTheory.Limits.HasPushouts C], CategoryTheory.Limits.HasFiniteColimits C
theorem CategoryTheory.Limits.preservesFiniteColimits_of_preservesInitial_and_pushouts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
[CategoryTheory.Limits.HasInitial C] [CategoryTheory.Limits.HasPushouts C] (G : CategoryTheory.Functor C D)
[CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete PEmpty.{1}) G]
[CategoryTheory.Limits.PreservesColimitsOfShape CategoryTheory.Limits.WalkingSpan G],
CategoryTheory.Limits.PreservesFiniteColimits G
If G preserves initial objects and pushouts, it preserves all finite colimits.
def CategoryTheory.Limits.createsFiniteColimitsOfCreatesInitialAndPushouts E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
[CategoryTheory.Limits.HasInitial D] →
[CategoryTheory.Limits.HasPushouts D] →
(G : CategoryTheory.Functor C D) →
[G.ReflectsIsomorphisms] →
[CategoryTheory.CreatesColimitsOfShape (CategoryTheory.Discrete PEmpty.{1}) G] →
[CategoryTheory.CreatesColimitsOfShape CategoryTheory.Limits.WalkingSpan G] →
CategoryTheory.Limits.CreatesFiniteColimits G
If a functor creates initial objects and pushouts, it creates finite colimits.
We additionally require the rather strong condition that the functor reflects isomorphisms. It is unclear whether the statement remains true without this condition. There are various definitions of "creating colimits" in the literature, and whether or not the condition can be dropped seems to depend on the specific definition that is used.