equal
deleted
inserted
replaced
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 |