src/ZF/int_arith.ML
changeset 32957 675c0c7e6a37
parent 32155 e2bf2f73b0c8
child 35020 862a20ffa8e2
equal deleted inserted replaced
32956:c39860141415 32957:675c0c7e6a37
   110 (*To let us treat subtraction as addition*)
   110 (*To let us treat subtraction as addition*)
   111 val diff_simps = [@{thm zdiff_def}, @{thm zminus_zadd_distrib}, @{thm zminus_zminus}];
   111 val diff_simps = [@{thm zdiff_def}, @{thm zminus_zadd_distrib}, @{thm zminus_zminus}];
   112 
   112 
   113 (*push the unary minus down: - x * y = x * - y *)
   113 (*push the unary minus down: - x * y = x * - y *)
   114 val int_minus_mult_eq_1_to_2 =
   114 val int_minus_mult_eq_1_to_2 =
   115     [@{thm zmult_zminus}, @{thm zmult_zminus_right} RS sym] MRS trans |> standard;
   115     [@{thm zmult_zminus}, @{thm zmult_zminus_right} RS sym] MRS trans |> Drule.standard;
   116 
   116 
   117 (*to extract again any uncancelled minuses*)
   117 (*to extract again any uncancelled minuses*)
   118 val int_minus_from_mult_simps =
   118 val int_minus_from_mult_simps =
   119     [@{thm zminus_zminus}, @{thm zmult_zminus}, @{thm zmult_zminus_right}];
   119     [@{thm zminus_zminus}, @{thm zmult_zminus}, @{thm zmult_zminus_right}];
   120 
   120