YES

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

The following DP Processors were used


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

Problem 1: DependencyGraph



Dependency Pair Problem

Dependency Pairs

sum#(s(x))+#(sum(x), s(x))+#(x, s(y))+#(x, y)
sum#(s(x))sum#(x)

Rewrite Rules

sum(0)0sum(s(x))+(sum(x), s(x))
+(x, 0)x+(x, s(y))s(+(x, y))

Original Signature

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

Strategy


The following SCCs where found

+#(x, s(y)) → +#(x, y)

sum#(s(x)) → sum#(x)

Problem 2: SubtermCriterion



Dependency Pair Problem

Dependency Pairs

sum#(s(x))sum#(x)

Rewrite Rules

sum(0)0sum(s(x))+(sum(x), s(x))
+(x, 0)x+(x, s(y))s(+(x, y))

Original Signature

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

Strategy


Projection

The following projection was used:

Thus, the following dependency pairs are removed:

sum#(s(x))sum#(x)

Problem 3: SubtermCriterion



Dependency Pair Problem

Dependency Pairs

+#(x, s(y))+#(x, y)

Rewrite Rules

sum(0)0sum(s(x))+(sum(x), s(x))
+(x, 0)x+(x, s(y))s(+(x, y))

Original Signature

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

Strategy


Projection

The following projection was used:

Thus, the following dependency pairs are removed:

+#(x, s(y))+#(x, y)