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

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

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

Q is empty.


QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof

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

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

Q is empty.

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

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

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

a(a(a(a(x)))) → c(c(a(c(a(x)))))
c(c(c(x))) → a(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(a(a(x)))) → c(c(a(c(a(x)))))
c(c(c(x))) → a(a(a(x)))

Q is empty.

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

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

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

a(a(a(a(x)))) → c(c(a(c(a(x)))))
c(c(c(x))) → a(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(a(a(x)))) → c(c(a(c(a(x)))))
c(c(c(x))) → a(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:

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

The TRS R consists of the following rules:

a(a(a(a(x1)))) → a(c(a(c(c(x1)))))
c(c(c(x1))) → a(a(a(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:

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

The TRS R consists of the following rules:

a(a(a(a(x1)))) → a(c(a(c(c(x1)))))
c(c(c(x1))) → a(a(a(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 1 less node.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
QDP
          ↳ Narrowing
          ↳ NonTerminationProof

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

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

The TRS R consists of the following rules:

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

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

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



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ Narrowing
QDP
              ↳ Narrowing
          ↳ NonTerminationProof

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

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

The TRS R consists of the following rules:

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

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

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



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
QDP
                  ↳ ForwardInstantiation
          ↳ NonTerminationProof

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

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

The TRS R consists of the following rules:

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

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

A(a(a(a(c(y_0))))) → C(c(c(y_0)))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ ForwardInstantiation
QDP
                      ↳ ForwardInstantiation
          ↳ NonTerminationProof

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

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

The TRS R consists of the following rules:

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

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By forward instantiating [14] the rule A(a(a(a(x1)))) → C(x1) we obtained the following new rules:

A(a(a(a(c(c(y_0)))))) → C(c(c(y_0)))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ ForwardInstantiation
                    ↳ QDP
                      ↳ ForwardInstantiation
QDP
                          ↳ SemLabProof
                          ↳ SemLabProof2
          ↳ NonTerminationProof

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

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

The TRS R consists of the following rules:

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

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

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

The TRS R consists of the following rules:

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

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

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ ForwardInstantiation
                    ↳ QDP
                      ↳ ForwardInstantiation
                        ↳ QDP
                          ↳ SemLabProof
QDP
                              ↳ DependencyGraphProof
                          ↳ SemLabProof2
          ↳ NonTerminationProof

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

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

The TRS R consists of the following rules:

a.0(a.0(a.0(a.0(x1)))) → a.1(c.0(a.1(c.1(c.0(x1)))))
c.1(c.1(c.0(x1))) → a.0(a.0(a.0(x1)))
c.1(x0) → c.0(x0)
c.1(c.1(c.1(x1))) → a.0(a.0(a.1(x1)))
a.1(x0) → a.0(x0)
a.0(a.0(a.0(a.1(x1)))) → a.1(c.0(a.1(c.1(c.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 17 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ ForwardInstantiation
                    ↳ QDP
                      ↳ ForwardInstantiation
                        ↳ QDP
                          ↳ SemLabProof
                            ↳ QDP
                              ↳ DependencyGraphProof
QDP
                          ↳ SemLabProof2
          ↳ NonTerminationProof

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

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

The TRS R consists of the following rules:

a.0(a.0(a.0(a.0(x1)))) → a.1(c.0(a.1(c.1(c.0(x1)))))
c.1(c.1(c.0(x1))) → a.0(a.0(a.0(x1)))
c.1(x0) → c.0(x0)
c.1(c.1(c.1(x1))) → a.0(a.0(a.1(x1)))
a.1(x0) → a.0(x0)
a.0(a.0(a.0(a.1(x1)))) → a.1(c.0(a.1(c.1(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
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ ForwardInstantiation
                    ↳ QDP
                      ↳ ForwardInstantiation
                        ↳ QDP
                          ↳ SemLabProof
                          ↳ SemLabProof2
QDP
                              ↳ QDPToSRSProof
          ↳ NonTerminationProof

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

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

The TRS R consists of the following rules:

a(a(a(a(x1)))) → a(c(a(c(c(x1)))))
c(c(c(x1))) → a(a(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
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ ForwardInstantiation
                    ↳ QDP
                      ↳ ForwardInstantiation
                        ↳ QDP
                          ↳ SemLabProof
                          ↳ SemLabProof2
                            ↳ QDP
                              ↳ QDPToSRSProof
QTRS
                                  ↳ QTRS Reverse
          ↳ NonTerminationProof

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

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

Q is empty.

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

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

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

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

The set Q is empty.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ ForwardInstantiation
                    ↳ QDP
                      ↳ ForwardInstantiation
                        ↳ QDP
                          ↳ SemLabProof
                          ↳ SemLabProof2
                            ↳ QDP
                              ↳ QDPToSRSProof
                                ↳ QTRS
                                  ↳ QTRS Reverse
QTRS
                                      ↳ QTRS Reverse
                                      ↳ QTRS Reverse
                                      ↳ DependencyPairsProof
          ↳ NonTerminationProof

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

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

Q is empty.

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

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

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

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

The set Q is empty.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ ForwardInstantiation
                    ↳ QDP
                      ↳ ForwardInstantiation
                        ↳ QDP
                          ↳ SemLabProof
                          ↳ SemLabProof2
                            ↳ QDP
                              ↳ QDPToSRSProof
                                ↳ QTRS
                                  ↳ QTRS Reverse
                                    ↳ QTRS
                                      ↳ QTRS Reverse
QTRS
                                      ↳ QTRS Reverse
                                      ↳ DependencyPairsProof
          ↳ NonTerminationProof

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

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

Q is empty.

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

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

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

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

The set Q is empty.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ ForwardInstantiation
                    ↳ QDP
                      ↳ ForwardInstantiation
                        ↳ QDP
                          ↳ SemLabProof
                          ↳ SemLabProof2
                            ↳ QDP
                              ↳ QDPToSRSProof
                                ↳ QTRS
                                  ↳ QTRS Reverse
                                    ↳ QTRS
                                      ↳ QTRS Reverse
                                      ↳ QTRS Reverse
QTRS
                                      ↳ DependencyPairsProof
          ↳ NonTerminationProof

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

a(a(a(a(x)))) → a(c(a(c(c(x)))))
c(c(c(x))) → a(a(a(x)))
C(c(c(x))) → A(x)
A(a(a(a(c(c(x)))))) → C(c(c(x)))
A(a(a(a(c(x))))) → C(c(c(x)))
A(a(a(a(c(x))))) → A(a(a(a(x))))
C(c(c(x))) → A(a(a(x)))
C(c(c(x))) → 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:

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

The TRS R consists of the following rules:

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

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

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ ForwardInstantiation
                    ↳ QDP
                      ↳ ForwardInstantiation
                        ↳ QDP
                          ↳ SemLabProof
                          ↳ SemLabProof2
                            ↳ QDP
                              ↳ QDPToSRSProof
                                ↳ QTRS
                                  ↳ QTRS Reverse
                                    ↳ QTRS
                                      ↳ QTRS Reverse
                                      ↳ QTRS Reverse
                                      ↳ DependencyPairsProof
QDP
                                          ↳ DependencyGraphProof
          ↳ NonTerminationProof

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

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

The TRS R consists of the following rules:

a(a(a(a(x)))) → c(c(a(c(a(x)))))
c(c(c(x))) → a(a(a(x)))
c(c(C(x))) → A(x)
c(c(a(a(a(A(x)))))) → c(c(C(x)))
c(a(a(a(A(x))))) → c(c(C(x)))
c(a(a(a(A(x))))) → a(a(a(A(x))))
c(c(C(x))) → a(a(A(x)))
c(c(C(x))) → a(A(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 6 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ ForwardInstantiation
                    ↳ QDP
                      ↳ ForwardInstantiation
                        ↳ QDP
                          ↳ SemLabProof
                          ↳ SemLabProof2
                            ↳ QDP
                              ↳ QDPToSRSProof
                                ↳ QTRS
                                  ↳ QTRS Reverse
                                    ↳ QTRS
                                      ↳ QTRS Reverse
                                      ↳ QTRS Reverse
                                      ↳ DependencyPairsProof
                                        ↳ QDP
                                          ↳ DependencyGraphProof
QDP
          ↳ NonTerminationProof

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

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

The TRS R consists of the following rules:

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

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We used the non-termination processor [17] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

The TRS P consists of the following rules:

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

The TRS R consists of the following rules:

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


s = A(c(c(c(a(c(c(c(a(c(c(c(a(x1'))))))))))))) evaluates to t =A(c(c(c(a(c(c(c(a(c(c(c(a(c(c(x1')))))))))))))))

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:




Rewriting sequence

A(c(c(c(a(c(c(c(a(c(c(c(a(x1')))))))))))))A(c(c(c(a(c(c(c(a(a(a(a(a(x1')))))))))))))
with rule c(c(c(x1))) → a(a(a(x1))) at position [0,0,0,0,0,0,0,0,0] and matcher [x1 / a(x1')]

A(c(c(c(a(c(c(c(a(a(a(a(a(x1')))))))))))))A(c(c(c(a(c(c(c(a(a(c(a(c(c(x1'))))))))))))))
with rule a(a(a(a(x1'')))) → a(c(a(c(c(x1''))))) at position [0,0,0,0,0,0,0,0,0] and matcher [x1'' / x1']

A(c(c(c(a(c(c(c(a(a(c(a(c(c(x1'))))))))))))))A(c(c(c(a(a(a(a(a(a(c(a(c(c(x1'))))))))))))))
with rule c(c(c(x1''))) → a(a(a(x1''))) at position [0,0,0,0,0] and matcher [x1'' / a(a(c(a(c(c(x1'))))))]

A(c(c(c(a(a(a(a(a(a(c(a(c(c(x1'))))))))))))))A(c(c(c(a(a(a(c(a(c(c(c(a(c(c(x1')))))))))))))))
with rule a(a(a(a(x1)))) → a(c(a(c(c(x1))))) at position [0,0,0,0,0,0] and matcher [x1 / c(a(c(c(x1'))))]

A(c(c(c(a(a(a(c(a(c(c(c(a(c(c(x1')))))))))))))))A(a(a(a(a(a(a(c(a(c(c(c(a(c(c(x1')))))))))))))))
with rule c(c(c(x1))) → a(a(a(x1))) at position [0] and matcher [x1 / a(a(a(c(a(c(c(c(a(c(c(x1')))))))))))]

A(a(a(a(a(a(a(c(a(c(c(c(a(c(c(x1')))))))))))))))A(a(a(a(c(a(c(c(c(a(c(c(c(a(c(c(x1'))))))))))))))))
with rule a(a(a(a(x1'')))) → a(c(a(c(c(x1''))))) at position [0,0,0] and matcher [x1'' / c(a(c(c(c(a(c(c(x1'))))))))]

A(a(a(a(c(a(c(c(c(a(c(c(c(a(c(c(x1'))))))))))))))))A(c(c(c(a(c(c(c(a(c(c(c(a(c(c(x1')))))))))))))))
with rule A(a(a(a(x1)))) → A(c(c(x1)))

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.