Step * 1 1 of Lemma l-last-cons


1. Base
2. Base
3. (if is pair then let h,t 
                        in rec-case(t) of [] => λx.x h::t => r.λx.(r h) otherwise if Ax then otherwise ⊥)↓
4. (v)↓
⊢ if is pair then let h,t 
                      in rec-case(t) of [] => λx.x h::t => r.λx.(r h) otherwise if Ax then otherwise ⊥ 
  ≤ if if is pair then ff otherwise if Ax then tt otherwise ⊥
  then u
  else if is pair then let h,t 
                           in rec-case(t) of [] => λx.x h::t => r.λx.(r h) otherwise if Ax then ⊥ otherwise ⊥
  fi 
BY
RepeatFor ((HVimplies2 [1] THEN (RWO "-1" THENA Auto))) }


Latex:


Latex:

1.  u  :  Base
2.  v  :  Base
3.  (if  v  is  a  pair  then  let  h,t  =  v 
                                                in  rec-case(t)  of  []  =>  \mlambda{}x.x  |  h::t  =>  r.\mlambda{}x.(r  h)  h
        otherwise  if  v  =  Ax  then  u  otherwise  \mbot{})\mdownarrow{}
4.  (v)\mdownarrow{}
\mvdash{}  if  v  is  a  pair  then  let  h,t  =  v 
                                            in  rec-case(t)  of  []  =>  \mlambda{}x.x  |  h::t  =>  r.\mlambda{}x.(r  h)  h  otherwise  if  v  =  Ax  then  u
                                                                                                                                                                        otherwise  \mbot{} 
    \mleq{}  if  if  v  is  a  pair  then  ff  otherwise  if  v  =  Ax  then  tt  otherwise  \mbot{}
    then  u
    else  if  v  is  a  pair  then  let  h,t  =  v 
                                                      in  rec-case(t)  of  []  =>  \mlambda{}x.x  |  h::t  =>  r.\mlambda{}x.(r  h)  h
              otherwise  if  v  =  Ax  then  \mbot{}  otherwise  \mbot{}
    fi 


By


Latex:
RepeatFor  2  ((HVimplies2  0  [1]  THEN  (RWO  "-1"  0  THENA  Auto)))




Home Index