Zulip Chat Archive

Stream: lean4

Topic: The largest universe


Mario Carneiro (May 10 2021 at 10:07):

def foo := Sort 33

maximum universe level offset threshold (32) has been reached, you can increase the limit using option set_option maxUniverseOffset <limit>, but you are probably misusing universe levels since offsets are usually small natural numbers

I feel like I've been told off :oops:

Johan Commelin (May 10 2021 at 10:08):

Why would you ever want to use Sort 33 :stuck_out_tongue_wink: :rofl: ?

Johan Commelin (May 10 2021 at 10:09):

The message says "probably", and I agree with that.

Mario Carneiro (May 10 2021 at 10:10):

Interestingly I can use Type 32

Gabriel Ebner (May 10 2021 at 10:10):

You can also use Sort (32+1)

Kevin Buzzard (May 10 2021 at 10:22):

Great that we have a workaround

Mac (May 10 2021 at 22:49):

Johan Commelin said:

Why would you ever want to use Sort 33 :stuck_out_tongue_wink: :rofl: ?

I concur with this. I am extremely curious as to the circumstances under which you discovered this. Why would Sort 33 ever be a thing you encountered?

Mario Carneiro (May 11 2021 at 13:34):

I just saw it while browsing the source. There was once a zulip topic about someone causing lean 3 to get really slow (much worse than expectation) on large universes (Lean 3 has no such limiter) and I think Type 600 came up there

Chris B (May 11 2021 at 19:18):

This is an evergreen:
https://twitter.com/derKha/status/1164846192888598528?s=20

Damiano Testa (May 11 2021 at 20:14):

This reminds me of a famous adage: “In theory, theory and practice are the same. In practice, they are not.”


Last updated: Dec 20 2023 at 11:08 UTC