PairCases_on : term quotation -> tactic
The new variables are numbered from zero according to a depth-first traversal. (Therefore, they should appear in increasing order from left to right when the tree is pretty-printed.) Primed variants of the new numbered variables are used if necessary (i.e. vn already occurs free in the goal).
Initial goal:
(x = y) ==> (x = z)
> e(DISCH_TAC); OK.. 1 subgoal:
x = z ------------------------------------ x = y
> e(PairCases_on ‘y‘); OK.. 1 subgoal:
x = z ------------------------------------ x = ((y0,y1),y2,y3,(y4,y5),y6)
> e(PairCases_on‘x‘); OK.. 1 subgoal:
((x0,x1),x2,x3,(x4,x5),x6) = z ------------------------------------ ((x0,x1),x2,x3,(x4,x5),x6) = ((y0,y1),y2,y3,(y4,y5),y6)