respect "really_all" argument, which is used by "ATP_Export"
authorblanchet
Mon, 20 Jun 2011 10:41:02 +0200
changeset 43477 b0cf8f9bd192
parent 43476 12ff5c017cf9
child 43478 1cef683b588b
respect "really_all" argument, which is used by "ATP_Export"
src/HOL/Tools/Sledgehammer/sledgehammer_filter.ML
--- a/src/HOL/Tools/Sledgehammer/sledgehammer_filter.ML	Mon Jun 20 10:41:02 2011 +0200
+++ b/src/HOL/Tools/Sledgehammer/sledgehammer_filter.ML	Mon Jun 20 10:41:02 2011 +0200
@@ -867,7 +867,8 @@
             pair 1
             #> fold (fn th => fn (j, (multis, unis)) =>
                         (j + 1,
-                         if not (member Thm.eq_thm_prop add_ths th) andalso
+                         if not really_all andalso
+                            not (member Thm.eq_thm_prop add_ths th) andalso
                             is_theorem_bad_for_atps th then
                            (multis, unis)
                          else