aboutsummaryrefslogtreecommitdiff
path: root/theories/Numbers/Cyclic/ZModulo
diff options
context:
space:
mode:
authorMaxime Dénès2018-11-13 16:39:54 +0100
committerMaxime Dénès2018-11-14 08:53:03 +0100
commiteeb1d861551e25c6a92721334b3c9f36b7ebb012 (patch)
treee51a9b33352681751c8eb67ca37fd8d4bd3033e1 /theories/Numbers/Cyclic/ZModulo
parent94494770254bec236f2f6fe727ae42b79192afe4 (diff)
Deprecate hint declaration/removal with no specified database
Previously, hints added without a specified database where implicitly put in the "core" database, which was discouraged by the user manual (because of the lack of modularity of this approach).
Diffstat (limited to 'theories/Numbers/Cyclic/ZModulo')
-rw-r--r--theories/Numbers/Cyclic/ZModulo/ZModulo.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/theories/Numbers/Cyclic/ZModulo/ZModulo.v b/theories/Numbers/Cyclic/ZModulo/ZModulo.v
index 784e81758c..4bcd22543f 100644
--- a/theories/Numbers/Cyclic/ZModulo/ZModulo.v
+++ b/theories/Numbers/Cyclic/ZModulo/ZModulo.v
@@ -60,7 +60,7 @@ Section ZModulo.
apply Z.lt_gt.
unfold wB, base; auto with zarith.
Qed.
- Hint Resolve wB_pos.
+ Hint Resolve wB_pos : core.
Lemma spec_to_Z_1 : forall x, 0 <= [|x|].
Proof.
@@ -71,7 +71,7 @@ Section ZModulo.
Proof.
unfold to_Z; intros; destruct (Z_mod_lt x wB wB_pos); auto.
Qed.
- Hint Resolve spec_to_Z_1 spec_to_Z_2.
+ Hint Resolve spec_to_Z_1 spec_to_Z_2 : core.
Lemma spec_to_Z : forall x, 0 <= [|x|] < wB.
Proof.
@@ -732,7 +732,7 @@ Section ZModulo.
Proof.
induction p; simpl; auto with zarith.
Qed.
- Hint Resolve Ptail_pos.
+ Hint Resolve Ptail_pos : core.
Lemma Ptail_bounded : forall p d, Zpos p < 2^(Zpos d) -> Ptail p < Zpos d.
Proof.