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