(0) Obligation:

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

c(c(z, y, a), a, a) → b(z, y)
f(c(x, y, z)) → c(z, f(b(y, z)), a)
b(z, b(c(a, y, a), f(f(x)))) → c(c(y, a, z), z, 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:

C(c(z, y, a), a, a) → B(z, y)
F(c(x, y, z)) → C(z, f(b(y, z)), a)
F(c(x, y, z)) → F(b(y, z))
F(c(x, y, z)) → B(y, z)
B(z, b(c(a, y, a), f(f(x)))) → C(c(y, a, z), z, x)
B(z, b(c(a, y, a), f(f(x)))) → C(y, a, z)

The TRS R consists of the following rules:

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

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

(3) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 2 SCCs with 2 less nodes.

(4) Complex Obligation (AND)

(5) Obligation:

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

B(z, b(c(a, y, a), f(f(x)))) → C(c(y, a, z), z, x)
C(c(z, y, a), a, a) → B(z, y)
B(z, b(c(a, y, a), f(f(x)))) → C(y, a, z)

The TRS R consists of the following rules:

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

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

(6) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


B(z, b(c(a, y, a), f(f(x)))) → C(c(y, a, z), z, x)
B(z, b(c(a, y, a), f(f(x)))) → C(y, a, z)
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:

POL(B(x1, x2)) = x1 + x2   
POL(C(x1, x2, x3)) = x1   
POL(a) = 1   
POL(b(x1, x2)) = x1 + x2   
POL(c(x1, x2, x3)) = x1 + x2   
POL(f(x1)) = 1   

The following usable rules [FROCOS05] were oriented:

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

(7) Obligation:

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

C(c(z, y, a), a, a) → B(z, y)

The TRS R consists of the following rules:

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

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

(8) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 1 less node.

(9) TRUE

(10) Obligation:

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

F(c(x, y, z)) → F(b(y, z))

The TRS R consists of the following rules:

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

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

(11) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


F(c(x, y, z)) → F(b(y, z))
The remaining pairs can at least be oriented weakly.
Used ordering: Matrix interpretation [MATRO]:

POL(F(x1)) =
/0\
\0/
+
/01\
\01/
·x1

POL(c(x1, x2, x3)) =
/0\
\1/
+
/10\
\10/
·x1 +
/10\
\00/
·x2 +
/00\
\10/
·x3

POL(b(x1, x2)) =
/0\
\0/
+
/10\
\00/
·x1 +
/10\
\10/
·x2

POL(a) =
/0\
\0/

POL(f(x1)) =
/1\
\0/
+
/01\
\10/
·x1

The following usable rules [FROCOS05] were oriented:

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

(12) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

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

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

(13) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(14) TRUE