Step * 2 of Lemma list-if-has-value-length


1. : ℤ
2. 0 < j
3. ∀l:Base
     ((λlist_ind,L. eval in
                    if is pair then let a,b 
                                        in (list_ind b) otherwise if Ax then otherwise ⊥^j 
       ⊥ 
       l)↓
      (l ∈ Base List))
4. Base@i
5. (if Ax then otherwise ⊥)↓@i
6. (l)↓
7. ∀a,b:Top.  (if is pair then otherwise b)
⊢ l ∈ Base List
BY
(HVimplies2 (-3) [1]
   THEN BotDiv
   THEN RW UnrollLoopsC 0
   THEN Reduce 0
   THEN Auto
   THEN Fold `it` 0
   THEN Fold `nil` 0
   THEN Auto) }


Latex:


Latex:

1.  j  :  \mBbbZ{}
2.  0  <  j
3.  \mforall{}l:Base
          ((\mlambda{}list$_{ind}$,L.  eval  v  =  L  in
                                      if  v  is  a  pair  then  let  a,b  =  v 
                                                                              in  (list$_{ind}$  b)  +  1  otherwise  if  v  =  \000CAx  then  0  otherwise  \mbot{}\^{}j  -  1 
              \mbot{} 
              l)\mdownarrow{}
          {}\mRightarrow{}  (l  \mmember{}  Base  List))
4.  l  :  Base@i
5.  (if  l  =  Ax  then  0  otherwise  \mbot{})\mdownarrow{}@i
6.  (l)\mdownarrow{}
7.  \mforall{}a,b:Top.    (if  l  is  a  pair  then  a  otherwise  b  \msim{}  b)
\mvdash{}  l  \mmember{}  Base  List


By


Latex:
(HVimplies2  (-3)  [1]
  THEN  BotDiv
  THEN  RW  UnrollLoopsC  0
  THEN  Reduce  0
  THEN  Auto
  THEN  Fold  `it`  0
  THEN  Fold  `nil`  0
  THEN  Auto)




Home Index