@@ -43,7 +43,12 @@ section Preserves
4343-- This should be used with explicit universe variables.
4444/-- `PreservesFilteredColimitsOfSize.{w', w} F` means that `F` sends all colimit cocones over any
4545filtered diagram `J ⥤ C` to colimit cocones, where `J : Type w` with `[Category.{w'} J]`. -/
46- @[nolint checkUnivs, pp_with_univ]
46+ -- After https://github.com/leanprover/lean4/pull/12286 and
47+ -- https://github.com/leanprover/lean4/pull/12423, the shape universes in
48+ -- `PreservesFilteredColimitsOfSize`, `ReflectsFilteredColimitsOfSize`,
49+ -- `PreservesCofilteredLimitsOfSize`, and `ReflectsCofilteredLimitsOfSize` would default to
50+ -- universe output parameters. See Note [universe output parameters and typeclass caching].
51+ @[univ_out_params, nolint checkUnivs, pp_with_univ]
4752class PreservesFilteredColimitsOfSize (F : C ⥤ D) : Prop where
4853 preserves_filtered_colimits :
4954 ∀ (J : Type w) [Category.{w'} J] [IsFiltered J], PreservesColimitsOfShape J F
@@ -99,7 +104,7 @@ section Reflects
99104-- This should be used with explicit universe variables.
100105/-- `ReflectsFilteredColimitsOfSize.{w', w} F` means that whenever the image of a filtered cocone
101106under `F` is a colimit cocone, the original cocone was already a colimit. -/
102- @[nolint checkUnivs, pp_with_univ]
107+ @[univ_out_params, nolint checkUnivs, pp_with_univ]
103108class ReflectsFilteredColimitsOfSize (F : C ⥤ D) : Prop where
104109 reflects_filtered_colimits :
105110 ∀ (J : Type w) [Category.{w'} J] [IsFiltered J], ReflectsColimitsOfShape J F
@@ -159,7 +164,7 @@ section Preserves
159164-- This should be used with explicit universe variables.
160165/-- `PreservesCofilteredLimitsOfSize.{w', w} F` means that `F` sends all limit cones over any
161166cofiltered diagram `J ⥤ C` to limit cones, where `J : Type w` with `[Category.{w'} J]`. -/
162- @[nolint checkUnivs, pp_with_univ]
167+ @[univ_out_params, nolint checkUnivs, pp_with_univ]
163168class PreservesCofilteredLimitsOfSize (F : C ⥤ D) : Prop where
164169 preserves_cofiltered_limits :
165170 ∀ (J : Type w) [Category.{w'} J] [IsCofiltered J], PreservesLimitsOfShape J F
@@ -215,7 +220,7 @@ section Reflects
215220-- This should be used with explicit universe variables.
216221/-- `ReflectsCofilteredLimitsOfSize.{w', w} F` means that whenever the image of a cofiltered cone
217222under `F` is a limit cone, the original cone was already a limit. -/
218- @[nolint checkUnivs, pp_with_univ]
223+ @[univ_out_params, nolint checkUnivs, pp_with_univ]
219224class ReflectsCofilteredLimitsOfSize (F : C ⥤ D) : Prop where
220225 reflects_cofiltered_limits :
221226 ∀ (J : Type w) [Category.{w'} J] [IsCofiltered J], ReflectsLimitsOfShape J F
0 commit comments