The areas / V24. Category theory
Mathlib.CategoryTheory.WithTerminal.Cone
66 declarations. Mathlib docs · Source
Relations between Cone, WithTerminal and Over
Given categories C and J, an object X : C and a functor K : J ⥤ Over X,
it has an obvious lift liftFromOver K : WithTerminal J ⥤ C, namely, send the terminal
object to X. These two functors have equivalent categories of cones (coneEquiv).
As a corollary, the limit of K is the limit of liftFromOver K, and vice-versa.
def CategoryTheory.WithTerminal.commaFromOver E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{J : Type w} →
[inst_1 : CategoryTheory.Category.{w', w} J] →
{X : C} →
CategoryTheory.Functor (CategoryTheory.Functor J (CategoryTheory.Over X))
(CategoryTheory.Comma (CategoryTheory.Functor.id (CategoryTheory.Functor J C))
(CategoryTheory.Functor.const J))
The category of functors J ⥤ Over X can be seen as part of a comma category,
namely the comma category constructed from the identity of the category of functors
J ⥤ C and the functor that maps X : C to the constant functor J ⥤ C.
Given a functor K : J ⥤ Over X, it is mapped to a natural transformation from the
obvious functor J ⥤ C to the constant functor X.
theorem CategoryTheory.WithTerminal.commaFromOver_map_left E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {X_1 Y : CategoryTheory.Functor J (CategoryTheory.Over X)} (f : X_1 ⟶ Y),
(CategoryTheory.WithTerminal.commaFromOver.map f).left =
CategoryTheory.Functor.whiskerRight f (CategoryTheory.Over.forget X)
theorem CategoryTheory.WithTerminal.commaFromOver_obj_right E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} (K : CategoryTheory.Functor J (CategoryTheory.Over X)),
(CategoryTheory.WithTerminal.commaFromOver.obj K).right = X
theorem CategoryTheory.WithTerminal.commaFromOver_obj_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} (K : CategoryTheory.Functor J (CategoryTheory.Over X)) (a : J),
(CategoryTheory.WithTerminal.commaFromOver.obj K).hom.app a = (K.obj a).hom
theorem CategoryTheory.WithTerminal.commaFromOver_map_right E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {X_1 Y : CategoryTheory.Functor J (CategoryTheory.Over X)} (f : X_1 ⟶ Y),
(CategoryTheory.WithTerminal.commaFromOver.map f).right = CategoryTheory.CategoryStruct.id X
theorem CategoryTheory.WithTerminal.commaFromOver_obj_left E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} (K : CategoryTheory.Functor J (CategoryTheory.Over X)),
(CategoryTheory.WithTerminal.commaFromOver.obj K).left = K.comp (CategoryTheory.Over.forget X)
def CategoryTheory.WithTerminal.liftFromOver E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{J : Type w} →
[inst_1 : CategoryTheory.Category.{w', w} J] →
{X : C} →
CategoryTheory.Functor (CategoryTheory.Functor J (CategoryTheory.Over X))
(CategoryTheory.Functor (CategoryTheory.WithTerminal J) C)
For any functor K : J ⥤ Over X, there is a canonical extension
WithTerminal J ⥤ C, that sends star to X.
theorem CategoryTheory.WithTerminal.liftFromOver_obj_obj E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} (X_1 : CategoryTheory.Functor J (CategoryTheory.Over X)) (X_2 : CategoryTheory.WithTerminal J),
(CategoryTheory.WithTerminal.liftFromOver.obj X_1).obj X_2 =
match X_2 with
| CategoryTheory.WithTerminal.of x => (X_1.obj x).left
| CategoryTheory.WithTerminal.star => X
theorem CategoryTheory.WithTerminal.liftFromOver_obj_map E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} (X_1 : CategoryTheory.Functor J (CategoryTheory.Over X)) {X_2 Y : CategoryTheory.WithTerminal J}
(f : X_2 ⟶ Y),
(CategoryTheory.WithTerminal.liftFromOver.obj X_1).map f =
match X_2, Y, f with
| CategoryTheory.WithTerminal.of a, CategoryTheory.WithTerminal.of a_1, f =>
CategoryTheory.Over.Hom.left (X_1.map (CategoryTheory.WithTerminal.down f))
| CategoryTheory.WithTerminal.of x, CategoryTheory.WithTerminal.star, x_1 => (X_1.obj x).hom
| CategoryTheory.WithTerminal.star, CategoryTheory.WithTerminal.star, x => CategoryTheory.CategoryStruct.id X
theorem CategoryTheory.WithTerminal.liftFromOver_map_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {X_1 Y : CategoryTheory.Functor J (CategoryTheory.Over X)} (f : X_1 ⟶ Y) (x : CategoryTheory.WithTerminal J),
(CategoryTheory.WithTerminal.liftFromOver.map f).app x =
match x with
| CategoryTheory.WithTerminal.of x => CategoryTheory.Over.Hom.left (f.app x)
| CategoryTheory.WithTerminal.star => CategoryTheory.CategoryStruct.id X
def CategoryTheory.WithTerminal.liftFromOverComp E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{J : Type w} →
[inst_2 : CategoryTheory.Category.{w', w} J] →
{X : C} →
{K : CategoryTheory.Functor J (CategoryTheory.Over X)} →
{F : CategoryTheory.Functor C D} →
CategoryTheory.WithTerminal.liftFromOver.obj (K.comp (CategoryTheory.Over.post F)) ≅
(CategoryTheory.WithTerminal.liftFromOver.obj K).comp F
The extension of a functor to over categories behaves well with compositions.
theorem CategoryTheory.WithTerminal.liftFromOverComp_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] {X : C}
{K : CategoryTheory.Functor J (CategoryTheory.Over X)} {F : CategoryTheory.Functor C D}
(x : CategoryTheory.WithTerminal J),
CategoryTheory.WithTerminal.liftFromOverComp.hom.app x =
match x with
| CategoryTheory.WithTerminal.star =>
CategoryTheory.CategoryStruct.id
((CategoryTheory.WithTerminal.liftFromOver.obj (K.comp (CategoryTheory.Over.post F))).obj
CategoryTheory.WithTerminal.star)
| CategoryTheory.WithTerminal.of a =>
CategoryTheory.CategoryStruct.id
((CategoryTheory.WithTerminal.liftFromOver.obj (K.comp (CategoryTheory.Over.post F))).obj
(CategoryTheory.WithTerminal.of a))
theorem CategoryTheory.WithTerminal.liftFromOverComp_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] {X : C}
{K : CategoryTheory.Functor J (CategoryTheory.Over X)} {F : CategoryTheory.Functor C D}
(x : CategoryTheory.WithTerminal J),
CategoryTheory.WithTerminal.liftFromOverComp.inv.app x =
match x with
| CategoryTheory.WithTerminal.star =>
CategoryTheory.CategoryStruct.id
(((CategoryTheory.WithTerminal.liftFromOver.obj K).comp F).obj CategoryTheory.WithTerminal.star)
| CategoryTheory.WithTerminal.of a =>
CategoryTheory.CategoryStruct.id
(((CategoryTheory.WithTerminal.liftFromOver.obj K).comp F).obj (CategoryTheory.WithTerminal.of a))
def CategoryTheory.WithTerminal.coneEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{J : Type w} →
[inst_1 : CategoryTheory.Category.{w', w} J] →
{X : C} →
{K : CategoryTheory.Functor J (CategoryTheory.Over X)} →
CategoryTheory.Limits.Cone K ≌ CategoryTheory.Limits.Cone (CategoryTheory.WithTerminal.liftFromOver.obj K)
Given a functor K : J ⥤ Over X and its extension liftFromOver K : WithTerminal J ⥤ C,
there is an obvious equivalence between cones of these two functors.
A cone of K is an object of Over X, so it has the form t ⟶ X.
Equivalently, a cone of WithTerminal K is an object t : C,
and we can recover the structure morphism as π.app X : t ⟶ X.
theorem CategoryTheory.WithTerminal.coneEquiv_unitIso_hom_app_hom_left E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Over X)} (X_1 : CategoryTheory.Limits.Cone K),
(CategoryTheory.WithTerminal.coneEquiv.unitIso.hom.app X_1).hom.left = CategoryTheory.CategoryStruct.id X_1.pt.left
theorem CategoryTheory.WithTerminal.coneEquiv_inverse_obj_π_app_left E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Over X)}
(t : CategoryTheory.Limits.Cone (CategoryTheory.WithTerminal.liftFromOver.obj K)) (a : J),
((CategoryTheory.WithTerminal.coneEquiv.inverse.obj t).π.app a).left = t.π.app (CategoryTheory.WithTerminal.of a)
theorem CategoryTheory.WithTerminal.coneEquiv_counitIso_inv_app_hom E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Over X)}
(X_1 : CategoryTheory.Limits.Cone (CategoryTheory.WithTerminal.liftFromOver.obj K)),
(CategoryTheory.WithTerminal.coneEquiv.counitIso.inv.app X_1).hom = CategoryTheory.CategoryStruct.id X_1.pt
theorem CategoryTheory.WithTerminal.coneEquiv_inverse_obj_pt_left E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Over X)}
(t : CategoryTheory.Limits.Cone (CategoryTheory.WithTerminal.liftFromOver.obj K)),
(CategoryTheory.WithTerminal.coneEquiv.inverse.obj t).pt.left = t.pt
theorem CategoryTheory.WithTerminal.coneEquiv_inverse_obj_pt_hom E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Over X)}
(t : CategoryTheory.Limits.Cone (CategoryTheory.WithTerminal.liftFromOver.obj K)),
(CategoryTheory.WithTerminal.coneEquiv.inverse.obj t).pt.hom = t.π.app CategoryTheory.WithTerminal.star
theorem CategoryTheory.WithTerminal.coneEquiv_unitIso_inv_app_hom_left E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Over X)} (X_1 : CategoryTheory.Limits.Cone K),
(CategoryTheory.WithTerminal.coneEquiv.unitIso.inv.app X_1).hom.left = CategoryTheory.CategoryStruct.id X_1.pt.left
theorem CategoryTheory.WithTerminal.coneEquiv_inverse_map_hom_left E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Over X)}
{t₁ t₂ : CategoryTheory.Limits.Cone (CategoryTheory.WithTerminal.liftFromOver.obj K)} {f : t₁ ⟶ t₂},
(CategoryTheory.WithTerminal.coneEquiv.inverse.map f).hom.left = f.hom
theorem CategoryTheory.WithTerminal.coneEquiv_functor_obj_pt E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Over X)} (t : CategoryTheory.Limits.Cone K),
(CategoryTheory.WithTerminal.coneEquiv.functor.obj t).pt = t.pt.left
theorem CategoryTheory.WithTerminal.coneEquiv_counitIso_hom_app_hom E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Over X)}
(X_1 : CategoryTheory.Limits.Cone (CategoryTheory.WithTerminal.liftFromOver.obj K)),
(CategoryTheory.WithTerminal.coneEquiv.counitIso.hom.app X_1).hom = CategoryTheory.CategoryStruct.id X_1.pt
theorem CategoryTheory.WithTerminal.coneEquiv_inverse_obj_pt_right_as E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Over X)}
(t : CategoryTheory.Limits.Cone (CategoryTheory.WithTerminal.liftFromOver.obj K)),
(CategoryTheory.WithTerminal.coneEquiv.inverse.obj t).pt.right.as = PUnit.unit
theorem CategoryTheory.WithTerminal.coneEquiv_functor_map_hom E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Over X)} {t₁ t₂ : CategoryTheory.Limits.Cone K} (f : t₁ ⟶ t₂),
(CategoryTheory.WithTerminal.coneEquiv.functor.map f).hom = CategoryTheory.Over.Hom.left f.hom
theorem CategoryTheory.WithTerminal.coneEquiv_functor_obj_π_app_star E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Over X)} {t : CategoryTheory.Limits.Cone K},
(CategoryTheory.WithTerminal.coneEquiv.functor.obj t).π.app CategoryTheory.WithTerminal.star = t.pt.hom
theorem CategoryTheory.WithTerminal.coneEquiv_functor_obj_π_app_of E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Over X)} {t : CategoryTheory.Limits.Cone K} (Y : J),
(CategoryTheory.WithTerminal.coneEquiv.functor.obj t).π.app (CategoryTheory.WithTerminal.of Y) =
CategoryTheory.Over.Hom.left (t.π.app Y)
def CategoryTheory.WithTerminal.isLimitEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{J : Type w} →
[inst_1 : CategoryTheory.Category.{w', w} J] →
{X : C} →
{K : CategoryTheory.Functor J (CategoryTheory.Over X)} →
{t : CategoryTheory.Limits.Cone K} →
CategoryTheory.Limits.IsLimit (CategoryTheory.WithTerminal.coneEquiv.functor.obj t) ≃
CategoryTheory.Limits.IsLimit t
A cone t of K : J ⥤ Over X is a limit if and only if the corresponding cone
coneLift t of liftFromOver.obj K : WithTerminal K ⥤ C is a limit.
theorem CategoryTheory.WithTerminal.isLimitEquiv_symm_apply_lift E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Over X)} {t : CategoryTheory.Limits.Cone K}
(t_1 : CategoryTheory.Limits.IsLimit t)
(s : CategoryTheory.Limits.Cone (CategoryTheory.WithTerminal.liftFromOver.obj K)),
(CategoryTheory.WithTerminal.isLimitEquiv.symm t_1).lift s =
((CategoryTheory.WithTerminal.coneEquiv.symm.toAdjunction.homEquiv s t)
(t_1.liftConeMorphism (CategoryTheory.WithTerminal.coneEquiv.inverse.obj s))).hom
theorem CategoryTheory.WithTerminal.isLimitEquiv_apply_lift_left E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Over X)} {t : CategoryTheory.Limits.Cone K}
(P : CategoryTheory.Limits.IsLimit (CategoryTheory.WithTerminal.coneEquiv.functor.obj t))
(s : CategoryTheory.Limits.Cone K),
((CategoryTheory.WithTerminal.isLimitEquiv P).lift s).left =
((CategoryTheory.Limits.IsLimit.ofRightAdjoint CategoryTheory.WithTerminal.coneEquiv.toAdjunction P).lift s).left
theorem CategoryTheory.Over.hasLimit_of_hasLimit_liftFromOver E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} (F : CategoryTheory.Functor J (CategoryTheory.Over X))
[CategoryTheory.Limits.HasLimit (CategoryTheory.WithTerminal.liftFromOver.obj F)], CategoryTheory.Limits.HasLimit F
instance CategoryTheory.instHasLimitsOfShapeOverOfWithTerminal E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
(X : C) [CategoryTheory.Limits.HasLimitsOfShape (CategoryTheory.WithTerminal J) C],
CategoryTheory.Limits.HasLimitsOfShape J (CategoryTheory.Over X)
instance CategoryTheory.instHasLimitsOfSizeOver E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C)
[CategoryTheory.Limits.HasLimitsOfSize.{w, w', v₁, u₁} C],
CategoryTheory.Limits.HasLimitsOfSize.{w, w', v₁, max u₁ v₁} (CategoryTheory.Over X)
def CategoryTheory.WithInitial.commaFromUnder E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{J : Type w} →
[inst_1 : CategoryTheory.Category.{w', w} J] →
{X : C} →
CategoryTheory.Functor (CategoryTheory.Functor J (CategoryTheory.Under X))
(CategoryTheory.Comma (CategoryTheory.Functor.const J)
(CategoryTheory.Functor.id (CategoryTheory.Functor J C)))
The category of functors J ⥤ Under X can be seen as part of a comma category,
namely the comma category constructed from the identity of the category of functors
J ⥤ C and the functor that maps X : C to the constant functor J ⥤ C.
Given a functor K : J ⥤ Under X, it is mapped to a natural transformation to the
obvious functor J ⥤ C from the constant functor X.
theorem CategoryTheory.WithInitial.commaFromUnder_map_left E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {X_1 Y : CategoryTheory.Functor J (CategoryTheory.Under X)} (f : X_1 ⟶ Y),
(CategoryTheory.WithInitial.commaFromUnder.map f).left = CategoryTheory.CategoryStruct.id X
theorem CategoryTheory.WithInitial.commaFromUnder_obj_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} (K : CategoryTheory.Functor J (CategoryTheory.Under X)) (a : J),
(CategoryTheory.WithInitial.commaFromUnder.obj K).hom.app a = (K.obj a).hom
theorem CategoryTheory.WithInitial.commaFromUnder_obj_right E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} (K : CategoryTheory.Functor J (CategoryTheory.Under X)),
(CategoryTheory.WithInitial.commaFromUnder.obj K).right = K.comp (CategoryTheory.Under.forget X)
theorem CategoryTheory.WithInitial.commaFromUnder_map_right E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {X_1 Y : CategoryTheory.Functor J (CategoryTheory.Under X)} (f : X_1 ⟶ Y),
(CategoryTheory.WithInitial.commaFromUnder.map f).right =
CategoryTheory.Functor.whiskerRight f (CategoryTheory.Under.forget X)
theorem CategoryTheory.WithInitial.commaFromUnder_obj_left E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} (K : CategoryTheory.Functor J (CategoryTheory.Under X)),
(CategoryTheory.WithInitial.commaFromUnder.obj K).left = X
def CategoryTheory.WithInitial.liftFromUnder E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{J : Type w} →
[inst_1 : CategoryTheory.Category.{w', w} J] →
{X : C} →
CategoryTheory.Functor (CategoryTheory.Functor J (CategoryTheory.Under X))
(CategoryTheory.Functor (CategoryTheory.WithInitial J) C)
For any functor K : J ⥤ Under X, there is a canonical extension
WithInitial J ⥤ C, that sends star to X.
theorem CategoryTheory.WithInitial.liftFromUnder_obj_obj E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} (X_1 : CategoryTheory.Functor J (CategoryTheory.Under X)) (X_2 : CategoryTheory.WithInitial J),
(CategoryTheory.WithInitial.liftFromUnder.obj X_1).obj X_2 =
match X_2 with
| CategoryTheory.WithInitial.of x => (X_1.obj x).right
| CategoryTheory.WithInitial.star => X
theorem CategoryTheory.WithInitial.liftFromUnder_map_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {X_1 Y : CategoryTheory.Functor J (CategoryTheory.Under X)} (f : X_1 ⟶ Y) (x : CategoryTheory.WithInitial J),
(CategoryTheory.WithInitial.liftFromUnder.map f).app x =
match x with
| CategoryTheory.WithInitial.of x => CategoryTheory.Under.Hom.right (f.app x)
| CategoryTheory.WithInitial.star => CategoryTheory.CategoryStruct.id X
theorem CategoryTheory.WithInitial.liftFromUnder_obj_map E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} (X_1 : CategoryTheory.Functor J (CategoryTheory.Under X)) {Y X_2 : CategoryTheory.WithInitial J}
(f : Y ⟶ X_2),
(CategoryTheory.WithInitial.liftFromUnder.obj X_1).map f =
match X_2, Y, f with
| CategoryTheory.WithInitial.of a, CategoryTheory.WithInitial.of a_1, f =>
CategoryTheory.Under.Hom.right (X_1.map (CategoryTheory.WithInitial.down f))
| CategoryTheory.WithInitial.of x, CategoryTheory.WithInitial.star, x_1 => (X_1.obj x).hom
| CategoryTheory.WithInitial.star, CategoryTheory.WithInitial.star, x => CategoryTheory.CategoryStruct.id X
def CategoryTheory.WithInitial.liftFromUnderComp E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{J : Type w} →
[inst_2 : CategoryTheory.Category.{w', w} J] →
{X : C} →
{K : CategoryTheory.Functor J (CategoryTheory.Under X)} →
{F : CategoryTheory.Functor C D} →
CategoryTheory.WithInitial.liftFromUnder.obj (K.comp (CategoryTheory.Under.post F)) ≅
(CategoryTheory.WithInitial.liftFromUnder.obj K).comp F
The extension of a functor to under categories behaves well with compositions.
theorem CategoryTheory.WithInitial.liftFromUnderComp_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] {X : C}
{K : CategoryTheory.Functor J (CategoryTheory.Under X)} {F : CategoryTheory.Functor C D}
(x : CategoryTheory.WithInitial J),
CategoryTheory.WithInitial.liftFromUnderComp.inv.app x =
match x with
| CategoryTheory.WithInitial.star =>
CategoryTheory.CategoryStruct.id
(((CategoryTheory.WithInitial.liftFromUnder.obj K).comp F).obj CategoryTheory.WithInitial.star)
| CategoryTheory.WithInitial.of a =>
CategoryTheory.CategoryStruct.id
(((CategoryTheory.WithInitial.liftFromUnder.obj K).comp F).obj (CategoryTheory.WithInitial.of a))
theorem CategoryTheory.WithInitial.liftFromUnderComp_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] {X : C}
{K : CategoryTheory.Functor J (CategoryTheory.Under X)} {F : CategoryTheory.Functor C D}
(x : CategoryTheory.WithInitial J),
CategoryTheory.WithInitial.liftFromUnderComp.hom.app x =
match x with
| CategoryTheory.WithInitial.star =>
CategoryTheory.CategoryStruct.id
((CategoryTheory.WithInitial.liftFromUnder.obj (K.comp (CategoryTheory.Under.post F))).obj
CategoryTheory.WithInitial.star)
| CategoryTheory.WithInitial.of a =>
CategoryTheory.CategoryStruct.id
((CategoryTheory.WithInitial.liftFromUnder.obj (K.comp (CategoryTheory.Under.post F))).obj
(CategoryTheory.WithInitial.of a))
def CategoryTheory.WithInitial.coconeEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{J : Type w} →
[inst_1 : CategoryTheory.Category.{w', w} J] →
{X : C} →
{K : CategoryTheory.Functor J (CategoryTheory.Under X)} →
CategoryTheory.Limits.Cocone K ≌
CategoryTheory.Limits.Cocone (CategoryTheory.WithInitial.liftFromUnder.obj K)
Given a functor K : J ⥤ Under X and its extension liftFromUnder K : WithInitial J ⥤ C,
there is an obvious equivalence between cocones of these two functors.
A cocone of K is an object of Under X, so it has the form X ⟶ t.
Equivalently, a cocone of WithInitial K is an object t : C,
and we can recover the structure morphism as ι.app X : X ⟶ t.
theorem CategoryTheory.WithInitial.coconeEquiv_functor_obj_pt E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Under X)} (t : CategoryTheory.Limits.Cocone K),
(CategoryTheory.WithInitial.coconeEquiv.functor.obj t).pt = t.pt.right
theorem CategoryTheory.WithInitial.coconeEquiv_inverse_obj_pt_right E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Under X)}
(t : CategoryTheory.Limits.Cocone (CategoryTheory.WithInitial.liftFromUnder.obj K)),
(CategoryTheory.WithInitial.coconeEquiv.inverse.obj t).pt.right = t.pt
theorem CategoryTheory.WithInitial.coconeEquiv_inverse_obj_pt_hom E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Under X)}
(t : CategoryTheory.Limits.Cocone (CategoryTheory.WithInitial.liftFromUnder.obj K)),
(CategoryTheory.WithInitial.coconeEquiv.inverse.obj t).pt.hom = t.ι.app CategoryTheory.WithInitial.star
theorem CategoryTheory.WithInitial.coconeEquiv_counitIso_inv_app_hom E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Under X)}
(X_1 : CategoryTheory.Limits.Cocone (CategoryTheory.WithInitial.liftFromUnder.obj K)),
(CategoryTheory.WithInitial.coconeEquiv.counitIso.inv.app X_1).hom = CategoryTheory.CategoryStruct.id X_1.pt
theorem CategoryTheory.WithInitial.coconeEquiv_unitIso_hom_app_hom_right E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Under X)} (X_1 : CategoryTheory.Limits.Cocone K),
(CategoryTheory.WithInitial.coconeEquiv.unitIso.hom.app X_1).hom.right = CategoryTheory.CategoryStruct.id X_1.pt.right
theorem CategoryTheory.WithInitial.coconeEquiv_functor_map_hom E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Under X)} {t₁ t₂ : CategoryTheory.Limits.Cocone K}
(f : t₁ ⟶ t₂), (CategoryTheory.WithInitial.coconeEquiv.functor.map f).hom = CategoryTheory.Under.Hom.right f.hom
theorem CategoryTheory.WithInitial.coconeEquiv_inverse_obj_pt_left_as E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Under X)}
(t : CategoryTheory.Limits.Cocone (CategoryTheory.WithInitial.liftFromUnder.obj K)),
(CategoryTheory.WithInitial.coconeEquiv.inverse.obj t).pt.left.as = PUnit.unit
theorem CategoryTheory.WithInitial.coconeEquiv_inverse_obj_ι_app_right E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Under X)}
(t : CategoryTheory.Limits.Cocone (CategoryTheory.WithInitial.liftFromUnder.obj K)) (a : J),
((CategoryTheory.WithInitial.coconeEquiv.inverse.obj t).ι.app a).right = t.ι.app (CategoryTheory.WithInitial.of a)
theorem CategoryTheory.WithInitial.coconeEquiv_inverse_map_hom_right E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Under X)}
{t₁ t₂ : CategoryTheory.Limits.Cocone (CategoryTheory.WithInitial.liftFromUnder.obj K)} {f : t₁ ⟶ t₂},
(CategoryTheory.WithInitial.coconeEquiv.inverse.map f).hom.right = f.hom
theorem CategoryTheory.WithInitial.coconeEquiv_counitIso_hom_app_hom E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Under X)}
(X_1 : CategoryTheory.Limits.Cocone (CategoryTheory.WithInitial.liftFromUnder.obj K)),
(CategoryTheory.WithInitial.coconeEquiv.counitIso.hom.app X_1).hom = CategoryTheory.CategoryStruct.id X_1.pt
theorem CategoryTheory.WithInitial.coconeEquiv_unitIso_inv_app_hom_right E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Under X)} (X_1 : CategoryTheory.Limits.Cocone K),
(CategoryTheory.WithInitial.coconeEquiv.unitIso.inv.app X_1).hom.right = CategoryTheory.CategoryStruct.id X_1.pt.right
theorem CategoryTheory.WithInitial.coconeEquiv_functor_obj_ι_app_star E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Under X)} {t : CategoryTheory.Limits.Cocone K},
(CategoryTheory.WithInitial.coconeEquiv.functor.obj t).ι.app CategoryTheory.WithInitial.star = t.pt.hom
theorem CategoryTheory.WithInitial.coconeEquiv_functor_obj_ι_app_of E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Under X)} {t : CategoryTheory.Limits.Cocone K} (Y : J),
(CategoryTheory.WithInitial.coconeEquiv.functor.obj t).ι.app (CategoryTheory.WithInitial.of Y) =
CategoryTheory.Under.Hom.right (t.ι.app Y)
def CategoryTheory.WithInitial.isColimitEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{J : Type w} →
[inst_1 : CategoryTheory.Category.{w', w} J] →
{X : C} →
{K : CategoryTheory.Functor J (CategoryTheory.Under X)} →
{t : CategoryTheory.Limits.Cocone K} →
CategoryTheory.Limits.IsColimit (CategoryTheory.WithInitial.coconeEquiv.functor.obj t) ≃
CategoryTheory.Limits.IsColimit t
A cocone t of K : J ⥤ Under X is a colimit if and only if the corresponding cocone
coconeLift t of liftFromUnder.obj K : WithInitial K ⥤ C is a colimit.
theorem CategoryTheory.WithInitial.isColimitEquiv_apply_desc_right E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Under X)} {t : CategoryTheory.Limits.Cocone K}
(P : CategoryTheory.Limits.IsColimit (CategoryTheory.WithInitial.coconeEquiv.functor.obj t))
(s : CategoryTheory.Limits.Cocone K),
((CategoryTheory.WithInitial.isColimitEquiv P).desc s).right =
((CategoryTheory.Limits.IsColimit.ofLeftAdjoint CategoryTheory.WithInitial.coconeEquiv.toAdjunction' P).desc
s).right
theorem CategoryTheory.WithInitial.isColimitEquiv_symm_apply_desc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} {K : CategoryTheory.Functor J (CategoryTheory.Under X)} {t : CategoryTheory.Limits.Cocone K}
(t_1 : CategoryTheory.Limits.IsColimit t)
(s : CategoryTheory.Limits.Cocone (CategoryTheory.WithInitial.liftFromUnder.obj K)),
(CategoryTheory.WithInitial.isColimitEquiv.symm t_1).desc s =
((CategoryTheory.WithInitial.coconeEquiv.symm.toAdjunction'.homEquiv' s t)
(t_1.descCoconeMorphism (CategoryTheory.WithInitial.coconeEquiv.inverse.obj s))).hom
theorem Under.hasColimit_of_hasColimit_liftFromUnder E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
{X : C} (F : CategoryTheory.Functor J (CategoryTheory.Under X))
[CategoryTheory.Limits.HasColimit (CategoryTheory.WithInitial.liftFromUnder.obj F)],
CategoryTheory.Limits.HasColimit F
instance instHasColimitsOfShapeUnderOfWithInitial E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {J : Type w} [inst_1 : CategoryTheory.Category.{w', w} J]
(X : C) [CategoryTheory.Limits.HasColimitsOfShape (CategoryTheory.WithInitial J) C],
CategoryTheory.Limits.HasColimitsOfShape J (CategoryTheory.Under X)
instance instHasColimitsOfSizeUnder E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C)
[CategoryTheory.Limits.HasColimitsOfSize.{w, w', v₁, u₁} C],
CategoryTheory.Limits.HasColimitsOfSize.{w, w', v₁, max u₁ v₁} (CategoryTheory.Under X)