X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fdynamic%2Fcnv_cpce.ma;h=b9b6560fb9515f36f6e7891e9d9fdea2a2cd5611;hb=48bd1f41417fb167a100eb1613a64a711484b69a;hp=4b6cb48d310781f73cf3fe74011cd9d6d02ed31f;hpb=bac74b5cff042d37e1abc9c961a6c41094b8a294;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/dynamic/cnv_cpce.ma b/matita/matita/contribs/lambdadelta/basic_2/dynamic/cnv_cpce.ma index 4b6cb48d3..b9b6560fb 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/dynamic/cnv_cpce.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/dynamic/cnv_cpce.ma @@ -12,16 +12,18 @@ (* *) (**************************************************************************) +include "basic_2/rt_computation/cpmuwe_cpmuwe.ma". include "basic_2/rt_conversion/cpce_drops.ma". -include "basic_2/dynamic/cnv_cpmhe.ma". +include "basic_2/dynamic/cnv_cpmuwe.ma". (* CONTEXT-SENSITIVE NATIVE VALIDITY FOR TERMS ******************************) (* Properties with context-sensitive parallel eta-conversion for terms ******) -lemma cpce_total_cnv (a) (h) (G) (L): - ∀T1. ⦃G,L⦄ ⊢ T1 ![a,h] → ∃T2. ⦃G,L⦄ ⊢ T1 ⬌η[h] T2. -#a #h #G #L #T1 #HT1 +axiom cpce_total_cnv (h) (a) (G) (L): + ∀T1. ⦃G,L⦄ ⊢ T1 ![h,a] → ∃T2. ⦃G,L⦄ ⊢ T1 ⬌η[h] T2. +(* +#h #a #G #L #T1 #HT1 lapply (cnv_fwd_csx … HT1) #H generalize in match HT1; -HT1 @(csx_ind_fpbg … H) -G -L -T1 @@ -31,10 +33,10 @@ generalize in match HT1; -HT1 elim (drops_ldec_dec L i) [ * #K #W #HLK | -H1i -IH #HnX ] [ lapply (cnv_inv_lref_pair … H2i … HLK) -H2i #H2W lapply (csx_inv_lref_pair_drops … HLK H1i) -H1i #H1W - elim (cpmhe_total_csx … H1W) -H1W #X #n #HWX + elim (cpmuwe_total_csx … H1W) -H1W #X #n #HWX elim (abst_dec X) [ * | -IH ] [ #p #V1 #U #H destruct - lapply (cpmhe_fwd_cpms … HWX) -HWX #HWX + lapply (cpmuwe_fwd_cpms … HWX) -HWX #HWX elim (IH G K V1) -IH [ #V2 #HV12 elim (lifts_total V2 (𝐔❴↑i❵)) #W2 #HVW2 @@ -46,9 +48,9 @@ generalize in match HT1; -HT1 @(ex_intro … (#i)) @cpce_zero_drops #n0 #p #K0 #W0 #V0 #U0 #HLK0 #HWU0 lapply (drops_mono … HLK0 … HLK) -i -L #H destruct - lapply (cpmhe_abst … HWU0) -HWU0 #HWU0 - elim (cnv_cpmhe_mono … H2W … HWU0 … HWX) #_ #H -a -n -n0 -W - elim (theq_inv_pair1 … H) -V0 -U0 #V0 #U0 #H destruct + lapply (cpmuwe_abst … HWU0) -HWU0 #HWU0 + elim (cnv_cpmuwe_mono … H2W … HWU0 … HWX) #_ #H -a -n -n0 -W + elim (tweq_inv_abst_sn … H) -V0 -U0 #V0 #U0 #H destruct /2 width=4 by/ ] | /5 width=3 by cpce_zero_drops, ex1_2_intro, ex_intro/ @@ -66,3 +68,4 @@ generalize in match HT1; -HT1 /3 width=2 by cpce_flat, ex_intro/ ] qed-. +*)