aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/Numbers/NatInt
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <mattam@mattam.org>2016-03-14 11:16:19 +0100
committerGravatar Matthieu Sozeau <mattam@mattam.org>2016-06-16 18:21:08 +0200
commitd4a421e57d74d305a797897f43ce216fb4c39719 (patch)
treee1f8d60abddc2b4d93844b7fca8400380e268f95 /theories/Numbers/NatInt
parent0767b8eace843ee45f2f3fc2b80a13ce6ed336c7 (diff)
Typeclasses: stdlib fixes for new search algorithm
Diffstat (limited to 'theories/Numbers/NatInt')
-rw-r--r--theories/Numbers/NatInt/NZGcd.v4
1 files changed, 3 insertions, 1 deletions
diff --git a/theories/Numbers/NatInt/NZGcd.v b/theories/Numbers/NatInt/NZGcd.v
index 1d3672943..7564c2061 100644
--- a/theories/Numbers/NatInt/NZGcd.v
+++ b/theories/Numbers/NatInt/NZGcd.v
@@ -60,7 +60,9 @@ Proof.
intros n. exists 0. now nzsimpl.
Qed.
-Hint Rewrite divide_1_l divide_0_r : nz.
+(* MS: These rewrites apply to any subterm of type Z, do not try
+ them automatically *)
+(* Hint Rewrite divide_1_l divide_0_r : nz. *)
Lemma divide_0_l : forall n, (0 | n) -> n==0.
Proof.