Step * 1 1 1 of Lemma p-first-append


1. Type
2. Type
3. L1 (A ⟶ (B Top)) List
4. L2 (A ⟶ (B Top)) List
5. A
6. x1 B@i
7. accumulate (with value and list item f):
    case of inl(z) => inr(z) => x
   over list:
     L1
   with starting value:
    inr ⋅ )
(inl x1)
∈ (B Top)
⊢ accumulate (with value and list item f):
   case of inl(z) => inr(z) => x
  over list:
    L2
  with starting value:
   inl x1)
(inl x1)
∈ (B Top)
BY
TACTIC:(((Lemmaize [] THEN InductionOnList) THEN Reduce 0) THEN Auto) }


Latex:


Latex:

1.  A  :  Type
2.  B  :  Type
3.  L1  :  (A  {}\mrightarrow{}  (B  +  Top))  List
4.  L2  :  (A  {}\mrightarrow{}  (B  +  Top))  List
5.  x  :  A
6.  x1  :  B@i
7.  accumulate  (with  value  v  and  list  item  f):
        case  v  of  inl(z)  =>  v  |  inr(z)  =>  f  x
      over  list:
          L1
      with  starting  value:
        inr  \mcdot{}  )
=  (inl  x1)
\mvdash{}  accumulate  (with  value  v  and  list  item  f):
      case  v  of  inl(z)  =>  v  |  inr(z)  =>  f  x
    over  list:
        L2
    with  starting  value:
      inl  x1)
=  (inl  x1)


By


Latex:
TACTIC:(((Lemmaize  []  THEN  InductionOnList)  THEN  Reduce  0)  THEN  Auto)




Home Index