]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/library/Z/z.ma
more ex and more notation
[helm.git] / helm / software / matita / library / Z / z.ma
index ac530c38fe02b7df1766fd69ff93a637162131b0..31c3a7003bdffca309780ce3e38122712efe4368 100644 (file)
@@ -12,8 +12,6 @@
 (*                                                                        *)
 (**************************************************************************)
 
-set "baseuri" "cic:/matita/Z/z".
-
 include "datatypes/bool.ma".
 include "nat/nat.ma".
 
@@ -22,12 +20,14 @@ inductive Z : Set \def
 | pos : nat \to Z
 | neg : nat \to Z.
 
+interpretation "Integers" 'Z = Z.
+
 definition Z_of_nat \def
 \lambda n. match n with
 [ O \Rightarrow  OZ 
 | (S n)\Rightarrow  pos n].
 
-coercion cic:/matita/Z/z/Z_of_nat.con.
+coercion Z_of_nat.
 
 definition neg_Z_of_nat \def
 \lambda n. match n with