src/HOL/Auth/Message.ML
changeset 6915 4ab8e31a8421
parent 6141 a6922171b396
child 7057 b9ddbb925939
equal deleted inserted replaced
6914:ad689270a265 6915:4ab8e31a8421
   904 
   904 
   905 (** Useful in many uniqueness proofs **)
   905 (** Useful in many uniqueness proofs **)
   906 fun ex_strip_tac i = REPEAT (swap_res_tac [exI, conjI] i) THEN 
   906 fun ex_strip_tac i = REPEAT (swap_res_tac [exI, conjI] i) THEN 
   907                      assume_tac (i+1);
   907                      assume_tac (i+1);
   908 
   908 
   909 (*Apply the EX-ALL quantifification to prove uniqueness theorems in 
   909 (*Apply the EX-ALL quantification to prove uniqueness theorems in 
   910   their standard form*)
   910   their standard form*)
   911 fun prove_unique_tac lemma = 
   911 fun prove_unique_tac lemma = 
   912   EVERY' [dtac lemma,
   912   EVERY' [dtac lemma,
   913           REPEAT o (mp_tac ORELSE' eresolve_tac [asm_rl,exE]),
   913           REPEAT o (mp_tac ORELSE' eresolve_tac [asm_rl,exE]),
   914           (*Duplicate the assumption*)
   914           (*Duplicate the assumption*)