src/Pure/simplifier.ML
changeset 61853 fb7756087101
parent 61841 4d3527b94f2a
child 62913 13252110a6fe
equal deleted inserted replaced
61852:d273c24b5776 61853:fb7756087101
   307     Scan.succeed asm_full_simplify) |> Scan.lift) x;
   307     Scan.succeed asm_full_simplify) |> Scan.lift) x;
   308 
   308 
   309 in
   309 in
   310 
   310 
   311 val simplified = conv_mode -- Attrib.thms >>
   311 val simplified = conv_mode -- Attrib.thms >>
   312   (fn (f, ths) => Thm.rule_attribute (fn context =>
   312   (fn (f, ths) => Thm.rule_attribute ths (fn context =>
   313     f ((if null ths then I else Raw_Simplifier.clear_simpset)
   313     f ((if null ths then I else Raw_Simplifier.clear_simpset)
   314         (Context.proof_of context) addsimps ths)));
   314         (Context.proof_of context) addsimps ths)));
   315 
   315 
   316 end;
   316 end;
   317 
   317