diff options
| author | Anton Trunov | 2018-11-26 14:48:50 +0100 |
|---|---|---|
| committer | Anton Trunov | 2018-12-11 12:13:06 +0100 |
| commit | 2e6e0001f8215e3c42f2557df42e0d6486035c07 (patch) | |
| tree | 10e3129f0584233d7fb825973794b517371c6024 /mathcomp/ssreflect/div.v | |
| parent | 316cca94aef28c2023cd823c588b140e13d0aded (diff) | |
Fix some new warnings emitted by Coq 8.10:
```
Warning: Adding and removing hints in the core database implicitly is
deprecated. Please specify a hint database.
[implicit-core-hint-db,deprecated]
```
Diffstat (limited to 'mathcomp/ssreflect/div.v')
| -rw-r--r-- | mathcomp/ssreflect/div.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mathcomp/ssreflect/div.v b/mathcomp/ssreflect/div.v index ed1eedf..80c9312 100644 --- a/mathcomp/ssreflect/div.v +++ b/mathcomp/ssreflect/div.v @@ -327,7 +327,7 @@ Proof. by case/dvdnP=> n' ->; rewrite /dvdn mulnA modnMl. Qed. Lemma dvdn_mulr d m n : d %| m -> d %| m * n. Proof. by move=> d_m; rewrite mulnC dvdn_mull. Qed. -Hint Resolve dvdn0 dvd1n dvdnn dvdn_mull dvdn_mulr. +Hint Resolve dvdn0 dvd1n dvdnn dvdn_mull dvdn_mulr : core. Lemma dvdn_mul d1 d2 m1 m2 : d1 %| m1 -> d2 %| m2 -> d1 * d2 %| m1 * m2. Proof. @@ -462,7 +462,7 @@ case: m => //= m; elim: n => //= n IHn; rewrite ltnS leq_eqVlt. by case/predU1P=> [-> | /IHn]; [apply: dvdn_mulr | apply: dvdn_mull]. Qed. -Hint Resolve dvdn_add dvdn_sub dvdn_exp. +Hint Resolve dvdn_add dvdn_sub dvdn_exp : core. Lemma eqn_mod_dvd d m n : n <= m -> (m == n %[mod d]) = (d %| m - n). Proof. |
