polymorphic SPASS is also SPASS
authorblanchet
Tue, 05 Mar 2013 11:59:58 +0100
changeset 51336 6c06b8de72f9
parent 51335 6bac04a6a197
child 51337 1012626af0bc
polymorphic SPASS is also SPASS
src/HOL/Tools/ATP/atp_systems.ML
--- a/src/HOL/Tools/ATP/atp_systems.ML	Tue Mar 05 09:47:15 2013 +0100
+++ b/src/HOL/Tools/ATP/atp_systems.ML	Tue Mar 05 11:59:58 2013 +0100
@@ -766,11 +766,10 @@
 fun effective_term_order ctxt atp =
   let val ord = Config.get ctxt term_order in
     if ord = smartN then
-      if atp = spassN then
-        {is_lpo = false, gen_weights = true, gen_prec = true, gen_simp = false}
-      else
-        {is_lpo = false, gen_weights = false, gen_prec = false,
+      let val is_spass = (atp = spassN orelse atp = spass_polyN) in
+        {is_lpo = false, gen_weights = is_spass, gen_prec = is_spass,
          gen_simp = false}
+      end
     else
       let val is_lpo = String.isSubstring lpoN ord in
         {is_lpo = is_lpo,