improved readability
authorsmolkas
Wed, 28 Nov 2012 12:25:43 +0100
changeset 50278 05f8ec128e83
parent 50277 e0a4d8404c76
child 50279 902ccccf2efa
improved readability
src/HOL/Tools/Sledgehammer/sledgehammer_shrink.ML
--- a/src/HOL/Tools/Sledgehammer/sledgehammer_shrink.ML	Wed Nov 28 12:25:43 2012 +0100
+++ b/src/HOL/Tools/Sledgehammer/sledgehammer_shrink.ML	Wed Nov 28 12:25:43 2012 +0100
@@ -142,10 +142,10 @@
                   | Assume (_, t) =>
                       Skip_Proof.make_thm (Proof_Context.theory_of ctxt) t
                   | _ => error "Internal error: unexpected succedent of case split")
-                ::  map (Skip_Proof.make_thm (Proof_Context.theory_of ctxt)
-                          o (fn Assume (_, a) => Logic.mk_implies(a, t)
-                            | _ => error "Internal error: malformed case split") 
-                          o hd) 
+                ::  map 
+                      (hd #> (fn Assume (_, a) => Logic.mk_implies(a, t)
+                               | _ => error "Internal error: malformed case split") 
+                          #> Skip_Proof.make_thm (Proof_Context.theory_of ctxt)) 
                       cases
             val goal =
               Goal.prove (Config.put Metis_Tactic.verbose debug ctxt) [] [] t