The areas / V24. Category theory
Mathlib.CategoryTheory.Limits.Shapes.FiniteProducts
12 declarations. Mathlib docs · Source
class CategoryTheory.Limits.HasFiniteProducts E1 #
(C : Type u) → [CategoryTheory.Category.{v, u} C] → Prop
A category has finite products if there exists a limit for every diagram
with shape Discrete J, where we have [Finite J].
We require this condition only for J = Fin n in the definition, then deduce a version for any
J : Type* as a corollary of this definition.
ctor CategoryTheory.Limits.HasFiniteProducts.mk E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
(∀ (n : ℕ), CategoryTheory.Limits.HasLimitsOfShape (CategoryTheory.Discrete (Fin n)) C) →
CategoryTheory.Limits.HasFiniteProducts C
theorem CategoryTheory.Limits.HasFiniteProducts.out E1 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.Limits.HasFiniteProducts C] (n : ℕ),
CategoryTheory.Limits.HasLimitsOfShape (CategoryTheory.Discrete (Fin n)) C
C has finite products
class CategoryTheory.Limits.HasFiniteCoproducts E1 #
(C : Type u) → [CategoryTheory.Category.{v, u} C] → Prop
A category has finite coproducts if there exists a colimit for every diagram
with shape Discrete J, where we have [Fintype J].
We require this condition only for J = Fin n in the definition, then deduce a version for any
J : Type* as a corollary of this definition.
ctor CategoryTheory.Limits.HasFiniteCoproducts.mk E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
(∀ (n : ℕ), CategoryTheory.Limits.HasColimitsOfShape (CategoryTheory.Discrete (Fin n)) C) →
CategoryTheory.Limits.HasFiniteCoproducts C
theorem CategoryTheory.Limits.HasFiniteCoproducts.out E1 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.Limits.HasFiniteCoproducts C] (n : ℕ),
CategoryTheory.Limits.HasColimitsOfShape (CategoryTheory.Discrete (Fin n)) C
C has all finite coproducts
instance CategoryTheory.Limits.hasFiniteProducts_of_hasFiniteLimits E0 #
∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasFiniteLimits C],
CategoryTheory.Limits.HasFiniteProducts C
If C has finite limits then it has finite products.
instance CategoryTheory.Limits.hasFiniteCoproducts_of_hasFiniteColimits E0 #
∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasFiniteColimits C],
CategoryTheory.Limits.HasFiniteCoproducts C
If C has finite colimits then it has finite coproducts.
instance CategoryTheory.Limits.hasColimitsOfShape_discrete E0 #
∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasFiniteCoproducts C] (ι : Type w)
[Finite ι], CategoryTheory.Limits.HasColimitsOfShape (CategoryTheory.Discrete ι) C
instance CategoryTheory.Limits.hasLimitsOfShape_discrete E0 #
∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasFiniteProducts C] (ι : Type w)
[Finite ι], CategoryTheory.Limits.HasLimitsOfShape (CategoryTheory.Discrete ι) C
theorem CategoryTheory.Limits.hasFiniteProducts_of_hasProducts E1 #
∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasProducts.{w, v, u} C],
CategoryTheory.Limits.HasFiniteProducts C
If a category has all products then in particular it has finite products.
theorem CategoryTheory.Limits.hasFiniteCoproducts_of_hasCoproducts E1 #
∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasCoproducts.{w, v, u} C],
CategoryTheory.Limits.HasFiniteCoproducts C
If a category has all coproducts then in particular it has finite coproducts.