Time: 5.197519
TRS:
 {                  eval(x, y, z) -> Cond_eval5(and(greater_int(y, z), greater_int(x, z)), x, y, z),
                    eval(x, y, z) -> Cond_eval(and(and(greater_int(y, z), greatereq_int(z, x)), greatereq_int(z, y)), x, y, z),
                    eval(x, y, z) -> Cond_eval4(greater_int(x, z), x, y, z),
                    eval(x, y, z) -> Cond_eval2(and(greater_int(y, z), greatereq_int(z, x)), x, y, z),
                    eval(x, y, z) -> Cond_eval3(and(and(greater_int(x, z), greatereq_int(z, x)), greatereq_int(z, y)), x, y, z),
                    eval(x, y, z) -> Cond_eval1(and(and(greater_int(x, z), greatereq_int(z, x)), greater_int(y, z)), x, y, z),
          minus_int(pos x, pos y) -> minus_nat(x, y),
          minus_int(pos x, neg y) -> pos plus_nat(x, y),
          minus_int(neg x, pos y) -> neg plus_nat(x, y),
          minus_int(neg x, neg y) -> minus_nat(y, x),
      Cond_eval5(true(), x, y, z) -> eval(minus_int(x, pos s 0()), y, z),
       Cond_eval(true(), x, y, z) -> eval(x, y, z),
      Cond_eval4(true(), x, y, z) -> eval(minus_int(x, pos s 0()), y, z),
    greater_int(pos s x, pos s y) -> greater_int(pos x, pos y),
    greater_int(pos s x, pos 0()) -> true(),
    greater_int(pos s x, neg s y) -> true(),
    greater_int(pos s x, neg 0()) -> true(),
    greater_int(pos 0(), pos s y) -> false(),
    greater_int(pos 0(), pos 0()) -> false(),
    greater_int(pos 0(), neg s y) -> true(),
    greater_int(pos 0(), neg 0()) -> false(),
    greater_int(neg s x, pos s y) -> false(),
    greater_int(neg s x, pos 0()) -> false(),
    greater_int(neg s x, neg s y) -> greater_int(neg x, neg y),
    greater_int(neg s x, neg 0()) -> false(),
    greater_int(neg 0(), pos s y) -> false(),
    greater_int(neg 0(), pos 0()) -> false(),
    greater_int(neg 0(), neg s y) -> true(),
    greater_int(neg 0(), neg 0()) -> false(),
      Cond_eval2(true(), x, y, z) -> eval(x, minus_int(y, pos s 0()), z),
              and(true(), true()) -> true(),
             and(true(), false()) -> false(),
             and(false(), true()) -> false(),
            and(false(), false()) -> false(),
      Cond_eval3(true(), x, y, z) -> eval(x, y, z),
    greatereq_int(pos x, pos 0()) -> true(),
      greatereq_int(pos x, neg y) -> true(),
  greatereq_int(pos s x, pos s y) -> greatereq_int(pos x, pos y),
  greatereq_int(pos 0(), pos s y) -> false(),
    greatereq_int(neg x, pos s y) -> false(),
  greatereq_int(neg s x, pos 0()) -> false(),
  greatereq_int(neg s x, neg s y) -> greatereq_int(neg x, neg y),
  greatereq_int(neg s x, neg 0()) -> false(),
  greatereq_int(neg 0(), pos 0()) -> true(),
    greatereq_int(neg 0(), neg y) -> true(),
      Cond_eval1(true(), x, y, z) -> eval(x, minus_int(y, pos s 0()), z),
              minus_nat(s x, s y) -> minus_nat(x, y),
              minus_nat(s x, 0()) -> pos s x,
              minus_nat(0(), s y) -> neg s y,
              minus_nat(0(), 0()) -> pos 0(),
                 plus_nat(s x, y) -> s plus_nat(x, y),
                 plus_nat(0(), x) -> x}
 SRS: We consider a TRS.
  Trs:
   {                  eval(x, y, z) -> Cond_eval5(and(greater_int(y, z), greater_int(x, z)), x, y, z),
                      eval(x, y, z) -> Cond_eval(and(and(greater_int(y, z), greatereq_int(z, x)), greatereq_int(z, y)), x, y, z),
                      eval(x, y, z) -> Cond_eval4(greater_int(x, z), x, y, z),
                      eval(x, y, z) -> Cond_eval2(and(greater_int(y, z), greatereq_int(z, x)), x, y, z),
                      eval(x, y, z) -> Cond_eval3(and(and(greater_int(x, z), greatereq_int(z, x)), greatereq_int(z, y)), x, y, z),
                      eval(x, y, z) -> Cond_eval1(and(and(greater_int(x, z), greatereq_int(z, x)), greater_int(y, z)), x, y, z),
            minus_int(pos x, pos y) -> minus_nat(x, y),
            minus_int(pos x, neg y) -> pos plus_nat(x, y),
            minus_int(neg x, pos y) -> neg plus_nat(x, y),
            minus_int(neg x, neg y) -> minus_nat(y, x),
        Cond_eval5(true(), x, y, z) -> eval(minus_int(x, pos s 0()), y, z),
         Cond_eval(true(), x, y, z) -> eval(x, y, z),
        Cond_eval4(true(), x, y, z) -> eval(minus_int(x, pos s 0()), y, z),
      greater_int(pos s x, pos s y) -> greater_int(pos x, pos y),
      greater_int(pos s x, pos 0()) -> true(),
      greater_int(pos s x, neg s y) -> true(),
      greater_int(pos s x, neg 0()) -> true(),
      greater_int(pos 0(), pos s y) -> false(),
      greater_int(pos 0(), pos 0()) -> false(),
      greater_int(pos 0(), neg s y) -> true(),
      greater_int(pos 0(), neg 0()) -> false(),
      greater_int(neg s x, pos s y) -> false(),
      greater_int(neg s x, pos 0()) -> false(),
      greater_int(neg s x, neg s y) -> greater_int(neg x, neg y),
      greater_int(neg s x, neg 0()) -> false(),
      greater_int(neg 0(), pos s y) -> false(),
      greater_int(neg 0(), pos 0()) -> false(),
      greater_int(neg 0(), neg s y) -> true(),
      greater_int(neg 0(), neg 0()) -> false(),
        Cond_eval2(true(), x, y, z) -> eval(x, minus_int(y, pos s 0()), z),
                and(true(), true()) -> true(),
               and(true(), false()) -> false(),
               and(false(), true()) -> false(),
              and(false(), false()) -> false(),
        Cond_eval3(true(), x, y, z) -> eval(x, y, z),
      greatereq_int(pos x, pos 0()) -> true(),
        greatereq_int(pos x, neg y) -> true(),
    greatereq_int(pos s x, pos s y) -> greatereq_int(pos x, pos y),
    greatereq_int(pos 0(), pos s y) -> false(),
      greatereq_int(neg x, pos s y) -> false(),
    greatereq_int(neg s x, pos 0()) -> false(),
    greatereq_int(neg s x, neg s y) -> greatereq_int(neg x, neg y),
    greatereq_int(neg s x, neg 0()) -> false(),
    greatereq_int(neg 0(), pos 0()) -> true(),
      greatereq_int(neg 0(), neg y) -> true(),
        Cond_eval1(true(), x, y, z) -> eval(x, minus_int(y, pos s 0()), z),
                minus_nat(s x, s y) -> minus_nat(x, y),
                minus_nat(s x, 0()) -> pos s x,
                minus_nat(0(), s y) -> neg s y,
                minus_nat(0(), 0()) -> pos 0(),
                   plus_nat(s x, y) -> s plus_nat(x, y),
                   plus_nat(0(), x) -> x}
  Fail