src/HOL/Tools/simpdata.ML
changeset 42460 1805c67dc7aa
parent 42458 5dfae6d348fd
child 42478 8a526c010c3b
--- a/src/HOL/Tools/simpdata.ML	Fri Apr 22 15:05:04 2011 +0200
+++ b/src/HOL/Tools/simpdata.ML	Fri Apr 22 15:24:00 2011 +0200
@@ -10,11 +10,11 @@
 structure Quantifier1 = Quantifier1
 (
   (*abstract syntax*)
-  fun dest_eq ((c as Const(@{const_name HOL.eq},_)) $ s $ t) = SOME (c, s, t)
+  fun dest_eq (Const(@{const_name HOL.eq},_) $ s $ t) = SOME (s, t)
     | dest_eq _ = NONE;
-  fun dest_conj ((c as Const(@{const_name HOL.conj},_)) $ s $ t) = SOME (c, s, t)
+  fun dest_conj (Const(@{const_name HOL.conj},_) $ s $ t) = SOME (s, t)
     | dest_conj _ = NONE;
-  fun dest_imp ((c as Const(@{const_name HOL.implies},_)) $ s $ t) = SOME (c, s, t)
+  fun dest_imp (Const(@{const_name HOL.implies},_) $ s $ t) = SOME (s, t)
     | dest_imp _ = NONE;
   val conj = HOLogic.conj
   val imp  = HOLogic.imp