Step * 1 1 of Lemma list_ind_reverse_wf

.....basecase..... 
1. Type
2. Type
3. List
4. nilcase B
5. B ⟶ (A List) ⟶ A ⟶ B
6. : ℤ
⊢ ∀LL:A List
    ((||LL|| 0 ∈ ℕ)
     ((λF@0,l. if (||l|| =z 0) then nilcase else (F@0 firstn(||l|| 1;l)) firstn(||l|| 1;l) last(l) fi 
        fix((λF@0,l. if (||l|| =z 0) then nilcase else (F@0 firstn(||l|| 1;l)) firstn(||l|| 1;l) last(l) fi )) 
        LL ∈ B))
BY
Auto }


Latex:


Latex:
.....basecase..... 
1.  A  :  Type
2.  B  :  Type
3.  L  :  A  List
4.  nilcase  :  B
5.  F  :  B  {}\mrightarrow{}  (A  List)  {}\mrightarrow{}  A  {}\mrightarrow{}  B
6.  n  :  \mBbbZ{}
\mvdash{}  \mforall{}LL:A  List
        ((||LL||  =  0)
        {}\mRightarrow{}  ((\mlambda{}F@0,l.  if  (||l||  =\msubz{}  0)
                                then  nilcase
                                else  F  (F@0  firstn(||l||  -  1;l))  firstn(||l||  -  1;l)  last(l)
                                fi  ) 
                fix((\mlambda{}F@0,l.  if  (||l||  =\msubz{}  0)
                                        then  nilcase
                                        else  F  (F@0  firstn(||l||  -  1;l))  firstn(||l||  -  1;l)  last(l)
                                        fi  )) 
                LL  \mmember{}  B))


By


Latex:
Auto




Home Index