(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

a__ca__f(g(c))
a__f(g(X)) → g(X)
mark(c) → a__c
mark(f(X)) → a__f(X)
mark(g(X)) → g(X)
a__cc
a__f(X) → f(X)

Q is empty.

(1) DirectTerminationProof (EQUIVALENT transformation)

We use [DIRECT_TERMINATION] with the following order to prove termination.

Knuth-Bendix order [KBO] with precedence:
f1 > af1 > ac > mark1 > c > g1

and weight map:

a__c=5
c=1
a__f_1=2
g_1=1
mark_1=5
f_1=1

The variable weight is 1

(2) TRUE