aboutsummaryrefslogtreecommitdiff
path: root/theories/Numbers/Cyclic/Abstract
diff options
context:
space:
mode:
authorletouzey2009-12-18 15:27:45 +0000
committerletouzey2009-12-18 15:27:45 +0000
commitbc1168a4aa0a336e9686b57cc29ec562aa379973 (patch)
treeae41cd7f6a7ce2961201f2f717008d92dd464b0b /theories/Numbers/Cyclic/Abstract
parent493c6773fdf846c887cf469e39e2e23aa438d1c9 (diff)
RelationPairs: stop loading it in all Numbers, stop maximal args with fst/snd
As a consequence, revert to some pedestrian proofs of Equivalence here and there, without the need for the Measure class. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12598 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Numbers/Cyclic/Abstract')
-rw-r--r--theories/Numbers/Cyclic/Abstract/NZCyclic.v4
1 files changed, 3 insertions, 1 deletions
diff --git a/theories/Numbers/Cyclic/Abstract/NZCyclic.v b/theories/Numbers/Cyclic/Abstract/NZCyclic.v
index da33059c95..e3c14879df 100644
--- a/theories/Numbers/Cyclic/Abstract/NZCyclic.v
+++ b/theories/Numbers/Cyclic/Abstract/NZCyclic.v
@@ -61,8 +61,10 @@ Ltac wsimpl :=
unfold eq, zero, succ, pred, add, sub, mul; autorewrite with w.
Ltac wcongruence := repeat red; intros; wsimpl; congruence.
-Instance znz_measure: Measure w_op.(znz_to_Z).
Instance eq_equiv : Equivalence eq.
+Proof.
+unfold eq. firstorder.
+Qed.
Instance succ_wd : Proper (eq ==> eq) succ.
Proof.