Termination w.r.t. Q of the following Term Rewriting System could be proven:

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

a(a(x1)) → c(b(a(b(a(x1)))))
b(a(b(x1))) → b(x1)
a(a(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(a(c(x1))) → a(a(c(x1)))

Q is empty.


QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof

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

a(a(x1)) → c(b(a(b(a(x1)))))
b(a(b(x1))) → b(x1)
a(a(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(a(c(x1))) → a(a(c(x1)))

Q is empty.

We have reversed the following QTRS:
The set of rules R is

a(a(x1)) → c(b(a(b(a(x1)))))
b(a(b(x1))) → b(x1)
a(a(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(a(c(x1))) → a(a(c(x1)))

The set Q is empty.
We have obtained the following QTRS:

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

The set Q is empty.

↳ QTRS
  ↳ QTRS Reverse
QTRS
  ↳ QTRS Reverse
  ↳ DependencyPairsProof

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

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

Q is empty.

We have reversed the following QTRS:
The set of rules R is

a(a(x1)) → c(b(a(b(a(x1)))))
b(a(b(x1))) → b(x1)
a(a(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(a(c(x1))) → a(a(c(x1)))

The set Q is empty.
We have obtained the following QTRS:

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

The set Q is empty.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
QTRS
  ↳ DependencyPairsProof

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

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

Q is empty.

Using Dependency Pairs [1,15] we result in the following initial DP problem:
Q DP problem:
The TRS P consists of the following rules:

A(c(a(x1))) → C(c(a(x1)))
A(a(x1)) → A(b(a(x1)))
A(a(x1)) → B(a(x1))
C(c(x1)) → A(b(c(b(a(x1)))))
C(c(x1)) → C(b(a(x1)))
A(a(x1)) → C(b(a(b(a(x1)))))
C(c(x1)) → A(x1)
C(a(c(x1))) → A(a(c(x1)))
A(a(a(x1))) → C(a(x1))
C(c(x1)) → B(c(b(a(x1))))
A(a(x1)) → B(a(b(a(x1))))
C(c(x1)) → B(a(x1))
A(a(a(x1))) → C(c(a(x1)))

The TRS R consists of the following rules:

a(a(x1)) → c(b(a(b(a(x1)))))
b(a(b(x1))) → b(x1)
a(a(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(a(c(x1))) → a(a(c(x1)))

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

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
QDP
      ↳ DependencyGraphProof

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

A(c(a(x1))) → C(c(a(x1)))
A(a(x1)) → A(b(a(x1)))
A(a(x1)) → B(a(x1))
C(c(x1)) → A(b(c(b(a(x1)))))
C(c(x1)) → C(b(a(x1)))
A(a(x1)) → C(b(a(b(a(x1)))))
C(c(x1)) → A(x1)
C(a(c(x1))) → A(a(c(x1)))
A(a(a(x1))) → C(a(x1))
C(c(x1)) → B(c(b(a(x1))))
A(a(x1)) → B(a(b(a(x1))))
C(c(x1)) → B(a(x1))
A(a(a(x1))) → C(c(a(x1)))

The TRS R consists of the following rules:

a(a(x1)) → c(b(a(b(a(x1)))))
b(a(b(x1))) → b(x1)
a(a(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(a(c(x1))) → a(a(c(x1)))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 4 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
QDP
          ↳ QDPOrderProof

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

C(c(x1)) → C(b(a(x1)))
C(c(x1)) → A(b(c(b(a(x1)))))
A(c(a(x1))) → C(c(a(x1)))
C(c(x1)) → A(x1)
A(a(x1)) → C(b(a(b(a(x1)))))
A(a(x1)) → A(b(a(x1)))
C(a(c(x1))) → A(a(c(x1)))
A(a(a(x1))) → C(a(x1))
A(a(a(x1))) → C(c(a(x1)))

The TRS R consists of the following rules:

a(a(x1)) → c(b(a(b(a(x1)))))
b(a(b(x1))) → b(x1)
a(a(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(a(c(x1))) → a(a(c(x1)))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


A(a(a(x1))) → C(a(x1))
The remaining pairs can at least be oriented weakly.

C(c(x1)) → C(b(a(x1)))
C(c(x1)) → A(b(c(b(a(x1)))))
A(c(a(x1))) → C(c(a(x1)))
C(c(x1)) → A(x1)
A(a(x1)) → C(b(a(b(a(x1)))))
A(a(x1)) → A(b(a(x1)))
C(a(c(x1))) → A(a(c(x1)))
A(a(a(x1))) → C(c(a(x1)))
Used ordering: Polynomial Order [21,25] with Interpretation:

POL( A(x1) ) = max{0, x1 - 1}


POL( C(x1) ) = max{0, x1 - 1}


POL( c(x1) ) = x1 + 1


POL( b(x1) ) = max{0, -1}


POL( a(x1) ) = x1 + 1



The following usable rules [17] were oriented:

a(a(x1)) → c(b(a(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
c(a(c(x1))) → a(a(c(x1)))
a(a(a(x1))) → c(c(a(x1)))
b(a(b(x1))) → b(x1)



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
QDP
              ↳ QDPOrderProof

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

C(c(x1)) → A(b(c(b(a(x1)))))
C(c(x1)) → C(b(a(x1)))
A(c(a(x1))) → C(c(a(x1)))
A(a(x1)) → C(b(a(b(a(x1)))))
C(c(x1)) → A(x1)
A(a(x1)) → A(b(a(x1)))
C(a(c(x1))) → A(a(c(x1)))
A(a(a(x1))) → C(c(a(x1)))

The TRS R consists of the following rules:

a(a(x1)) → c(b(a(b(a(x1)))))
b(a(b(x1))) → b(x1)
a(a(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(a(c(x1))) → a(a(c(x1)))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


C(c(x1)) → C(b(a(x1)))
A(a(x1)) → C(b(a(b(a(x1)))))
The remaining pairs can at least be oriented weakly.

C(c(x1)) → A(b(c(b(a(x1)))))
A(c(a(x1))) → C(c(a(x1)))
C(c(x1)) → A(x1)
A(a(x1)) → A(b(a(x1)))
C(a(c(x1))) → A(a(c(x1)))
A(a(a(x1))) → C(c(a(x1)))
Used ordering: Polynomial Order [21,25] with Interpretation:

POL( A(x1) ) = 1


POL( C(x1) ) = x1


POL( c(x1) ) = 1


POL( b(x1) ) = max{0, -1}


POL( a(x1) ) = 1



The following usable rules [17] were oriented:

a(a(x1)) → c(b(a(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
c(a(c(x1))) → a(a(c(x1)))
a(a(a(x1))) → c(c(a(x1)))
b(a(b(x1))) → b(x1)



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
QDP
                  ↳ QDPOrderProof

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

C(c(x1)) → A(b(c(b(a(x1)))))
A(c(a(x1))) → C(c(a(x1)))
C(c(x1)) → A(x1)
A(a(x1)) → A(b(a(x1)))
C(a(c(x1))) → A(a(c(x1)))
A(a(a(x1))) → C(c(a(x1)))

The TRS R consists of the following rules:

a(a(x1)) → c(b(a(b(a(x1)))))
b(a(b(x1))) → b(x1)
a(a(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(a(c(x1))) → a(a(c(x1)))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


C(c(x1)) → A(b(c(b(a(x1)))))
C(c(x1)) → A(x1)
A(a(x1)) → A(b(a(x1)))
The remaining pairs can at least be oriented weakly.

A(c(a(x1))) → C(c(a(x1)))
C(a(c(x1))) → A(a(c(x1)))
A(a(a(x1))) → C(c(a(x1)))
Used ordering: Polynomial Order [21,25] with Interpretation:

POL( A(x1) ) = x1


POL( C(x1) ) = x1


POL( c(x1) ) = x1 + 1


POL( b(x1) ) = max{0, -1}


POL( a(x1) ) = x1 + 1



The following usable rules [17] were oriented:

a(a(x1)) → c(b(a(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
c(a(c(x1))) → a(a(c(x1)))
a(a(a(x1))) → c(c(a(x1)))
b(a(b(x1))) → b(x1)



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
QDP
                      ↳ Narrowing

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

A(c(a(x1))) → C(c(a(x1)))
C(a(c(x1))) → A(a(c(x1)))
A(a(a(x1))) → C(c(a(x1)))

The TRS R consists of the following rules:

a(a(x1)) → c(b(a(b(a(x1)))))
b(a(b(x1))) → b(x1)
a(a(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(a(c(x1))) → a(a(c(x1)))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule A(c(a(x1))) → C(c(a(x1))) at position [0] we obtained the following new rules:

A(c(a(a(x0)))) → C(c(c(b(a(b(a(x0)))))))
A(c(a(c(x0)))) → C(a(a(c(x0))))
A(c(a(c(a(x0))))) → C(c(c(c(a(x0)))))
A(c(a(a(a(x0))))) → C(c(c(c(a(x0)))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
QDP
                          ↳ Narrowing

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

A(c(a(c(x0)))) → C(a(a(c(x0))))
C(a(c(x1))) → A(a(c(x1)))
A(c(a(a(x0)))) → C(c(c(b(a(b(a(x0)))))))
A(c(a(c(a(x0))))) → C(c(c(c(a(x0)))))
A(c(a(a(a(x0))))) → C(c(c(c(a(x0)))))
A(a(a(x1))) → C(c(a(x1)))

The TRS R consists of the following rules:

a(a(x1)) → c(b(a(b(a(x1)))))
b(a(b(x1))) → b(x1)
a(a(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(a(c(x1))) → a(a(c(x1)))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule C(a(c(x1))) → A(a(c(x1))) at position [0] we obtained the following new rules:

C(a(c(c(x0)))) → A(a(a(b(c(b(a(x0)))))))
C(a(c(a(x0)))) → A(c(c(a(x0))))
C(a(c(a(c(x0))))) → A(a(a(a(c(x0)))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
QDP
                              ↳ Narrowing

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

C(a(c(a(x0)))) → A(c(c(a(x0))))
C(a(c(a(c(x0))))) → A(a(a(a(c(x0)))))
A(c(a(c(x0)))) → C(a(a(c(x0))))
C(a(c(c(x0)))) → A(a(a(b(c(b(a(x0)))))))
A(c(a(a(x0)))) → C(c(c(b(a(b(a(x0)))))))
A(c(a(c(a(x0))))) → C(c(c(c(a(x0)))))
A(a(a(x1))) → C(c(a(x1)))
A(c(a(a(a(x0))))) → C(c(c(c(a(x0)))))

The TRS R consists of the following rules:

a(a(x1)) → c(b(a(b(a(x1)))))
b(a(b(x1))) → b(x1)
a(a(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(a(c(x1))) → a(a(c(x1)))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule A(a(a(x1))) → C(c(a(x1))) at position [0] we obtained the following new rules:

A(a(a(c(a(x0))))) → C(c(c(c(a(x0)))))
A(a(a(c(x0)))) → C(a(a(c(x0))))
A(a(a(a(a(x0))))) → C(c(c(c(a(x0)))))
A(a(a(a(x0)))) → C(c(c(b(a(b(a(x0)))))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
QDP
                                  ↳ QDPOrderProof

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

A(a(a(c(a(x0))))) → C(c(c(c(a(x0)))))
C(a(c(a(x0)))) → A(c(c(a(x0))))
C(a(c(a(c(x0))))) → A(a(a(a(c(x0)))))
A(c(a(c(x0)))) → C(a(a(c(x0))))
C(a(c(c(x0)))) → A(a(a(b(c(b(a(x0)))))))
A(a(a(c(x0)))) → C(a(a(c(x0))))
A(a(a(a(a(x0))))) → C(c(c(c(a(x0)))))
A(c(a(a(x0)))) → C(c(c(b(a(b(a(x0)))))))
A(a(a(a(x0)))) → C(c(c(b(a(b(a(x0)))))))
A(c(a(c(a(x0))))) → C(c(c(c(a(x0)))))
A(c(a(a(a(x0))))) → C(c(c(c(a(x0)))))

The TRS R consists of the following rules:

a(a(x1)) → c(b(a(b(a(x1)))))
b(a(b(x1))) → b(x1)
a(a(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(a(c(x1))) → a(a(c(x1)))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


C(a(c(c(x0)))) → A(a(a(b(c(b(a(x0)))))))
A(c(a(a(x0)))) → C(c(c(b(a(b(a(x0)))))))
A(a(a(a(x0)))) → C(c(c(b(a(b(a(x0)))))))
The remaining pairs can at least be oriented weakly.

A(a(a(c(a(x0))))) → C(c(c(c(a(x0)))))
C(a(c(a(x0)))) → A(c(c(a(x0))))
C(a(c(a(c(x0))))) → A(a(a(a(c(x0)))))
A(c(a(c(x0)))) → C(a(a(c(x0))))
A(a(a(c(x0)))) → C(a(a(c(x0))))
A(a(a(a(a(x0))))) → C(c(c(c(a(x0)))))
A(c(a(c(a(x0))))) → C(c(c(c(a(x0)))))
A(c(a(a(a(x0))))) → C(c(c(c(a(x0)))))
Used ordering: Polynomial Order [21,25] with Interpretation:

POL( A(x1) ) = max{0, x1 - 1}


POL( C(x1) ) = max{0, x1 - 1}


POL( c(x1) ) = x1 + 1


POL( b(x1) ) = max{0, -1}


POL( a(x1) ) = x1 + 1



The following usable rules [17] were oriented:

a(a(x1)) → c(b(a(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
c(a(c(x1))) → a(a(c(x1)))
a(a(a(x1))) → c(c(a(x1)))
b(a(b(x1))) → b(x1)



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2

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

C(a(c(a(x0)))) → A(c(c(a(x0))))
A(a(a(c(a(x0))))) → C(c(c(c(a(x0)))))
C(a(c(a(c(x0))))) → A(a(a(a(c(x0)))))
A(c(a(c(x0)))) → C(a(a(c(x0))))
A(a(a(c(x0)))) → C(a(a(c(x0))))
A(a(a(a(a(x0))))) → C(c(c(c(a(x0)))))
A(c(a(c(a(x0))))) → C(c(c(c(a(x0)))))
A(c(a(a(a(x0))))) → C(c(c(c(a(x0)))))

The TRS R consists of the following rules:

a(a(x1)) → c(b(a(b(a(x1)))))
b(a(b(x1))) → b(x1)
a(a(a(x1))) → c(c(a(x1)))
c(c(x1)) → a(b(c(b(a(x1)))))
a(c(a(x1))) → c(c(a(x1)))
c(a(c(x1))) → a(a(c(x1)))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We found the following model for the rules of the TRS R. Interpretation over the domain with elements from 0 to 1.C: 0
c: 0
a: 0
A: 0
b: 1
By semantic labelling [33] we obtain the following labelled TRS:Q DP problem:
The TRS P consists of the following rules:

C.0(a.0(c.0(a.0(c.0(x0))))) → A.0(a.0(a.0(a.0(c.0(x0)))))
A.0(c.0(a.0(c.0(x0)))) → C.0(a.0(a.0(c.0(x0))))
A.0(a.0(a.0(c.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))
A.0(c.0(a.0(a.0(a.1(x0))))) → C.0(c.0(c.0(c.0(a.1(x0)))))
C.0(a.0(c.0(a.0(x0)))) → A.0(c.0(c.0(a.0(x0))))
C.0(a.0(c.0(a.0(c.1(x0))))) → A.0(a.0(a.0(a.0(c.1(x0)))))
A.0(c.0(a.0(c.0(a.1(x0))))) → C.0(c.0(c.0(c.0(a.1(x0)))))
C.0(a.0(c.0(a.1(x0)))) → A.0(c.0(c.0(a.1(x0))))
A.0(c.0(a.0(c.1(x0)))) → C.0(a.0(a.0(c.1(x0))))
A.0(c.0(a.0(c.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))
A.0(a.0(a.0(c.0(a.1(x0))))) → C.0(c.0(c.0(c.0(a.1(x0)))))
A.0(a.0(a.0(a.0(a.1(x0))))) → C.0(c.0(c.0(c.0(a.1(x0)))))
A.0(a.0(a.0(a.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))
A.0(a.0(a.0(c.1(x0)))) → C.0(a.0(a.0(c.1(x0))))
A.0(a.0(a.0(c.0(x0)))) → C.0(a.0(a.0(c.0(x0))))
A.0(c.0(a.0(a.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))

The TRS R consists of the following rules:

c.0(a.0(c.1(x1))) → a.0(a.0(c.1(x1)))
a.0(c.0(a.0(x1))) → c.0(c.0(a.0(x1)))
c.0(c.1(x1)) → a.1(b.0(c.1(b.0(a.1(x1)))))
c.0(a.0(c.0(x1))) → a.0(a.0(c.0(x1)))
a.0(a.1(x1)) → c.1(b.0(a.1(b.0(a.1(x1)))))
a.0(a.0(a.1(x1))) → c.0(c.0(a.1(x1)))
b.0(a.1(b.0(x1))) → b.0(x1)
a.0(a.0(x1)) → c.1(b.0(a.1(b.0(a.0(x1)))))
a.0(a.0(a.0(x1))) → c.0(c.0(a.0(x1)))
a.0(c.0(a.1(x1))) → c.0(c.0(a.1(x1)))
c.0(c.0(x1)) → a.1(b.0(c.1(b.0(a.0(x1)))))
b.0(a.1(b.1(x1))) → b.1(x1)

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

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
QDP
                                          ↳ RuleRemovalProof
                                      ↳ SemLabProof2

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

C.0(a.0(c.0(a.0(c.0(x0))))) → A.0(a.0(a.0(a.0(c.0(x0)))))
A.0(c.0(a.0(c.0(x0)))) → C.0(a.0(a.0(c.0(x0))))
A.0(a.0(a.0(c.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))
A.0(c.0(a.0(a.0(a.1(x0))))) → C.0(c.0(c.0(c.0(a.1(x0)))))
C.0(a.0(c.0(a.0(x0)))) → A.0(c.0(c.0(a.0(x0))))
C.0(a.0(c.0(a.0(c.1(x0))))) → A.0(a.0(a.0(a.0(c.1(x0)))))
A.0(c.0(a.0(c.0(a.1(x0))))) → C.0(c.0(c.0(c.0(a.1(x0)))))
C.0(a.0(c.0(a.1(x0)))) → A.0(c.0(c.0(a.1(x0))))
A.0(c.0(a.0(c.1(x0)))) → C.0(a.0(a.0(c.1(x0))))
A.0(c.0(a.0(c.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))
A.0(a.0(a.0(c.0(a.1(x0))))) → C.0(c.0(c.0(c.0(a.1(x0)))))
A.0(a.0(a.0(a.0(a.1(x0))))) → C.0(c.0(c.0(c.0(a.1(x0)))))
A.0(a.0(a.0(a.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))
A.0(a.0(a.0(c.1(x0)))) → C.0(a.0(a.0(c.1(x0))))
A.0(a.0(a.0(c.0(x0)))) → C.0(a.0(a.0(c.0(x0))))
A.0(c.0(a.0(a.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))

The TRS R consists of the following rules:

c.0(a.0(c.1(x1))) → a.0(a.0(c.1(x1)))
a.0(c.0(a.0(x1))) → c.0(c.0(a.0(x1)))
c.0(c.1(x1)) → a.1(b.0(c.1(b.0(a.1(x1)))))
c.0(a.0(c.0(x1))) → a.0(a.0(c.0(x1)))
a.0(a.1(x1)) → c.1(b.0(a.1(b.0(a.1(x1)))))
a.0(a.0(a.1(x1))) → c.0(c.0(a.1(x1)))
b.0(a.1(b.0(x1))) → b.0(x1)
a.0(a.0(x1)) → c.1(b.0(a.1(b.0(a.0(x1)))))
a.0(a.0(a.0(x1))) → c.0(c.0(a.0(x1)))
a.0(c.0(a.1(x1))) → c.0(c.0(a.1(x1)))
c.0(c.0(x1)) → a.1(b.0(c.1(b.0(a.0(x1)))))
b.0(a.1(b.1(x1))) → b.1(x1)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the rule removal processor [15] with the following polynomial ordering [25], at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented.

Strictly oriented rules of the TRS R:

c.0(c.1(x1)) → a.1(b.0(c.1(b.0(a.1(x1)))))
a.0(a.1(x1)) → c.1(b.0(a.1(b.0(a.1(x1)))))
a.0(a.0(x1)) → c.1(b.0(a.1(b.0(a.0(x1)))))
c.0(c.0(x1)) → a.1(b.0(c.1(b.0(a.0(x1)))))

Used ordering: POLO with Polynomial interpretation [25]:

POL(A.0(x1)) = x1   
POL(C.0(x1)) = x1   
POL(a.0(x1)) = 1 + x1   
POL(a.1(x1)) = x1   
POL(b.0(x1)) = x1   
POL(b.1(x1)) = x1   
POL(c.0(x1)) = 1 + x1   
POL(c.1(x1)) = x1   



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                        ↳ QDP
                                          ↳ RuleRemovalProof
QDP
                                              ↳ DependencyGraphProof
                                      ↳ SemLabProof2

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

C.0(a.0(c.0(a.0(c.0(x0))))) → A.0(a.0(a.0(a.0(c.0(x0)))))
A.0(c.0(a.0(c.0(x0)))) → C.0(a.0(a.0(c.0(x0))))
A.0(a.0(a.0(c.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))
A.0(c.0(a.0(a.0(a.1(x0))))) → C.0(c.0(c.0(c.0(a.1(x0)))))
C.0(a.0(c.0(a.0(x0)))) → A.0(c.0(c.0(a.0(x0))))
C.0(a.0(c.0(a.0(c.1(x0))))) → A.0(a.0(a.0(a.0(c.1(x0)))))
A.0(c.0(a.0(c.0(a.1(x0))))) → C.0(c.0(c.0(c.0(a.1(x0)))))
C.0(a.0(c.0(a.1(x0)))) → A.0(c.0(c.0(a.1(x0))))
A.0(c.0(a.0(c.1(x0)))) → C.0(a.0(a.0(c.1(x0))))
A.0(c.0(a.0(c.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))
A.0(a.0(a.0(c.0(a.1(x0))))) → C.0(c.0(c.0(c.0(a.1(x0)))))
A.0(a.0(a.0(a.0(a.1(x0))))) → C.0(c.0(c.0(c.0(a.1(x0)))))
A.0(a.0(a.0(a.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))
A.0(a.0(a.0(c.1(x0)))) → C.0(a.0(a.0(c.1(x0))))
A.0(a.0(a.0(c.0(x0)))) → C.0(a.0(a.0(c.0(x0))))
A.0(c.0(a.0(a.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))

The TRS R consists of the following rules:

c.0(a.0(c.1(x1))) → a.0(a.0(c.1(x1)))
a.0(c.0(a.0(x1))) → c.0(c.0(a.0(x1)))
c.0(a.0(c.0(x1))) → a.0(a.0(c.0(x1)))
a.0(a.0(a.1(x1))) → c.0(c.0(a.1(x1)))
b.0(a.1(b.0(x1))) → b.0(x1)
a.0(a.0(a.0(x1))) → c.0(c.0(a.0(x1)))
a.0(c.0(a.1(x1))) → c.0(c.0(a.1(x1)))
b.0(a.1(b.1(x1))) → b.1(x1)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 8 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                        ↳ QDP
                                          ↳ RuleRemovalProof
                                            ↳ QDP
                                              ↳ DependencyGraphProof
QDP
                                                  ↳ UsableRulesReductionPairsProof
                                      ↳ SemLabProof2

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

A.0(c.0(a.0(c.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))
C.0(a.0(c.0(a.0(c.0(x0))))) → A.0(a.0(a.0(a.0(c.0(x0)))))
A.0(c.0(a.0(c.0(x0)))) → C.0(a.0(a.0(c.0(x0))))
A.0(a.0(a.0(a.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))
A.0(a.0(a.0(c.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))
C.0(a.0(c.0(a.0(x0)))) → A.0(c.0(c.0(a.0(x0))))
A.0(a.0(a.0(c.0(x0)))) → C.0(a.0(a.0(c.0(x0))))
A.0(c.0(a.0(a.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))

The TRS R consists of the following rules:

c.0(a.0(c.1(x1))) → a.0(a.0(c.1(x1)))
a.0(c.0(a.0(x1))) → c.0(c.0(a.0(x1)))
c.0(a.0(c.0(x1))) → a.0(a.0(c.0(x1)))
a.0(a.0(a.1(x1))) → c.0(c.0(a.1(x1)))
b.0(a.1(b.0(x1))) → b.0(x1)
a.0(a.0(a.0(x1))) → c.0(c.0(a.0(x1)))
a.0(c.0(a.1(x1))) → c.0(c.0(a.1(x1)))
b.0(a.1(b.1(x1))) → b.1(x1)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the usable rules with reduction pair processor [15] with a polynomial ordering [25], all dependency pairs and the corresponding usable rules [17] can be oriented non-strictly. All non-usable rules are removed, and those dependency pairs and usable rules that have been oriented strictly or contain non-usable symbols in their left-hand side are removed as well.

No dependency pairs are removed.

No rules are removed from R.

Used ordering: POLO with Polynomial interpretation [25]:

POL(A.0(x1)) = x1   
POL(C.0(x1)) = x1   
POL(a.0(x1)) = x1   
POL(a.1(x1)) = x1   
POL(c.0(x1)) = x1   
POL(c.1(x1)) = x1   



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                        ↳ QDP
                                          ↳ RuleRemovalProof
                                            ↳ QDP
                                              ↳ DependencyGraphProof
                                                ↳ QDP
                                                  ↳ UsableRulesReductionPairsProof
QDP
                                      ↳ SemLabProof2

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

A.0(c.0(a.0(c.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))
A.0(c.0(a.0(c.0(x0)))) → C.0(a.0(a.0(c.0(x0))))
C.0(a.0(c.0(a.0(c.0(x0))))) → A.0(a.0(a.0(a.0(c.0(x0)))))
A.0(a.0(a.0(c.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))
A.0(a.0(a.0(a.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))
C.0(a.0(c.0(a.0(x0)))) → A.0(c.0(c.0(a.0(x0))))
A.0(a.0(a.0(c.0(x0)))) → C.0(a.0(a.0(c.0(x0))))
A.0(c.0(a.0(a.0(a.0(x0))))) → C.0(c.0(c.0(c.0(a.0(x0)))))

The TRS R consists of the following rules:

c.0(a.0(c.0(x1))) → a.0(a.0(c.0(x1)))
a.0(a.0(a.0(x1))) → c.0(c.0(a.0(x1)))
a.0(c.0(a.0(x1))) → c.0(c.0(a.0(x1)))
a.0(a.0(a.1(x1))) → c.0(c.0(a.1(x1)))
a.0(c.0(a.1(x1))) → c.0(c.0(a.1(x1)))
c.0(a.0(c.1(x1))) → a.0(a.0(c.1(x1)))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
As can be seen after transforming the QDP problem by semantic labelling [33] and then some rule deleting processors, only certain labelled rules and pairs can be used. Hence, we only have to consider all unlabelled pairs and rules (without the decreasing rules for quasi-models).

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
QDP
                                          ↳ QDPToSRSProof

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

C(a(c(a(x0)))) → A(c(c(a(x0))))
A(a(a(c(a(x0))))) → C(c(c(c(a(x0)))))
C(a(c(a(c(x0))))) → A(a(a(a(c(x0)))))
A(c(a(c(x0)))) → C(a(a(c(x0))))
A(a(a(c(x0)))) → C(a(a(c(x0))))
A(a(a(a(a(x0))))) → C(c(c(c(a(x0)))))
A(c(a(c(a(x0))))) → C(c(c(c(a(x0)))))
A(c(a(a(a(x0))))) → C(c(c(c(a(x0)))))

The TRS R consists of the following rules:

c(a(c(x1))) → a(a(c(x1)))
a(a(a(x1))) → c(c(a(x1)))
a(c(a(x1))) → c(c(a(x1)))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The finiteness of this DP problem is implied by strong termination of a SRS due to [12].


↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
QTRS
                                              ↳ QTRS Reverse

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

c(a(c(x1))) → a(a(c(x1)))
a(a(a(x1))) → c(c(a(x1)))
a(c(a(x1))) → c(c(a(x1)))
C(a(c(a(x0)))) → A(c(c(a(x0))))
A(a(a(c(a(x0))))) → C(c(c(c(a(x0)))))
C(a(c(a(c(x0))))) → A(a(a(a(c(x0)))))
A(c(a(c(x0)))) → C(a(a(c(x0))))
A(a(a(c(x0)))) → C(a(a(c(x0))))
A(a(a(a(a(x0))))) → C(c(c(c(a(x0)))))
A(c(a(c(a(x0))))) → C(c(c(c(a(x0)))))
A(c(a(a(a(x0))))) → C(c(c(c(a(x0)))))

Q is empty.

We have reversed the following QTRS:
The set of rules R is

c(a(c(x1))) → a(a(c(x1)))
a(a(a(x1))) → c(c(a(x1)))
a(c(a(x1))) → c(c(a(x1)))
C(a(c(a(x0)))) → A(c(c(a(x0))))
A(a(a(c(a(x0))))) → C(c(c(c(a(x0)))))
C(a(c(a(c(x0))))) → A(a(a(a(c(x0)))))
A(c(a(c(x0)))) → C(a(a(c(x0))))
A(a(a(c(x0)))) → C(a(a(c(x0))))
A(a(a(a(a(x0))))) → C(c(c(c(a(x0)))))
A(c(a(c(a(x0))))) → C(c(c(c(a(x0)))))
A(c(a(a(a(x0))))) → C(c(c(c(a(x0)))))

The set Q is empty.
We have obtained the following QTRS:

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

The set Q is empty.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
                                            ↳ QTRS
                                              ↳ QTRS Reverse
QTRS
                                                  ↳ DependencyPairsProof
                                                  ↳ QTRS Reverse
                                                  ↳ QTRS Reverse

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

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

Q is empty.

Using Dependency Pairs [1,15] we result in the following initial DP problem:
Q DP problem:
The TRS P consists of the following rules:

A1(a(a(c(A(x))))) → C1(C(x))
A1(c(a(c(A(x))))) → C1(c(c(C(x))))
C1(a(c(x))) → C1(a(a(x)))
A1(a(a(x))) → C1(c(x))
A1(c(a(x))) → C1(c(x))
C1(a(c(A(x)))) → A1(C(x))
A1(a(a(a(A(x))))) → C1(c(c(C(x))))
C1(a(c(A(x)))) → C1(a(a(C(x))))
A1(c(a(c(A(x))))) → A1(c(c(c(C(x)))))
A1(a(a(a(A(x))))) → C1(C(x))
A1(a(a(c(A(x))))) → C1(c(C(x)))
A1(c(a(x))) → C1(x)
A1(a(a(x))) → C1(x)
C1(a(c(x))) → A1(a(x))
C1(a(c(a(C(x))))) → A1(a(a(A(x))))
A1(a(a(a(A(x))))) → A1(c(c(c(C(x)))))
A1(c(a(C(x)))) → C1(c(A(x)))
A1(a(a(x))) → A1(c(c(x)))
C1(a(c(A(x)))) → A1(a(C(x)))
A1(c(a(a(A(x))))) → C1(c(C(x)))
A1(c(a(a(A(x))))) → C1(C(x))
A1(c(a(a(A(x))))) → C1(c(c(C(x))))
A1(a(a(c(A(x))))) → C1(c(c(C(x))))
A1(c(a(a(A(x))))) → A1(c(c(c(C(x)))))
A1(c(a(c(A(x))))) → C1(c(C(x)))
A1(c(a(c(A(x))))) → C1(C(x))
A1(c(a(C(x)))) → A1(c(c(A(x))))
C1(a(a(A(x)))) → C1(a(a(C(x))))
C1(a(c(x))) → A1(x)
C1(a(c(a(C(x))))) → A1(A(x))
A1(c(a(x))) → A1(c(c(x)))
A1(a(a(c(A(x))))) → A1(c(c(c(C(x)))))
C1(a(c(a(C(x))))) → C1(a(a(a(A(x)))))
C1(a(a(A(x)))) → A1(a(C(x)))
A1(a(a(a(A(x))))) → C1(c(C(x)))
C1(a(a(A(x)))) → A1(C(x))
A1(c(a(C(x)))) → C1(A(x))
C1(a(c(a(C(x))))) → A1(a(A(x)))

The TRS R consists of the following rules:

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

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

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
                                            ↳ QTRS
                                              ↳ QTRS Reverse
                                                ↳ QTRS
                                                  ↳ DependencyPairsProof
QDP
                                                      ↳ DependencyGraphProof
                                                  ↳ QTRS Reverse
                                                  ↳ QTRS Reverse

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

A1(a(a(c(A(x))))) → C1(C(x))
A1(c(a(c(A(x))))) → C1(c(c(C(x))))
C1(a(c(x))) → C1(a(a(x)))
A1(a(a(x))) → C1(c(x))
A1(c(a(x))) → C1(c(x))
C1(a(c(A(x)))) → A1(C(x))
A1(a(a(a(A(x))))) → C1(c(c(C(x))))
C1(a(c(A(x)))) → C1(a(a(C(x))))
A1(c(a(c(A(x))))) → A1(c(c(c(C(x)))))
A1(a(a(a(A(x))))) → C1(C(x))
A1(a(a(c(A(x))))) → C1(c(C(x)))
A1(c(a(x))) → C1(x)
A1(a(a(x))) → C1(x)
C1(a(c(x))) → A1(a(x))
C1(a(c(a(C(x))))) → A1(a(a(A(x))))
A1(a(a(a(A(x))))) → A1(c(c(c(C(x)))))
A1(c(a(C(x)))) → C1(c(A(x)))
A1(a(a(x))) → A1(c(c(x)))
C1(a(c(A(x)))) → A1(a(C(x)))
A1(c(a(a(A(x))))) → C1(c(C(x)))
A1(c(a(a(A(x))))) → C1(C(x))
A1(c(a(a(A(x))))) → C1(c(c(C(x))))
A1(a(a(c(A(x))))) → C1(c(c(C(x))))
A1(c(a(a(A(x))))) → A1(c(c(c(C(x)))))
A1(c(a(c(A(x))))) → C1(c(C(x)))
A1(c(a(c(A(x))))) → C1(C(x))
A1(c(a(C(x)))) → A1(c(c(A(x))))
C1(a(a(A(x)))) → C1(a(a(C(x))))
C1(a(c(x))) → A1(x)
C1(a(c(a(C(x))))) → A1(A(x))
A1(c(a(x))) → A1(c(c(x)))
A1(a(a(c(A(x))))) → A1(c(c(c(C(x)))))
C1(a(c(a(C(x))))) → C1(a(a(a(A(x)))))
C1(a(a(A(x)))) → A1(a(C(x)))
A1(a(a(a(A(x))))) → C1(c(C(x)))
C1(a(a(A(x)))) → A1(C(x))
A1(c(a(C(x)))) → C1(A(x))
C1(a(c(a(C(x))))) → A1(a(A(x)))

The TRS R consists of the following rules:

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 27 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
                                            ↳ QTRS
                                              ↳ QTRS Reverse
                                                ↳ QTRS
                                                  ↳ DependencyPairsProof
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
QDP
                                                          ↳ RuleRemovalProof
                                                  ↳ QTRS Reverse
                                                  ↳ QTRS Reverse

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

A1(a(a(x))) → A1(c(c(x)))
C1(a(c(x))) → A1(x)
A1(c(a(x))) → A1(c(c(x)))
A1(c(a(x))) → C1(x)
C1(a(c(x))) → C1(a(a(x)))
C1(a(c(a(C(x))))) → C1(a(a(a(A(x)))))
A1(a(a(x))) → C1(x)
A1(a(a(x))) → C1(c(x))
C1(a(c(x))) → A1(a(x))
A1(c(a(x))) → C1(c(x))
C1(a(c(a(C(x))))) → A1(a(a(A(x))))

The TRS R consists of the following rules:

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the rule removal processor [15] with the following polynomial ordering [25], at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented.
Strictly oriented dependency pairs:

C1(a(c(x))) → A1(x)
A1(c(a(x))) → C1(x)
A1(a(a(x))) → C1(x)
A1(a(a(x))) → C1(c(x))
C1(a(c(x))) → A1(a(x))
A1(c(a(x))) → C1(c(x))
C1(a(c(a(C(x))))) → A1(a(a(A(x))))


Used ordering: POLO with Polynomial interpretation [25]:

POL(A(x1)) = 2 + 2·x1   
POL(A1(x1)) = 1 + 2·x1   
POL(C(x1)) = 2 + 2·x1   
POL(C1(x1)) = 2 + x1   
POL(a(x1)) = 2 + 2·x1   
POL(c(x1)) = 2 + 2·x1   



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
                                            ↳ QTRS
                                              ↳ QTRS Reverse
                                                ↳ QTRS
                                                  ↳ DependencyPairsProof
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ RuleRemovalProof
QDP
                                                              ↳ DependencyGraphProof
                                                  ↳ QTRS Reverse
                                                  ↳ QTRS Reverse

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

A1(a(a(x))) → A1(c(c(x)))
A1(c(a(x))) → A1(c(c(x)))
C1(a(c(x))) → C1(a(a(x)))
C1(a(c(a(C(x))))) → C1(a(a(a(A(x)))))

The TRS R consists of the following rules:

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 2 SCCs with 1 less node.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
                                            ↳ QTRS
                                              ↳ QTRS Reverse
                                                ↳ QTRS
                                                  ↳ DependencyPairsProof
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ RuleRemovalProof
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ AND
QDP
                                                                    ↳ Narrowing
                                                                  ↳ QDP
                                                  ↳ QTRS Reverse
                                                  ↳ QTRS Reverse

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

C1(a(c(x))) → C1(a(a(x)))

The TRS R consists of the following rules:

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule C1(a(c(x))) → C1(a(a(x))) at position [0] we obtained the following new rules:

C1(a(c(a(x0)))) → C1(a(c(c(x0))))
C1(a(c(a(a(x0))))) → C1(a(a(c(c(x0)))))
C1(a(c(a(a(c(A(x0))))))) → C1(a(a(c(c(c(C(x0)))))))
C1(a(c(a(a(A(x0)))))) → C1(a(c(c(c(C(x0))))))
C1(a(c(a(c(A(x0)))))) → C1(a(c(c(c(C(x0))))))
C1(a(c(c(a(c(A(x0))))))) → C1(a(a(c(c(c(C(x0)))))))
C1(a(c(c(a(C(x0)))))) → C1(a(a(c(c(A(x0))))))
C1(a(c(a(a(a(A(x0))))))) → C1(a(a(c(c(c(C(x0)))))))
C1(a(c(c(a(a(A(x0))))))) → C1(a(a(c(c(c(C(x0)))))))
C1(a(c(c(a(x0))))) → C1(a(a(c(c(x0)))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
                                            ↳ QTRS
                                              ↳ QTRS Reverse
                                                ↳ QTRS
                                                  ↳ DependencyPairsProof
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ RuleRemovalProof
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ AND
                                                                  ↳ QDP
                                                                    ↳ Narrowing
QDP
                                                                        ↳ DependencyGraphProof
                                                                  ↳ QDP
                                                  ↳ QTRS Reverse
                                                  ↳ QTRS Reverse

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

C1(a(c(a(a(x0))))) → C1(a(a(c(c(x0)))))
C1(a(c(a(x0)))) → C1(a(c(c(x0))))
C1(a(c(a(a(c(A(x0))))))) → C1(a(a(c(c(c(C(x0)))))))
C1(a(c(a(a(A(x0)))))) → C1(a(c(c(c(C(x0))))))
C1(a(c(a(c(A(x0)))))) → C1(a(c(c(c(C(x0))))))
C1(a(c(c(a(c(A(x0))))))) → C1(a(a(c(c(c(C(x0)))))))
C1(a(c(c(a(C(x0)))))) → C1(a(a(c(c(A(x0))))))
C1(a(c(a(a(a(A(x0))))))) → C1(a(a(c(c(c(C(x0)))))))
C1(a(c(c(a(a(A(x0))))))) → C1(a(a(c(c(c(C(x0)))))))
C1(a(c(c(a(x0))))) → C1(a(a(c(c(x0)))))

The TRS R consists of the following rules:

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 7 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
                                            ↳ QTRS
                                              ↳ QTRS Reverse
                                                ↳ QTRS
                                                  ↳ DependencyPairsProof
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ RuleRemovalProof
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ AND
                                                                  ↳ QDP
                                                                    ↳ Narrowing
                                                                      ↳ QDP
                                                                        ↳ DependencyGraphProof
QDP
                                                                            ↳ SemLabProof
                                                                  ↳ QDP
                                                  ↳ QTRS Reverse
                                                  ↳ QTRS Reverse

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

C1(a(c(a(a(x0))))) → C1(a(a(c(c(x0)))))
C1(a(c(a(x0)))) → C1(a(c(c(x0))))
C1(a(c(c(a(x0))))) → C1(a(a(c(c(x0)))))

The TRS R consists of the following rules:

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We found the following model for the rules of the TRS R. Interpretation over the domain with elements from 0 to 1.C: 0
c: 0
a: 1
A: 0
C1: 0
By semantic labelling [33] we obtain the following labelled TRS:Q DP problem:
The TRS P consists of the following rules:

C1.1(a.0(c.1(a.1(a.1(x0))))) → C1.1(a.1(a.0(c.0(c.1(x0)))))
C1.1(a.0(c.1(a.1(x0)))) → C1.1(a.0(c.0(c.1(x0))))
C1.1(a.0(c.1(a.1(a.0(x0))))) → C1.1(a.1(a.0(c.0(c.0(x0)))))
C1.1(a.0(c.0(c.1(a.0(x0))))) → C1.1(a.1(a.0(c.0(c.0(x0)))))
C1.1(a.0(c.0(c.1(a.1(x0))))) → C1.1(a.1(a.0(c.0(c.1(x0)))))
C1.1(a.0(c.1(a.0(x0)))) → C1.1(a.0(c.0(c.0(x0))))

The TRS R consists of the following rules:

c.1(a.1(a.0(A.1(x)))) → c.1(a.1(a.0(C.1(x))))
a.1(a.1(a.1(x))) → a.0(c.0(c.1(x)))
a.0(c.1(a.1(a.0(A.1(x))))) → a.0(c.0(c.0(c.0(C.1(x)))))
a.1(a.1(a.0(x))) → a.0(c.0(c.0(x)))
a.0(c.1(a.0(C.1(x)))) → a.0(c.0(c.0(A.1(x))))
c.1(a.0(c.1(a.0(C.1(x))))) → c.1(a.1(a.1(a.0(A.1(x)))))
c.1(a.0(c.1(x))) → c.1(a.1(a.1(x)))
c.1(a.1(a.0(A.0(x)))) → c.1(a.1(a.0(C.0(x))))
a.0(c.1(a.0(c.0(A.0(x))))) → a.0(c.0(c.0(c.0(C.0(x)))))
c.1(a.0(c.0(A.1(x)))) → c.1(a.1(a.0(C.1(x))))
a.1(a.1(a.1(a.0(A.1(x))))) → a.0(c.0(c.0(c.0(C.1(x)))))
a.1(a.1(a.0(c.0(A.1(x))))) → a.0(c.0(c.0(c.0(C.1(x)))))
a.1(a.1(a.1(a.0(A.0(x))))) → a.0(c.0(c.0(c.0(C.0(x)))))
a.0(c.1(a.1(x))) → a.0(c.0(c.1(x)))
c.1(a.0(c.0(A.0(x)))) → c.1(a.1(a.0(C.0(x))))
a.1(a.1(a.0(c.0(A.0(x))))) → a.0(c.0(c.0(c.0(C.0(x)))))
c.1(a.0(c.1(a.0(C.0(x))))) → c.1(a.1(a.1(a.0(A.0(x)))))
a.0(c.1(a.1(a.0(A.0(x))))) → a.0(c.0(c.0(c.0(C.0(x)))))
a.0(c.1(a.0(c.0(A.1(x))))) → a.0(c.0(c.0(c.0(C.1(x)))))
a.0(c.1(a.0(C.0(x)))) → a.0(c.0(c.0(A.0(x))))
c.1(a.0(c.0(x))) → c.1(a.1(a.0(x)))
a.0(c.1(a.0(x))) → a.0(c.0(c.0(x)))

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

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
                                            ↳ QTRS
                                              ↳ QTRS Reverse
                                                ↳ QTRS
                                                  ↳ DependencyPairsProof
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ RuleRemovalProof
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ AND
                                                                  ↳ QDP
                                                                    ↳ Narrowing
                                                                      ↳ QDP
                                                                        ↳ DependencyGraphProof
                                                                          ↳ QDP
                                                                            ↳ SemLabProof
QDP
                                                                                ↳ DependencyGraphProof
                                                                  ↳ QDP
                                                  ↳ QTRS Reverse
                                                  ↳ QTRS Reverse

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

C1.1(a.0(c.1(a.1(a.1(x0))))) → C1.1(a.1(a.0(c.0(c.1(x0)))))
C1.1(a.0(c.1(a.1(x0)))) → C1.1(a.0(c.0(c.1(x0))))
C1.1(a.0(c.1(a.1(a.0(x0))))) → C1.1(a.1(a.0(c.0(c.0(x0)))))
C1.1(a.0(c.0(c.1(a.0(x0))))) → C1.1(a.1(a.0(c.0(c.0(x0)))))
C1.1(a.0(c.0(c.1(a.1(x0))))) → C1.1(a.1(a.0(c.0(c.1(x0)))))
C1.1(a.0(c.1(a.0(x0)))) → C1.1(a.0(c.0(c.0(x0))))

The TRS R consists of the following rules:

c.1(a.1(a.0(A.1(x)))) → c.1(a.1(a.0(C.1(x))))
a.1(a.1(a.1(x))) → a.0(c.0(c.1(x)))
a.0(c.1(a.1(a.0(A.1(x))))) → a.0(c.0(c.0(c.0(C.1(x)))))
a.1(a.1(a.0(x))) → a.0(c.0(c.0(x)))
a.0(c.1(a.0(C.1(x)))) → a.0(c.0(c.0(A.1(x))))
c.1(a.0(c.1(a.0(C.1(x))))) → c.1(a.1(a.1(a.0(A.1(x)))))
c.1(a.0(c.1(x))) → c.1(a.1(a.1(x)))
c.1(a.1(a.0(A.0(x)))) → c.1(a.1(a.0(C.0(x))))
a.0(c.1(a.0(c.0(A.0(x))))) → a.0(c.0(c.0(c.0(C.0(x)))))
c.1(a.0(c.0(A.1(x)))) → c.1(a.1(a.0(C.1(x))))
a.1(a.1(a.1(a.0(A.1(x))))) → a.0(c.0(c.0(c.0(C.1(x)))))
a.1(a.1(a.0(c.0(A.1(x))))) → a.0(c.0(c.0(c.0(C.1(x)))))
a.1(a.1(a.1(a.0(A.0(x))))) → a.0(c.0(c.0(c.0(C.0(x)))))
a.0(c.1(a.1(x))) → a.0(c.0(c.1(x)))
c.1(a.0(c.0(A.0(x)))) → c.1(a.1(a.0(C.0(x))))
a.1(a.1(a.0(c.0(A.0(x))))) → a.0(c.0(c.0(c.0(C.0(x)))))
c.1(a.0(c.1(a.0(C.0(x))))) → c.1(a.1(a.1(a.0(A.0(x)))))
a.0(c.1(a.1(a.0(A.0(x))))) → a.0(c.0(c.0(c.0(C.0(x)))))
a.0(c.1(a.0(c.0(A.1(x))))) → a.0(c.0(c.0(c.0(C.1(x)))))
a.0(c.1(a.0(C.0(x)))) → a.0(c.0(c.0(A.0(x))))
c.1(a.0(c.0(x))) → c.1(a.1(a.0(x)))
a.0(c.1(a.0(x))) → a.0(c.0(c.0(x)))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 0 SCCs with 6 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
                                            ↳ QTRS
                                              ↳ QTRS Reverse
                                                ↳ QTRS
                                                  ↳ DependencyPairsProof
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ RuleRemovalProof
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ AND
                                                                  ↳ QDP
QDP
                                                                    ↳ QDPOrderProof
                                                  ↳ QTRS Reverse
                                                  ↳ QTRS Reverse

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

A1(a(a(x))) → A1(c(c(x)))
A1(c(a(x))) → A1(c(c(x)))

The TRS R consists of the following rules:

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


A1(a(a(x))) → A1(c(c(x)))
The remaining pairs can at least be oriented weakly.

A1(c(a(x))) → A1(c(c(x)))
Used ordering: Polynomial Order [21,25] with Interpretation:

POL( A(x1) ) = max{0, -1}


POL( C(x1) ) = 1


POL( c(x1) ) = 1


POL( A1(x1) ) = x1


POL( a(x1) ) = x1 + 1



The following usable rules [17] were oriented:

c(a(a(A(x)))) → c(a(a(C(x))))
c(a(c(A(x)))) → c(a(a(C(x))))
a(c(a(C(x)))) → a(c(c(A(x))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(x))) → c(a(a(x)))
a(c(a(x))) → a(c(c(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
                                            ↳ QTRS
                                              ↳ QTRS Reverse
                                                ↳ QTRS
                                                  ↳ DependencyPairsProof
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ RuleRemovalProof
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ AND
                                                                  ↳ QDP
                                                                  ↳ QDP
                                                                    ↳ QDPOrderProof
QDP
                                                                        ↳ Narrowing
                                                  ↳ QTRS Reverse
                                                  ↳ QTRS Reverse

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

A1(c(a(x))) → A1(c(c(x)))

The TRS R consists of the following rules:

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule A1(c(a(x))) → A1(c(c(x))) at position [0] we obtained the following new rules:

A1(c(a(a(c(A(x0)))))) → A1(c(c(a(a(C(x0))))))
A1(c(a(a(c(a(C(x0))))))) → A1(c(c(a(a(a(A(x0)))))))
A1(c(a(a(a(A(x0)))))) → A1(c(c(a(a(C(x0))))))
A1(c(a(a(c(x0))))) → A1(c(c(a(a(x0)))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
                                            ↳ QTRS
                                              ↳ QTRS Reverse
                                                ↳ QTRS
                                                  ↳ DependencyPairsProof
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ RuleRemovalProof
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ AND
                                                                  ↳ QDP
                                                                  ↳ QDP
                                                                    ↳ QDPOrderProof
                                                                      ↳ QDP
                                                                        ↳ Narrowing
QDP
                                                                            ↳ DependencyGraphProof
                                                  ↳ QTRS Reverse
                                                  ↳ QTRS Reverse

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

A1(c(a(a(c(x0))))) → A1(c(c(a(a(x0)))))
A1(c(a(a(a(A(x0)))))) → A1(c(c(a(a(C(x0))))))
A1(c(a(a(c(A(x0)))))) → A1(c(c(a(a(C(x0))))))
A1(c(a(a(c(a(C(x0))))))) → A1(c(c(a(a(a(A(x0)))))))

The TRS R consists of the following rules:

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 2 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
                                            ↳ QTRS
                                              ↳ QTRS Reverse
                                                ↳ QTRS
                                                  ↳ DependencyPairsProof
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ RuleRemovalProof
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ AND
                                                                  ↳ QDP
                                                                  ↳ QDP
                                                                    ↳ QDPOrderProof
                                                                      ↳ QDP
                                                                        ↳ Narrowing
                                                                          ↳ QDP
                                                                            ↳ DependencyGraphProof
QDP
                                                                                ↳ QDPOrderProof
                                                  ↳ QTRS Reverse
                                                  ↳ QTRS Reverse

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

A1(c(a(a(c(x0))))) → A1(c(c(a(a(x0)))))
A1(c(a(a(c(a(C(x0))))))) → A1(c(c(a(a(a(A(x0)))))))

The TRS R consists of the following rules:

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


A1(c(a(a(c(x0))))) → A1(c(c(a(a(x0)))))
A1(c(a(a(c(a(C(x0))))))) → A1(c(c(a(a(a(A(x0)))))))
The remaining pairs can at least be oriented weakly.
none
Used ordering: Polynomial interpretation [25,35]:

POL(C(x1)) = (3/4)x_1   
POL(c(x1)) = 7/4 + (1/2)x_1   
POL(A1(x1)) = x_1   
POL(a(x1)) = 4   
POL(A(x1)) = (13/4)x_1   
The value of delta used in the strict ordering is 1/8.
The following usable rules [17] were oriented:

c(a(a(A(x)))) → c(a(a(C(x))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(x))) → c(a(a(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(x))) → a(c(c(x)))
a(a(a(x))) → a(c(c(x)))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
                                            ↳ QTRS
                                              ↳ QTRS Reverse
                                                ↳ QTRS
                                                  ↳ DependencyPairsProof
                                                    ↳ QDP
                                                      ↳ DependencyGraphProof
                                                        ↳ QDP
                                                          ↳ RuleRemovalProof
                                                            ↳ QDP
                                                              ↳ DependencyGraphProof
                                                                ↳ AND
                                                                  ↳ QDP
                                                                  ↳ QDP
                                                                    ↳ QDPOrderProof
                                                                      ↳ QDP
                                                                        ↳ Narrowing
                                                                          ↳ QDP
                                                                            ↳ DependencyGraphProof
                                                                              ↳ QDP
                                                                                ↳ QDPOrderProof
QDP
                                                                                    ↳ PisEmptyProof
                                                  ↳ QTRS Reverse
                                                  ↳ QTRS Reverse

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

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The TRS P is empty. Hence, there is no (P,Q,R) chain.
We have reversed the following QTRS:
The set of rules R is

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

The set Q is empty.
We have obtained the following QTRS:

c(a(c(x))) → a(a(c(x)))
a(a(a(x))) → c(c(a(x)))
a(c(a(x))) → c(c(a(x)))
C(a(c(a(x)))) → A(c(c(a(x))))
A(a(a(c(a(x))))) → C(c(c(c(a(x)))))
C(a(c(a(c(x))))) → A(a(a(a(c(x)))))
A(c(a(c(x)))) → C(a(a(c(x))))
A(a(a(c(x)))) → C(a(a(c(x))))
A(a(a(a(a(x))))) → C(c(c(c(a(x)))))
A(c(a(c(a(x))))) → C(c(c(c(a(x)))))
A(c(a(a(a(x))))) → C(c(c(c(a(x)))))

The set Q is empty.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
                                            ↳ QTRS
                                              ↳ QTRS Reverse
                                                ↳ QTRS
                                                  ↳ DependencyPairsProof
                                                  ↳ QTRS Reverse
QTRS
                                                  ↳ QTRS Reverse

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

c(a(c(x))) → a(a(c(x)))
a(a(a(x))) → c(c(a(x)))
a(c(a(x))) → c(c(a(x)))
C(a(c(a(x)))) → A(c(c(a(x))))
A(a(a(c(a(x))))) → C(c(c(c(a(x)))))
C(a(c(a(c(x))))) → A(a(a(a(c(x)))))
A(c(a(c(x)))) → C(a(a(c(x))))
A(a(a(c(x)))) → C(a(a(c(x))))
A(a(a(a(a(x))))) → C(c(c(c(a(x)))))
A(c(a(c(a(x))))) → C(c(c(c(a(x)))))
A(c(a(a(a(x))))) → C(c(c(c(a(x)))))

Q is empty.

We have reversed the following QTRS:
The set of rules R is

c(a(c(x))) → c(a(a(x)))
a(a(a(x))) → a(c(c(x)))
a(c(a(x))) → a(c(c(x)))
a(c(a(C(x)))) → a(c(c(A(x))))
a(c(a(a(A(x))))) → a(c(c(c(C(x)))))
c(a(c(a(C(x))))) → c(a(a(a(A(x)))))
c(a(c(A(x)))) → c(a(a(C(x))))
c(a(a(A(x)))) → c(a(a(C(x))))
a(a(a(a(A(x))))) → a(c(c(c(C(x)))))
a(c(a(c(A(x))))) → a(c(c(c(C(x)))))
a(a(a(c(A(x))))) → a(c(c(c(C(x)))))

The set Q is empty.
We have obtained the following QTRS:

c(a(c(x))) → a(a(c(x)))
a(a(a(x))) → c(c(a(x)))
a(c(a(x))) → c(c(a(x)))
C(a(c(a(x)))) → A(c(c(a(x))))
A(a(a(c(a(x))))) → C(c(c(c(a(x)))))
C(a(c(a(c(x))))) → A(a(a(a(c(x)))))
A(c(a(c(x)))) → C(a(a(c(x))))
A(a(a(c(x)))) → C(a(a(c(x))))
A(a(a(a(a(x))))) → C(c(c(c(a(x)))))
A(c(a(c(a(x))))) → C(c(c(c(a(x)))))
A(c(a(a(a(x))))) → C(c(c(c(a(x)))))

The set Q is empty.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ QDPOrderProof
                ↳ QDP
                  ↳ QDPOrderProof
                    ↳ QDP
                      ↳ Narrowing
                        ↳ QDP
                          ↳ Narrowing
                            ↳ QDP
                              ↳ Narrowing
                                ↳ QDP
                                  ↳ QDPOrderProof
                                    ↳ QDP
                                      ↳ SemLabProof
                                      ↳ SemLabProof2
                                        ↳ QDP
                                          ↳ QDPToSRSProof
                                            ↳ QTRS
                                              ↳ QTRS Reverse
                                                ↳ QTRS
                                                  ↳ DependencyPairsProof
                                                  ↳ QTRS Reverse
                                                  ↳ QTRS Reverse
QTRS

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

c(a(c(x))) → a(a(c(x)))
a(a(a(x))) → c(c(a(x)))
a(c(a(x))) → c(c(a(x)))
C(a(c(a(x)))) → A(c(c(a(x))))
A(a(a(c(a(x))))) → C(c(c(c(a(x)))))
C(a(c(a(c(x))))) → A(a(a(a(c(x)))))
A(c(a(c(x)))) → C(a(a(c(x))))
A(a(a(c(x)))) → C(a(a(c(x))))
A(a(a(a(a(x))))) → C(c(c(c(a(x)))))
A(c(a(c(a(x))))) → C(c(c(c(a(x)))))
A(c(a(a(a(x))))) → C(c(c(c(a(x)))))

Q is empty.