Nuprl Definition : rat-cube-face-decider

rat-cube-face-decider(k;c;d) ==
  eval in
  case int_seg_decide(λk.let a,J1 
                         in let x,x1 
                            in if qeq(a;x)
                                 then if qeq(x1;J1)
                                      then ifunion(qeq(J1;x); ifunion(qeq(x1;a); inr %.Ax) ))
                                      else ifunion(qeq(J1;x); if qeq(x1;a) then inr %.Ax)  else inl %.Ax) fi )
                                      fi 
                               if qeq(J1;x) then if qeq(x1;J1) then inr %.Ax)  else inl %.Ax) fi 
                               else inl %.Ax)
                               fi ;0;x)
   of inl(%6) =>
   inr let k,%7 %6 
       in λ%8.Ax 
   inr(%7) =>
   inl k.let a,J1 
           in let x,x1 
              in if qeq(a;x)
                   then if qeq(x1;J1)
                        then if qeq(J1;x) then if qeq(x1;a) then inl Ax else inr (inl Ax)  fi 
                             if qeq(x1;a) then inl Ax
                             else inr inr Ax  
                             fi 
                        else ifunion(qeq(J1;x); if qeq(x1;a) then inl Ax else Ax fi )
                        fi 
                 if qeq(J1;x) then if qeq(x1;J1) then inr (inl Ax)  else Ax fi 
                 else Ax
                 fi )



Definitions occuring in Statement :  qeq: qeq(r;s) int_seg_decide: int_seg_decide(d;i;j) callbyvalue: callbyvalue ifunion: ifunion(b; t) ifthenelse: if then else fi  apply: a lambda: λx.A[x] spread: spread def decide: case of inl(x) => s[x] inr(y) => t[y] inr: inr  inl: inl x natural_number: $n axiom: Ax
Definitions occuring in definition :  axiom: Ax inl: inl x inr: inr  qeq: qeq(r;s) ifthenelse: if then else fi  ifunion: ifunion(b; t) apply: a spread: spread def lambda: λx.A[x] natural_number: $n int_seg_decide: int_seg_decide(d;i;j) decide: case of inl(x) => s[x] inr(y) => t[y] callbyvalue: callbyvalue
FDL editor aliases :  rat-cube-face-decider

Latex:
rat-cube-face-decider(k;c;d)  ==
    eval  x  =  k  in
    case  int\_seg\_decide(\mlambda{}k.let  a,J1  =  d  k 
                                                  in  let  x,x1  =  c  k 
                                                        in  if  qeq(a;x)
                                                                  then  if  qeq(x1;J1)
                                                                            then  ifunion(qeq(J1;x);  ifunion(qeq(x1;a);  inr  (\mlambda{}\%.Ax)  ))
                                                                            else  ifunion(qeq(J1;x);
                                                                                                      if  qeq(x1;a)
                                                                                                      then  inr  (\mlambda{}\%.Ax) 
                                                                                                      else  inl  (\mlambda{}\%.Ax)
                                                                                                      fi  )
                                                                            fi 
                                                              if  qeq(J1;x)
                                                                  then  if  qeq(x1;J1)  then  inr  (\mlambda{}\%.Ax)    else  inl  (\mlambda{}\%.Ax)  fi 
                                                              else  inl  (\mlambda{}\%.Ax)
                                                              fi  ;0;x)
      of  inl(\%6)  =>
      inr  let  k,\%7  =  \%6 
              in  \mlambda{}\%8.Ax 
      |  inr(\%7)  =>
      inl  (\mlambda{}k.let  a,J1  =  d  k 
                      in  let  x,x1  =  c  k 
                            in  if  qeq(a;x)
                                      then  if  qeq(x1;J1)
                                                then  if  qeq(J1;x)  then  if  qeq(x1;a)  then  inl  Ax  else  inr  (inl  Ax)    fi 
                                                          if  qeq(x1;a)  then  inl  Ax
                                                          else  inr  inr  Ax   
                                                          fi 
                                                else  ifunion(qeq(J1;x);  if  qeq(x1;a)  then  inl  Ax  else  Ax  fi  )
                                                fi 
                                  if  qeq(J1;x)  then  if  qeq(x1;J1)  then  inr  (inl  Ax)    else  Ax  fi 
                                  else  Ax
                                  fi  )



Date html generated: 2019_10_29-AM-07_49_51
Last ObjectModification: 2019_10_19-AM-10_38_23

Theory : rationals


Home Index