Zulip Chat Archive

Stream: Is there code for X?

Topic: case splitting in linear order?


Rémi Bottinelli (Jan 01 2023 at 13:04):

Hey, what's the closest to a tactic that would, given variables in a linear order, create a goal for each possible ordering of the set of variables?
Ideally, something that would also take given constraint into account.
I don't believe it would be very complicated to implement? just a sequence of by_cases or trichotomy, and then close goals that have inconsistent orderings?

Yaël Dillies (Jan 01 2023 at 14:14):

Wait, isn't your lemma wrong? Icc a b is empty when b < a.

Rémi Bottinelli (Jan 01 2023 at 16:39):

That's why it's signed variation. wait


Last updated: Dec 20 2023 at 11:08 UTC