X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fstatic%2Ffrees_append.ma;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fstatic%2Ffrees_append.ma;h=0000000000000000000000000000000000000000;hb=ff612dc35167ec0c145864c9aa8ae5e1ebe20a48;hp=9cf6bfe1959abddebfa34ce867c0b7bcb637ac43;hpb=222044da28742b24584549ba86b1805a87def070;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/static/frees_append.ma b/matita/matita/contribs/lambdadelta/basic_2/static/frees_append.ma deleted file mode 100644 index 9cf6bfe19..000000000 --- a/matita/matita/contribs/lambdadelta/basic_2/static/frees_append.ma +++ /dev/null @@ -1,59 +0,0 @@ -(**************************************************************************) -(* ___ *) -(* ||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 "basic_2/syntax/append.ma". -include "basic_2/static/frees.ma". - -(* CONTEXT-SENSITIVE FREE VARIABLES *****************************************) - -(* Properties with append for local environments ****************************) - -lemma frees_append_void: ∀f,K,T. K ⊢ 𝐅*⦃T⦄ ≘ f → ⓧ.K ⊢ 𝐅*⦃T⦄ ≘ f. -#f #K #T #H elim H -f -K -T -[ /2 width=1 by frees_sort/ -| #f * /3 width=1 by frees_atom, frees_unit, frees_lref/ -| /2 width=1 by frees_pair/ -| /2 width=1 by frees_unit/ -| /2 width=1 by frees_lref/ -| /2 width=1 by frees_gref/ -| /3 width=5 by frees_bind/ -| /3 width=5 by frees_flat/ -] -qed. - -(* Inversion lemmas with append for local environments **********************) - -fact frees_inv_append_void_aux: ∀f,L,T. L ⊢ 𝐅*⦃T⦄ ≘ f → - ∀K. L = ⓧ.K → K ⊢ 𝐅*⦃T⦄ ≘ f. -#f #L #T #H elim H -f -L -T -[ /2 width=1 by frees_sort/ -| #f #i #_ #K #H - elim (append_inv_atom3_sn … H) -H #H1 #H2 destruct -| #f #I #L #V #_ #IH #K #H - elim (append_inv_bind3_sn … H) -H * [ | #Y ] #H1 #H2 destruct - /3 width=1 by frees_pair/ -| #f #I #L #Hf #K #H - elim (append_inv_bind3_sn … H) -H * [ | #Y ] #H1 #H2 destruct - /2 width=1 by frees_atom, frees_unit/ -| #f #I #L #i #Hf #IH #K #H - elim (append_inv_bind3_sn … H) -H * [ | #Y ] #H1 #H2 destruct - /3 width=1 by frees_lref, frees_lref_push/ -| /2 width=1 by frees_gref/ -| /3 width=5 by frees_bind/ -| /3 width=5 by frees_flat/ -] -qed-. - -lemma frees_inv_append_void: ∀f,K,T. ⓧ.K ⊢ 𝐅*⦃T⦄ ≘ f → K ⊢ 𝐅*⦃T⦄ ≘ f. -/2 width=3 by frees_inv_append_void_aux/ qed-.