equal
deleted
inserted
replaced
181 fun remove_alls frees thm = |
181 fun remove_alls frees thm = |
182 fold (inst_all (Thm.theory_of_thm thm)) frees thm |
182 fold (inst_all (Thm.theory_of_thm thm)) frees thm |
183 fun process_single ((name,atts),rew_imp,frees) args = |
183 fun process_single ((name,atts),rew_imp,frees) args = |
184 let |
184 let |
185 fun undo_imps thm = |
185 fun undo_imps thm = |
186 equal_elim (symmetric rew_imp) thm |
186 Thm.equal_elim (Thm.symmetric rew_imp) thm |
187 |
187 |
188 fun add_final (arg as (thy, thm)) = |
188 fun add_final (arg as (thy, thm)) = |
189 if name = "" |
189 if name = "" |
190 then arg |> Library.swap |
190 then arg |> Library.swap |
191 else (writeln (" " ^ name ^ ": " ^ Display.string_of_thm_global thy thm); |
191 else (writeln (" " ^ name ^ ": " ^ Display.string_of_thm_global thy thm); |