X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Freduction%2Fcpx_cix.ma;h=196cdadb0c166dca783e14a3d6b210ac53ed3051;hb=2ba2dc23443ad764adab652e06d6f5ed10bd912d;hp=7567f9f9c580f3b5b85bc123f493b253dbb91295;hpb=f62eeb3c7824564ccbe4fff6e75ddee46ca39cc0;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/reduction/cpx_cix.ma b/matita/matita/contribs/lambdadelta/basic_2/reduction/cpx_cix.ma index 7567f9f9c..196cdadb0 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/reduction/cpx_cix.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/reduction/cpx_cix.ma @@ -19,35 +19,34 @@ include "basic_2/reduction/cpx.ma". (* Advanced forward lemmas on context-sensitive extended irreducible terms **) -lemma cpx_fwd_cix: ∀h,g,L,T1,T2. ⦃h, L⦄ ⊢ T1 ➡[g] T2 → ⦃h, L⦄ ⊢ 𝐈[g]⦃T1⦄ → T2 = T1. -#h #g #L #T1 #T2 #H elim H -L -T1 -T2 +lemma cpx_fwd_cix: ∀h,g,G,L,T1,T2. ⦃G, L⦄ ⊢ T1 ➡[h, g] T2 → ⦃G, L⦄ ⊢ 𝐈[h, g]⦃T1⦄ → T2 = T1. +#h #g #G #L #T1 #T2 #H elim H -G -L -T1 -T2 [ // -| #L #k #l #Hkl #H elim (cix_inv_sort … Hkl H) -| #I #L #K #V1 #V2 #W2 #i #HLK #_ #HVW2 #IHV12 #H +| #G #L #k #l #Hkl #H elim (cix_inv_sort … Hkl H) +| #I #G #L #K #V1 #V2 #W2 #i #HLK #_ #HVW2 #IHV12 #H elim (cix_inv_delta … HLK) // -| #a * #L #V1 #V2 #T1 #T2 #_ #_ #IHV1 #IHT1 #H +| #a * #G #L #V1 #V2 #T1 #T2 #_ #_ #IHV1 #IHT1 #H [ elim (cix_inv_bind … H) -H #HV1 #HT1 * #H destruct lapply (IHV1 … HV1) -IHV1 -HV1 #H destruct lapply (IHT1 … HT1) -IHT1 #H destruct // | elim (cix_inv_ib2 … H) -H /2 width=1/ /3 width=2/ ] -| * #L #V1 #V2 #T1 #T2 #_ #_ #IHV1 #IHT1 #H +| * #G #L #V1 #V2 #T1 #T2 #_ #_ #IHV1 #IHT1 #H [ elim (cix_inv_appl … H) -H #HV1 #HT1 #_ >IHV1 -IHV1 // -HV1 >IHT1 -IHT1 // | elim (cix_inv_ri2 … H) /2 width=1/ ] -| #L #V1 #T1 #T #T2 #_ #_ #_ #H +| #G #L #V1 #T1 #T #T2 #_ #_ #_ #H elim (cix_inv_ri2 … H) /2 width=1/ -| #L #V1 #T1 #T2 #_ #_ #H +| #G #L #V1 #T1 #T2 #_ #_ #H elim (cix_inv_ri2 … H) /2 width=1/ -| #L #V1 #V2 #T #_ #_ #H +| #G #L #V1 #V2 #T #_ #_ #H elim (cix_inv_ri2 … H) /2 width=1/ -| #a #L #V1 #V2 #W1 #W2 #T1 #T2 #_ #_ #_ #_ #_ #_ #H +| #a #G #L #V1 #V2 #W1 #W2 #T1 #T2 #_ #_ #_ #_ #_ #_ #H elim (cix_inv_appl … H) -H #_ #_ #H elim (simple_inv_bind … H) -| #a #L #V #V1 #V2 #W1 #W2 #T1 #T2 #_ #_ #_ #_ #_ #_ #_ #H +| #a #G #L #V #V1 #V2 #W1 #W2 #T1 #T2 #_ #_ #_ #_ #_ #_ #_ #H elim (cix_inv_appl … H) -H #_ #_ #H elim (simple_inv_bind … H) ] qed-. -