Open m-fleury opened 3 years ago
The auto/simp merger and the force merger do not work all the time. I encountered multiple cases in which auto simp: XXX, auto simp: YYY
worked, but auto simp: XXX YYY
didn't terminate because simplifying with rule YYY on the first goal led to non-termination, but on the simplified goal didn't. Also since auto may create multiple subgoals, the auto/force
merger may sometimes produce unexpected behaviour.
We could instead create a tactic combinator, merging apply (a) apply (b)
into apply (a,b)
. This would make proofs shorter, too.
This is discussion on what new feature could do.
It would be cool to have a "tactic merger" that transforms two applies in a single by:
into
Some possible variants:
into
or by?
into
In the examples above, the second call might have been generated by Sledgehammer and this would clean up the file. It will not always work, but can be useful still.
Questions: