The areas / V24. Category theory
Mathlib.CategoryTheory.Limits.Pi
8 declarations. Mathlib docs · Source
Limits in the category of indexed families of objects.
Given a functor F : J ⥤ Π i, C i into a category of indexed families,
- we can assemble a collection of cones over
F ⋙ Pi.eval C iinto a cone overF - if all those cones are limit cones, the assembled cone is a limit cone, and
- if we have limits for each of
F ⋙ Pi.eval C i, we can produce aHasLimit Finstance
As an example, we can use this to construct particular shapes of limits in a category of indexed families.
With the addition of
import CategoryTheory.Limits.Types.Products
we can use:
attribute [local instance] hasLimit_of_hasLimit_comp_eval
example : hasBinaryProducts (I → Type v₁) := ⟨by infer_instance⟩
def CategoryTheory.pi.coneCompEval E1 #
{I : Type v₁} →
{C : I → Type u₁} →
[inst : (i : I) → CategoryTheory.Category.{v₁, u₁} (C i)] →
{J : Type v₁} →
[inst_1 : CategoryTheory.SmallCategory J] →
{F : CategoryTheory.Functor J ((i : I) → C i)} →
CategoryTheory.Limits.Cone F → (i : I) → CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Pi.eval C i))
A cone over F : J ⥤ Π i, C i has as its components cones over each of the F ⋙ Pi.eval C i.
def CategoryTheory.pi.coconeCompEval E1 #
{I : Type v₁} →
{C : I → Type u₁} →
[inst : (i : I) → CategoryTheory.Category.{v₁, u₁} (C i)] →
{J : Type v₁} →
[inst_1 : CategoryTheory.SmallCategory J] →
{F : CategoryTheory.Functor J ((i : I) → C i)} →
CategoryTheory.Limits.Cocone F →
(i : I) → CategoryTheory.Limits.Cocone (F.comp (CategoryTheory.Pi.eval C i))
A cocone over F : J ⥤ Π i, C i has as its components cocones over each of the F ⋙ Pi.eval C i.
def CategoryTheory.pi.coneOfConeCompEval E1 #
{I : Type v₁} →
{C : I → Type u₁} →
[inst : (i : I) → CategoryTheory.Category.{v₁, u₁} (C i)] →
{J : Type v₁} →
[inst_1 : CategoryTheory.SmallCategory J] →
{F : CategoryTheory.Functor J ((i : I) → C i)} →
((i : I) → CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Pi.eval C i))) → CategoryTheory.Limits.Cone F
Given a family of cones over the F ⋙ Pi.eval C i, we can assemble these together as a Cone F.
def CategoryTheory.pi.coconeOfCoconeCompEval E1 #
{I : Type v₁} →
{C : I → Type u₁} →
[inst : (i : I) → CategoryTheory.Category.{v₁, u₁} (C i)] →
{J : Type v₁} →
[inst_1 : CategoryTheory.SmallCategory J] →
{F : CategoryTheory.Functor J ((i : I) → C i)} →
((i : I) → CategoryTheory.Limits.Cocone (F.comp (CategoryTheory.Pi.eval C i))) →
CategoryTheory.Limits.Cocone F
Given a family of cocones over the F ⋙ Pi.eval C i,
we can assemble these together as a Cocone F.
def CategoryTheory.pi.coneOfConeEvalIsLimit E1 #
{I : Type v₁} →
{C : I → Type u₁} →
[inst : (i : I) → CategoryTheory.Category.{v₁, u₁} (C i)] →
{J : Type v₁} →
[inst_1 : CategoryTheory.SmallCategory J] →
{F : CategoryTheory.Functor J ((i : I) → C i)} →
{c : (i : I) → CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Pi.eval C i))} →
((i : I) → CategoryTheory.Limits.IsLimit (c i)) →
CategoryTheory.Limits.IsLimit (CategoryTheory.pi.coneOfConeCompEval c)
Given a family of limit cones over the F ⋙ Pi.eval C i,
assembling them together as a Cone F produces a limit cone.
def CategoryTheory.pi.coconeOfCoconeEvalIsColimit E1 #
{I : Type v₁} →
{C : I → Type u₁} →
[inst : (i : I) → CategoryTheory.Category.{v₁, u₁} (C i)] →
{J : Type v₁} →
[inst_1 : CategoryTheory.SmallCategory J] →
{F : CategoryTheory.Functor J ((i : I) → C i)} →
{c : (i : I) → CategoryTheory.Limits.Cocone (F.comp (CategoryTheory.Pi.eval C i))} →
((i : I) → CategoryTheory.Limits.IsColimit (c i)) →
CategoryTheory.Limits.IsColimit (CategoryTheory.pi.coconeOfCoconeCompEval c)
Given a family of colimit cocones over the F ⋙ Pi.eval C i,
assembling them together as a Cocone F produces a colimit cocone.
theorem CategoryTheory.pi.hasLimit_of_hasLimit_comp_eval E1 #
∀ {I : Type v₁} {C : I → Type u₁} [inst : (i : I) → CategoryTheory.Category.{v₁, u₁} (C i)] {J : Type v₁}
[inst_1 : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J ((i : I) → C i)}
[∀ (i : I), CategoryTheory.Limits.HasLimit (F.comp (CategoryTheory.Pi.eval C i))], CategoryTheory.Limits.HasLimit F
If we have a functor F : J ⥤ Π i, C i into a category of indexed families,
and we have limits for each of the F ⋙ Pi.eval C i,
then F has a limit.
theorem CategoryTheory.pi.hasColimit_of_hasColimit_comp_eval E1 #
∀ {I : Type v₁} {C : I → Type u₁} [inst : (i : I) → CategoryTheory.Category.{v₁, u₁} (C i)] {J : Type v₁}
[inst_1 : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J ((i : I) → C i)}
[∀ (i : I), CategoryTheory.Limits.HasColimit (F.comp (CategoryTheory.Pi.eval C i))],
CategoryTheory.Limits.HasColimit F
If we have a functor F : J ⥤ Π i, C i into a category of indexed families,
and colimits exist for each of the F ⋙ Pi.eval C i,
there is a colimit for F.