X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Frelocation%2Frtmap_tls.ma;h=dc277016d988cc390f35a700322d37d2dfd8f4c3;hb=984856dbab870ddc3156040df69b1f1846cc3aaf;hp=d461488409aa594d95b33472aed84e9754e3fae1;hpb=ad3d1cac216cf3882e4adf691b27c00838c6b9b1;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_tls.ma b/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_tls.ma index d46148840..dc277016d 100644 --- a/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_tls.ma +++ b/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_tls.ma @@ -13,29 +13,37 @@ (**************************************************************************) include "ground_2/notation/functions/droppreds_2.ma". +include "ground_2/relocation/rtmap_pushs.ma". include "ground_2/relocation/rtmap_tl.ma". (* RELOCATION MAP ***********************************************************) -let rec tls (f:rtmap) (n:nat) on n: rtmap ≝ match n with +rec definition tls (f:rtmap) (n:nat) on n: rtmap ≝ match n with [ O ⇒ f | S m ⇒ ⫱(tls f m) ]. interpretation "tls (rtmap)" 'DropPreds n f = (tls f n). (* Basic properties *********************************************************) -lemma tls_rew_O: ∀f. f = ⫱*[0] f. +lemma tls_O: ∀f. f = ⫱*[0] f. // qed. -lemma tls_rew_S: ∀f,n. ⫱ ⫱*[n] f = ⫱*[⫯n] f. +lemma tls_S: ∀f,n. ⫱ ⫱*[n] f = ⫱*[⫯n] f. // qed. lemma tls_eq_repl: ∀n. eq_repl (λf1,f2. ⫱*[n] f1 ≗ ⫱*[n] f2). #n elim n -n /3 width=1 by tl_eq_repl/ qed. -(* Advancedd properties *****************************************************) +(* Advanced properties ******************************************************) lemma tls_xn: ∀n,f. ⫱*[n] ⫱f = ⫱*[⫯n] f. #n elim n -n // qed. + +(* Properties with pushs ****************************************************) + +lemma tls_pushs: ∀n,f. f = ⫱*[n] ↑*[n] f. +#n elim n -n // +#n #IH #f