X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground%2Farith%2Fnat_plus.ma;h=a9894fc6285e7aaf7ec746ddfebacb208b91885e;hb=0bcf2dc1a27e38cb6cd3d44eb838d652926841e0;hp=f7d79ccdf3914095f44acde0d5689a4c48d6082c;hpb=21de0d35017656c5a55528390b54b0b2ae395b44;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground/arith/nat_plus.ma b/matita/matita/contribs/lambdadelta/ground/arith/nat_plus.ma index f7d79ccdf..a9894fc62 100644 --- a/matita/matita/contribs/lambdadelta/ground/arith/nat_plus.ma +++ b/matita/matita/contribs/lambdadelta/ground/arith/nat_plus.ma @@ -18,10 +18,10 @@ include "ground/arith/nat_succ_iter.ma". (*** plus *) definition nplus: nat → nat → nat ≝ - λm,n. nsucc^n m. + λm,n. (nsucc^n) m. interpretation - "plus (positive integers)" + "plus (non-negative integers)" 'plus m n = (nplus m n). (* Basic constructions ******************************************************) @@ -31,7 +31,7 @@ lemma nplus_zero_dx (m): m = m + 𝟎. // qed. (*** plus_SO_dx *) -lemma nplus_one_dx (n): ↑n = n + 𝟏. +lemma nplus_unit_dx (n): ↑n = n + 𝟏. // qed. (*** plus_n_Sm *) @@ -42,20 +42,22 @@ qed. (* Constructions with niter *************************************************) (*** iter_plus *) -lemma niter_plus (A) (f) (a) (n1) (n2): - f^n1 (f^n2 a) = f^{A}(n1+n2) a. -#A #f #a #n1 #n2 @(nat_ind_succ … n2) -n2 // -#n2 #IH nplus_assoc >nplus_assoc