Zulip Chat Archive
Stream: general
Topic: simp normal form for `Iio ⊤`
Yury G. Kudryashov (May 22 2022 at 12:53):
/poll What should be the simp
normal forms for Iio ⊤
and Ico a ⊤
?
Iio ⊤
and Ico a ⊤
{⊤}ᶜ
and Ico a ⊤
Iio ⊤
and Ici a \ {⊤}
{⊤}ᶜ
and Ici a \ {⊤}
Yury G. Kudryashov (May 22 2022 at 12:53):
Note that we simplify Ici ⊤
to {⊤}
.
Yury G. Kudryashov (May 22 2022 at 12:55):
Motivated by @Eric Wieser 's comment in #14296.
Yaël Dillies (May 22 2022 at 13:38):
It's 0 < n
vs n ≠ 0
all over again. So we would like to simplify towards a < ⊤
in hypotheses and towards a ≠ ⊤` in the goal. But of course simp can't detect that.
Yury G. Kudryashov (May 22 2022 at 14:36):
I'll merge the PR now, then change it if needed in the PR that will add the simp lemmas.
Yury G. Kudryashov (May 22 2022 at 19:53):
For now, the answer is "nobody cares".
Reid Barton (May 22 2022 at 19:54):
I don't really care but if I had to choose, I would probably choose the first option
Reid Barton (May 22 2022 at 19:55):
Singletons are a bit different I feel, we know those are also intervals just by looking at them.
Yaël Dillies (May 22 2022 at 20:00):
Yeah my guts make me want to stay in the intervals world because a lot of lemmas about their interaction.
Last updated: Dec 20 2023 at 11:08 UTC