aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/complexity/ring2.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/complexity/ring2.v')
-rw-r--r--test-suite/complexity/ring2.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/test-suite/complexity/ring2.v b/test-suite/complexity/ring2.v
index 6945edc88..c3634f640 100644
--- a/test-suite/complexity/ring2.v
+++ b/test-suite/complexity/ring2.v
@@ -3,7 +3,7 @@
Require Import BinInt Zbool.
-Definition Zplus x y :=
+Definition Z.add x y :=
match x with
| 0%Z => y
| Zpos x' =>
@@ -32,7 +32,7 @@ end.
Require Import Ring.
-Lemma Zth : ring_theory Z0 (Zpos xH) Zplus Zmult Zminus Zopp (@eq Z).
+Lemma Zth : ring_theory Z0 (Zpos xH) Z.add Z.mul Z.sub Z.opp (@eq Z).
Admitted.
Ltac Zcst t :=
@@ -45,7 +45,7 @@ Add Ring Zr : Zth
(decidable Zeq_bool_eq, constants [Zcst]).
Open Scope Z_scope.
-Infix "+" := Zplus : Z_scope.
+Infix "+" := Z.add : Z_scope.
Goal forall a, a+a+a+a+a+a+a+a+a+a+a+a+a = a*13.
Timeout 5 Time intro; ring.