@@ -8,43 +8,18 @@ import Poly.UvPoly.Basic
88
99/-! We show that the polynomial functor preserve connected limits. -/
1010
11- universe v₁ v₂ u₁ u₂
11+ universe v₁ u₁
1212
13- open CategoryTheory Category Limits Functor Adjunction Over ExponentiableMorphism
14- LocallyCartesianClosed
15-
16- namespace CategoryTheory
17-
18- variable {C : Type u₁} [Category.{v₁} C]
19-
20- instance forgetPreservesConnectedLimitsOfShape_of_hasLimitsOfShape {J : Type *} [SmallCategory J]
21- [IsConnected J] [HasLimitsOfShape J C] {B : C} :
22- PreservesLimitsOfShape J (forget B) := by
23- apply preservesLimitOfShape_of_createsLimitsOfShape_and_hasLimitsOfShape
13+ open CategoryTheory Limits
2414
2515namespace UvPoly
2616
2717variable {C : Type u₁} [Category.{v₁} C] [HasPullbacks C] [HasTerminal C] {E B : C}
2818
29- instance foo : PreservesLimits (star E) :=
30- forgetAdjStar E |>.rightAdjoint_preservesLimits
31-
32- instance pushforward_preservesLimits (P : UvPoly E B) : PreservesLimits (pushforward P.p) :=
33- (adj P.p).rightAdjoint_preservesLimits
34-
35- instance preservesConnectedLimitsOfShape_of_hasLimitsOfShape {J : Type v₁} [SmallCategory J] [IsConnected J]
36- [HasLimitsOfShape J C] (P : UvPoly E B) :
37- PreservesLimitsOfShape J (P.functor) := by
38- refine @comp_preservesLimitsOfShape _ _ _ _ (J:= J) _ _ _ (Over.star E)
39- (pushforward P.p ⋙ forget B) ?_ ?_
40- · apply forgetAdjStar E |>.rightAdjoint_preservesLimits |>.preservesLimitsOfShape (J:= J)
41- · apply @comp_preservesLimitsOfShape _ _ _ _ (J:= J) _ _ _ (pushforward P.p) (forget B) ?_ ?_
42- · apply P.pushforward_preservesLimits |>.preservesLimitsOfShape (J:= J)
43- · apply forgetPreservesConnectedLimitsOfShape_of_hasLimitsOfShape
44-
45- instance preservesConnectedLimitsOfShape_of_hasLimitsOfShape' {J : Type v₁} [SmallCategory J]
19+ instance preservesConnectedLimitsOfShape_of_hasLimitsOfShape {J : Type v₁} [SmallCategory J]
4620 [IsConnected J] [HasLimitsOfShape J C] (P : UvPoly E B) :
4721 PreservesLimitsOfShape J (P.functor) := by
22+ unfold UvPoly.functor
4823 infer_instance
4924
5025end UvPoly
0 commit comments