src/HOL/Tools/ATP/atp_reconstruct.ML
changeset 43296 755e3d5ea3f2
parent 43291 9f33b4ec866c
child 43302 566f970006e5
--- a/src/HOL/Tools/ATP/atp_reconstruct.ML	Wed Jun 08 16:20:19 2011 +0200
+++ b/src/HOL/Tools/ATP/atp_reconstruct.ML	Wed Jun 08 17:01:07 2011 +0200
@@ -225,7 +225,7 @@
   | add_fact _ _ _ _ _ = I
 
 fun used_facts_in_atp_proof ctxt type_sys facts_offset fact_names atp_proof =
-  if null atp_proof then Vector.foldl (op @) [] fact_names
+  if null atp_proof then Vector.foldl (uncurry (union (op =))) [] fact_names
   else fold (add_fact ctxt type_sys facts_offset fact_names) atp_proof []
 
 fun is_conjecture_used_in_proof conjecture_shape =