X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Flibrary%2FZ%2Fz.ma;h=31c3a7003bdffca309780ce3e38122712efe4368;hb=0137a346eaaf9ae7a0b23c7a3b4c6628073b7dfb;hp=6b750c44c2d7d747b06b0e05b6a828e6752d8699;hpb=9eabe046c1182960de8cfdba96c5414224e3a61e;p=helm.git diff --git a/helm/software/matita/library/Z/z.ma b/helm/software/matita/library/Z/z.ma index 6b750c44c..31c3a7003 100644 --- a/helm/software/matita/library/Z/z.ma +++ b/helm/software/matita/library/Z/z.ma @@ -20,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