src/HOL/Tools/Function/function_core.ML
changeset 67710 cc2db3239932
parent 67149 e61557884799
child 69709 7263b59219c1
--- a/src/HOL/Tools/Function/function_core.ML	Fri Feb 23 17:59:57 2018 +0100
+++ b/src/HOL/Tools/Function/function_core.ML	Fri Feb 23 19:25:37 2018 +0100
@@ -270,7 +270,7 @@
     val (eql, _) =
       Function_Context_Tree.rewrite_by_tree ctxt h ih_elim_case (Ris ~~ h_assums) tree
 
-    val replace_lemma = (eql RS meta_eq_to_obj_eq)
+    val replace_lemma = HOLogic.mk_obj_eq eql
       |> Thm.implies_intr (Thm.cprop_of case_hyp)
       |> fold_rev (Thm.implies_intr o Thm.cprop_of) h_assums
       |> fold_rev (Thm.implies_intr o Thm.cprop_of) ags