aboutsummaryrefslogtreecommitdiff
path: root/theories/Reals
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-11-19 19:34:42 +0100
committerPierre-Marie Pédrot2018-11-19 19:34:42 +0100
commit22c0b10f139d9a30fcbe4a5a489022e2b94130e9 (patch)
treef4b84d2114aa4523aebf62f020ae46f4321fb10a /theories/Reals
parentba8e3caa31e464d1007c4ad54e8d70fd70ca3300 (diff)
parenteeb1d861551e25c6a92721334b3c9f36b7ebb012 (diff)
Merge PR #8987: Deprecate hint declaration/removal with no specified database
Diffstat (limited to 'theories/Reals')
-rw-r--r--theories/Reals/RIneq.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/theories/Reals/RIneq.v b/theories/Reals/RIneq.v
index 59a1049654..ec283b886e 100644
--- a/theories/Reals/RIneq.v
+++ b/theories/Reals/RIneq.v
@@ -1087,7 +1087,7 @@ Proof.
replace (r2 + r1 + - r2) with r1 by ring.
exact H.
Qed.
-Hint Resolve Ropp_gt_lt_contravar.
+Hint Resolve Ropp_gt_lt_contravar : core.
Lemma Ropp_lt_gt_contravar : forall r1 r2, r1 < r2 -> - r1 > - r2.
Proof.
@@ -1204,7 +1204,7 @@ Lemma Rmult_lt_compat_r : forall r r1 r2, 0 < r -> r1 < r2 -> r1 * r < r2 * r.
Proof.
intros; rewrite (Rmult_comm r1 r); rewrite (Rmult_comm r2 r); auto with real.
Qed.
-Hint Resolve Rmult_lt_compat_r.
+Hint Resolve Rmult_lt_compat_r : core.
Lemma Rmult_gt_compat_r : forall r r1 r2, r > 0 -> r1 > r2 -> r1 * r > r2 * r.
Proof. eauto using Rmult_lt_compat_r with rorders. Qed.