equal
deleted
inserted
replaced
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. *) |