Hello,
I am trying to write a tactic that wraps around rewrite, like this:
Ltac sire H := simpl; rewrite H; simpl.
However, rewrite is variadic, but it seems that
sire hyp1, hyp2.
is rejected by Coq since it only expects one argument. I would expect it to expand something like
simpl; rewrite hyp1, hyp2; simpl.
Is there any way to do this in Ltac?
(I have found this coq - Tactics with variable arity - Stack Overflow but the links are dead and it is not very clear)
Best,
Mrandl