Step * 1 2 1 of Lemma list_accum_split

.....equality..... 
1. Type
2. : ℤ
3. List
4. Top ⟶ T ⟶ Top
5. Top
⊢ accumulate (with value and list item a):
   f[x;a]
  over list:
    []
  with starting value:
   y) y
BY
((RecUnfold `list_accum` THEN Reduce 0) THEN Auto) }


Latex:


Latex:
.....equality..... 
1.  T  :  Type
2.  i  :  \mBbbZ{}
3.  l  :  T  List
4.  f  :  Top  {}\mrightarrow{}  T  {}\mrightarrow{}  Top
5.  y  :  Top
\mvdash{}  accumulate  (with  value  x  and  list  item  a):
      f[x;a]
    over  list:
        []
    with  starting  value:
      y)  \msim{}  y


By


Latex:
((RecUnfold  `list\_accum`  0  THEN  Reduce  0)  THEN  Auto)




Home Index