X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Flibrary%2FZ%2Ftimes.ma;h=eefe4af7ead7d2f818216c44c6c9174fe298ccad;hb=8ae1653eb75d2b57c50e077c49cb9d078313ea9d;hp=c81c0dfca85537d72f218c8c0eab8a66dfb5368a;hpb=7a116453d799657958e32693be28d18a5aab84fc;p=helm.git diff --git a/helm/software/matita/library/Z/times.ma b/helm/software/matita/library/Z/times.ma index c81c0dfca..eefe4af7e 100644 --- a/helm/software/matita/library/Z/times.ma +++ b/helm/software/matita/library/Z/times.ma @@ -12,8 +12,6 @@ (* *) (**************************************************************************) -set "baseuri" "cic:/matita/Z/times". - include "nat/lt_arith.ma". include "Z/plus.ma". @@ -32,8 +30,7 @@ definition Ztimes :Z \to Z \to Z \def | (pos n) \Rightarrow (neg (pred ((S m) * (S n)))) | (neg n) \Rightarrow (pos (pred ((S m) * (S n))))]]. -(*CSC: the URI must disappear: there is a bug now *) -interpretation "integer times" 'times x y = (cic:/matita/Z/times/Ztimes.con x y). +interpretation "integer times" 'times x y = (Ztimes x y). theorem Ztimes_z_OZ: \forall z:Z. z*OZ = OZ. intro.elim z. @@ -251,13 +248,3 @@ qed. variant distr_Ztimes_Zplus: \forall x,y,z. x * (y + z) = x*y + x*z \def distributive_Ztimes_Zplus. - -theorem eq_plus_Zplus: \forall n,m:nat. Z_of_nat (n+m) = -Z_of_nat n + Z_of_nat m. -intro.cases n;intro - [reflexivity - |cases m - [simplify.rewrite < plus_n_O.reflexivity - |simplify.reflexivity. - ]] -qed.