diff options
Diffstat (limited to 'theories/Arith')
-rw-r--r-- | theories/Arith/Compare_dec.v | 2 | ||||
-rw-r--r-- | theories/Arith/Mult.v | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/theories/Arith/Compare_dec.v b/theories/Arith/Compare_dec.v index f6801da20..d7dd987fb 100644 --- a/theories/Arith/Compare_dec.v +++ b/theories/Arith/Compare_dec.v @@ -202,7 +202,7 @@ Lemma nat_compare_spec : forall x y, CompareSpec (x=y) (x<y) (y<x) (nat_compare x y). Proof. intros. - destruct (nat_compare x y) as [ ]_eqn; constructor. + destruct (nat_compare x y) eqn:?; constructor. apply nat_compare_eq; auto. apply <- nat_compare_lt; auto. apply <- nat_compare_gt; auto. diff --git a/theories/Arith/Mult.v b/theories/Arith/Mult.v index 0c44cfaf1..f779e0772 100644 --- a/theories/Arith/Mult.v +++ b/theories/Arith/Mult.v @@ -73,7 +73,7 @@ Qed. Lemma mult_minus_distr_r : forall n m p, (n - m) * p = n * p - m * p. Proof. - intros; induction n m using nat_double_ind; simpl; auto with arith. + intros; induction n, m using nat_double_ind; simpl; auto with arith. rewrite <- minus_plus_simpl_l_reverse; auto with arith. Qed. Hint Resolve mult_minus_distr_r: arith v62. |