src/HOL/Tools/ATP/recon_order_clauses.ML
changeset 15919 b30a35432f5a
parent 15789 4cb16144c81b
child 16061 8a139c1557bf
equal deleted inserted replaced
15918:6d6d3fabef02 15919:b30a35432f5a
   240 
   240 
   241 
   241 
   242                     (* resulting thm, clause-strs in spass order, vars *)
   242                     (* resulting thm, clause-strs in spass order, vars *)
   243 
   243 
   244 fun rearrange_clause thm res_strlist allvars = 
   244 fun rearrange_clause thm res_strlist allvars = 
   245                           let val isa_strlist = get_meta_lits thm
   245                           let val isa_strlist = get_meta_lits thm (* change this to use Jia's code to get same looking thing as isastrlist? *)
   246                               val (posns, symlist, not_symlist) = checkorder res_strlist isa_strlist allvars([],[],[])
   246                               val (posns, symlist, not_symlist) = checkorder res_strlist isa_strlist allvars([],[],[])
   247                               val symmed = apply_rule sym symlist thm
   247                               val symmed = apply_rule sym symlist thm
   248                               val not_symmed = apply_rule not_sym not_symlist symmed
   248                               val not_symmed = apply_rule not_sym not_symlist symmed
   249                                            
   249                                            
   250                           in
   250                           in