added legacy tactic
authorhaftmann
Tue, 10 Oct 2006 10:34:43 +0200
changeset 20943 cf19faf11bbd
parent 20942 43e216a9d615
child 20944 34b2c1bb7178
added legacy tactic
src/HOL/ex/MT.ML
--- a/src/HOL/ex/MT.ML	Tue Oct 10 10:34:42 2006 +0200
+++ b/src/HOL/ex/MT.ML	Tue Oct 10 10:34:43 2006 +0200
@@ -601,6 +601,9 @@
 (* The pointwise extension of hasty to environments             *)
 (* ############################################################ *)
 
+fun excluded_middle_tac sP =
+  res_inst_tac [("Q", sP)] (excluded_middle RS HOL.disjE);
+
 Goal "[| ve hastyenv te; v hasty t |] ==> \
 \        ve + {ev |-> v} hastyenv te + {ev |=> t}";
 by (rewtac hasty_env_def);