equal
deleted
inserted
replaced
269 val i = the_default 1 opt_i; |
269 val i = the_default 1 opt_i; |
270 val tc = nth tcs (i - 1) handle Subscript => |
270 val tc = nth tcs (i - 1) handle Subscript => |
271 error ("No termination condition #" ^ string_of_int i ^ |
271 error ("No termination condition #" ^ string_of_int i ^ |
272 " in recdef definition of " ^ quote name); |
272 " in recdef definition of " ^ quote name); |
273 in |
273 in |
274 Specification.theorem_i Thm.internalK NONE (K I) (bname, atts) |
274 Specification.theorem Thm.internalK NONE (K I) (bname, atts) |
275 [] (Element.Shows [(("", []), [(HOLogic.mk_Trueprop tc, [])])]) int lthy |
275 [] (Element.Shows [(("", []), [(HOLogic.mk_Trueprop tc, [])])]) int lthy |
276 end; |
276 end; |
277 |
277 |
278 val recdef_tc = gen_recdef_tc Attrib.intern_src Sign.intern_const; |
278 val recdef_tc = gen_recdef_tc Attrib.intern_src Sign.intern_const; |
279 val recdef_tc_i = gen_recdef_tc (K I) (K I); |
279 val recdef_tc_i = gen_recdef_tc (K I) (K I); |