src/HOL/Tools/Meson/meson.ML
changeset 46503 186f4cab2ba0
parent 46093 4bf24b90703c
child 46818 2a28e66e2e4c
--- a/src/HOL/Tools/Meson/meson.ML	Thu Feb 16 14:14:58 2012 +0100
+++ b/src/HOL/Tools/Meson/meson.ML	Thu Feb 16 16:42:26 2012 +0100
@@ -756,8 +756,8 @@
 (*Rules to convert the head literal into a negated assumption. If the head
   literal is already negated, then using notEfalse instead of notEfalse'
   prevents a double negation.*)
-val notEfalse = read_instantiate @{context} [(("R", 0), "False")] notE;
-val notEfalse' = rotate_prems 1 notEfalse;
+val notEfalse = @{lemma "~ P ==> P ==> False" by (rule notE)};
+val notEfalse' = @{lemma "P ==> ~ P ==> False" by (rule notE)};
 
 fun negated_asm_of_head th =
     th RS notEfalse handle THM _ => th RS notEfalse';