Thm_cont.UNDISCH_THEN : term -> thm_tactic -> tactic
STRUCTURE
SYNOPSIS
Discharges the assumption given and passes it to a theorem-tactic.
DESCRIPTION
UNDISCH_THEN finds the first assumption equal to the term given, removes it from the assumption list, ASSUMEs it, passes it to the theorem-tactic and then applies the consequent tactic. Thus:
   UNDISCH_THEN t f ([a1,... ai, t, aj, ... an], goal) =
     f (ASSUME t) ([a1,... ai, aj,... an], goal)
For example, if
    A u {t1} ?- t
   ===============  f (ASSUME t1)
    B u {t1} ?- v
then
    A u {t1} ?- t
   ===============  UNDISCH_THEN t1 f
       B ?- v

FAILURE
UNDISCH_THEN will fail on goals where the given term is not in the assumption list.
SEEALSO
HOL  Kananaskis-10