X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Freduction%2Fcpr_cir.ma;h=5cee2e207a15f574b01d0f72b76a613a01a6b599;hb=b5d702735754632652b2659c425dd67d7f92f24b;hp=ee49679b71eac5148a86c5d9e12bcfcfa1dcb358;hpb=65008df95049eb835941ffea1aa682c9253c4c2b;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/reduction/cpr_cir.ma b/matita/matita/contribs/lambdadelta/basic_2/reduction/cpr_cir.ma index ee49679b7..5cee2e207 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/reduction/cpr_cir.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/reduction/cpr_cir.ma @@ -19,30 +19,30 @@ include "basic_2/reduction/cpr.ma". (* Advanced forward lemmas on context-sensitive irreducible terms ***********) -lemma cpr_fwd_cir: ∀L,T1,T2. L ⊢ T1 ➡ T2 → L ⊢ 𝐈⦃T1⦄ → T2 = T1. -#L #T1 #T2 #H elim H -L -T1 -T2 +lemma cpr_fwd_cir: ∀G,L,T1,T2. ⦃G, L⦄ ⊢ T1 ➡ T2 → ⦃G, L⦄ ⊢ 𝐈⦃T1⦄ → T2 = T1. +#G #L #T1 #T2 #H elim H -G -L -T1 -T2 [ // -| #L #K #V1 #V2 #W2 #i #HLK #_ #HVW2 #IHV12 #H +| #G #L #K #V1 #V2 #W2 #i #HLK #_ #HVW2 #IHV12 #H elim (cir_inv_delta … HLK) // -| #a * #L #V1 #V2 #T1 #T2 #_ #_ #IHV1 #IHT1 #H +| #a * #G #L #V1 #V2 #T1 #T2 #_ #_ #IHV1 #IHT1 #H [ elim (cir_inv_bind … H) -H #HV1 #HT1 * #H destruct lapply (IHV1 … HV1) -IHV1 -HV1 #H destruct lapply (IHT1 … HT1) -IHT1 #H destruct // | elim (cir_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 (cir_inv_appl … H) -H #HV1 #HT1 #_ >IHV1 -IHV1 // -HV1 >IHT1 -IHT1 // | elim (cir_inv_ri2 … H) /2 width=1/ ] -| #L #V1 #T1 #T #T2 #_ #_ #_ #H +| #G #L #V1 #T1 #T #T2 #_ #_ #_ #H elim (cir_inv_ri2 … H) /2 width=1/ -| #L #V1 #T1 #T2 #_ #_ #H +| #G #L #V1 #T1 #T2 #_ #_ #H elim (cir_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 (cir_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 (cir_inv_appl … H) -H #_ #_ #H elim (simple_inv_bind … H) ]