YES

The TRS could be proven terminating. The proof took 18 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#(f(X))a__f#(mark(X))mark#(f(X))mark#(X)
mark#(h(X))mark#(X)

Rewrite Rules

a__f(X)g(h(f(X)))mark(f(X))a__f(mark(X))
mark(g(X))g(X)mark(h(X))h(mark(X))
a__f(X)f(X)

Original Signature

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

Strategy


The following SCCs where found

mark#(f(X)) → mark#(X)mark#(h(X)) → mark#(X)

Problem 2: SubtermCriterion



Dependency Pair Problem

Dependency Pairs

mark#(f(X))mark#(X)mark#(h(X))mark#(X)

Rewrite Rules

a__f(X)g(h(f(X)))mark(f(X))a__f(mark(X))
mark(g(X))g(X)mark(h(X))h(mark(X))
a__f(X)f(X)

Original Signature

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

Strategy


Projection

The following projection was used:

Thus, the following dependency pairs are removed:

mark#(f(X))mark#(X)mark#(h(X))mark#(X)