src/Pure/Isar/context_rules.ML
changeset 12805 3be853cf19cf
parent 12412 d0857ea70f23
child 13105 3d1e7a199bdc
--- a/src/Pure/Isar/context_rules.ML	Thu Jan 17 21:04:36 2002 +0100
+++ b/src/Pure/Isar/context_rules.ML	Thu Jan 17 21:04:48 2002 +0100
@@ -182,7 +182,7 @@
   map snd ((if weighted then orderlist else orderlist_no_weight) (Net.unify_term net t));
 
 fun find_erules _ [] = K []
-  | find_erules w (fact :: _) = may_unify w (Logic.strip_assums_concl (#prop (Thm.rep_thm fact)));
+  | find_erules w (fact :: _) = may_unify w (Logic.strip_assums_concl (Thm.prop_of fact));
 fun find_irules w goal = may_unify w (Logic.strip_assums_concl goal);
 
 fun find_rules_netpair weighted facts goal (inet, enet) =