diff options
author | Samuel Mimram <smimram@debian.org> | 2007-08-18 20:34:57 +0000 |
---|---|---|
committer | Samuel Mimram <smimram@debian.org> | 2007-08-18 20:34:57 +0000 |
commit | 72b9a7df489ea47b3e5470741fd39f6100d31676 (patch) | |
tree | 60108a573d2a80d2dd4e3833649890e32427ff8d /theories/QArith | |
parent | 55ce117e8083477593cf1ff2e51a3641c7973830 (diff) |
Imported Upstream version 8.1.pl1+dfsgupstream/8.1.pl1+dfsg
Diffstat (limited to 'theories/QArith')
-rw-r--r-- | theories/QArith/QArith_base.v | 6 |
1 files changed, 3 insertions, 3 deletions
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. |