The areas / V24. Category theory
Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products
25 declarations. Mathlib docs · Source
def CategoryTheory.Limits.isLimitMapConeFanMkEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(G : CategoryTheory.Functor C D) →
{J : Type w} →
(f : J → C) →
{P : C} →
(g : (j : J) → P ⟶ f j) →
CategoryTheory.Limits.IsLimit (G.mapCone (CategoryTheory.Limits.Fan.mk P g)) ≃
CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fan.mk (G.obj P) fun j ↦ G.map (g j))
The map of a fan is a limit iff the fan consisting of the mapped morphisms is a limit. This
essentially lets us commute Fan.mk with Functor.mapCone.
def CategoryTheory.Limits.isColimitMapCoconeCofanMkEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(G : CategoryTheory.Functor C D) →
{J : Type w} →
(f : J → C) →
{P : C} →
(g : (j : J) → f j ⟶ P) →
CategoryTheory.Limits.IsColimit (G.mapCocone (CategoryTheory.Limits.Cofan.mk P g)) ≃
CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofan.mk (G.obj P) fun j ↦ G.map (g j))
The map of a cofan is a colimit iff the cofan consisting of the mapped morphisms is a colimit.
This essentially lets us commute Cofan.mk with Functor.mapCocone.
def CategoryTheory.Limits.isLimitFanMkObjOfIsLimit E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(G : CategoryTheory.Functor C D) →
{J : Type w} →
(f : J → C) →
[CategoryTheory.Limits.PreservesLimit (CategoryTheory.Discrete.functor f) G] →
{P : C} →
(g : (j : J) → P ⟶ f j) →
CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fan.mk P g) →
CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fan.mk (G.obj P) fun j ↦ G.map (g j))
The property of preserving products expressed in terms of fans.
def CategoryTheory.Limits.isColimitCofanMkObjOfIsColimit E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(G : CategoryTheory.Functor C D) →
{J : Type w} →
(f : J → C) →
[CategoryTheory.Limits.PreservesColimit (CategoryTheory.Discrete.functor f) G] →
{P : C} →
(g : (j : J) → f j ⟶ P) →
CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofan.mk P g) →
CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofan.mk (G.obj P) fun j ↦ G.map (g j))
The property of preserving coproducts expressed in terms of cofans.
def CategoryTheory.Limits.isLimitOfIsLimitFanMkObj E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(G : CategoryTheory.Functor C D) →
{J : Type w} →
(f : J → C) →
[CategoryTheory.Limits.ReflectsLimit (CategoryTheory.Discrete.functor f) G] →
{P : C} →
(g : (j : J) → P ⟶ f j) →
CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fan.mk (G.obj P) fun j ↦ G.map (g j)) →
CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fan.mk P g)
The property of reflecting products expressed in terms of fans.
def CategoryTheory.Limits.isColimitOfIsColimitCofanMkObj E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(G : CategoryTheory.Functor C D) →
{J : Type w} →
(f : J → C) →
[CategoryTheory.Limits.ReflectsColimit (CategoryTheory.Discrete.functor f) G] →
{P : C} →
(g : (j : J) → f j ⟶ P) →
CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofan.mk (G.obj P) fun j ↦ G.map (g j)) →
CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofan.mk P g)
The property of reflecting coproducts expressed in terms of cofans.
def CategoryTheory.Limits.isLimitOfHasProductOfPreservesLimit E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(G : CategoryTheory.Functor C D) →
{J : Type w} →
(f : J → C) →
[inst_2 : CategoryTheory.Limits.HasProduct f] →
[CategoryTheory.Limits.PreservesLimit (CategoryTheory.Discrete.functor f) G] →
CategoryTheory.Limits.IsLimit
(CategoryTheory.Limits.Fan.mk (G.obj (∏ᶜ f)) fun j ↦ G.map (CategoryTheory.Limits.Pi.π f j))
If G preserves products and C has them, then the fan constructed of the mapped projection of a
product is a limit.
def CategoryTheory.Limits.isColimitOfHasCoproductOfPreservesColimit E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(G : CategoryTheory.Functor C D) →
{J : Type w} →
(f : J → C) →
[inst_2 : CategoryTheory.Limits.HasCoproduct f] →
[CategoryTheory.Limits.PreservesColimit (CategoryTheory.Discrete.functor f) G] →
CategoryTheory.Limits.IsColimit
(CategoryTheory.Limits.Cofan.mk (G.obj (∐ f)) fun j ↦ G.map (CategoryTheory.Limits.Sigma.ι f j))
If G preserves coproducts and C has them,
then the cofan constructed of the mapped inclusion of a coproduct is a colimit.
theorem CategoryTheory.Limits.PreservesProduct.of_iso_comparison E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(G : CategoryTheory.Functor C D) {J : Type w} (f : J → C) [inst_2 : CategoryTheory.Limits.HasProduct f]
[inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ G.obj (f j)]
[i : CategoryTheory.IsIso (CategoryTheory.Limits.piComparison G f)],
CategoryTheory.Limits.PreservesLimit (CategoryTheory.Discrete.functor f) G
If pi_comparison G f is an isomorphism, then G preserves the limit of f.
theorem CategoryTheory.Limits.PreservesCoproduct.of_iso_comparison E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(G : CategoryTheory.Functor C D) {J : Type w} (f : J → C) [inst_2 : CategoryTheory.Limits.HasCoproduct f]
[inst_3 : CategoryTheory.Limits.HasCoproduct fun j ↦ G.obj (f j)]
[i : CategoryTheory.IsIso (CategoryTheory.Limits.sigmaComparison G f)],
CategoryTheory.Limits.PreservesColimit (CategoryTheory.Discrete.functor f) G
If sigma_comparison G f is an isomorphism, then G preserves the colimit of f.
theorem CategoryTheory.Limits.map_ι_comp_inv_sigmaComparison_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(G : CategoryTheory.Functor C D) {J : Type w} (f : J → C) [inst_2 : CategoryTheory.Limits.HasCoproduct f]
[inst_3 : CategoryTheory.Limits.HasCoproduct fun j ↦ G.obj (f j)]
[inst_4 : CategoryTheory.IsIso (CategoryTheory.Limits.sigmaComparison G f)] (j : J) {Z : D}
(h : (∐ fun b ↦ G.obj (f b)) ⟶ Z),
CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.Sigma.ι f j))
(CategoryTheory.CategoryStruct.comp (CategoryTheory.inv (CategoryTheory.Limits.sigmaComparison G f)) h) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι (fun x ↦ G.obj (f x)) j) h
theorem CategoryTheory.Limits.inv_piComparison_comp_map_π E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(G : CategoryTheory.Functor C D) {J : Type w} (f : J → C) [inst_2 : CategoryTheory.Limits.HasProduct f]
[inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ G.obj (f j)]
[inst_4 : CategoryTheory.IsIso (CategoryTheory.Limits.piComparison G f)] (j : J),
CategoryTheory.CategoryStruct.comp (CategoryTheory.inv (CategoryTheory.Limits.piComparison G f))
(G.map (CategoryTheory.Limits.Pi.π f j)) =
CategoryTheory.Limits.Pi.π (fun x ↦ G.obj (f x)) j
theorem CategoryTheory.Limits.map_ι_comp_inv_sigmaComparison E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(G : CategoryTheory.Functor C D) {J : Type w} (f : J → C) [inst_2 : CategoryTheory.Limits.HasCoproduct f]
[inst_3 : CategoryTheory.Limits.HasCoproduct fun j ↦ G.obj (f j)]
[inst_4 : CategoryTheory.IsIso (CategoryTheory.Limits.sigmaComparison G f)] (j : J),
CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.Sigma.ι f j))
(CategoryTheory.inv (CategoryTheory.Limits.sigmaComparison G f)) =
CategoryTheory.Limits.Sigma.ι (fun x ↦ G.obj (f x)) j
theorem CategoryTheory.Limits.inv_piComparison_comp_map_π_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(G : CategoryTheory.Functor C D) {J : Type w} (f : J → C) [inst_2 : CategoryTheory.Limits.HasProduct f]
[inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ G.obj (f j)]
[inst_4 : CategoryTheory.IsIso (CategoryTheory.Limits.piComparison G f)] (j : J) {Z : D} (h : G.obj (f j) ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.inv (CategoryTheory.Limits.piComparison G f))
(CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.Pi.π f j)) h) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π (fun x ↦ G.obj (f x)) j) h
def CategoryTheory.Limits.PreservesProduct.iso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(G : CategoryTheory.Functor C D) →
{J : Type w} →
(f : J → C) →
[inst_2 : CategoryTheory.Limits.HasProduct f] →
[inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ G.obj (f j)] →
[CategoryTheory.Limits.PreservesLimit (CategoryTheory.Discrete.functor f) G] →
G.obj (∏ᶜ f) ≅ ∏ᶜ fun j ↦ G.obj (f j)
If G preserves limits, we have an isomorphism from the image of a product to the product of the
images.
def CategoryTheory.Limits.PreservesCoproduct.iso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(G : CategoryTheory.Functor C D) →
{J : Type w} →
(f : J → C) →
[inst_2 : CategoryTheory.Limits.HasCoproduct f] →
[inst_3 : CategoryTheory.Limits.HasCoproduct fun j ↦ G.obj (f j)] →
[CategoryTheory.Limits.PreservesColimit (CategoryTheory.Discrete.functor f) G] →
G.obj (∐ f) ≅ ∐ fun j ↦ G.obj (f j)
If G preserves colimits,
we have an isomorphism from the image of a coproduct to the coproduct of the images.
theorem CategoryTheory.Limits.PreservesProduct.iso_hom E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(G : CategoryTheory.Functor C D) {J : Type w} (f : J → C) [inst_2 : CategoryTheory.Limits.HasProduct f]
[inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ G.obj (f j)]
[inst_4 : CategoryTheory.Limits.PreservesLimit (CategoryTheory.Discrete.functor f) G],
(CategoryTheory.Limits.PreservesProduct.iso G f).hom = CategoryTheory.Limits.piComparison G f
theorem CategoryTheory.Limits.PreservesCoproduct.iso_inv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(G : CategoryTheory.Functor C D) {J : Type w} (f : J → C) [inst_2 : CategoryTheory.Limits.HasCoproduct f]
[inst_3 : CategoryTheory.Limits.HasCoproduct fun j ↦ G.obj (f j)]
[inst_4 : CategoryTheory.Limits.PreservesColimit (CategoryTheory.Discrete.functor f) G],
(CategoryTheory.Limits.PreservesCoproduct.iso G f).inv = CategoryTheory.Limits.sigmaComparison G f
instance CategoryTheory.Limits.instIsIsoSigmaComparison E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(G : CategoryTheory.Functor C D) {J : Type w} (f : J → C) [inst_2 : CategoryTheory.Limits.HasCoproduct f]
[inst_3 : CategoryTheory.Limits.HasCoproduct fun j ↦ G.obj (f j)]
[CategoryTheory.Limits.PreservesColimit (CategoryTheory.Discrete.functor f) G],
CategoryTheory.IsIso (CategoryTheory.Limits.sigmaComparison G f)
instance CategoryTheory.Limits.instIsIsoPiComparison E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(G : CategoryTheory.Functor C D) {J : Type w} (f : J → C) [inst_2 : CategoryTheory.Limits.HasProduct f]
[inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ G.obj (f j)]
[CategoryTheory.Limits.PreservesLimit (CategoryTheory.Discrete.functor f) G],
CategoryTheory.IsIso (CategoryTheory.Limits.piComparison G f)
instance CategoryTheory.Limits.instPreservesLimitsOfShapeOppositeOfIsGroupoid E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{I : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} I] [CategoryTheory.IsGroupoid I]
(F : CategoryTheory.Functor C D) [CategoryTheory.Limits.PreservesLimitsOfShape I F],
CategoryTheory.Limits.PreservesLimitsOfShape Iᵒᵖ F
instance CategoryTheory.Limits.instPreservesColimitsOfShapeOppositeOfIsGroupoid E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{I : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} I] [CategoryTheory.IsGroupoid I]
(F : CategoryTheory.Functor C D) [CategoryTheory.Limits.PreservesColimitsOfShape I F],
CategoryTheory.Limits.PreservesColimitsOfShape Iᵒᵖ F
theorem CategoryTheory.Limits.preservesLimitsOfShape_of_discrete E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{J : Type w} (F : CategoryTheory.Functor C D)
[∀ (f : J → C), CategoryTheory.Limits.PreservesLimit (CategoryTheory.Discrete.functor f) F],
CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete J) F
If F preserves the limit of every Discrete.functor f, it preserves all limits of shape
Discrete J.
theorem CategoryTheory.Limits.preservesColimitsOfShape_of_discrete E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{J : Type w} (F : CategoryTheory.Functor C D)
[∀ (f : J → C), CategoryTheory.Limits.PreservesColimit (CategoryTheory.Discrete.functor f) F],
CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete J) F
If F preserves the colimit of every Discrete.functor f, it preserves all colimits of shape
Discrete J.
instance CategoryTheory.Limits.instPreservesColimitsOfShapeOppositeDiscrete E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{I : Type w} (F : CategoryTheory.Functor C D)
[CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete I) F],
CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete I)ᵒᵖ F