Zulip Chat Archive

Stream: mathlib4

Topic: UnivLE for limits in MonCat, etc.


Christian Merten (Mar 09 2024 at 14:54):

Currently, the MonCat (and GroupCat etc.) API uses the TypeMax limit cone constructions. In particular docs#MonCat.hasLimitsOfSize only applies for MonCatMax constructions. I would like to have

instance hasLimitsOfSize' [UnivLE.{v, u}] :
    HasLimitsOfSize.{w, v} MonCat.{u} :=
  sorry

Is it advisable to have a version of docs#CategoryTheory.Limits.Types.Small.limitCone for MonCat? Or even just replace the MonCatMax versions with UnivLE versions?

Christian Merten (Mar 09 2024 at 14:57):

(note that having HasLimitsOfSize.{w, v} instead of HasLimitsOfSize.{v, v} is easy, it is only about the MonCat.{u} with UnivLE.{v, u} instead of MonCatMax.{v, u})

Matthew Ballard (Mar 09 2024 at 16:09):

TypeMax was a bit of a hack to deal with changes in universe unification. UnivLE is more principled. I would defer to the latter when possible.

Christian Merten (Mar 09 2024 at 16:10):

So you are suggesting to add UnivLE versions for limit constructions in MonCat, GroupCat, etc.?

Matthew Ballard (Mar 09 2024 at 16:12):

Replace MonCatMax etc if feasible

Matthew Ballard (Mar 09 2024 at 16:16):

Thanks!

Christian Merten (Mar 16 2024 at 13:34):

This is #11420.


Last updated: May 02 2025 at 03:31 UTC