(0) Obligation:

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

a__f(X, X) → a__f(a, b)
a__ba
mark(f(X1, X2)) → a__f(mark(X1), X2)
mark(b) → a__b
mark(a) → a
a__f(X1, X2) → f(X1, X2)
a__bb

Q is empty.

(1) QTRSRRRProof (EQUIVALENT transformation)

Used ordering:
Recursive Path Order [RPO].
Precedence:
mark1 > af2 > f2 > [a, b]
mark1 > ab > [a, b]

With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:

a__ba
mark(f(X1, X2)) → a__f(mark(X1), X2)
mark(b) → a__b
mark(a) → a
a__f(X1, X2) → f(X1, X2)
a__bb


(2) Obligation:

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

a__f(X, X) → a__f(a, b)

Q is empty.