src/HOL/Tools/hologic.ML
changeset 59058 a78612c67ec0
parent 56254 a2dd9200854d
child 59970 e9f73d87d904
--- a/src/HOL/Tools/hologic.ML	Wed Nov 26 16:55:43 2014 +0100
+++ b/src/HOL/Tools/hologic.ML	Wed Nov 26 20:05:34 2014 +0100
@@ -205,7 +205,7 @@
 
 fun conj_intr thP thQ =
   let
-    val (P, Q) = pairself (Object_Logic.dest_judgment o Thm.cprop_of) (thP, thQ)
+    val (P, Q) = apply2 (Object_Logic.dest_judgment o Thm.cprop_of) (thP, thQ)
       handle CTERM (msg, _) => raise THM (msg, 0, [thP, thQ]);
     val inst = Thm.instantiate ([], [(@{cpat "?P::bool"}, P), (@{cpat "?Q::bool"}, Q)]);
   in Drule.implies_elim_list (inst @{thm conjI}) [thP, thQ] end;