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