src/HOL/Integ/NatSimprocs.ML
changeset 9000 c20d58286a51
parent 8935 548901d05a0e
child 9436 62bb04ab4b01
equal deleted inserted replaced
8999:ad8260dc6e4a 9000:c20d58286a51
   285 Addsimprocs [Nat_Numeral_Simprocs.combine_numerals];
   285 Addsimprocs [Nat_Numeral_Simprocs.combine_numerals];
   286 
   286 
   287 
   287 
   288 (*examples:
   288 (*examples:
   289 print_depth 22;
   289 print_depth 22;
   290 set proof_timing;
   290 set timing;
   291 set trace_simp;
   291 set trace_simp;
   292 fun test s = (Goal s; by (Simp_tac 1)); 
   292 fun test s = (Goal s; by (Simp_tac 1)); 
   293 
   293 
   294 (*cancel_numerals*)
   294 (*cancel_numerals*)
   295 test "l +( #2) + (#2) + #2 + (l + #2) + (oo  + #2) = (uu::nat)";
   295 test "l +( #2) + (#2) + #2 + (l + #2) + (oo  + #2) = (uu::nat)";