YES

The TRS could be proven terminating. The proof took 31 ms.

The following DP Processors were used


Problem 1 was processed with processor SubtermCriterion (1ms).

Problem 1: SubtermCriterion



Dependency Pair Problem

Dependency Pairs

f#(g(x, y), z)f#(x, z)f#(f(x, y), z)f#(y, z)
f#(f(x, y), z)f#(x, f(y, z))f#(g(x, y), z)f#(y, z)

Rewrite Rules

f(0, y)yf(x, 0)x
f(i(x), y)i(x)f(f(x, y), z)f(x, f(y, z))
f(g(x, y), z)g(f(x, z), f(y, z))f(1, g(x, y))x
f(2, g(x, y))y

Original Signature

Termination of terms over the following signature is verified: f, g, 2, 1, 0, i

Strategy


Projection

The following projection was used:

Thus, the following dependency pairs are removed:

f#(g(x, y), z)f#(x, z)f#(f(x, y), z)f#(y, z)
f#(f(x, y), z)f#(x, f(y, z))f#(g(x, y), z)f#(y, z)