diff -r e128ab544996 -r e9ab4ad7bd15 src/HOL/Tools/Predicate_Compile/core_data.ML --- a/src/HOL/Tools/Predicate_Compile/core_data.ML Thu Jan 11 12:32:07 2018 +0100 +++ b/src/HOL/Tools/Predicate_Compile/core_data.ML Thu Jan 11 13:48:17 2018 +0100 @@ -301,7 +301,7 @@ in fold Term.add_const_names intros [] |> (fn cs => - if member (=) cs @{const_name "HOL.eq"} then + if member (op =) cs @{const_name "HOL.eq"} then insert (op =) @{const_name Predicate.eq} cs else cs) |> filter (fn c => (not (c = key)) andalso