src/HOL/Tools/ATP/atp_problem_generate.ML
changeset 59621 291934bac95e
parent 59582 0fbed69ff081
child 59632 5980e75a204e
--- a/src/HOL/Tools/ATP/atp_problem_generate.ML	Fri Mar 06 14:01:08 2015 +0100
+++ b/src/HOL/Tools/ATP/atp_problem_generate.ML	Fri Mar 06 15:58:56 2015 +0100
@@ -760,7 +760,7 @@
 fun do_introduce_combinators ctxt Ts t =
   let val thy = Proof_Context.theory_of ctxt in
     t |> conceal_bounds Ts
-      |> Thm.cterm_of thy
+      |> Thm.global_cterm_of thy
       |> Meson_Clausify.introduce_combinators_in_cterm
       |> Thm.prop_of |> Logic.dest_equals |> snd
       |> reveal_bounds Ts