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=3e125f3f873be05ec2cb811ffad33948db2dfa16;hp=f452902688aebfc2a977500512748fdeaa638244;hb=bd53c4e895203eb049e75434f638f26b5a161a2b;hpb=3b7b8afcb429a60d716d5226a5b6ab0d003228b1 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 f45290268..3e125f3f8 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/dynamic/nta_cpms.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/dynamic/nta_cpms.ma @@ -23,8 +23,8 @@ include "basic_2/dynamic/nta.ma". (* Basic_2A1: uses by definition nta_appl ntaa_appl *) lemma nta_appl_abst (h) (a) (p) (G) (L): ∀n. ad a n → - ∀V,W. ⦃G,L⦄ ⊢ V :[h,a] W → - ∀T,U. ⦃G,L.ⓛW⦄ ⊢ T :[h,a] U → ⦃G,L⦄ ⊢ ⓐV.ⓛ{p}W.T :[h,a] ⓐV.ⓛ{p}W.U. + ∀V,W. ❪G,L❫ ⊢ V :[h,a] W → + ∀T,U. ❪G,L.ⓛW❫ ⊢ T :[h,a] U → ❪G,L❫ ⊢ ⓐV.ⓛ[p]W.T :[h,a] ⓐV.ⓛ[p]W.U. #h #a #p #G #L #n #Ha #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 @@ -35,14 +35,14 @@ qed. (* Basic_2A1: was nta_appl_old *) lemma nta_appl (h) (a) (p) (G) (L): ∀n. 1 ≤ n → ad a n → - ∀V,W. ⦃G,L⦄ ⊢ V :[h,a] W → - ∀T,U. ⦃G,L⦄ ⊢ T :[h,a] ⓛ{p}W.U → ⦃G,L⦄ ⊢ ⓐV.T :[h,a] ⓐV.ⓛ{p}W.U. + ∀V,W. ❪G,L❫ ⊢ V :[h,a] W → + ∀T,U. ❪G,L❫ ⊢ T :[h,a] ⓛ[p]W.U → ❪G,L❫ ⊢ ⓐV.T :[h,a] ⓐV.ⓛ[p]W.U. #h #a #p #G #L #n #Hn #Ha #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 elim (cprs_conf … HWX1 … HW0) -HW0 #X0 #HX10 #HWX0 -@(cnv_cast … (ⓐV.ⓛ{p}W0.U0)) (**) (* full auto too slow *) +@(cnv_cast … (ⓐV.ⓛ[p]W0.U0)) (**) (* full auto too slow *) [ /2 width=11 by cnv_appl_ge/ | /3 width=11 by cnv_appl_ge, cpms_cprs_trans/ | /2 width=1 by cpms_appl_dx/ @@ -53,8 +53,8 @@ qed. (* Inversion lemmas with advanced rt_computation for terms ******************) lemma nta_inv_abst_bi_cnv (h) (a) (p) (G) (K) (W): - ∀T,U. ⦃G,K⦄ ⊢ ⓛ{p}W.T :[h,a] ⓛ{p}W.U → - ∧∧ ⦃G,K⦄ ⊢ W ![h,a] & ⦃G,K.ⓛW⦄ ⊢ T :[h,a] U. + ∀T,U. ❪G,K❫ ⊢ ⓛ[p]W.T :[h,a] ⓛ[p]W.U → + ∧∧ ❪G,K❫ ⊢ W ![h,a] & ❪G,K.ⓛW❫ ⊢ T :[h,a] U. #h #a #p #G #K #W #T #U #H elim (cnv_inv_cast … H) -H #X #HWU #HWT #HUX #HTX elim (cnv_inv_bind … HWU) -HWU #HW #HU