]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/contribs/CoRN-Decl/model/structures/Qsec.ma
some theorems have been moved to more appropriate files in library.
[helm.git] / matita / contribs / CoRN-Decl / model / structures / Qsec.ma
index 8f677c178d23a3dc47d045d75b6a8a09d3a89d85..42d6e5671bad1c783814d38d2dab9cf8f5becdce 100644 (file)
@@ -16,7 +16,7 @@
 
 set "baseuri" "cic:/matita/CoRN-Decl/model/structures/Qsec".
 
-include "CoRN_notation.ma".
+include "CoRN.ma".
 
 (* $Id: Qsec.v,v 1.7 2004/04/08 08:20:35 lcf Exp $ *)
 
@@ -47,7 +47,7 @@ also define apartness, order, addition, multiplication, opposite,
 inverse an de constants 0 and 1.  *)
 
 (* UNEXPORTED
-Section Q.
+Section Q
 *)
 
 inline "cic:/CoRN/model/structures/Qsec/Q.ind".
@@ -71,7 +71,31 @@ inline "cic:/CoRN/model/structures/Qsec/QONE.con".
 inline "cic:/CoRN/model/structures/Qsec/Qinv.con".
 
 (* UNEXPORTED
-End Q.
+End Q
+*)
+
+(* NOTATION
+Infix "{=Q}" := Qeq (no associativity, at level 90).
+*)
+
+(* NOTATION
+Infix "{#Q}" := Qap (no associativity, at level 90).
+*)
+
+(* NOTATION
+Infix "{<Q}" := Qlt (no associativity, at level 90).
+*)
+
+(* NOTATION
+Infix "{+Q}" := Qplus (no associativity, at level 85).
+*)
+
+(* NOTATION
+Infix "{*Q}" := Qmult (no associativity, at level 80).
+*)
+
+(* NOTATION
+Notation "{-Q}" := Qopp (at level 1, left associativity).
 *)
 
 (*#* ***Constants
@@ -228,7 +252,7 @@ We consider the injection [inject_Z] from [Z] to [Q] as a coercion.
 
 inline "cic:/CoRN/model/structures/Qsec/inject_Z.con".
 
-coercion "cic:/matita/CoRN-Decl/model/structures/Qsec/inject_Z.con" 0 (* compounds *).
+coercion cic:/matita/CoRN-Decl/model/structures/Qsec/inject_Z.con 0 (* compounds *).
 
 inline "cic:/CoRN/model/structures/Qsec/injz_plus.con".