src/HOL/Tools/Predicate_Compile/predicate_compile_proof.ML
changeset 64542 c7d76708379f
parent 62391 1658fc9b2618
child 64556 851ae0e7b09c
--- a/src/HOL/Tools/Predicate_Compile/predicate_compile_proof.ML	Wed Dec 07 08:14:40 2016 +0100
+++ b/src/HOL/Tools/Predicate_Compile/predicate_compile_proof.ML	Thu Dec 08 15:21:18 2016 +0100
@@ -152,6 +152,7 @@
              THEN TRY (
                 let
                   val prems' = maps dest_conjunct_prem (take nargs prems)
+                    |> filter is_equationlike
                 in
                   rewrite_goal_tac ctxt'
                     (map (fn th => th RS @{thm sym} RS @{thm eq_reflection}) prems') 1