equal
deleted
inserted
replaced
205 fun standard_elim ctxt th = |
205 fun standard_elim ctxt th = |
206 (case Object_Logic.elim_concl ctxt th of |
206 (case Object_Logic.elim_concl ctxt th of |
207 SOME C => |
207 SOME C => |
208 let |
208 let |
209 val thesis = Var ((Auto_Bind.thesisN, Thm.maxidx_of th + 1), fastype_of C); |
209 val thesis = Var ((Auto_Bind.thesisN, Thm.maxidx_of th + 1), fastype_of C); |
210 val insts = (TVars.empty, Vars.make [(Term.dest_Var C, Thm.cterm_of ctxt thesis)]); |
210 val insts = (TVars.empty, Vars.make1 (Term.dest_Var C, Thm.cterm_of ctxt thesis)); |
211 val th' = Thm.instantiate insts th; |
211 val th' = Thm.instantiate insts th; |
212 in (th', true) end |
212 in (th', true) end |
213 | NONE => (th, false)); |
213 | NONE => (th, false)); |
214 |
214 |
215 fun thm_name ctxt kind th prts = |
215 fun thm_name ctxt kind th prts = |