X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Frt_transition%2Fcnx_drops.ma;h=57cb5d216cd9bcd8be7636265486e67e8679ddc2;hb=3c7b4071a9ac096b02334c1d47468776b948e2de;hp=e532b364a13f277bc5087a985890f053f8cf0f81;hpb=db020b4218272e2e35641ce3bc3b0a9b3afda899;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cnx_drops.ma b/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cnx_drops.ma index e532b364a..57cb5d216 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cnx_drops.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cnx_drops.ma @@ -12,45 +12,48 @@ (* *) (**************************************************************************) -include "static_2/relocation/lifts_tdeq.ma". +include "static_2/relocation/lifts_teqx.ma". include "basic_2/rt_transition/cpx_drops.ma". include "basic_2/rt_transition/cnx.ma". -(* NORMAL TERMS FOR UNBOUND CONTEXT-SENSITIVE PARALLEL RT-TRANSITION ********) +(* NORMAL TERMS FOR EXTENDED CONTEXT-SENSITIVE PARALLEL RT-TRANSITION *******) (* Properties with generic slicing ******************************************) -lemma cnx_lref_atom: ∀h,G,L,i. ⬇*[i] L ≘ ⋆ → ⦃G,L⦄ ⊢ ⬈[h] 𝐍⦃#i⦄. -#h #G #L #i #Hi #X #H elim (cpx_inv_lref1_drops … H) -H // * +lemma cnx_lref_atom (G) (L): + ∀i. ⇩[i] L ≘ ⋆ → ❪G,L❫ ⊢ ⬈𝐍 #i. +#G #L #i #Hi #X #H elim (cpx_inv_lref1_drops … H) -H // * #I #K #V1 #V2 #HLK lapply (drops_mono … Hi … HLK) -L #H destruct qed. -lemma cnx_lref_unit: ∀h,I,G,L,K,i. ⬇*[i] L ≘ K.ⓤ{I} → ⦃G,L⦄ ⊢ ⬈[h] 𝐍⦃#i⦄. -#h #I #G #L #K #i #HLK #X #H elim (cpx_inv_lref1_drops … H) -H // * +lemma cnx_lref_unit (G) (L): + ∀I,K,i. ⇩[i] L ≘ K.ⓤ[I] → ❪G,L❫ ⊢ ⬈𝐍 #i. +#G #L #I #K #i #HLK #X #H elim (cpx_inv_lref1_drops … H) -H // * #Z #Y #V1 #V2 #HLY lapply (drops_mono … HLK … HLY) -L #H destruct qed. (* Basic_2A1: includes: cnx_lift *) -lemma cnx_lifts: ∀h,G. d_liftable1 … (cnx h G). -#h #G #K #T #HT #b #f #L #HLK #U #HTU #U0 #H +lemma cnx_lifts (G): d_liftable1 … (cnx G). +#G #K #T #HT #b #f #L #HLK #U #HTU #U0 #H elim (cpx_inv_lifts_sn … H … HLK … HTU) -b -L #T0 #HTU0 #HT0 -lapply (HT … HT0) -G -K /2 width=6 by tdeq_lifts_bi/ +lapply (HT … HT0) -G -K /2 width=6 by teqx_lifts_bi/ qed-. (* Inversion lemmas with generic slicing ************************************) (* Basic_2A1: was: cnx_inv_delta *) -lemma cnx_inv_lref_pair: ∀h,I,G,L,K,V,i. ⬇*[i] L ≘ K.ⓑ{I}V → ⦃G,L⦄ ⊢ ⬈[h] 𝐍⦃#i⦄ → ⊥. -#h #I #G #L #K #V #i #HLK #H -elim (lifts_total V (𝐔❴↑i❵)) #W #HVW +lemma cnx_inv_lref_pair (G) (L): + ∀I,K,V,i. ⇩[i] L ≘ K.ⓑ[I]V → ❪G,L❫ ⊢ ⬈𝐍 #i → ⊥. +#G #L #I #K #V #i #HLK #H +elim (lifts_total V (𝐔❨↑i❩)) #W #HVW lapply (H W ?) -H /2 width=7 by cpx_delta_drops/ -HLK -#H lapply (tdeq_inv_lref1 … H) -H #H destruct +#H lapply (teqx_inv_lref1 … H) -H #H destruct /2 width=5 by lifts_inv_lref2_uni_lt/ qed-. (* Basic_2A1: includes: cnx_inv_lift *) -lemma cnx_inv_lifts: ∀h,G. d_deliftable1 … (cnx h G). -#h #G #L #U #HU #b #f #K #HLK #T #HTU #T0 #H +lemma cnx_inv_lifts (G): d_deliftable1 … (cnx G). +#G #L #U #HU #b #f #K #HLK #T #HTU #T0 #H elim (cpx_lifts_sn … H … HLK … HTU) -b -K #U0 #HTU0 #HU0 -lapply (HU … HU0) -G -L /2 width=6 by tdeq_inv_lifts_bi/ +lapply (HU … HU0) -G -L /2 width=6 by teqx_inv_lifts_bi/ qed-.