src/HOL/Isar_examples/Cantor.ML
author wenzelm
Mon Aug 23 15:30:26 1999 +0200 (1999-08-23)
changeset 7322 d16d7ddcc842
parent 6516 09207771cc7c
child 7578 80525697a87c
permissions -rw-r--r--
isatool expandshort;
     1 
     2 (* tactic script -- single steps *)
     3 
     4 Goal "EX S. S ~: range(f :: 'a => 'a set)";
     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);
    10   by (contr_tac 1);
    11   by (swap_res_tac [CollectI] 1);
    12   by (assume_tac 1);
    13 qed "it";
    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);
    20 qed "it";