X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Frelocation%2Frtmap_tls.ma;h=44a3aba2eb5e8346a77c301e10d4bc1c97d0d1d6;hb=1fd63df4c77f5c24024769432ea8492748b4ac79;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..44a3aba2e 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). +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. +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