equal
deleted
inserted
replaced
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*) |