YES
The TRS could be proven terminating. The proof took 28 ms.
Problem 1 was processed with processor DependencyGraph (15ms). | Problem 2 was processed with processor SubtermCriterion (0ms).
f#(h(x, y)) | → | g#(h(y, f(x)), h(x, f(y))) | f#(g(x, y)) | → | f#(x) | |
f#(h(x, y)) | → | f#(y) | f#(g(x, y)) | → | g#(f(x), f(y)) | |
f#(h(x, y)) | → | f#(x) | f#(g(x, y)) | → | f#(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 terms over the following signature is verified: f, g, d, e, b, c, a, h
f#(g(x, y)) → f#(x) | f#(h(x, y)) → f#(y) |
f#(h(x, y)) → f#(x) | f#(g(x, y)) → f#(y) |
f#(g(x, y)) | → | f#(x) | f#(h(x, y)) | → | f#(y) | |
f#(h(x, y)) | → | f#(x) | f#(g(x, y)) | → | f#(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 terms over the following signature is verified: f, g, d, e, b, c, a, h
The following projection was used:
Thus, the following dependency pairs are removed:
f#(h(x, y)) | → | f#(y) | f#(g(x, y)) | → | f#(x) | |
f#(h(x, y)) | → | f#(x) | f#(g(x, y)) | → | f#(y) |