src/Pure/simplifier.ML
changeset 45375 7fe19930dfc9
parent 45326 8fa859aebc0d
child 45620 f2a587696afb
equal deleted inserted replaced
45374:e99fd663c4a3 45375:7fe19930dfc9
   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 *)