src/HOL/Tools/ATP/atp_problem_generate.ML
changeset 59621 291934bac95e
parent 59582 0fbed69ff081
child 59632 5980e75a204e
equal deleted inserted replaced
59620:92d7d8e4f1bf 59621:291934bac95e
   758                     (0 upto length Ts - 1 ~~ Ts))
   758                     (0 upto length Ts - 1 ~~ Ts))
   759 
   759 
   760 fun do_introduce_combinators ctxt Ts t =
   760 fun do_introduce_combinators ctxt Ts t =
   761   let val thy = Proof_Context.theory_of ctxt in
   761   let val thy = Proof_Context.theory_of ctxt in
   762     t |> conceal_bounds Ts
   762     t |> conceal_bounds Ts
   763       |> Thm.cterm_of thy
   763       |> Thm.global_cterm_of thy
   764       |> Meson_Clausify.introduce_combinators_in_cterm
   764       |> Meson_Clausify.introduce_combinators_in_cterm
   765       |> Thm.prop_of |> Logic.dest_equals |> snd
   765       |> Thm.prop_of |> Logic.dest_equals |> snd
   766       |> reveal_bounds Ts
   766       |> reveal_bounds Ts
   767   end
   767   end
   768   (* A type variable of sort "{}" will make abstraction fail. *)
   768   (* A type variable of sort "{}" will make abstraction fail. *)