--- a/src/HOL/Tools/inductive_set.ML Wed May 05 09:24:42 2010 +0200
+++ b/src/HOL/Tools/inductive_set.ML Wed May 05 18:25:34 2010 +0200
@@ -419,7 +419,7 @@
| infer (t $ u) = infer t #> infer u
| infer _ = I;
val new_arities = filter_out
- (fn (x as Free (_, T), _) => x mem params andalso length (binder_types T) > 1
+ (fn (x as Free (_, T), _) => member (op =) params x andalso length (binder_types T) > 1
| _ => false) (fold (snd #> infer) intros []);
val params' = map (fn x =>
(case AList.lookup op = new_arities x of