YES

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

The following DP Processors were used


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

Problem 1: DependencyGraph



Dependency Pair Problem

Dependency Pairs

mark#(g(X))mark#(X)a__f#(f(a))a__f#(g(f(a)))
mark#(f(X))a__f#(X)

Rewrite Rules

a__f(f(a))a__f(g(f(a)))mark(f(X))a__f(X)
mark(a)amark(g(X))g(mark(X))
a__f(X)f(X)

Original Signature

Termination of terms over the following signature is verified: f, g, a, mark, a__f

Strategy


The following SCCs where found

mark#(g(X)) → mark#(X)

Problem 2: SubtermCriterion



Dependency Pair Problem

Dependency Pairs

mark#(g(X))mark#(X)

Rewrite Rules

a__f(f(a))a__f(g(f(a)))mark(f(X))a__f(X)
mark(a)amark(g(X))g(mark(X))
a__f(X)f(X)

Original Signature

Termination of terms over the following signature is verified: f, g, a, mark, a__f

Strategy


Projection

The following projection was used:

Thus, the following dependency pairs are removed:

mark#(g(X))mark#(X)