| author | wenzelm | 
| Thu, 21 Oct 1999 17:42:42 +0200 | |
| changeset 7896 | 36865f14e5ce | 
| parent 7578 | 80525697a87c | 
| child 9474 | b0ce3b7c9c26 | 
| permissions | -rw-r--r-- | 
| 6516 | 1  | 
|
2  | 
(* tactic script -- single steps *)  | 
|
3  | 
||
4  | 
Goal "EX S. S ~: range(f :: 'a => 'a set)";  | 
|
| 7322 | 5  | 
by (rtac exI 1);  | 
6  | 
by (rtac notI 1);  | 
|
7  | 
by (etac rangeE 1);  | 
|
8  | 
by (etac equalityCE 1);  | 
|
9  | 
by (dtac CollectD 1);  | 
|
| 6516 | 10  | 
by (contr_tac 1);  | 
11  | 
by (swap_res_tac [CollectI] 1);  | 
|
| 7322 | 12  | 
by (assume_tac 1);  | 
| 7578 | 13  | 
qed "";  | 
| 6516 | 14  | 
|
15  | 
||
16  | 
(* tactic script -- automatic *)  | 
|
17  | 
||
18  | 
Goal "EX S. S ~: range(f :: 'a => 'a set)";  | 
|
19  | 
by (best_tac (claset() addSEs [equalityCE]) 1);  | 
|
| 7578 | 20  | 
qed "";  |