Step * 2 1 1 1 of Lemma descending-append


1. [A] Type
2. [<A ⟶ A ⟶ ℙ
3. L1 List
4. L2 List
5. ∀i:ℕ||L1|| 1. <[L1[i 1];L1[i]]
6. ∀i:ℕ||L2|| 1. <[L2[i 1];L2[i]]
7. (<[hd(L2);last(L1)]) supposing (0 < ||L2|| and 0 < ||L1||)
8. : ℕ(||L1|| ||L2||) 1
9. i < ||L1|| 1
⊢ <[L1 L2[i 1];L1 L2[i]]
BY
TACTIC:RepeatFor ((RWW "select_append_front" THEN Auto)) }


Latex:


Latex:

1.  [A]  :  Type
2.  [<]  :  A  {}\mrightarrow{}  A  {}\mrightarrow{}  \mBbbP{}
3.  L1  :  A  List
4.  L2  :  A  List
5.  \mforall{}i:\mBbbN{}||L1||  -  1.  <[L1[i  +  1];L1[i]]
6.  \mforall{}i:\mBbbN{}||L2||  -  1.  <[L2[i  +  1];L2[i]]
7.  (<[hd(L2);last(L1)])  supposing  (0  <  ||L2||  and  0  <  ||L1||)
8.  i  :  \mBbbN{}(||L1||  +  ||L2||)  -  1
9.  i  <  ||L1||  -  1
\mvdash{}  <[L1  @  L2[i  +  1];L1  @  L2[i]]


By


Latex:
TACTIC:RepeatFor  2  ((RWW  "select\_append\_front"  0  THEN  Auto))




Home Index