X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Frelocation%2Fldrop_append.ma;h=2da9f9ed9d5f8da316ccb9f13b37b4cb7bcd24a4;hb=e76eade57c0454a58b0d58e5484efe9af417847e;hp=9b49fdd5bf875116b56b912af27c8b4bf9dab4a4;hpb=bdfd9f6ada4c66f67c674abc3c7b5ed64d27add3;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/relocation/ldrop_append.ma b/matita/matita/contribs/lambdadelta/basic_2/relocation/ldrop_append.ma index 9b49fdd5b..2da9f9ed9 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/relocation/ldrop_append.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/relocation/ldrop_append.ma @@ -22,7 +22,8 @@ include "basic_2/relocation/ldrop.ma". fact ldrop_O1_append_sn_le_aux: ∀L1,L2,d,e. ⇩[d, e] L1 ≡ L2 → d = 0 → e ≤ |L1| → ∀L. ⇩[0, e] L @@ L1 ≡ L @@ L2. -#L1 #L2 #d #e #H elim H -L1 -L2 -d -e normalize // /4 width=1/ +#L1 #L2 #d #e #H elim H -L1 -L2 -d -e normalize +/4 width=1 by ldrop_skip_lt, ldrop_ldrop, arith_b1, lt_minus_to_plus_r, monotonic_pred/ qed-. lemma ldrop_O1_append_sn_le: ∀L1,L2,e. ⇩[0, e] L1 ≡ L2 → e ≤ |L1| → @@ -38,7 +39,7 @@ lemma ldrop_O1_inv_append1_ge: ∀K,L1,L2,e. ⇩[0, e] L1 @@ L2 ≡ K → elim (ldrop_inv_O1_pair1 … H) -H * #H2e #HL12 destruct [ lapply (le_n_O_to_eq … H1e) -H1e -IHL2 >commutative_plus normalize #H destruct -| minus_minus_comm /3 width=1/ +| minus_minus_comm /3 width=1 by monotonic_pred/ ] qed-. @@ -53,11 +54,7 @@ lemma ldrop_O1_inv_append1_le: ∀K,L1,L2,e. ⇩[0, e] L1 @@ L2 ≡ K → e ≤ [ #H1 #_ #K2 #H2 lapply (ldrop_inv_O2 … H1) -H1 #H1 lapply (ldrop_inv_O2 … H2) -H2 #H2 destruct // - | #e #_ #H1 #H #K2 #H2 - lapply (le_plus_to_le_r … H) -H - lapply (ldrop_inv_ldrop1 … H1 ?) -H1 // - lapply (ldrop_inv_ldrop1 … H2 ?) -H2 // -