152 U.itlist (fn th => fn (So,Si,St) => |
152 U.itlist (fn th => fn (So,Si,St) => |
153 if (id_thm th) then (So, Si, th::St) else |
153 if (id_thm th) then (So, Si, th::St) else |
154 if (solved th) then (th::So, Si, St) |
154 if (solved th) then (th::So, Si, St) |
155 else (So, th::Si, St)) nested_tcs ([],[],[]) |
155 else (So, th::Si, St)) nested_tcs ([],[],[]) |
156 val simplified' = map join_assums simplified |
156 val simplified' = map join_assums simplified |
157 val rewr = rewrite (solved @ simplified' @ #simps(rep_ss ss)) |
157 val rewr = rewrite (solved @ simplified' @ |
|
158 #simps (Thm.dest_mss (#mss (rep_ss ss)))); |
158 val induction' = rewr induction |
159 val induction' = rewr induction |
159 and rules' = rewr rules |
160 and rules' = rewr rules |
160 val dummy = writeln "Postprocessing done." |
161 val dummy = writeln "Postprocessing done." |
161 in |
162 in |
162 {induction = induction', |
163 {induction = induction', |