YES

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

The following DP Processors were used


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

Problem 1: SubtermCriterion



Dependency Pair Problem

Dependency Pairs

g#(h(x, y), z)g#(x, f(y, z))g#(f(x, y), z)g#(y, z)
g#(x, h(y, z))g#(x, y)

Rewrite Rules

g(f(x, y), z)f(x, g(y, z))g(h(x, y), z)g(x, f(y, z))
g(x, h(y, z))h(g(x, y), z)

Original Signature

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

Strategy


Projection

The following projection was used:

Thus, the following dependency pairs are removed:

g#(h(x, y), z)g#(x, f(y, z))g#(f(x, y), z)g#(y, z)

Problem 2: SubtermCriterion



Dependency Pair Problem

Dependency Pairs

g#(x, h(y, z))g#(x, y)

Rewrite Rules

g(f(x, y), z)f(x, g(y, z))g(h(x, y), z)g(x, f(y, z))
g(x, h(y, z))h(g(x, y), z)

Original Signature

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

Strategy


Projection

The following projection was used:

Thus, the following dependency pairs are removed:

g#(x, h(y, z))g#(x, y)