Zulip Chat Archive

Stream: triage

Topic: issue !4#994: decide regression


Random Issue Bot (Sep 10 2023 at 14:03):

Today I chose issue 994 for discussion!

decide regression
Created by @Scott Morrison (@semorrison) on 2022-12-13
Labels:

Is this issue still relevant? Any recent updates? Anyone making progress?

Random Issue Bot (Mar 15 2025 at 14:12):

Today I chose issue #994 for discussion!

decide regression
Created by @Kim Morrison (@kim-em) on 2022-12-13
Labels:

Is this issue still relevant? Any recent updates? Anyone making progress?

Kyle Miller (Mar 15 2025 at 14:38):

This is the "decide doesn't support free variables in the goal anymore" issue.

I think this won't be supported, even under an option. It makes decide really sensitive to the exact definitions of the decidable instances. It's possible to write of_decide_eq_true rfl manually to go ahead anyway, and notice that it succeeds for the example from the mathlib issue, but the second fails.

example (k : ) : ¬ (k + 2 : ) < 2 := of_decide_eq_true rfl -- succeeds
example (k : ) : ¬ (2 + k : ) < 2 := of_decide_eq_true rfl -- error: application type mismatch

We also have omega now, which proves both.

Johan Commelin (Mar 17 2025 at 05:46):

So shall we close this?

Patrick Massot (Mar 17 2025 at 08:49):

Can we take this as a documentation opportunity? Or is it already clearly documented in the doc of decide? Then I think we can close.


Last updated: May 02 2025 at 03:31 UTC