src/HOL/Isar_examples/Cantor.ML
author wenzelm
Tue, 27 Apr 1999 10:45:20 +0200
changeset 6516 09207771cc7c
child 7322 d16d7ddcc842
permissions -rw-r--r--
added Isar_examples/Cantor.ML;


(* tactic script -- single steps *)

Goal "EX S. S ~: range(f :: 'a => 'a set)";
  br exI 1;
  br notI 1;
  be rangeE 1;
  be equalityCE 1;
  bd CollectD 1;
  by (contr_tac 1);
  by (swap_res_tac [CollectI] 1);
  ba 1;
qed "it";


(* tactic script -- automatic *)

Goal "EX S. S ~: range(f :: 'a => 'a set)";
  by (best_tac (claset() addSEs [equalityCE]) 1);
qed "it";