YES
The TRS could be proven terminating. The proof took 20 ms.
Problem 1 was processed with processor SubtermCriterion (0ms). | Problem 2 was processed with processor DependencyGraph (0ms).
h#(x, y) | → | g#(x, f(y)) | g#(f(x), y) | → | h#(x, y) |
g(f(x), y) | → | f(h(x, y)) | h(x, y) | → | g(x, f(y)) |
Termination of terms over the following signature is verified: f, g, h
The following projection was used:
Thus, the following dependency pairs are removed:
g#(f(x), y) | → | h#(x, y) |
h#(x, y) | → | g#(x, f(y)) |
g(f(x), y) | → | f(h(x, y)) | h(x, y) | → | g(x, f(y)) |
Termination of terms over the following signature is verified: f, g, h