Term Rewriting System R:
[x, y]
f(a) -> b
f(c) -> d
f(g(x, y)) -> g(f(x), f(y))
f(h(x, y)) -> g(h(y, f(x)), h(x, f(y)))
g(x, x) -> h(e, x)

Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

F(g(x, y)) -> G(f(x), f(y))
F(g(x, y)) -> F(x)
F(g(x, y)) -> F(y)
F(h(x, y)) -> G(h(y, f(x)), h(x, f(y)))
F(h(x, y)) -> F(x)
F(h(x, y)) -> F(y)

Furthermore, R contains one SCC.


   R
DPs
       →DP Problem 1
Polynomial Ordering


Dependency Pairs:

F(h(x, y)) -> F(y)
F(h(x, y)) -> F(x)
F(g(x, y)) -> F(y)
F(g(x, y)) -> F(x)


Rules:


f(a) -> b
f(c) -> d
f(g(x, y)) -> g(f(x), f(y))
f(h(x, y)) -> g(h(y, f(x)), h(x, f(y)))
g(x, x) -> h(e, x)





The following dependency pairs can be strictly oriented:

F(h(x, y)) -> F(y)
F(h(x, y)) -> F(x)


There are no usable rules w.r.t. to the implicit AFS that need to be oriented.

Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(g(x1, x2))=  x1 + x2  
  POL(h(x1, x2))=  1 + x1 + x2  
  POL(F(x1))=  x1  

resulting in one new DP problem.



   R
DPs
       →DP Problem 1
Polo
           →DP Problem 2
Polynomial Ordering


Dependency Pairs:

F(g(x, y)) -> F(y)
F(g(x, y)) -> F(x)


Rules:


f(a) -> b
f(c) -> d
f(g(x, y)) -> g(f(x), f(y))
f(h(x, y)) -> g(h(y, f(x)), h(x, f(y)))
g(x, x) -> h(e, x)





The following dependency pairs can be strictly oriented:

F(g(x, y)) -> F(y)
F(g(x, y)) -> F(x)


There are no usable rules w.r.t. to the implicit AFS that need to be oriented.

Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(g(x1, x2))=  1 + x1 + x2  
  POL(F(x1))=  x1  

resulting in one new DP problem.



   R
DPs
       →DP Problem 1
Polo
           →DP Problem 2
Polo
             ...
               →DP Problem 3
Dependency Graph


Dependency Pair:


Rules:


f(a) -> b
f(c) -> d
f(g(x, y)) -> g(f(x), f(y))
f(h(x, y)) -> g(h(y, f(x)), h(x, f(y)))
g(x, x) -> h(e, x)





Using the Dependency Graph resulted in no new DP problems.

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