diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-05-06 09:28:53 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-05-06 09:28:53 +0000 |
commit | 27aa3faa775651b211b165fec6912cfad4313bef (patch) | |
tree | 66a2bab1dd7f6853072912b2f3cf741bde8aa785 /test-suite/success/fix.v | |
parent | 230a0753d657f5422108f3b1bd70fc1ae8416480 (diff) |
Fixes in the test-suite after modularisation of ZArith and co
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14114 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite/success/fix.v')
-rw-r--r-- | test-suite/success/fix.v | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test-suite/success/fix.v b/test-suite/success/fix.v index be4e06845..b25b502cf 100644 --- a/test-suite/success/fix.v +++ b/test-suite/success/fix.v @@ -9,13 +9,12 @@ Inductive rBoolOp : Set := | rAnd : rBoolOp | rEq : rBoolOp. -Definition rlt (a b : rNat) : Prop := - (a ?= b)%positive Datatypes.Eq = Datatypes.Lt. +Definition rlt (a b : rNat) : Prop := Pcompare a b Eq = Lt. Definition rltDec : forall m n : rNat, {rlt m n} + {rlt n m \/ m = n}. intros n m; generalize (nat_of_P_lt_Lt_compare_morphism n m); generalize (nat_of_P_gt_Gt_compare_morphism n m); - generalize (Pcompare_Eq_eq n m); case ((n ?= m)%positive Datatypes.Eq). + generalize (Pcompare_Eq_eq n m); case (Pcompare n m Eq). intros H' H'0 H'1; right; right; auto. intros H' H'0 H'1; left; unfold rlt in |- *. apply nat_of_P_lt_Lt_compare_complement_morphism; auto. |