src/Pure/Proof/proof_rewrite_rules.ML
changeset 26463 9283b4185fdf
parent 26435 bdce320cd426
child 28806 ba0ffe4cfc2b
equal deleted inserted replaced
26462:dac4e2bce00d 26463:9283b4185fdf
   185 
   185 
   186       | rew' _ = NONE;
   186       | rew' _ = NONE;
   187   in rew' end;
   187   in rew' end;
   188 
   188 
   189 fun rprocs b = [("Pure/meta_equality", rew b)];
   189 fun rprocs b = [("Pure/meta_equality", rew b)];
   190 val _ = Context.>> (fold Proofterm.add_prf_rproc (rprocs false));
   190 val _ = Context.>> (Context.map_theory (fold Proofterm.add_prf_rproc (rprocs false)));
   191 
   191 
   192 
   192 
   193 (**** apply rewriting function to all terms in proof ****)
   193 (**** apply rewriting function to all terms in proof ****)
   194 
   194 
   195 fun rewrite_terms r =
   195 fun rewrite_terms r =