src/Pure/Isar/obtain.ML
changeset 45328 e5b33eecbf6e
parent 45327 4a027cc86f1a
child 45330 93b8e30a5d1f
--- a/src/Pure/Isar/obtain.ML	Thu Nov 03 22:23:41 2011 +0100
+++ b/src/Pure/Isar/obtain.ML	Thu Nov 03 22:51:37 2011 +0100
@@ -138,11 +138,11 @@
 
     val that_name = if name = "" then thatN else name;
     val that_prop =
-      Term.list_all_free (parms, Logic.list_implies (asm_props, thesis))
-      |> Library.curry Logic.list_rename_params xs;
+      Logic.list_rename_params xs
+        (Term.list_all_free (parms, Logic.list_implies (asm_props, thesis)));
     val obtain_prop =
-      Logic.list_rename_params ([Auto_Bind.thesisN],
-        Term.list_all_free ([thesis_var], Logic.mk_implies (that_prop, thesis)));
+      Logic.list_rename_params [Auto_Bind.thesisN]
+        (Term.list_all_free ([thesis_var], Logic.mk_implies (that_prop, thesis)));
 
     fun after_qed _ =
       Proof.local_qed (NONE, false)