(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 with status [RPO].
Quasi-Precedence:
mark1 > [af2, f2] > [a, b]
mark1 > ab > [a, b]

Status:
a: multiset
ab: multiset
f2: [1,2]
af2: [1,2]
mark1: [1]
b: multiset

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__bb


(2) Obligation:

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

a__f(X, X) → a__f(a, b)
a__f(X1, X2) → f(X1, X2)

Q is empty.

(3) QTRSRRRProof (EQUIVALENT transformation)

Used ordering:
Recursive path order with status [RPO].
Quasi-Precedence:
af2 > [a, b, f2]

Status:
a: multiset
f2: multiset
af2: [1,2]
b: multiset

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

a__f(X1, X2) → f(X1, X2)


(4) Obligation:

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

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

Q is empty.