Zulip Chat Archive

Stream: general

Topic: stubborn refl


Eric Wieser (Nov 10 2021 at 17:53):

On this line, I have a goal state that looks like (with pp.implicit true):

R: Type u_1
M: Type u_2
_inst_1: comm_semiring R
_inst_2: add_comm_monoid M
_inst_3: @module R M (@comm_semiring.to_semiring R _inst_1) _inst_2
rs: R
 @algebra_map R M _inst_1 _inst_2 _inst_3 = @algebra_map R M _inst_1 _inst_2 _inst_3

Why can't refl close this instantly? It seems to just timeout.

Anne Baanen (Nov 10 2021 at 17:54):

What happens if you write sorry instead? It might be the timeout is elsewhere.

Eric Wieser (Nov 10 2021 at 17:54):

sorry is fine

Eric Wieser (Nov 10 2021 at 17:54):

(by "Seems to timeout", I mean "I don't have the patience to wait")

Anne Baanen (Nov 10 2021 at 17:55):

Hmm, that's very weird.

Eric Wieser (Nov 10 2021 at 17:57):

It does eventually give (deterministic) timeout, so at least it doesn't hang forever

Eric Wieser (Nov 10 2021 at 17:59):

Aha, pp.universes tells me its ⇑algebra_map.{u_1 u_2 u_4} s = ⇑algebra_map.{u_1 u_2 u_5} s

Eric Wieser (Nov 10 2021 at 18:03):

The culprit is docs#pi_tensor_product.pempty_equiv, which has a free universe variable for the pempty

Eric Wieser (Nov 10 2021 at 18:03):

Ouch, not even the docs show the universe variable

Floris van Doorn (Nov 10 2021 at 19:11):

Can you add a comment in the docstring of docs#pi_tensor_product.pempty_equiv warning about the extra universe variable?

Eric Wieser (Nov 11 2021 at 14:05):

I just replaced pempty with is_empty which eliminates the universe argument, #10274


Last updated: Dec 20 2023 at 11:08 UTC