X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Frt_computation%2Fcnuw_simple.ma;h=9c40e390bb3840a4925e2d433fc11a6657a57a23;hb=b118146b97959e6a6dde18fdd014b8e1e676a2d1;hp=d32e1b1d63109650b57f45718bf56593e00e5608;hpb=0fea4ed429678c3293027cfe76fdbe15cfa331cb;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/rt_computation/cnuw_simple.ma b/matita/matita/contribs/lambdadelta/basic_2/rt_computation/cnuw_simple.ma index d32e1b1d6..9c40e390b 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/rt_computation/cnuw_simple.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/rt_computation/cnuw_simple.ma @@ -12,34 +12,27 @@ (* *) (**************************************************************************) -include "static_2/syntax/tweq_simple.ma". +include "static_2/syntax/teqw_simple.ma". include "basic_2/rt_computation/cpms_cpms.ma". include "basic_2/rt_computation/cnuw.ma". (* NORMAL TERMS FOR T-UNUNBOUND WHD RT-TRANSITION ***************************) -(* Advanced forward lemma with with simple terms ****************************) -(* -lemma cnuw_fwd_appl_simple (h) (G) (L): - ∀V,T. ⦃G,L⦄ ⊢ ➡𝐍𝐖*[h] ⓐV.T → 𝐒⦃T⦄. -#h #G #L #V #T #HT -elim (simple_dec_ex T) [ // ] * #p #I #W #U #H destruct -*) (* Advanced properties with simple terms ************************************) lemma cnuw_appl_simple (h) (G) (L): - ∀V,T. 𝐒⦃T⦄ → ⦃G,L⦄ ⊢ ➡𝐍𝐖*[h] T → ⦃G,L⦄ ⊢ ➡𝐍𝐖*[h] ⓐV.T. + ∀V,T. 𝐒❪T❫ → ❪G,L❫ ⊢ ➡𝐍𝐖*[h] T → ❪G,L❫ ⊢ ➡𝐍𝐖*[h] ⓐV.T. #h #G #L #V1 #T1 #H1T1 #H2T1 #n #X #H elim (cpms_inv_appl_sn … H) -H * [ #V2 #T2 #_ #HT12 #H destruct -H1T1 - /3 width=2 by tweq_appl/ + /3 width=2 by teqw_appl/ | #n1 #n2 #p #V2 #T2 #HT12 #_ #_ -n -n2 lapply (H2T1 … HT12) -H2T1 -n1 #H - lapply (tweq_simple_trans … H H1T1) -H -H1T1 #H + lapply (teqw_simple_trans … H H1T1) -H -H1T1 #H elim (simple_inv_bind … H) | #n1 #n2 #p #V2 #W2 #W #T2 #_ #_ #HT12 #_ #_ -n -n2 -V2 -W2 lapply (H2T1 … HT12) -H2T1 -n1 #H - lapply (tweq_simple_trans … H H1T1) -H -H1T1 #H + lapply (teqw_simple_trans … H H1T1) -H -H1T1 #H elim (simple_inv_bind … H) ] qed.