X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fdynamic%2Fnta_cpms.ma;h=1cdaf8c46b3b86e3702c267ccbbd4d5453ed4dec;hp=71cc3f94e2cabd2a39632a44d190bfb39d765a9f;hb=084ea7868f6153effc18e8ee1c0e6cdb34d181c0;hpb=de3a41b9a4e51dc1b09adce800273adf5ffa1215 diff --git a/matita/matita/contribs/lambdadelta/basic_2/dynamic/nta_cpms.ma b/matita/matita/contribs/lambdadelta/basic_2/dynamic/nta_cpms.ma index 71cc3f94e..1cdaf8c46 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/dynamic/nta_cpms.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/dynamic/nta_cpms.ma @@ -21,21 +21,21 @@ include "basic_2/dynamic/nta.ma". (* Properties with rt_computation for terms *********************************) (* Basic_2A1: was by definition nta_appl ntaa_appl *) -lemma nta_beta (a) (h) (p) (G) (L): - ∀V,W. ⦃G,L⦄ ⊢ V :[a,h] W → - ∀T,U. ⦃G,L⦄ ⊢ ⓛ{p}W.T :[a,h] ⓛ{p}W.U → ⦃G,L⦄ ⊢ ⓐV.ⓛ{p}W.T :[a,h] ⓐV.ⓛ{p}W.U. -#a #h #p #G #L #V #W #H1 #T #U #H2 +lemma nta_beta (a) (h) (p) (G) (K): + ∀V,W. ⦃G,K⦄ ⊢ V :[a,h] W → + ∀T,U. ⦃G,K.ⓛW⦄ ⊢ T :[a,h] U → ⦃G,K⦄ ⊢ ⓐV.ⓛ{p}W.T :[a,h] ⓐV.ⓛ{p}W.U. +#a #h #p #G #K #V #W #H1 #T #U #H2 elim (cnv_inv_cast … H1) -H1 #X1 #HW #HV #HWX1 #HVX1 elim (cnv_inv_cast … H2) -H2 #X2 #HU #HT #HUX2 #HTX2 -/4 width=7 by cnv_cast, cnv_appl, cpms_bind, cpms_appl_dx/ +/4 width=7 by cnv_bind, cnv_appl, cnv_cast, cpms_appl_dx, cpms_bind_dx/ qed. (* Basic_1: was by definition: ty3_appl *) (* Basic_2A1: was nta_appl_old *) -lemma nta_appl (h) (p) (G) (L): - ∀V,W. ⦃G,L⦄ ⊢ V :[h] W → - ∀T,U. ⦃G,L⦄ ⊢ T :[h] ⓛ{p}W.U → ⦃G,L⦄ ⊢ ⓐV.T :[h] ⓐV.ⓛ{p}W.U. -#h #p #G #L #V #W #H1 #T #U #H2 +lemma nta_appl (a) (h) (p) (G) (L): + ∀V,W. ⦃G,L⦄ ⊢ V :[a,h] W → + ∀T,U. ⦃G,L⦄ ⊢ T :[a,h] ⓛ{p}W.U → ⦃G,L⦄ ⊢ ⓐV.T :[a,h] ⓐV.ⓛ{p}W.U. +#a #h #p #G #L #V #W #H1 #T #U #H2 elim (cnv_inv_cast … H1) -H1 #X1 #HW #HV #HWX1 #HVX1 elim (cnv_inv_cast … H2) -H2 #X2 #HU #HT #HUX2 #HTX2 elim (cpms_inv_abst_sn … HUX2) #W0 #U0 #HW0 #HU0 #H destruct