The areas / V24. Category theory
Mathlib.CategoryTheory.Limits.FunctorCategory.Shapes.Pullbacks
24 declarations. Mathlib docs · Source
theorem CategoryTheory.Limits.cospanHomMk.congr_simp E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
{F G : CategoryTheory.Functor CategoryTheory.Limits.WalkingCospan C}
(z z_1 : F.obj CategoryTheory.Limits.WalkingCospan.one ⟶ G.obj CategoryTheory.Limits.WalkingCospan.one)
(e_z : z = z_1)
(l l_1 : F.obj CategoryTheory.Limits.WalkingCospan.left ⟶ G.obj CategoryTheory.Limits.WalkingCospan.left)
(e_l : l = l_1)
(r r_1 : F.obj CategoryTheory.Limits.WalkingCospan.right ⟶ G.obj CategoryTheory.Limits.WalkingCospan.right)
(e_r : r = r_1)
(hl :
CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingCospan.Hom.inl) z =
CategoryTheory.CategoryStruct.comp l (G.map CategoryTheory.Limits.WalkingCospan.Hom.inl))
(hr :
CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingCospan.Hom.inr) z =
CategoryTheory.CategoryStruct.comp r (G.map CategoryTheory.Limits.WalkingCospan.Hom.inr)),
CategoryTheory.Limits.cospanHomMk z l r hl hr = CategoryTheory.Limits.cospanHomMk z_1 l_1 r_1 ⋯ ⋯
def CategoryTheory.Limits.PullbackCone.combine E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{F G H : CategoryTheory.Functor D C} →
(f : F ⟶ H) →
(g : G ⟶ H) →
(c : (X : D) → CategoryTheory.Limits.PullbackCone (f.app X) (g.app X)) →
((X : D) → CategoryTheory.Limits.IsLimit (c X)) → CategoryTheory.Limits.PullbackCone f g
Given functors F G H and natural transformations f : F ⟶ H and g : g : G ⟶ H, together
with a collection of limiting pullback cones for each cospan F X ⟶ H X, G X ⟶ H X, we can stitch
them together to give a pullback cone for the cospan formed by f and g.
combinePullbackConesIsLimit shows that this pullback cone is limiting.
theorem CategoryTheory.Limits.PullbackCone.combine_π_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} (f : F ⟶ H) (g : G ⟶ H)
(c : (X : D) → CategoryTheory.Limits.PullbackCone (f.app X) (g.app X))
(hc : (X : D) → CategoryTheory.Limits.IsLimit (c X)) (j : CategoryTheory.Limits.WalkingCospan),
(CategoryTheory.Limits.PullbackCone.combine f g c hc).π.app j =
Option.rec (CategoryTheory.CategoryStruct.comp { app := fun X ↦ (c X).fst, naturality := ⋯ } f)
(fun val ↦
CategoryTheory.Limits.WalkingPair.rec { app := fun X ↦ (c X).fst, naturality := ⋯ }
{ app := fun X ↦ (c X).snd, naturality := ⋯ } val)
j
theorem CategoryTheory.Limits.PullbackCone.combine_pt_map E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} (f : F ⟶ H) (g : G ⟶ H)
(c : (X : D) → CategoryTheory.Limits.PullbackCone (f.app X) (g.app X))
(hc : (X : D) → CategoryTheory.Limits.IsLimit (c X)) {X Y : D} (h : X ⟶ Y),
(CategoryTheory.Limits.PullbackCone.combine f g c hc).pt.map h =
(hc Y).lift
{ pt := (c X).pt,
π :=
CategoryTheory.CategoryStruct.comp (c X).π
(CategoryTheory.Limits.cospanHomMk (H.map h) (F.map h) (G.map h) ⋯ ⋯) }
theorem CategoryTheory.Limits.PullbackCone.combine_pt_obj E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} (f : F ⟶ H) (g : G ⟶ H)
(c : (X : D) → CategoryTheory.Limits.PullbackCone (f.app X) (g.app X))
(hc : (X : D) → CategoryTheory.Limits.IsLimit (c X)) (X : D),
(CategoryTheory.Limits.PullbackCone.combine f g c hc).pt.obj X = (c X).pt
def CategoryTheory.Limits.PullbackCone.combineIsLimit E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{F G H : CategoryTheory.Functor D C} →
(f : F ⟶ H) →
(g : G ⟶ H) →
(c : (X : D) → CategoryTheory.Limits.PullbackCone (f.app X) (g.app X)) →
(hc : (X : D) → CategoryTheory.Limits.IsLimit (c X)) →
CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.PullbackCone.combine f g c hc)
The pullback cone combinePullbackCones is limiting.
def CategoryTheory.Limits.pullbackObjIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{F G H : CategoryTheory.Functor D C} →
[inst_2 : CategoryTheory.Limits.HasPullbacks C] →
(f : F ⟶ H) →
(g : G ⟶ H) →
(d : D) →
(CategoryTheory.Limits.pullback f g).obj d ≅ CategoryTheory.Limits.pullback (f.app d) (g.app d)
Evaluating a pullback amounts to taking the pullback of the evaluations.
theorem CategoryTheory.Limits.pullbackObjIso_hom_comp_fst E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPullbacks C] (f : F ⟶ H) (g : G ⟶ H) (d : D),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackObjIso f g d).hom
(CategoryTheory.Limits.pullback.fst (f.app d) (g.app d)) =
(CategoryTheory.Limits.pullback.fst f g).app d
theorem CategoryTheory.Limits.pullbackObjIso_hom_comp_fst_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPullbacks C] (f : F ⟶ H) (g : G ⟶ H) (d : D)
{Z : C} (h : F.obj d ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackObjIso f g d).hom
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst (f.app d) (g.app d)) h) =
CategoryTheory.CategoryStruct.comp ((CategoryTheory.Limits.pullback.fst f g).app d) h
theorem CategoryTheory.Limits.pullbackObjIso_hom_comp_snd_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPullbacks C] (f : F ⟶ H) (g : G ⟶ H) (d : D)
{Z : C} (h : G.obj d ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackObjIso f g d).hom
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd (f.app d) (g.app d)) h) =
CategoryTheory.CategoryStruct.comp ((CategoryTheory.Limits.pullback.snd f g).app d) h
theorem CategoryTheory.Limits.pullbackObjIso_hom_comp_snd E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPullbacks C] (f : F ⟶ H) (g : G ⟶ H) (d : D),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackObjIso f g d).hom
(CategoryTheory.Limits.pullback.snd (f.app d) (g.app d)) =
(CategoryTheory.Limits.pullback.snd f g).app d
theorem CategoryTheory.Limits.pullbackObjIso_inv_comp_fst_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPullbacks C] (f : F ⟶ H) (g : G ⟶ H) (d : D)
{Z : C} (h : F.obj d ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackObjIso f g d).inv
(CategoryTheory.CategoryStruct.comp ((CategoryTheory.Limits.pullback.fst f g).app d) h) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst (f.app d) (g.app d)) h
theorem CategoryTheory.Limits.pullbackObjIso_inv_comp_fst E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPullbacks C] (f : F ⟶ H) (g : G ⟶ H) (d : D),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackObjIso f g d).inv
((CategoryTheory.Limits.pullback.fst f g).app d) =
CategoryTheory.Limits.pullback.fst (f.app d) (g.app d)
theorem CategoryTheory.Limits.pullbackObjIso_inv_comp_snd_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPullbacks C] (f : F ⟶ H) (g : G ⟶ H) (d : D)
{Z : C} (h : G.obj d ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackObjIso f g d).inv
(CategoryTheory.CategoryStruct.comp ((CategoryTheory.Limits.pullback.snd f g).app d) h) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd (f.app d) (g.app d)) h
theorem CategoryTheory.Limits.pullbackObjIso_inv_comp_snd E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPullbacks C] (f : F ⟶ H) (g : G ⟶ H) (d : D),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackObjIso f g d).inv
((CategoryTheory.Limits.pullback.snd f g).app d) =
CategoryTheory.Limits.pullback.snd (f.app d) (g.app d)
def CategoryTheory.Limits.pushoutObjIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{F G H : CategoryTheory.Functor D C} →
[inst_2 : CategoryTheory.Limits.HasPushouts C] →
(f : F ⟶ G) →
(g : F ⟶ H) →
(d : D) → (CategoryTheory.Limits.pushout f g).obj d ≅ CategoryTheory.Limits.pushout (f.app d) (g.app d)
Evaluating a pushout amounts to taking the pushout of the evaluations.
theorem CategoryTheory.Limits.inl_comp_pushoutObjIso_hom E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPushouts C] (f : F ⟶ G) (g : F ⟶ H) (d : D),
CategoryTheory.CategoryStruct.comp ((CategoryTheory.Limits.pushout.inl f g).app d)
(CategoryTheory.Limits.pushoutObjIso f g d).hom =
CategoryTheory.Limits.pushout.inl (f.app d) (g.app d)
theorem CategoryTheory.Limits.inl_comp_pushoutObjIso_hom_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPushouts C] (f : F ⟶ G) (g : F ⟶ H) (d : D)
{Z : C} (h : CategoryTheory.Limits.pushout (f.app d) (g.app d) ⟶ Z),
CategoryTheory.CategoryStruct.comp ((CategoryTheory.Limits.pushout.inl f g).app d)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutObjIso f g d).hom h) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl (f.app d) (g.app d)) h
theorem CategoryTheory.Limits.inr_comp_pushoutObjIso_hom_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPushouts C] (f : F ⟶ G) (g : F ⟶ H) (d : D)
{Z : C} (h : CategoryTheory.Limits.pushout (f.app d) (g.app d) ⟶ Z),
CategoryTheory.CategoryStruct.comp ((CategoryTheory.Limits.pushout.inr f g).app d)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutObjIso f g d).hom h) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr (f.app d) (g.app d)) h
theorem CategoryTheory.Limits.inr_comp_pushoutObjIso_hom E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPushouts C] (f : F ⟶ G) (g : F ⟶ H) (d : D),
CategoryTheory.CategoryStruct.comp ((CategoryTheory.Limits.pushout.inr f g).app d)
(CategoryTheory.Limits.pushoutObjIso f g d).hom =
CategoryTheory.Limits.pushout.inr (f.app d) (g.app d)
theorem CategoryTheory.Limits.inl_comp_pushoutObjIso_inv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPushouts C] (f : F ⟶ G) (g : F ⟶ H) (d : D),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl (f.app d) (g.app d))
(CategoryTheory.Limits.pushoutObjIso f g d).inv =
(CategoryTheory.Limits.pushout.inl f g).app d
theorem CategoryTheory.Limits.inl_comp_pushoutObjIso_inv_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPushouts C] (f : F ⟶ G) (g : F ⟶ H) (d : D)
{Z : C} (h : (CategoryTheory.Limits.pushout f g).obj d ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl (f.app d) (g.app d))
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutObjIso f g d).inv h) =
CategoryTheory.CategoryStruct.comp ((CategoryTheory.Limits.pushout.inl f g).app d) h
theorem CategoryTheory.Limits.inr_comp_pushoutObjIso_inv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPushouts C] (f : F ⟶ G) (g : F ⟶ H) (d : D),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr (f.app d) (g.app d))
(CategoryTheory.Limits.pushoutObjIso f g d).inv =
(CategoryTheory.Limits.pushout.inr f g).app d
theorem CategoryTheory.Limits.inr_comp_pushoutObjIso_inv_assoc E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F G H : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Limits.HasPushouts C] (f : F ⟶ G) (g : F ⟶ H) (d : D)
{Z : C} (h : (CategoryTheory.Limits.pushout f g).obj d ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr (f.app d) (g.app d))
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutObjIso f g d).inv h) =
CategoryTheory.CategoryStruct.comp ((CategoryTheory.Limits.pushout.inr f g).app d) h