From: Ferruccio Guidi Date: Wed, 16 Feb 2022 22:42:18 +0000 (+0100) Subject: update in ground X-Git-Tag: make_still_working~87 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=be152b5436a8e1e107684722be834dbe02196d53;p=helm.git update in ground + some additions and corrections --- diff --git a/matita/matita/contribs/lambdadelta/ground/arith/nat_rplus_pplus.ma b/matita/matita/contribs/lambdadelta/ground/arith/nat_rplus_pplus.ma index 314a1fd17..661da6d71 100644 --- a/matita/matita/contribs/lambdadelta/ground/arith/nat_rplus_pplus.ma +++ b/matita/matita/contribs/lambdadelta/ground/arith/nat_rplus_pplus.ma @@ -13,7 +13,7 @@ (**************************************************************************) include "ground/arith/pnat_plus.ma". -include "ground/arith/nat_rplus.ma". +include "ground/arith/nat_rplus_succ.ma". (* RIGHT ADDITION FOR NON-NEGATIVE INTEGERS *********************************) @@ -22,3 +22,10 @@ include "ground/arith/nat_rplus.ma". lemma nrplus_inj_dx (p) (q): p + q = p + ninj q. // qed. + +lemma nrplus_pplus_assoc (p,q:pnat) (n:nat): + (p+q)+n = p+(q+n). +#p #q #n +@(nat_ind_succ … n) -n // #n #IH +