src/HOL/Isar_examples/Cantor.ML
author obua
Mon Apr 10 16:00:34 2006 +0200 (2006-04-10)
changeset 19404 9bf2cdc9e8e8
parent 9474 b0ce3b7c9c26
permissions -rw-r--r--
Moved stuff from Ring_and_Field to Matrix
wenzelm@6516
     1
wenzelm@6516
     2
(* tactic script -- single steps *)
wenzelm@6516
     3
wenzelm@9474
     4
Goal "EX S. S ~: range (f :: 'a => 'a set)";
wenzelm@7322
     5
  by (rtac exI 1);
wenzelm@7322
     6
  by (rtac notI 1);
wenzelm@7322
     7
  by (etac rangeE 1);
wenzelm@7322
     8
  by (etac equalityCE 1);
wenzelm@7322
     9
  by (dtac CollectD 1);
wenzelm@6516
    10
  by (contr_tac 1);
wenzelm@6516
    11
  by (swap_res_tac [CollectI] 1);
wenzelm@7322
    12
  by (assume_tac 1);
wenzelm@7578
    13
qed "";
wenzelm@6516
    14
wenzelm@6516
    15
wenzelm@6516
    16
(* tactic script -- automatic *)
wenzelm@6516
    17
wenzelm@9474
    18
Goal "EX S. S ~: range (f :: 'a => 'a set)";
wenzelm@9474
    19
  by (Best_tac 1);
wenzelm@7578
    20
qed "";