YES

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

The following DP Processors were used


Problem 1 was processed with processor PolynomialLinearRange4iUR (233ms).
 | – Problem 2 was processed with processor PolynomialLinearRange4iUR (118ms).

Problem 1: PolynomialLinearRange4iUR



Dependency Pair Problem

Dependency Pairs

f#(s(s(x)))f#(s(x))f#(s(s(x)))f#(f(s(x)))

Rewrite Rules

f(0)s(0)f(s(0))s(0)
f(s(s(x)))f(f(s(x)))

Original Signature

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

Strategy


Polynomial Interpretation

Improved Usable rules

f(0)s(0)f(s(s(x)))f(f(s(x)))
f(s(0))s(0)

The following dependency pairs are strictly oriented by an ordering on the given polynomial interpretation, thus they are removed:

f#(s(s(x)))f#(s(x))

Problem 2: PolynomialLinearRange4iUR



Dependency Pair Problem

Dependency Pairs

f#(s(s(x)))f#(f(s(x)))

Rewrite Rules

f(0)s(0)f(s(0))s(0)
f(s(s(x)))f(f(s(x)))

Original Signature

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

Strategy


Polynomial Interpretation

Improved Usable rules

f(0)s(0)f(s(s(x)))f(f(s(x)))
f(s(0))s(0)

The following dependency pairs are strictly oriented by an ordering on the given polynomial interpretation, thus they are removed:

f#(s(s(x)))f#(f(s(x)))