Term Rewriting System R:
[y, x, z]
f(a, g(y)) -> g(g(y))
f(g(x), a) -> f(x, g(a))
f(g(x), g(y)) -> h(g(y), x, g(y))
h(g(x), y, z) -> f(y, h(x, y, z))
h(a, y, z) -> z

Innermost Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

F(g(x), a) -> F(x, g(a))
F(g(x), g(y)) -> H(g(y), x, g(y))
H(g(x), y, z) -> F(y, h(x, y, z))
H(g(x), y, z) -> H(x, y, z)

Furthermore, R contains one SCC.


   R
DPs
       →DP Problem 1
Narrowing Transformation


Dependency Pairs:

H(g(x), y, z) -> H(x, y, z)
H(g(x), y, z) -> F(y, h(x, y, z))
F(g(x), g(y)) -> H(g(y), x, g(y))
F(g(x), a) -> F(x, g(a))


Rules:


f(a, g(y)) -> g(g(y))
f(g(x), a) -> f(x, g(a))
f(g(x), g(y)) -> h(g(y), x, g(y))
h(g(x), y, z) -> f(y, h(x, y, z))
h(a, y, z) -> z


Strategy:

innermost




On this DP problem, a Narrowing SCC transformation can be performed.
As a result of transforming the rule

H(g(x), y, z) -> F(y, h(x, y, z))
two new Dependency Pairs are created:

H(g(g(x'')), y'', z'') -> F(y'', f(y'', h(x'', y'', z'')))
H(g(a), y'', z'') -> F(y'', z'')

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
Nar
           →DP Problem 2
Remaining Obligation(s)




The following remains to be proven:
Dependency Pairs:

H(g(a), y'', z'') -> F(y'', z'')
F(g(x), g(y)) -> H(g(y), x, g(y))
F(g(x), a) -> F(x, g(a))
H(g(g(x'')), y'', z'') -> F(y'', f(y'', h(x'', y'', z'')))
H(g(x), y, z) -> H(x, y, z)


Rules:


f(a, g(y)) -> g(g(y))
f(g(x), a) -> f(x, g(a))
f(g(x), g(y)) -> h(g(y), x, g(y))
h(g(x), y, z) -> f(y, h(x, y, z))
h(a, y, z) -> z


Strategy:

innermost



Innermost Termination of R could not be shown.
Duration:
0:00 minutes