src/Pure/Isar/proof.ML
changeset 21565 bd28361f4c5b
parent 21466 6ffb8f455b84
child 21666 d5eb0720e45d
--- a/src/Pure/Isar/proof.ML	Mon Nov 27 23:48:10 2006 +0100
+++ b/src/Pure/Isar/proof.ML	Tue Nov 28 00:35:18 2006 +0100
@@ -776,13 +776,13 @@
     |> put_goal (SOME (make_goal ((kind, propss'), [], goal, before_qed, after_qed')))
     |> map_context (ProofContext.add_cases false (AutoBind.cases thy props))
     |> map_context (ProofContext.auto_bind_goal props)
-    |> K chaining ? (`the_facts #-> using_facts)
+    |> chaining ? (`the_facts #-> using_facts)
     |> put_facts NONE
     |> open_block
     |> put_goal NONE
     |> enter_backward
-    |> K (not (null vars)) ? refine_terms (length propss')
-    |> K (null props) ? (refine (Method.Basic Method.assumption) #> Seq.hd)
+    |> not (null vars) ? refine_terms (length propss')
+    |> null props ? (refine (Method.Basic Method.assumption) #> Seq.hd)
   end;
 
 fun generic_qed state =
@@ -915,7 +915,7 @@
   in
     state
     |> local_goal print_results prep_att prepp "show" before_qed after_qed' stmt
-    |> K int ? (fn goal_state =>
+    |> int ? (fn goal_state =>
       (case test_proof goal_state of
         Result (SOME _) => goal_state
       | Result NONE => error (fail_msg (context_of goal_state))