X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Freduction%2Fcrr_lift.ma;h=9aab5dffd18c0cdba352cd96160812c0a784fec6;hb=93bba1c94779e83184d111cd077d4167e42a74aa;hp=cc4370f45bf449fd841475b58b1622601d112635;hpb=9a023f554e56d6edbbb2eeaf17ce61e31857ef4a;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/reduction/crr_lift.ma b/matita/matita/contribs/lambdadelta/basic_2/reduction/crr_lift.ma index cc4370f45..9aab5dffd 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/reduction/crr_lift.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/reduction/crr_lift.ma @@ -19,55 +19,55 @@ include "basic_2/reduction/crr.ma". (* Properties on relocation *************************************************) -lemma crr_lift: ∀G,K,T. ⦃G, K⦄ ⊢ ➡ 𝐑⦃T⦄ → ∀L,s,l,m. ⬇[s, l, m] L ≡ K → - ∀U. ⬆[l, m] T ≡ U → ⦃G, L⦄ ⊢ ➡ 𝐑⦃U⦄. +lemma crr_lift: ∀G,K,T. ⦃G, K⦄ ⊢ ➡ 𝐑⦃T⦄ → ∀L,c,l,k. ⬇[c, l, k] L ≡ K → + ∀U. ⬆[l, k] T ≡ U → ⦃G, L⦄ ⊢ ➡ 𝐑⦃U⦄. #G #K #T #H elim H -K -T -[ #K #K0 #V #i #HK0 #L #s #l #m #HLK #X #H +[ #K #K0 #V #i #HK0 #L #c #l #k #HLK #X #H elim (lift_inv_lref1 … H) -H * #Hil #H destruct [ elim (drop_trans_lt … HLK … HK0) -K /2 width=4 by crr_delta/ | lapply (drop_trans_ge … HLK … HK0 ?) -K /3 width=4 by crr_delta, drop_inv_gen/ ] -| #K #V #T #_ #IHV #L #s #l #m #HLK #X #H +| #K #V #T #_ #IHV #L #c #l #k #HLK #X #H elim (lift_inv_flat1 … H) -H #W #U #HVW #_ #H destruct /3 width=5 by crr_appl_sn/ -| #K #V #T #_ #IHT #L #s #l #m #HLK #X #H +| #K #V #T #_ #IHT #L #c #l #k #HLK #X #H elim (lift_inv_flat1 … H) -H #W #U #_ #HTU #H destruct /3 width=5 by crr_appl_dx/ -| #I #K #V #T #HI #L #s #l #m #_ #X #H +| #I #K #V #T #HI #L #c #l #k #_ #X #H elim (lift_fwd_pair1 … H) -H #W #U #_ #H destruct /2 width=1 by crr_ri2/ -| #a #I #K #V #T #HI #_ #IHV #L #s #l #m #HLK #X #H +| #a #I #K #V #T #HI #_ #IHV #L #c #l #k #HLK #X #H elim (lift_inv_bind1 … H) -H #W #U #HVW #_ #H destruct /3 width=5 by crr_ib2_sn/ -| #a #I #K #V #T #HI #_ #IHT #L #s #l #m #HLK #X #H +| #a #I #K #V #T #HI #_ #IHT #L #c #l #k #HLK #X #H elim (lift_inv_bind1 … H) -H #W #U #HVW #HTU #H destruct /4 width=5 by crr_ib2_dx, drop_skip/ -| #a #K #V #V0 #T #L #s #l #m #_ #X #H +| #a #K #V #V0 #T #L #c #l #k #_ #X #H elim (lift_inv_flat1 … H) -H #W #X0 #_ #H0 #H destruct elim (lift_inv_bind1 … H0) -H0 #W0 #U #_ #_ #H0 destruct /2 width=1 by crr_beta/ -| #a #K #V #V0 #T #L #s #l #m #_ #X #H +| #a #K #V #V0 #T #L #c #l #k #_ #X #H elim (lift_inv_flat1 … H) -H #W #X0 #_ #H0 #H destruct elim (lift_inv_bind1 … H0) -H0 #W0 #U #_ #_ #H0 destruct /2 width=1 by crr_theta/ ] qed. -lemma crr_inv_lift: ∀G,L,U. ⦃G, L⦄ ⊢ ➡ 𝐑⦃U⦄ → ∀K,s,l,m. ⬇[s, l, m] L ≡ K → - ∀T. ⬆[l, m] T ≡ U → ⦃G, K⦄ ⊢ ➡ 𝐑⦃T⦄. +lemma crr_inv_lift: ∀G,L,U. ⦃G, L⦄ ⊢ ➡ 𝐑⦃U⦄ → ∀K,c,l,k. ⬇[c, l, k] L ≡ K → + ∀T. ⬆[l, k] T ≡ U → ⦃G, K⦄ ⊢ ➡ 𝐑⦃T⦄. #G #L #U #H elim H -L -U -[ #L #L0 #W #i #HK0 #K #s #l #m #HLK #X #H +[ #L #L0 #W #i #HK0 #K #c #l #k #HLK #X #H elim (lift_inv_lref2 … H) -H * #Hil #H destruct [ elim (drop_conf_lt … HLK … HK0) -L /2 width=4 by crr_delta/ | lapply (drop_conf_ge … HLK … HK0 ?) -L /2 width=4 by crr_delta/ ] -| #L #W #U #_ #IHW #K #s #l #m #HLK #X #H +| #L #W #U #_ #IHW #K #c #l #k #HLK #X #H elim (lift_inv_flat2 … H) -H #V #T #HVW #_ #H destruct /3 width=5 by crr_appl_sn/ -| #L #W #U #_ #IHU #K #s #l #m #HLK #X #H +| #L #W #U #_ #IHU #K #c #l #k #HLK #X #H elim (lift_inv_flat2 … H) -H #V #T #_ #HTU #H destruct /3 width=5 by crr_appl_dx/ -| #I #L #W #U #HI #K #s #l #m #_ #X #H +| #I #L #W #U #HI #K #c #l #k #_ #X #H elim (lift_fwd_pair2 … H) -H #V #T #_ #H destruct /2 width=1 by crr_ri2/ -| #a #I #L #W #U #HI #_ #IHW #K #s #l #m #HLK #X #H +| #a #I #L #W #U #HI #_ #IHW #K #c #l #k #HLK #X #H elim (lift_inv_bind2 … H) -H #V #T #HVW #_ #H destruct /3 width=5 by crr_ib2_sn/ -| #a #I #L #W #U #HI #_ #IHU #K #s #l #m #HLK #X #H +| #a #I #L #W #U #HI #_ #IHU #K #c #l #k #HLK #X #H elim (lift_inv_bind2 … H) -H #V #T #HVW #HTU #H destruct /4 width=5 by crr_ib2_dx, drop_skip/ -| #a #L #W #W0 #U #K #s #l #m #_ #X #H +| #a #L #W #W0 #U #K #c #l #k #_ #X #H elim (lift_inv_flat2 … H) -H #V #X0 #_ #H0 #H destruct elim (lift_inv_bind2 … H0) -H0 #V0 #T #_ #_ #H0 destruct /2 width=1 by crr_beta/ -| #a #L #W #W0 #U #K #s #l #m #_ #X #H +| #a #L #W #W0 #U #K #c #l #k #_ #X #H elim (lift_inv_flat2 … H) -H #V #X0 #_ #H0 #H destruct elim (lift_inv_bind2 … H0) -H0 #V0 #T #_ #_ #H0 destruct /2 width=1 by crr_theta/ ]