Zulip Chat Archive

Stream: lean4

Topic: Tactic `split` not working


Ilmārs Cīrulis (Jul 17 2024 at 08:18):

Here - last split not working.

Is it real bug? Or do I misunderstand something?

Ilmārs Cīrulis (Jul 17 2024 at 08:22):

Will try to make it smaller or #mwe

Damiano Testa (Jul 17 2024 at 08:24):

Lessness said:

Will try to make it smaller or #mwe

You could try using extract_goal at the position where the problem is and see if that minimises it for you.

Ilmārs Cīrulis (Jul 17 2024 at 08:33):

extract_goal doesn't help, sadly, because everything works with the extracted theorem. :\

Sébastien Gouëzel (Jul 17 2024 at 08:38):

If you do rw [Eq.comm] before your split (to put the term you want to split on on the left hand side of the equality), then it works.

Ilmārs Cīrulis (Jul 17 2024 at 08:43):

Thank you, that solves my problem and I can continue proving.

Ilmārs Cīrulis (Jul 17 2024 at 08:51):

Lessness said:

Will try to make it smaller or #mwe

Removed anything unnecessary and put few more sorry in some places. Now it's about 50 lines, most of them definitions.


Last updated: May 02 2025 at 03:31 UTC