src/HOL/Tools/BNF/bnf_tactics.ML
changeset 59058 a78612c67ec0
parent 58370 ffc8669e46cf
child 59582 0fbed69ff081
--- a/src/HOL/Tools/BNF/bnf_tactics.ML	Wed Nov 26 16:55:43 2014 +0100
+++ b/src/HOL/Tools/BNF/bnf_tactics.ML	Wed Nov 26 20:05:34 2014 +0100
@@ -51,7 +51,7 @@
 (*transforms f (g x) = h (k x) into f o g = h o k using first order matches for f, g, h, and k*)
 fun mk_pointfree ctxt thm = thm
   |> Thm.prop_of |> HOLogic.dest_Trueprop |> HOLogic.dest_eq
-  |> pairself (dest_comb #> apsnd (dest_comb #> fst) #> HOLogic.mk_comp)
+  |> apply2 (dest_comb #> apsnd (dest_comb #> fst) #> HOLogic.mk_comp)
   |> mk_Trueprop_eq
   |> (fn goal => Goal.prove_sorry ctxt [] [] goal
     (K (rtac @{thm ext} 1 THEN