Term Rewriting System R:
[X, Y]
f(s(X)) -> f(X)
g(cons(0, Y)) -> g(Y)
g(cons(s(X), Y)) -> s(X)
h(cons(X, Y)) -> h(g(cons(X, Y)))

Innermost Termination of R to be shown.



   R
Removing Redundant Rules



Removing the following rules from R which fullfill a polynomial ordering:

f(s(X)) -> f(X)
g(cons(0, Y)) -> g(Y)

where the Polynomial interpretation:
  POL(0)=  1  
  POL(g(x1))=  x1  
  POL(cons(x1, x2))=  x1 + x2  
  POL(s(x1))=  1 + x1  
  POL(h(x1))=  1 + x1  
  POL(f(x1))=  x1  
was used.

Not all Rules of R can be deleted, so we still have to regard a part of R.


   R
RRRPolo
       →TRS2
Removing Redundant Rules



Removing the following rules from R which fullfill a polynomial ordering:

g(cons(s(X), Y)) -> s(X)

where the Polynomial interpretation:
  POL(g(x1))=  x1  
  POL(cons(x1, x2))=  2·x1 + x2  
  POL(h(x1))=  1 + x1  
  POL(s(x1))=  1 + x1  
was used.

Not all Rules of R can be deleted, so we still have to regard a part of R.


   R
RRRPolo
       →TRS2
RRRPolo
           →TRS3
Dependency Pair Analysis



R contains the following Dependency Pairs:

H(cons(X, Y)) -> H(g(cons(X, Y)))

R contains no SCCs.

Innermost Termination of R successfully shown.
Duration:
0:00 minutes