]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/contribs/CoRN-Decl/model/structures/Qsec.ma
few more files, one diverges
[helm.git] / helm / software / matita / contribs / CoRN-Decl / model / structures / Qsec.ma
index 9a8cb4f64011f9f764a54868d8309dc2218e3f3d..42d6e5671bad1c783814d38d2dab9cf8f5becdce 100644 (file)
@@ -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".