X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Freducibility%2Fcpr_lift.ma;h=b59a3e6ed02628a85c99f82ed8c23e0e3cea5709;hb=603c8b3cdab901c26f63b5fed2c65e49693cc9a3;hp=ae4617f807d3c2c7cec2d5cce384b5bb75107402;hpb=bdff98417627c404aacec8ebb07812287783c500;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/reducibility/cpr_lift.ma b/matita/matita/contribs/lambdadelta/basic_2/reducibility/cpr_lift.ma index ae4617f80..b59a3e6ed 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/reducibility/cpr_lift.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/reducibility/cpr_lift.ma @@ -28,12 +28,12 @@ lapply (ldrop_fwd_ldrop2_length … HLK) #Hi @ex2_intro [2: // | skip | @tpss_subst /width=6/ ] (**) (* /3 width=6/ is too slow *) qed. -lemma cpr_abst: ∀L,V1,V2. L ⊢ V1 ➡ V2 → ∀V,T1,T2. - L.ⓛV ⊢ T1 ➡ T2 → ∀a. L ⊢ ⓛ{a}V1. T1 ➡ ⓛ{a}V2. T2. -#L #V1 #V2 * #V0 #HV10 #HV02 #V #T1 #T2 * #T0 #HT10 #HT02 #a +lemma cpr_abst: ∀L,V1,V2. L ⊢ V1 ➡ V2 → ∀V,T1,T2. L.ⓛV ⊢ T1 ➡ T2 → + ∀a,I. L ⊢ ⓑ{a,I}V1. T1 ➡ ⓑ{a,I}V2. T2. +#L #V1 #V2 * #V0 #HV10 #HV02 #V #T1 #T2 * #T0 #HT10 #HT02 #a #I lapply (tpss_inv_S2 … HT02 L V ?) -HT02 // #HT02 -lapply (tpss_lsubs_trans … HT02 (L.ⓛV2) ?) -HT02 /2 width=1/ #HT02 -@(ex2_intro … (ⓛ{a}V0.T0)) /2 width=1/ (* explicit constructors *) +lapply (tpss_lsubs_trans … HT02 (L.ⓑ{I}V2) ?) -HT02 /2 width=1/ #HT02 +@(ex2_intro … (ⓑ{a,I}V0.T0)) /2 width=1/ (* explicit constructors *) qed. lemma cpr_beta: ∀a,L,V1,V2,W,T1,T2. @@ -134,7 +134,18 @@ elim (cpr_inv_appl1 … H) -H * elim (simple_inv_bind … HT1) ] qed-. - + +(* Advanced forward lemmas **************************************************) + +lemma cpr_fwd_abst1: ∀a,L,V1,T1,U2. L ⊢ ⓛ{a}V1.T1 ➡ U2 → ∀b,I,W. + ∃∃V2,T2. L ⊢ ⓑ{b,I}W.T1 ➡ ⓑ{b,I}W.T2 & + U2 = ⓛ{a}V2.T2. +#a #L #V1 #T1 #U2 * #U #H #HU2 #b #I #W +elim (tpr_fwd_abst1 … H b I W) -H #V #T #HT1 #H destruct +elim (tpss_inv_bind1 … HU2) -HU2 #V2 #T2 #_ #HT2 +lapply (tpss_lsubs_trans … HT2 (L.ⓑ{I}W) ?) -HT2 /2 width=1/ /4 width=5/ +qed-. + (* Relocation properties ****************************************************) (* Basic_1: was: pr2_lift *)