USE_SG_THEN : thm_tactic -> int -> int -> list_tactic
A1 ?- t1 ========== ttac (u |- u) A2 ?- t2
This list-tactic will be invalid unless A is a subset of A1.
Note that in the interactive system, subgoals are printed in reverse order of their numbering.
r \/ s ------------------------------------ 0. p 1. q r ------------------------------------ 0. p 1. q 2 subgoals : proof > elt (USE_SG_THEN ASSUME_TAC 1 2) ; OK.. 2 subgoals: val it = r \/ s ------------------------------------ 0. p 1. q 2. r r ------------------------------------ 0. p 1. q 2 subgoals : proof
r ------------------------------------ 0. p' 1. q r ------------------------------------ 0. p 1. q 2 subgoals : proof > elt (VALIDATE_LT (USE_SG_THEN ACCEPT_TAC 2 1)) ; OK.. 2 subgoals: val it = r ------------------------------------ 0. p' 1. q p' ------------------------------------ 0. p 1. q 2 subgoals : proof