@@ -23,7 +23,7 @@ universe u v w₁ w₂ t₁ t₂
2323
2424open CategoryTheory Limits
2525
26- variable {V : Type (u + 1 ) } [LargeCategory V] {G : Type u } [Monoid G]
26+ variable {V : Type * } [Category V] {G : Type * } [Monoid G]
2727
2828namespace Action
2929
@@ -41,7 +41,7 @@ instance [HasLimits V] : HasLimits (Action V G) :=
4141 Adjunction.has_limits_of_equivalence (Action.functorCategoryEquivalence _ _).functor
4242
4343/-- If `V` has limits of shape `J`, so does `Action V G`. -/
44- instance hasLimitsOfShape {J : Type w₁ } [Category.{w₂} J] [HasLimitsOfShape J V] :
44+ instance hasLimitsOfShape {J : Type * } [Category J] [HasLimitsOfShape J V] :
4545 HasLimitsOfShape J (Action V G) :=
4646 Adjunction.hasLimitsOfShape_of_equivalence (Action.functorCategoryEquivalence _ _).functor
4747
@@ -57,20 +57,20 @@ instance [HasColimits V] : HasColimits (Action V G) :=
5757 Adjunction.has_colimits_of_equivalence (Action.functorCategoryEquivalence _ _).functor
5858
5959/-- If `V` has colimits of shape `J`, so does `Action V G`. -/
60- instance hasColimitsOfShape {J : Type w₁ } [Category.{w₂} J]
60+ instance hasColimitsOfShape {J : Type * } [Category J]
6161 [HasColimitsOfShape J V] : HasColimitsOfShape J (Action V G) :=
6262 Adjunction.hasColimitsOfShape_of_equivalence (Action.functorCategoryEquivalence _ _).functor
6363
6464end Limits
6565
6666section Preservation
6767
68- variable {C : Type t₁ } [Category.{t₂} C]
68+ variable {C : Type * } [Category C]
6969
7070/-- `F : C ⥤ SingleObj G ⥤ V` preserves the limit of some `K : J ⥤ C` if it does
7171evaluated at `SingleObj.star G`. -/
7272private lemma SingleObj.preservesLimit (F : C ⥤ SingleObj G ⥤ V)
73- {J : Type w₁ } [Category.{w₂} J] (K : J ⥤ C)
73+ {J : Type * } [Category J] (K : J ⥤ C)
7474 (h : PreservesLimit K (F ⋙ (evaluation (SingleObj G) V).obj (SingleObj.star G))) :
7575 PreservesLimit K F := by
7676 apply preservesLimit_of_evaluation
@@ -79,17 +79,17 @@ private lemma SingleObj.preservesLimit (F : C ⥤ SingleObj G ⥤ V)
7979
8080/-- `F : C ⥤ Action V G` preserves the limit of some `K : J ⥤ C` if
8181if it does after postcomposing with the forgetful functor `Action V G ⥤ V`. -/
82- lemma preservesLimit_of_preserves (F : C ⥤ Action V G) {J : Type w₁ }
83- [Category.{w₂} J] (K : J ⥤ C)
82+ lemma preservesLimit_of_preserves (F : C ⥤ Action V G) {J : Type * }
83+ [Category J] (K : J ⥤ C)
8484 (h : PreservesLimit K (F ⋙ Action.forget V G)) : PreservesLimit K F := by
8585 let F' : C ⥤ SingleObj G ⥤ V := F ⋙ (Action.functorCategoryEquivalence V G).functor
8686 have : PreservesLimit K F' := SingleObj.preservesLimit _ _ h
8787 apply preservesLimit_of_reflects_of_preserves F (Action.functorCategoryEquivalence V G).functor
8888
8989/-- `F : C ⥤ Action V G` preserves limits of some shape `J`
9090if it does after postcomposing with the forgetful functor `Action V G ⥤ V`. -/
91- lemma preservesLimitsOfShape_of_preserves (F : C ⥤ Action V G) {J : Type w₁ }
92- [Category.{w₂} J] (h : PreservesLimitsOfShape J (F ⋙ Action.forget V G)) :
91+ lemma preservesLimitsOfShape_of_preserves (F : C ⥤ Action V G) {J : Type * }
92+ [Category J] (h : PreservesLimitsOfShape J (F ⋙ Action.forget V G)) :
9393 PreservesLimitsOfShape J F := by
9494 constructor
9595 intro K
@@ -109,7 +109,7 @@ lemma preservesLimitsOfSize_of_preserves (F : C ⥤ Action V G)
109109/-- `F : C ⥤ SingleObj G ⥤ V` preserves the colimit of some `K : J ⥤ C` if it does
110110evaluated at `SingleObj.star G`. -/
111111private lemma SingleObj.preservesColimit (F : C ⥤ SingleObj G ⥤ V)
112- {J : Type w₁ } [Category.{w₂} J] (K : J ⥤ C)
112+ {J : Type * } [Category J] (K : J ⥤ C)
113113 (h : PreservesColimit K (F ⋙ (evaluation (SingleObj G) V).obj (SingleObj.star G))) :
114114 PreservesColimit K F := by
115115 apply preservesColimit_of_evaluation
@@ -118,17 +118,17 @@ private lemma SingleObj.preservesColimit (F : C ⥤ SingleObj G ⥤ V)
118118
119119/-- `F : C ⥤ Action V G` preserves the colimit of some `K : J ⥤ C` if
120120if it does after postcomposing with the forgetful functor `Action V G ⥤ V`. -/
121- lemma preservesColimit_of_preserves (F : C ⥤ Action V G) {J : Type w₁ }
122- [Category.{w₂} J] (K : J ⥤ C)
121+ lemma preservesColimit_of_preserves (F : C ⥤ Action V G) {J : Type * }
122+ [Category J] (K : J ⥤ C)
123123 (h : PreservesColimit K (F ⋙ Action.forget V G)) : PreservesColimit K F := by
124124 let F' : C ⥤ SingleObj G ⥤ V := F ⋙ (Action.functorCategoryEquivalence V G).functor
125125 have : PreservesColimit K F' := SingleObj.preservesColimit _ _ h
126126 apply preservesColimit_of_reflects_of_preserves F (Action.functorCategoryEquivalence V G).functor
127127
128128/-- `F : C ⥤ Action V G` preserves colimits of some shape `J`
129129if it does after postcomposing with the forgetful functor `Action V G ⥤ V`. -/
130- lemma preservesColimitsOfShape_of_preserves (F : C ⥤ Action V G) {J : Type w₁ }
131- [Category.{w₂} J] (h : PreservesColimitsOfShape J (F ⋙ Action.forget V G)) :
130+ lemma preservesColimitsOfShape_of_preserves (F : C ⥤ Action V G) {J : Type * }
131+ [Category J] (h : PreservesColimitsOfShape J (F ⋙ Action.forget V G)) :
132132 PreservesColimitsOfShape J F := by
133133 constructor
134134 intro K
@@ -149,13 +149,13 @@ end Preservation
149149
150150section Forget
151151
152- noncomputable instance {J : Type w₁ } [Category.{w₂} J] [HasLimitsOfShape J V] :
152+ noncomputable instance {J : Type* } [Category J] [HasLimitsOfShape J V] :
153153 PreservesLimitsOfShape J (Action.forget V G) := by
154154 show PreservesLimitsOfShape J ((Action.functorCategoryEquivalence V G).functor ⋙
155155 (evaluation (SingleObj G) V).obj (SingleObj.star G))
156156 infer_instance
157157
158- noncomputable instance {J : Type w₁ } [Category.{w₂} J] [HasColimitsOfShape J V] :
158+ noncomputable instance {J : Type* } [Category J] [HasColimitsOfShape J V] :
159159 PreservesColimitsOfShape J (Action.forget V G) := by
160160 show PreservesColimitsOfShape J ((Action.functorCategoryEquivalence V G).functor ⋙
161161 (evaluation (SingleObj G) V).obj (SingleObj.star G))
@@ -179,24 +179,24 @@ noncomputable instance [HasFiniteColimits V] : PreservesFiniteColimits (Action.f
179179 infer_instance
180180 apply comp_preservesFiniteColimits
181181
182- instance {J : Type w₁ } [Category.{w₂} J] (F : J ⥤ Action V G) :
182+ instance {J : Type* } [Category J] (F : J ⥤ Action V G) :
183183 ReflectsLimit F (Action.forget V G) where
184184 reflects h := ⟨by
185185 apply isLimitOfReflects ((Action.functorCategoryEquivalence V G).functor)
186186 exact evaluationJointlyReflectsLimits _ (fun _ => h)⟩
187187
188- instance {J : Type w₁ } [Category.{w₂} J] :
188+ instance {J : Type* } [Category J] :
189189 ReflectsLimitsOfShape J (Action.forget V G) where
190190
191191instance : ReflectsLimits (Action.forget V G) where
192192
193- instance {J : Type w₁ } [Category.{w₂} J] (F : J ⥤ Action V G) :
193+ instance {J : Type* } [Category J] (F : J ⥤ Action V G) :
194194 ReflectsColimit F (Action.forget V G) where
195195 reflects h := ⟨by
196196 apply isColimitOfReflects ((Action.functorCategoryEquivalence V G).functor)
197197 exact evaluationJointlyReflectsColimits _ (fun _ => h)⟩
198198
199- noncomputable instance {J : Type w₁ } [Category.{w₂} J] :
199+ noncomputable instance {J : Type* } [Category J] :
200200 ReflectsColimitsOfShape J (Action.forget V G) where
201201
202202noncomputable instance : ReflectsColimits (Action.forget V G) where
@@ -296,7 +296,7 @@ instance functorCategoryEquivalence_linear :
296296theorem smul_hom {X Y : Action V G} (r : R) (f : X ⟶ Y) : (r • f).hom = r • f.hom :=
297297 rfl
298298
299- variable {H : Type u } [Monoid H] (f : G →* H)
299+ variable {H : Type * } [Monoid H] (f : G →* H)
300300
301301instance res_additive : (res V f).Additive where
302302
@@ -307,8 +307,8 @@ end Linear
307307section Abelian
308308
309309/-- Auxiliary construction for the `Abelian (Action V G)` instance. -/
310- def abelianAux : Action V G ≌ ULift.{u} (SingleObj G) ⥤ V :=
311- ( functorCategoryEquivalence V G).trans (Equivalence.congrLeft ULift.equivalence)
310+ def abelianAux : Action V G ≌ (SingleObj G) ⥤ V :=
311+ functorCategoryEquivalence V G
312312
313313noncomputable instance [Abelian V] : Abelian (Action V G) :=
314314 abelianOfEquivalence abelianAux.functor
@@ -319,7 +319,7 @@ end Action
319319
320320namespace CategoryTheory.Functor
321321
322- variable {W : Type (u + 1 ) } [LargeCategory W] (F : V ⥤ W) (G : Type u ) [Monoid G] [Preadditive V]
322+ variable {W : Type * } [Category W] (F : V ⥤ W) (G : Type * ) [Monoid G] [Preadditive V]
323323 [Preadditive W]
324324
325325instance mapAction_preadditive [F.Additive] : (F.mapAction G).Additive where
0 commit comments