Zulip Chat Archive
Stream: condensed mathematics
Topic: limits in Ab
Johan Commelin (May 06 2022 at 06:38):
We need something like
-- show that `Ab.{u}` has limits indexed by `ℕ`.
instance (f : ℕ → Ab) : has_product f := sorry
We know that Ab
has all limits, but they indexed by types in the wrong universe. Anyone interested in relaxing the universe conditions in mathlib?
Scott Morrison (May 06 2022 at 08:44):
Ooh, it's worse than that, it goes back to the constructions for Type
Scott Morrison (May 06 2022 at 10:56):
I think I'm getting it working, but it is more complicated than one might hope.
Johan Commelin (May 06 2022 at 11:43):
Hmm, sorry to hear that.
Scott Morrison (May 06 2022 at 12:52):
Okay, #13990
Scott Morrison (May 06 2022 at 12:52):
I'm concerned about the extra universe annotations needed in places. Please consider this an RFC for now.
Scott Morrison (May 07 2022 at 09:37):
@Andrew Yang, if you're able to look at this PR sometime, you are probably most expert in this material (universe flexibility in limits!).
Scott Morrison (May 08 2022 at 23:53):
This PR touches lots of files, and just saw some merge conflicts. If we want it, I'd prefer to decide this sooner rather than later.
Johan Commelin (May 08 2022 at 23:59):
I'm happy with merging it. I don't mind the extra universe annotations.
Johan Commelin (May 08 2022 at 23:59):
The extra flexibility is worth it.
Scott Morrison (May 09 2022 at 00:05):
Okay, we'll see if we regret it later. :-)
Last updated: Dec 20 2023 at 11:08 UTC