Step * 1 1 1 1 1 2 1 of Lemma evalall-sqequal


1. Base
2. ~ λevalall,t. eval in
                   if is pair then let a,b 
                                       in eval a' evalall in
                                          eval b' evalall in
                                            <a', b'> otherwise if is inl then eval evalall outl(x) in
                                                                                inl y
                                                               else if is inr then eval evalall outr(x) in
                                                                                     inr 
                                                                    else x
3. : ℤ
4. 0 < j
5. ∀x:Base. ((F^j 1 ⊥ x)↓  ((fix(F) x)↓ ∧ (fix(F) x)))
6. Base
7. (F^j ⊥ (inl outl(x)))↓
8. (eval F^j 1 ⊥ outl(x) in
    inl y)↓
9. 0 ≤ 0
10. inl outl(x)
⊢ (eval fix(F) outl(x) in inl y)↓ ∧ (eval fix(F) outl(x) in inl inl outl(x))
BY
(HasValueD (-3) THEN (FHyp [-1] THENA Auto) THEN CallByValueReduce THEN Auto) }


Latex:


Latex:

1.  F  :  Base
2.  F  \msim{}  \mlambda{}evalall,t.  eval  x  =  t  in
                                      if  x  is  a  pair  then  let  a,b  =  x 
                                                                              in  eval  a'  =  evalall  a  in
                                                                                    eval  b'  =  evalall  b  in
                                                                                        <a',  b'>  otherwise  if  x  is  inl  then  eval  y  =  evalall 
                                                                                                                                                                                  outl(x)  in
                                                                                                                                                                inl  y
                                                                                                                              else  if  x  is  inr
                                                                                                                                        eval  y  =  evalall  outr(x)  in
                                                                                                                                        inr  y 
                                                                                                                                        else  x
3.  j  :  \mBbbZ{}
4.  0  <  j
5.  \mforall{}x:Base.  ((F\^{}j  -  1  \mbot{}  x)\mdownarrow{}  {}\mRightarrow{}  ((fix(F)  x)\mdownarrow{}  \mwedge{}  (fix(F)  x  \msim{}  x)))
6.  x  :  Base
7.  (F\^{}j  \mbot{}  (inl  outl(x)))\mdownarrow{}
8.  (eval  y  =  F\^{}j  -  1  \mbot{}  outl(x)  in
        inl  y)\mdownarrow{}
9.  0  \mleq{}  0
10.  x  \msim{}  inl  outl(x)
\mvdash{}  (eval  y  =  fix(F)  outl(x)  in  inl  y)\mdownarrow{}  \mwedge{}  (eval  y  =  fix(F)  outl(x)  in  inl  y  \msim{}  inl  outl(x))


By


Latex:
(HasValueD  (-3)  THEN  (FHyp  5  [-1]  THENA  Auto)  THEN  CallByValueReduce  0  THEN  Auto)




Home Index