问题
Let's say these are my current premises and goals:
IHl' : forall l' : list A, In a l'' \/ In a l' -> In a (l'' ++ l')
l' : list A
============================
....
Now, I want the hypothesis to get transformed like this:
IHl' : In a l'' \/ In a l' -> In a (l'' ++ l')
l' : list A
============================
....
So, basically I instantiate IHl'
with l'
. Is there any tactic which does this ? Rewriting or even introducing a new specialized hypothesis should do.
回答1:
Just to leave the shortest answer for future ref: specialize IHl' with l'
.
I highly recommend you have a look to @Anton's comment anyway.
来源:https://stackoverflow.com/questions/43332924/rewriting-hypothesis-with-a-more-concrete-expression