YES

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

The following DP Processors were used


Problem 1 was processed with processor SubtermCriterion (0ms).
 | – Problem 2 was processed with processor DependencyGraph (0ms).

Problem 1: SubtermCriterion



Dependency Pair Problem

Dependency Pairs

f#(x, y, s(z))f#(0, 1, z)f#(0, 1, x)f#(s(x), x, x)

Rewrite Rules

g(x, y)xg(x, y)y
f(0, 1, x)f(s(x), x, x)f(x, y, s(z))s(f(0, 1, z))

Original Signature

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

Strategy


Projection

The following projection was used:

Thus, the following dependency pairs are removed:

f#(x, y, s(z))f#(0, 1, z)

Problem 2: DependencyGraph



Dependency Pair Problem

Dependency Pairs

f#(0, 1, x)f#(s(x), x, x)

Rewrite Rules

g(x, y)xg(x, y)y
f(0, 1, x)f(s(x), x, x)f(x, y, s(z))s(f(0, 1, z))

Original Signature

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

Strategy


There are no SCCs!