Only output arities and class relations if !ResClause.keep_types is true.
authormengj
Mon, 28 Nov 2005 07:12:01 +0100
changeset 18270 27227433cb42
parent 18269 3f36e2165e51
child 18271 0e9a851db989
Only output arities and class relations if !ResClause.keep_types is true.
src/HOL/Tools/res_atp.ML
--- a/src/HOL/Tools/res_atp.ML	Mon Nov 28 05:03:00 2005 +0100
+++ b/src/HOL/Tools/res_atp.ML	Mon Nov 28 07:12:01 2005 +0100
@@ -157,9 +157,9 @@
       val _ = debug ("claset and simprules total clauses = " ^ 
                      Int.toString (Array.length clause_arr))
       val thy = ProofContext.theory_of ctxt
-      val classrel_clauses = ResClause.classrel_clauses_thy thy
+      val classrel_clauses = if !ResClause.keep_types then ResClause.classrel_clauses_thy thy else []
       val _ = debug ("classrel clauses = " ^ Int.toString (length classrel_clauses))
-      val arity_clauses = ResClause.arity_clause_thy thy
+      val arity_clauses = if !ResClause.keep_types then ResClause.arity_clause_thy thy else []
       val _ = debug ("arity clauses = " ^ Int.toString (length arity_clauses))
       val write = if !prover = "spass" then dfg_inputs_tfrees else tptp_inputs_tfrees
       fun writenext n =