X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground%2Frelocation%2Fgr_nexts.ma;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground%2Frelocation%2Fgr_nexts.ma;h=ff1595ced29853389d4d27c3bcb8b6e02f7f2f4f;hb=55c768d7e45babb300b5010463ba3196a68f1bbe;hp=0000000000000000000000000000000000000000;hpb=15212e44902f25536f6e2de4bec4cedcd9a9804d;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground/relocation/gr_nexts.ma b/matita/matita/contribs/lambdadelta/ground/relocation/gr_nexts.ma new file mode 100644 index 000000000..ff1595ced --- /dev/null +++ b/matita/matita/contribs/lambdadelta/ground/relocation/gr_nexts.ma @@ -0,0 +1,51 @@ +(**************************************************************************) +(* ___ *) +(* ||M|| *) +(* ||A|| A project by Andrea Asperti *) +(* ||T|| *) +(* ||I|| Developers: *) +(* ||T|| The HELM team. *) +(* ||A|| http://helm.cs.unibo.it *) +(* \ / *) +(* \ / This file is distributed under the terms of the *) +(* v GNU General Public License Version 2 *) +(* *) +(**************************************************************************) + +include "ground/notation/functions/uparrowstar_2.ma". +include "ground/arith/nat_succ_iter.ma". +include "ground/relocation/gr_map.ma". + +(* ITERATED NEXT FOR GENERIC RELOCATION MAPS ***********************************************************) + +(*** nexts *) +definition gr_nexts (f:gr_map) (n:nat) ≝ + (gr_next^n) f. + +interpretation + "iterated next (generic relocation maps)" + 'UpArrowStar n f = (gr_nexts f n). + +(* Basic properties *********************************************************) + +(*** nexts_O *) +lemma gr_nexts_zero: + ∀f. f = ↑*[𝟎] f. +// qed. + +(*** nexts_swap *) +lemma gr_nexts_next (n): + ∀f. ↑↑*[n] f = ↑*[n] ↑f. +#f #n @(niter_appl … gr_next) +qed. + +(*** nexts_S *) +lemma gr_nexts_succ (n): + ∀f. ↑↑*[n] f = ↑*[↑n] f. +#f #n @(niter_succ … gr_next) +qed. + +(*** nexts_xn *) +lemma gr_nexts_swap (n): + ∀f. ↑*[n] ↑f = ↑*[↑n] f. +// qed.