X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Frelocation%2Frtmap_uni.ma;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Frelocation%2Frtmap_uni.ma;h=5f45b1f2889ff777a82f174b8e262e402cd591b7;hb=9a023f554e56d6edbbb2eeaf17ce61e31857ef4a;hp=0000000000000000000000000000000000000000;hpb=e28ddccd4096c80b2090ca78af00e2590f629b71;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_uni.ma b/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_uni.ma new file mode 100644 index 000000000..5f45b1f28 --- /dev/null +++ b/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_uni.ma @@ -0,0 +1,101 @@ +(**************************************************************************) +(* ___ *) +(* ||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_2/notation/functions/uniform_1.ma". +include "ground_2/relocation/rtmap_id.ma". +include "ground_2/relocation/rtmap_isuni.ma". + +(* RELOCATION MAP ***********************************************************) + +rec definition uni (n:nat) on n: rtmap ≝ match n with +[ O ⇒ 𝐈𝐝 +| S n ⇒ ⫯(uni n) +]. + +interpretation "uniform relocation (rtmap)" + 'Uniform n = (uni n). + +(* Basic properties *********************************************************) + +lemma uni_zero: 𝐈𝐝 = 𝐔❴0❵. +// qed. + +lemma uni_succ: ∀n. ⫯𝐔❴n❵ = 𝐔❴⫯n❵. +// qed. + +(* Basic inversion lemmas ***************************************************) + +lemma uni_inv_push_dx: ∀f,n. 𝐔❴n❵ ≗ ↑f → 0 = n ∧ 𝐈𝐝 ≗ f. +#f * /3 width=5 by eq_inv_pp, conj/ +#n