equal
deleted
inserted
replaced
261 val i = the_default 1 opt_i; |
261 val i = the_default 1 opt_i; |
262 val tc = nth tcs (i - 1) handle Subscript => |
262 val tc = nth tcs (i - 1) handle Subscript => |
263 error ("No termination condition #" ^ string_of_int i ^ |
263 error ("No termination condition #" ^ string_of_int i ^ |
264 " in recdef definition of " ^ quote name); |
264 " in recdef definition of " ^ quote name); |
265 in |
265 in |
266 Specification.theorem Thm.internalK NONE (K I) (Binding.name bname, atts) |
266 Specification.theorem Thm.internalK NONE (K I) |
267 [] (Element.Shows [(Attrib.empty_binding, [(HOLogic.mk_Trueprop tc, [])])]) int lthy |
267 (Binding.conceal (Binding.name bname), atts) [] |
|
268 (Element.Shows [(Attrib.empty_binding, [(HOLogic.mk_Trueprop tc, [])])]) int lthy |
268 end; |
269 end; |
269 |
270 |
270 val recdef_tc = gen_recdef_tc Attrib.intern_src Sign.intern_const; |
271 val recdef_tc = gen_recdef_tc Attrib.intern_src Sign.intern_const; |
271 val recdef_tc_i = gen_recdef_tc (K I) (K I); |
272 val recdef_tc_i = gen_recdef_tc (K I) (K I); |
272 |
273 |