equal
deleted
inserted
replaced
301 in |
301 in |
302 |
302 |
303 val simproc_att = |
303 val simproc_att = |
304 (Args.context -- Scan.lift add_del) :|-- (fn (ctxt, decl) => |
304 (Args.context -- Scan.lift add_del) :|-- (fn (ctxt, decl) => |
305 Scan.repeat1 (Scan.lift (Args.named_attribute (decl o the_simproc ctxt o check_simproc ctxt)))) |
305 Scan.repeat1 (Scan.lift (Args.named_attribute (decl o the_simproc ctxt o check_simproc ctxt)))) |
306 >> (Library.apply o map Morphism.form); |
306 >> (fn atts => Thm.declaration_attribute (fn th => |
|
307 Library.apply (map (fn att => Thm.attribute_declaration (Morphism.form att) th) atts))); |
307 |
308 |
308 end; |
309 end; |
309 |
310 |
310 |
311 |
311 (* conversions *) |
312 (* conversions *) |