X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fstatic_2%2Frelocation%2Flifts_theq.ma;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fstatic_2%2Frelocation%2Flifts_theq.ma;h=0000000000000000000000000000000000000000;hb=0fea4ed429678c3293027cfe76fdbe15cfa331cb;hp=29abf85bafcbc85d98042834d319ca53c8205414;hpb=bac74b5cff042d37e1abc9c961a6c41094b8a294;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/static_2/relocation/lifts_theq.ma b/matita/matita/contribs/lambdadelta/static_2/relocation/lifts_theq.ma deleted file mode 100644 index 29abf85ba..000000000 --- a/matita/matita/contribs/lambdadelta/static_2/relocation/lifts_theq.ma +++ /dev/null @@ -1,70 +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 "static_2/syntax/theq.ma". -include "static_2/relocation/lifts_lifts.ma". - -(* GENERIC RELOCATION FOR TERMS *********************************************) - -(* Properties with tail sort-irrelevant head equivalence for terms **********) - -lemma theq_lifts_bi: liftable2_bi theq. -#T1 #T2 #H elim H -T1 -T2 [||| * ] -[ #s1 #s2 #f #X1 #H1 #X2 #H2 - >(lifts_inv_sort1 … H1) -H1 >(lifts_inv_sort1 … H2) -H2 - /1 width=1 by theq_sort/ -| #i #f #X1 #H1 #X2 #H2 - elim (lifts_inv_lref1 … H1) -H1 #j1 #Hj1 #H destruct - elim (lifts_inv_lref1 … H2) -H2 #j2 #Hj2 #H destruct - <(at_mono … Hj2 … Hj1) -i -f -j2 - /1 width=1 by theq_lref/ -| #l #f #X1 #H1 #X2 #H2 - >(lifts_inv_gref1 … H1) -H1 >(lifts_inv_gref1 … H2) -H2 - /1 width=1 by theq_gref/ -| #p #I #V1 #V2 #T1 #T2 #f #X1 #H1 #X2 #H2 - elim (lifts_inv_bind1 … H1) -H1 #W1 #U1 #_ #_ #H destruct - elim (lifts_inv_bind1 … H2) -H2 #W2 #U2 #_ #_ #H destruct - /1 width=1 by theq_pair/ -| #I #V1 #V2 #T1 #T2 #f #X1 #H1 #X2 #H2 - elim (lifts_inv_flat1 … H1) -H1 #W1 #U1 #_ #_ #H destruct - elim (lifts_inv_flat1 … H2) -H2 #W2 #U2 #_ #_ #H destruct - /1 width=1 by theq_pair/ -] -qed-. - -(* Inversion lemmas with tail sort-irrelevant head equivalence for terms ****) - -lemma theq_inv_lifts_bi: deliftable2_bi theq. -#U1 #U2 #H elim H -U1 -U2 [||| * ] -[ #s1 #s2 #f #X1 #H1 #X2 #H2 - >(lifts_inv_sort2 … H1) -H1 >(lifts_inv_sort2 … H2) -H2 - /1 width=1 by theq_sort/ -| #j #f #X1 #H1 #X2 #H2 - elim (lifts_inv_lref2 … H1) -H1 #i1 #Hj1 #H destruct - elim (lifts_inv_lref2 … H2) -H2 #i2 #Hj2 #H destruct - <(at_inj … Hj2 … Hj1) -j -f -i1 - /1 width=1 by theq_lref/ -| #l #f #X1 #H1 #X2 #H2 - >(lifts_inv_gref2 … H1) -H1 >(lifts_inv_gref2 … H2) -H2 - /1 width=1 by theq_gref/ -| #p #I #W1 #W2 #U1 #U2 #f #X1 #H1 #X2 #H2 - elim (lifts_inv_bind2 … H1) -H1 #V1 #T1 #_ #_ #H destruct - elim (lifts_inv_bind2 … H2) -H2 #V2 #T2 #_ #_ #H destruct - /1 width=1 by theq_pair/ -| #I #W1 #W2 #U1 #U2 #f #X1 #H1 #X2 #H2 - elim (lifts_inv_flat2 … H1) -H1 #V1 #T1 #_ #_ #H destruct - elim (lifts_inv_flat2 … H2) -H2 #V2 #T2 #_ #_ #H destruct - /1 width=1 by theq_pair/ -] -qed-.