X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Frt_transition%2Fcpg_simple.ma;h=39228c24717bbe8b05d5d32ac0d0274b01d9c8e8;hp=61ade3e0de530d838c95f31d4334c033ede443e0;hb=ff612dc35167ec0c145864c9aa8ae5e1ebe20a48;hpb=c3904c007394068ed823575e3be3d73a9ad92cce diff --git a/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cpg_simple.ma b/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cpg_simple.ma index 61ade3e0d..39228c247 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cpg_simple.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cpg_simple.ma @@ -12,23 +12,22 @@ (* *) (**************************************************************************) -include "basic_2/relocation/drops.ma". +include "static_2/syntax/term_simple.ma". include "basic_2/rt_transition/cpg.ma". -(* CONTEXT-SENSITIVE GENERIC PARALLEL RT-TRANSITION FOR TERMS ***************) +(* BOUND CONTEXT-SENSITIVE PARALLEL RT-TRANSITION FOR TERMS *****************) -(* Properties with generic slicing for local environments *******************) +(* Properties with simple terms *********************************************) (* Note: the main property of simple terms *) -lemma cpg_inv_appl1_simple: ∀h,r,G,L,V1,T1,U. ⦃G, L⦄ ⊢ ⓐV1.T1 ➡[h, r] U → 𝐒⦃T1⦄ → - ∃∃V2,T2. ⦃G, L⦄ ⊢ V1 ➡[h, r] V2 & ⦃G, L⦄ ⊢ T1 ➡[h, r] T2 & - U = ⓐV2.T2. -#h #r #G #L #V1 #T1 #U #H #HT1 -elim (cpg_inv_appl1 … H) -H * -[ /2 width=5 by ex3_2_intro/ -| #a #V2 #W1 #W2 #U1 #U2 #_ #_ #_ #H #_ destruct +lemma cpg_inv_appl1_simple: ∀Rt,c,h,G,L,V1,T1,U. ⦃G, L⦄ ⊢ ⓐV1.T1 ⬈[Rt, c, h] U → 𝐒⦃T1⦄ → + ∃∃cV,cT,V2,T2. ⦃G, L⦄ ⊢ V1 ⬈[Rt, cV, h] V2 & ⦃G, L⦄ ⊢ T1 ⬈[Rt, cT, h] T2 & + U = ⓐV2.T2 & c = ((↕*cV)∨cT). +#Rt #c #h #G #L #V1 #T1 #U #H #HT1 elim (cpg_inv_appl1 … H) -H * +[ /2 width=8 by ex4_4_intro/ +| #cV #cW #cT #p #V2 #W1 #W2 #U1 #U2 #_ #_ #_ #H destruct elim (simple_inv_bind … HT1) -| #a #V #V2 #W1 #W2 #U1 #U2 #_ #_ #_ #_ #H #_ destruct +| #cV #cW #cT #p #V #V2 #W1 #W2 #U1 #U2 #_ #_ #_ #_ #H destruct elim (simple_inv_bind … HT1) ] qed-.