(0) Obligation:

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

f(a, f(a, x)) → f(c, f(b, x))
f(b, f(b, x)) → f(a, f(c, x))
f(c, f(c, x)) → f(b, f(a, x))

Q is empty.

(1) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LPAR04] we result in the following initial DP problem.

(2) Obligation:

Q DP problem:
The TRS P consists of the following rules:

F(a, f(a, x)) → F(c, f(b, x))
F(a, f(a, x)) → F(b, x)
F(b, f(b, x)) → F(a, f(c, x))
F(b, f(b, x)) → F(c, x)
F(c, f(c, x)) → F(b, f(a, x))
F(c, f(c, x)) → F(a, x)

The TRS R consists of the following rules:

f(a, f(a, x)) → f(c, f(b, x))
f(b, f(b, x)) → f(a, f(c, x))
f(c, f(c, x)) → f(b, f(a, x))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(3) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04]. Here, we combined the reduction pair processor with the A-transformation [FROCOS05] which results in the following intermediate Q-DP Problem.
The a-transformed P is

a1(a(x)) → c1(b(x))
a1(a(x)) → b1(x)
b1(b(x)) → a1(c(x))
b1(b(x)) → c1(x)
c1(c(x)) → b1(a(x))
c1(c(x)) → a1(x)

The a-transformed usable rules are

b(b(x)) → a(c(x))
c(c(x)) → b(a(x))
a(a(x)) → c(b(x))


The following pairs can be oriented strictly and are deleted.


F(a, f(a, x)) → F(b, x)
F(b, f(b, x)) → F(c, x)
F(c, f(c, x)) → F(a, x)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
a1(x1)  =  x1
a(x1)  =  a(x1)
c1(x1)  =  x1
b(x1)  =  b(x1)
b1(x1)  =  x1
c(x1)  =  c(x1)

Lexicographic Path Order [LPO].
Precedence:
[a1, b1, c1]


The following usable rules [FROCOS05] were oriented:

f(b, f(b, x)) → f(a, f(c, x))
f(c, f(c, x)) → f(b, f(a, x))
f(a, f(a, x)) → f(c, f(b, x))

(4) Obligation:

Q DP problem:
The TRS P consists of the following rules:

F(a, f(a, x)) → F(c, f(b, x))
F(b, f(b, x)) → F(a, f(c, x))
F(c, f(c, x)) → F(b, f(a, x))

The TRS R consists of the following rules:

f(a, f(a, x)) → f(c, f(b, x))
f(b, f(b, x)) → f(a, f(c, x))
f(c, f(c, x)) → f(b, f(a, x))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.