Zulip Chat Archive
Stream: mathlib4
Topic: Algebra.Category.Algebra.Limits #5716
Calvin Lee (Jul 05 2023 at 02:40):
Just started this one, but every error seems to be due to universe unification (max v w =?= max v ?u
)
I've seen https://github.com/leanprover/lean4/issues/2297, but not much discussion on this topic. Is there an "easy" way to solve or work around universe unification bugs?
Scott Morrison (Jul 05 2023 at 02:55):
You'll need (until we do a big refactor using UnivLE
) to copy what is done in the analogous files. See ModuleCat/Limits.lean
.
Scott Morrison (Jul 05 2023 at 02:55):
i.e. define AlgebraCatMax
.
Calvin Lee (Jul 07 2023 at 00:45):
There seem to be 3 universe bugs that aren't fixed by the AlgebraCatMax
trick.
I'm currently experimenting with UnivLE
on a new branch to see if it can solve them
Scott Morrison (Jul 07 2023 at 03:10):
I don't see any sign of universe problems on this branch. It looks like some broken defeq problems.
Scott Morrison (Jul 07 2023 at 03:51):
I've finished this file.
Calvin Lee (Jul 07 2023 at 04:44):
yep i just fixed the last universe issues with a few manual annotations
thanks for the help!
Scott Morrison (Jul 07 2023 at 06:57):
I'm confused --- I don't see any further commits from you? In any case, it has been merged by now.
Last updated: Dec 20 2023 at 11:08 UTC