From 3e6d3a9a35660e32c478ac8e5da5e76d25c905b5 Mon Sep 17 00:00:00 2001 From: letouzey Date: Fri, 6 Jul 2012 17:39:58 +0000 Subject: Minor fixes in the test-suite after my recent commits git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15542 85f007b7-540e-0410-9357-904b9bb8a0f7 --- test-suite/complexity/ring2.v | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test-suite/complexity') diff --git a/test-suite/complexity/ring2.v b/test-suite/complexity/ring2.v index c3634f640..52dae265b 100644 --- a/test-suite/complexity/ring2.v +++ b/test-suite/complexity/ring2.v @@ -3,7 +3,7 @@ Require Import BinInt Zbool. -Definition Z.add x y := +Definition Zadd x y := match x with | 0%Z => y | Zpos x' => @@ -30,9 +30,10 @@ match x with end end. + Require Import Ring. -Lemma Zth : ring_theory Z0 (Zpos xH) Z.add Z.mul Z.sub Z.opp (@eq Z). +Lemma Zth : ring_theory Z0 (Zpos xH) Zadd Z.mul Z.sub Z.opp (@eq Z). Admitted. Ltac Zcst t := @@ -45,7 +46,7 @@ Add Ring Zr : Zth (decidable Zeq_bool_eq, constants [Zcst]). Open Scope Z_scope. -Infix "+" := Z.add : Z_scope. +Infix "+" := Zadd : 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. -- cgit v1.2.3