src/HOL/Isar_examples/Cantor.ML
author berghofe
Fri, 09 Nov 2001 10:25:10 +0100
changeset 12125 316d11f760f7
parent 9474 b0ce3b7c9c26
permissions -rw-r--r--
Commands prf and full_prf can now also be used to display proof term of current proof state.


(* tactic script -- single steps *)

Goal "EX S. S ~: range (f :: 'a => 'a set)";
  by (rtac exI 1);
  by (rtac notI 1);
  by (etac rangeE 1);
  by (etac equalityCE 1);
  by (dtac CollectD 1);
  by (contr_tac 1);
  by (swap_res_tac [CollectI] 1);
  by (assume_tac 1);
qed "";


(* tactic script -- automatic *)

Goal "EX S. S ~: range (f :: 'a => 'a set)";
  by (Best_tac 1);
qed "";