]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/etc/append/cpys2.etc
components: arity, csuba
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / etc / append / cpys2.etc
1 lemma cpys_append: ∀G,d,e. l_appendable_sn … (cpys d e G).
2 #G #d #e #K #T1 #T2 #H @(cpys_ind … H) -T2
3 /3 width=3 by cpys_strap1, cpy_append/
4 qed-.
5
6 lemma cpys_fwd_shift1: ∀G,L,L1,T1,T,d,e. ⦃G, L⦄ ⊢ L1 @@ T1 ▶*[d, e] T →
7                        ∃∃L2,T2. |L1| = |L2| & T = L2 @@ T2.
8 #G #L #L1 #T1 #T #d #e #H @(cpys_ind … H) -T
9 [ /2 width=4 by ex2_2_intro/
10 | #T #X #_ #HX * #L0 #T0 #HL10 #H destruct
11   elim (cpy_fwd_shift1 … HX) -HX #L2 #T2 #HL02 #H destruct
12   /2 width=4 by ex2_2_intro/
13 ]
14 qed-.