X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fmultiple%2Fllor_ldrop.ma;h=5f82638e030bfb104cb2973d504cc1bfb71e4001;hb=98c91e19a9cc31c77a0151f5df7f7690813cbd07;hp=afc0924d9d4c3405c6b955dc00b8cfd12277c9f6;hpb=41441a27e7dc2afcd20ffd6159015ee77f37a3d8;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/multiple/llor_ldrop.ma b/matita/matita/contribs/lambdadelta/basic_2/multiple/llor_ldrop.ma index afc0924d9..5f82638e0 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/multiple/llor_ldrop.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/multiple/llor_ldrop.ma @@ -13,7 +13,7 @@ (**************************************************************************) include "basic_2/multiple/frees_lift.ma". -include "basic_2/multiple/llor.ma". +include "basic_2/multiple/llor_alt.ma". (* POINTWISE UNION FOR LOCAL ENVIRONMENTS ***********************************) @@ -27,4 +27,18 @@ lapply (ldrop_fwd_length_lt2 … HLK1) -K1 /5 width=3 by ylt_yle_trans, ylt_inj, or3_intro0, and3_intro/ qed. -axiom llor_total: ∀L1,L2,T,d. |L1| = |L2| → ∃L. L1 ⩖[T, d] L2 ≡ L. +lemma llor_total: ∀L1,L2,T,d. |L1| = |L2| → ∃L. L1 ⩖[T, d] L2 ≡ L. +#L1 @(lenv_ind_alt … L1) -L1 +[ #L2 #T #d #H >(length_inv_zero_sn … H) -L2 /2 width=2 by ex_intro/ +| #I1 #L1 #V1 #IHL1 #Y #T #d >ltail_length #H + elim (length_inv_pos_sn_ltail … H) -H #I2 #L2 #V2 #HL12 #H destruct + elim (ylt_split d (|ⓑ{I1}V1.L1|)) + [ elim (frees_dec (ⓑ{I1}V1.L1) T d (|L1|)) #HnU + elim (IHL1 L2 T d) // -IHL1 -HL12 + [ #L #HL12 >ltail_length /4 width=2 by llor_tail_frees, ylt_fwd_succ2, ex_intro/ + | /4 width=2 by llor_tail_cofrees, ex_intro/ + ] + | -IHL1 /4 width=3 by llor_skip, plus_to_minus, ex_intro/ + ] +] +qed-.