From 72b9a7df489ea47b3e5470741fd39f6100d31676 Mon Sep 17 00:00:00 2001 From: Samuel Mimram Date: Sat, 18 Aug 2007 20:34:57 +0000 Subject: Imported Upstream version 8.1.pl1+dfsg --- theories/QArith/QArith_base.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'theories/QArith') diff --git a/theories/QArith/QArith_base.v b/theories/QArith/QArith_base.v index 66d16cfe..fc92c678 100644 --- a/theories/QArith/QArith_base.v +++ b/theories/QArith/QArith_base.v @@ -6,7 +6,7 @@ (* * GNU Lesser General Public License Version 2.1 *) (************************************************************************) -(*i $Id: QArith_base.v 9245 2006-10-17 12:53:34Z notin $ i*) +(*i $Id: QArith_base.v 9932 2007-07-02 14:31:33Z notin $ i*) Require Export ZArith. Require Export ZArithRing. @@ -38,8 +38,8 @@ Notation " 1 " := (1#1) : Q_scope. Definition Qeq (p q : Q) := (Qnum p * QDen q)%Z = (Qnum q * QDen p)%Z. Definition Qle (x y : Q) := (Qnum x * QDen y <= Qnum y * QDen x)%Z. Definition Qlt (x y : Q) := (Qnum x * QDen y < Qnum y * QDen x)%Z. -Notation Qgt := (fun x y : Q => Qlt y x). -Notation Qge := (fun x y : Q => Qle y x). +Notation Qgt := (fun a b : Q => Qlt b a). +Notation Qge := (fun a b : Q => Qle b a). Infix "==" := Qeq (at level 70, no associativity) : Q_scope. Infix "<" := Qlt : Q_scope. -- cgit v1.2.3