src/HOL/Isar_examples/Cantor.ML
author paulson
Tue Jun 28 15:27:45 2005 +0200 (2005-06-28)
changeset 16587 b34c8aa657a5
parent 9474 b0ce3b7c9c26
permissions -rw-r--r--
Constant "If" is now local
     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 "";
    14 
    15 
    16 (* tactic script -- automatic *)
    17 
    18 Goal "EX S. S ~: range (f :: 'a => 'a set)";
    19   by (Best_tac 1);
    20 qed "";