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

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

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

Q is empty.


QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof

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

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

Q is empty.

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

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

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

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

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

Q is empty.

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

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

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

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

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

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

The TRS R consists of the following rules:

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

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

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
QDP
      ↳ Narrowing

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

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

The TRS R consists of the following rules:

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

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

A(a(b(a(b(x0))))) → B(b(a(b(b(a(a(x0)))))))
A(a(b(b(x0)))) → B(b(b(b(a(a(x0))))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
QDP
          ↳ Narrowing

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

A(a(b(a(b(x0))))) → B(b(a(b(b(a(a(x0)))))))
A(a(b(x1))) → B(a(a(x1)))
B(a(b(a(x1)))) → A(a(b(x1)))
B(a(b(a(x1)))) → B(x1)
A(a(b(x1))) → A(x1)
B(a(b(a(x1)))) → A(a(a(b(x1))))
A(a(b(x1))) → A(a(x1))
A(a(b(b(x0)))) → B(b(b(b(a(a(x0))))))
B(a(b(a(x1)))) → A(b(x1))

The TRS R consists of the following rules:

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

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

A(a(b(a(b(x0))))) → B(a(b(b(a(a(x0))))))
A(a(b(b(x0)))) → B(b(b(a(a(x0)))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
QDP
              ↳ Narrowing

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

A(a(b(a(b(x0))))) → B(b(a(b(b(a(a(x0)))))))
A(a(b(a(b(x0))))) → B(a(b(b(a(a(x0))))))
B(a(b(a(x1)))) → A(a(b(x1)))
A(a(b(b(x0)))) → B(b(b(a(a(x0)))))
B(a(b(a(x1)))) → B(x1)
A(a(b(x1))) → A(x1)
B(a(b(a(x1)))) → A(a(a(b(x1))))
A(a(b(x1))) → A(a(x1))
B(a(b(a(x1)))) → A(b(x1))
A(a(b(b(x0)))) → B(b(b(b(a(a(x0))))))

The TRS R consists of the following rules:

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

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

B(a(b(a(a(b(a(x0))))))) → A(a(a(a(a(a(b(x0)))))))
B(a(b(a(x0)))) → A(b(b(a(a(x0)))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
QDP
                  ↳ Narrowing

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

A(a(b(a(b(x0))))) → B(b(a(b(b(a(a(x0)))))))
A(a(b(a(b(x0))))) → B(a(b(b(a(a(x0))))))
B(a(b(a(a(b(a(x0))))))) → A(a(a(a(a(a(b(x0)))))))
B(a(b(a(x1)))) → A(a(b(x1)))
A(a(b(b(x0)))) → B(b(b(a(a(x0)))))
B(a(b(a(x1)))) → B(x1)
A(a(b(x1))) → A(x1)
A(a(b(x1))) → A(a(x1))
A(a(b(b(x0)))) → B(b(b(b(a(a(x0))))))
B(a(b(a(x1)))) → A(b(x1))
B(a(b(a(x0)))) → A(b(b(a(a(x0)))))

The TRS R consists of the following rules:

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

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

B(a(b(a(a(b(a(x0))))))) → A(a(a(a(b(x0)))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
QDP
                      ↳ QDPToSRSProof

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

A(a(b(a(b(x0))))) → B(b(a(b(b(a(a(x0)))))))
B(a(b(a(a(b(a(x0))))))) → A(a(a(a(b(x0)))))
A(a(b(a(b(x0))))) → B(a(b(b(a(a(x0))))))
B(a(b(a(x1)))) → A(a(b(x1)))
B(a(b(a(a(b(a(x0))))))) → A(a(a(a(a(a(b(x0)))))))
A(a(b(b(x0)))) → B(b(b(a(a(x0)))))
B(a(b(a(x1)))) → B(x1)
A(a(b(x1))) → A(x1)
A(a(b(x1))) → A(a(x1))
A(a(b(b(x0)))) → B(b(b(b(a(a(x0))))))
B(a(b(a(x0)))) → A(b(b(a(a(x0)))))

The TRS R consists of the following rules:

a(a(b(x1))) → b(b(a(a(x1))))
b(a(b(a(x1)))) → a(a(a(b(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
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
QTRS
                          ↳ QTRS Reverse

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

a(a(b(x1))) → b(b(a(a(x1))))
b(a(b(a(x1)))) → a(a(a(b(x1))))
A(a(b(a(b(x0))))) → B(b(a(b(b(a(a(x0)))))))
B(a(b(a(a(b(a(x0))))))) → A(a(a(a(b(x0)))))
A(a(b(a(b(x0))))) → B(a(b(b(a(a(x0))))))
B(a(b(a(x1)))) → A(a(b(x1)))
B(a(b(a(a(b(a(x0))))))) → A(a(a(a(a(a(b(x0)))))))
A(a(b(b(x0)))) → B(b(b(a(a(x0)))))
B(a(b(a(x1)))) → B(x1)
A(a(b(x1))) → A(x1)
A(a(b(x1))) → A(a(x1))
A(a(b(b(x0)))) → B(b(b(b(a(a(x0))))))
B(a(b(a(x0)))) → A(b(b(a(a(x0)))))

Q is empty.

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

a(a(b(x1))) → b(b(a(a(x1))))
b(a(b(a(x1)))) → a(a(a(b(x1))))
A(a(b(a(b(x0))))) → B(b(a(b(b(a(a(x0)))))))
B(a(b(a(a(b(a(x0))))))) → A(a(a(a(b(x0)))))
A(a(b(a(b(x0))))) → B(a(b(b(a(a(x0))))))
B(a(b(a(x1)))) → A(a(b(x1)))
B(a(b(a(a(b(a(x0))))))) → A(a(a(a(a(a(b(x0)))))))
A(a(b(b(x0)))) → B(b(b(a(a(x0)))))
B(a(b(a(x1)))) → B(x1)
A(a(b(x1))) → A(x1)
A(a(b(x1))) → A(a(x1))
A(a(b(b(x0)))) → B(b(b(b(a(a(x0))))))
B(a(b(a(x0)))) → A(b(b(a(a(x0)))))

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

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

The set Q is empty.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
QTRS
                              ↳ DependencyPairsProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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:

B1(a(b(a(A(x))))) → B1(B(x))
B1(b(a(A(x)))) → B1(b(b(B(x))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
B1(a(b(a(A(x))))) → A1(b(b(a(B(x)))))
A1(b(a(B(x)))) → A1(a(b(b(A(x)))))
A1(b(a(b(x)))) → A1(x)
A1(b(a(B(x)))) → A1(A(x))
A1(b(a(a(b(a(B(x))))))) → A1(a(a(a(a(A(x))))))
B1(b(a(A(x)))) → A1(a(b(b(b(B(x))))))
B1(b(a(A(x)))) → A1(b(b(B(x))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(x))) → A1(b(b(x)))
A1(b(a(a(b(a(B(x))))))) → A1(a(a(a(A(x)))))
B1(a(b(a(A(x))))) → B1(a(B(x)))
A1(b(a(B(x)))) → B1(b(A(x)))
B1(a(a(x))) → A1(a(b(b(x))))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(x))) → B1(b(x))
A1(b(a(B(x)))) → A1(b(b(A(x))))
A1(b(a(a(b(a(B(x))))))) → A1(a(A(x)))
B1(a(b(a(A(x))))) → A1(a(b(b(a(b(B(x)))))))
B1(a(b(a(A(x))))) → B1(b(a(B(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(b(a(A(x)))) → B1(b(B(x)))
B1(a(b(a(A(x))))) → A1(b(b(a(b(B(x))))))
B1(a(b(a(A(x))))) → A1(B(x))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
B1(a(b(a(A(x))))) → A1(b(B(x)))
A1(b(a(a(b(a(B(x))))))) → A1(a(a(A(x))))
B1(a(b(a(A(x))))) → A1(a(b(b(a(B(x))))))
B1(a(b(a(A(x))))) → B1(a(b(B(x))))
A1(b(a(B(x)))) → B1(a(A(x)))
B1(b(a(A(x)))) → B1(B(x))
A1(b(a(B(x)))) → B1(A(x))
B1(a(b(a(A(x))))) → B1(b(a(b(B(x)))))
B1(b(a(A(x)))) → A1(a(b(b(B(x)))))
B1(a(a(x))) → B1(x)
B1(b(a(A(x)))) → A1(b(b(b(B(x)))))
A1(b(a(a(b(a(B(x))))))) → A1(A(x))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
QDP
                                  ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

B1(a(b(a(A(x))))) → B1(B(x))
B1(b(a(A(x)))) → B1(b(b(B(x))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
B1(a(b(a(A(x))))) → A1(b(b(a(B(x)))))
A1(b(a(B(x)))) → A1(a(b(b(A(x)))))
A1(b(a(b(x)))) → A1(x)
A1(b(a(B(x)))) → A1(A(x))
A1(b(a(a(b(a(B(x))))))) → A1(a(a(a(a(A(x))))))
B1(b(a(A(x)))) → A1(a(b(b(b(B(x))))))
B1(b(a(A(x)))) → A1(b(b(B(x))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(x))) → A1(b(b(x)))
A1(b(a(a(b(a(B(x))))))) → A1(a(a(a(A(x)))))
B1(a(b(a(A(x))))) → B1(a(B(x)))
A1(b(a(B(x)))) → B1(b(A(x)))
B1(a(a(x))) → A1(a(b(b(x))))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(x))) → B1(b(x))
A1(b(a(B(x)))) → A1(b(b(A(x))))
A1(b(a(a(b(a(B(x))))))) → A1(a(A(x)))
B1(a(b(a(A(x))))) → A1(a(b(b(a(b(B(x)))))))
B1(a(b(a(A(x))))) → B1(b(a(B(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(b(a(A(x)))) → B1(b(B(x)))
B1(a(b(a(A(x))))) → A1(b(b(a(b(B(x))))))
B1(a(b(a(A(x))))) → A1(B(x))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
B1(a(b(a(A(x))))) → A1(b(B(x)))
A1(b(a(a(b(a(B(x))))))) → A1(a(a(A(x))))
B1(a(b(a(A(x))))) → A1(a(b(b(a(B(x))))))
B1(a(b(a(A(x))))) → B1(a(b(B(x))))
A1(b(a(B(x)))) → B1(a(A(x)))
B1(b(a(A(x)))) → B1(B(x))
A1(b(a(B(x)))) → B1(A(x))
B1(a(b(a(A(x))))) → B1(b(a(b(B(x)))))
B1(b(a(A(x)))) → A1(a(b(b(B(x)))))
B1(a(a(x))) → B1(x)
B1(b(a(A(x)))) → A1(b(b(b(B(x)))))
A1(b(a(a(b(a(B(x))))))) → A1(A(x))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 29 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
QDP
                                      ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(x))) → A1(b(b(x)))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(x))) → A1(a(b(b(x))))
B1(a(a(x))) → B1(b(x))
A1(b(a(b(x)))) → A1(a(a(x)))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(x))) → B1(x)

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(b(B(x0)))))))))
B1(a(a(a(A(x0))))) → A1(a(a(a(b(b(b(B(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(B(x0)))))))))
B1(a(a(a(A(x0))))) → A1(a(a(a(b(b(B(x0)))))))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(B(x0))))))))
B1(a(a(a(A(x0))))) → A1(a(b(a(A(x0)))))
B1(a(a(a(A(x0))))) → A1(a(b(A(x0))))
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(b(B(x0))))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
QDP
                                          ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(b(B(x0)))))))))
B1(a(a(a(A(x0))))) → A1(a(a(a(b(b(b(B(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(B(x0)))))))))
B1(a(a(a(A(x0))))) → A1(a(a(a(b(b(B(x0)))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
B1(a(a(a(A(x0))))) → A1(a(b(A(x0))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(x))) → A1(b(b(x)))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(x))) → B1(b(x))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(B(x0))))))))
B1(a(a(a(A(x0))))) → A1(a(b(a(A(x0)))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(b(B(x0))))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 3 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
QDP
                                              ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(b(B(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(B(x0)))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(x))) → A1(b(b(x)))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(x))) → B1(b(x))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(B(x0))))))))
B1(a(a(a(A(x0))))) → A1(a(b(a(A(x0)))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(b(B(x0))))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
B1(a(a(a(A(x0))))) → A1(a(a(b(b(B(x0))))))
B1(a(a(a(A(x0))))) → A1(a(a(b(b(b(B(x0)))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))
B1(a(a(a(A(x0))))) → A1(b(A(x0)))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
QDP
                                                  ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(b(B(x0)))))))))
B1(a(a(a(A(x0))))) → A1(a(a(b(b(B(x0))))))
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(B(x0)))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
B1(a(a(a(A(x0))))) → A1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(x))) → B1(b(x))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(B(x0))))))))
B1(a(a(a(A(x0))))) → A1(a(b(a(A(x0)))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(b(B(x0))))))))))
B1(a(a(a(A(x0))))) → A1(b(A(x0)))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 3 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
QDP
                                                      ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(b(B(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(B(x0)))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
B1(a(a(x))) → B1(b(x))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(B(x0))))))))
B1(a(a(a(A(x0))))) → A1(a(b(a(A(x0)))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(b(B(x0))))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

B1(a(a(a(A(x0))))) → B1(A(x0))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
B1(a(a(a(A(x0))))) → B1(a(A(x0)))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
QDP
                                                          ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(b(B(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(B(x0)))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(A(x0))))) → B1(A(x0))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(a(A(x0))))) → A1(a(b(a(A(x0)))))
B1(a(a(a(A(x0))))) → B1(a(A(x0)))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(B(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(b(B(x0))))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 2 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
QDP
                                                              ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(b(B(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(B(x0)))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(B(x0))))))))
B1(a(a(a(A(x0))))) → A1(a(b(a(A(x0)))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(b(B(x0))))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

B1(a(a(b(a(A(y0)))))) → A1(a(a(a(b(b(b(b(b(B(y0))))))))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
QDP
                                                                  ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(B(x0)))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
B1(a(a(a(A(x0))))) → A1(a(b(a(A(x0)))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(B(x0))))))))
B1(a(a(b(a(A(y0)))))) → A1(a(a(a(b(b(b(b(b(B(y0))))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(b(B(x0))))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 1 less node.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
QDP
                                                                      ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(B(x0)))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(B(x0))))))))
B1(a(a(a(A(x0))))) → A1(a(b(a(A(x0)))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(b(B(x0))))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

B1(a(a(a(b(a(A(y0))))))) → A1(a(a(a(b(b(b(b(a(B(y0))))))))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
QDP
                                                                          ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(B(x0))))))))
B1(a(a(a(b(a(A(y0))))))) → A1(a(a(a(b(b(b(b(a(B(y0))))))))))
B1(a(a(a(A(x0))))) → A1(a(b(a(A(x0)))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(b(B(x0))))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 1 less node.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
QDP
                                                                              ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(b(a(A(x0)))))) → A1(a(b(a(a(b(b(B(x0))))))))
B1(a(a(a(A(x0))))) → A1(a(b(a(A(x0)))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(b(B(x0))))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

B1(a(a(b(a(A(y0)))))) → A1(a(a(a(b(b(b(b(B(y0)))))))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
QDP
                                                                                  ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

B1(a(a(b(a(A(y0)))))) → A1(a(a(a(b(b(b(b(B(y0)))))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
B1(a(a(a(A(x0))))) → A1(a(b(a(A(x0)))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(b(B(x0))))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 1 less node.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
QDP
                                                                                      ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(a(A(x0))))) → A1(a(b(a(A(x0)))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(b(B(x0))))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

B1(a(a(a(A(x0))))) → A1(a(a(A(x0))))
B1(a(a(a(A(x0))))) → A1(a(A(x0)))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
QDP
                                                                                          ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
B1(a(a(a(A(x0))))) → A1(a(A(x0)))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
B1(a(a(a(A(x0))))) → A1(a(a(A(x0))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(b(B(x0))))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 2 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
QDP
                                                                                              ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(a(b(a(a(b(b(a(b(B(x0))))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

B1(a(a(a(b(a(A(y0))))))) → A1(a(a(a(b(b(b(b(a(b(B(y0)))))))))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
QDP
                                                                                                  ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
B1(a(a(a(b(a(A(y0))))))) → A1(a(a(a(b(b(b(b(a(b(B(y0)))))))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 1 less node.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
QDP
                                                                                                      ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(a(a(x)))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

A1(b(a(b(b(a(B(x0))))))) → A1(a(B(x0)))
A1(b(a(b(b(a(B(x0))))))) → A1(a(b(a(A(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(a(a(b(b(A(x0)))))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
QDP
                                                                                                          ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(B(x0)))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(b(a(A(x0)))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(a(a(b(b(A(x0)))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 2 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
QDP
                                                                                                              ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(x)))) → A1(a(x))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(b(a(A(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

A1(b(a(b(b(a(B(x0))))))) → A1(b(a(A(x0))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
A1(b(a(b(b(a(B(x0))))))) → A1(B(x0))
A1(b(a(b(b(a(B(x0))))))) → A1(a(a(b(b(A(x0))))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
QDP
                                                                                                                  ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(B(x0))))))) → A1(b(a(A(x0))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(b(a(B(x0))))))) → A1(B(x0))
A1(b(a(b(b(a(B(x0))))))) → A1(a(b(a(A(x0)))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(a(b(b(A(x0))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 2 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ DependencyGraphProof
QDP
                                                                                                                      ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(B(x0))))))) → A1(b(a(A(x0))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(b(a(A(x0)))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(A(x0))))) → A1(b(a(A(x0))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

B1(a(a(a(A(x0))))) → A1(A(x0))
B1(a(a(a(A(x0))))) → A1(a(A(x0)))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ DependencyGraphProof
                                                                                                                    ↳ QDP
                                                                                                                      ↳ Narrowing
QDP
                                                                                                                          ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
A1(b(a(b(b(a(B(x0))))))) → A1(b(a(A(x0))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(A(x0))))) → A1(a(A(x0)))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
B1(a(a(a(A(x0))))) → A1(A(x0))
A1(b(a(b(b(a(B(x0))))))) → A1(a(b(a(A(x0)))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 2 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ DependencyGraphProof
                                                                                                                    ↳ QDP
                                                                                                                      ↳ Narrowing
                                                                                                                        ↳ QDP
                                                                                                                          ↳ DependencyGraphProof
QDP
                                                                                                                              ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
A1(b(a(b(b(a(B(x0))))))) → A1(b(a(A(x0))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(b(B(x0))))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(b(a(A(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

B1(a(a(b(a(A(y0)))))) → A1(a(a(b(b(b(b(b(B(y0)))))))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ DependencyGraphProof
                                                                                                                    ↳ QDP
                                                                                                                      ↳ Narrowing
                                                                                                                        ↳ QDP
                                                                                                                          ↳ DependencyGraphProof
                                                                                                                            ↳ QDP
                                                                                                                              ↳ Narrowing
QDP
                                                                                                                                  ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(B(x0))))))) → A1(b(a(A(x0))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(b(a(A(x0)))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
B1(a(a(b(a(A(y0)))))) → A1(a(a(b(b(b(b(b(B(y0)))))))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 1 less node.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ DependencyGraphProof
                                                                                                                    ↳ QDP
                                                                                                                      ↳ Narrowing
                                                                                                                        ↳ QDP
                                                                                                                          ↳ DependencyGraphProof
                                                                                                                            ↳ QDP
                                                                                                                              ↳ Narrowing
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ DependencyGraphProof
QDP
                                                                                                                                      ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
A1(b(a(b(b(a(B(x0))))))) → A1(b(a(A(x0))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(b(B(x0)))))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(b(a(A(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

B1(a(a(a(b(a(A(y0))))))) → A1(a(a(b(b(b(b(a(b(B(y0))))))))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ DependencyGraphProof
                                                                                                                    ↳ QDP
                                                                                                                      ↳ Narrowing
                                                                                                                        ↳ QDP
                                                                                                                          ↳ DependencyGraphProof
                                                                                                                            ↳ QDP
                                                                                                                              ↳ Narrowing
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ Narrowing
QDP
                                                                                                                                          ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(B(x0))))))) → A1(b(a(A(x0))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
B1(a(a(a(b(a(A(y0))))))) → A1(a(a(b(b(b(b(a(b(B(y0))))))))))
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(b(a(A(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 1 less node.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ DependencyGraphProof
                                                                                                                    ↳ QDP
                                                                                                                      ↳ Narrowing
                                                                                                                        ↳ QDP
                                                                                                                          ↳ DependencyGraphProof
                                                                                                                            ↳ QDP
                                                                                                                              ↳ Narrowing
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ Narrowing
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ DependencyGraphProof
QDP
                                                                                                                                              ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
A1(b(a(b(b(a(B(x0))))))) → A1(b(a(A(x0))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
B1(a(a(b(a(A(x0)))))) → A1(b(a(a(b(b(B(x0)))))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(b(a(A(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

B1(a(a(b(a(A(y0)))))) → A1(a(a(b(b(b(b(B(y0))))))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ DependencyGraphProof
                                                                                                                    ↳ QDP
                                                                                                                      ↳ Narrowing
                                                                                                                        ↳ QDP
                                                                                                                          ↳ DependencyGraphProof
                                                                                                                            ↳ QDP
                                                                                                                              ↳ Narrowing
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ Narrowing
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ DependencyGraphProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ Narrowing
QDP
                                                                                                                                                  ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(B(x0))))))) → A1(b(a(A(x0))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(b(a(A(y0)))))) → A1(a(a(b(b(b(b(B(y0))))))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(b(a(A(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 1 less node.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ DependencyGraphProof
                                                                                                                    ↳ QDP
                                                                                                                      ↳ Narrowing
                                                                                                                        ↳ QDP
                                                                                                                          ↳ DependencyGraphProof
                                                                                                                            ↳ QDP
                                                                                                                              ↳ Narrowing
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ Narrowing
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ DependencyGraphProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ Narrowing
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ DependencyGraphProof
QDP
                                                                                                                                                      ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
A1(b(a(b(b(a(B(x0))))))) → A1(b(a(A(x0))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(b(a(A(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → A1(b(a(a(b(b(a(B(x0))))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

B1(a(a(a(b(a(A(y0))))))) → A1(a(a(b(b(b(b(a(B(y0)))))))))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ DependencyGraphProof
                                                                                                                    ↳ QDP
                                                                                                                      ↳ Narrowing
                                                                                                                        ↳ QDP
                                                                                                                          ↳ DependencyGraphProof
                                                                                                                            ↳ QDP
                                                                                                                              ↳ Narrowing
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ Narrowing
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ DependencyGraphProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ Narrowing
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                                    ↳ QDP
                                                                                                                                                      ↳ Narrowing
QDP
                                                                                                                                                          ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(B(x0))))))) → A1(b(a(A(x0))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(b(a(A(y0))))))) → A1(a(a(b(b(b(b(a(B(y0)))))))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(b(a(A(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 1 less node.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ DependencyGraphProof
                                                                                                                    ↳ QDP
                                                                                                                      ↳ Narrowing
                                                                                                                        ↳ QDP
                                                                                                                          ↳ DependencyGraphProof
                                                                                                                            ↳ QDP
                                                                                                                              ↳ Narrowing
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ Narrowing
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ DependencyGraphProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ Narrowing
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                                    ↳ QDP
                                                                                                                                                      ↳ Narrowing
                                                                                                                                                        ↳ QDP
                                                                                                                                                          ↳ DependencyGraphProof
QDP
                                                                                                                                                              ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
A1(b(a(b(b(a(B(x0))))))) → A1(b(a(A(x0))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(b(a(A(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

A1(b(a(b(b(a(B(x0))))))) → A1(a(a(A(x0))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(A(x0)))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ DependencyGraphProof
                                                                                                                    ↳ QDP
                                                                                                                      ↳ Narrowing
                                                                                                                        ↳ QDP
                                                                                                                          ↳ DependencyGraphProof
                                                                                                                            ↳ QDP
                                                                                                                              ↳ Narrowing
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ Narrowing
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ DependencyGraphProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ Narrowing
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                                    ↳ QDP
                                                                                                                                                      ↳ Narrowing
                                                                                                                                                        ↳ QDP
                                                                                                                                                          ↳ DependencyGraphProof
                                                                                                                                                            ↳ QDP
                                                                                                                                                              ↳ Narrowing
QDP
                                                                                                                                                                  ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(B(x0))))))) → A1(b(a(A(x0))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(A(x0)))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(a(A(x0))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 2 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ DependencyGraphProof
                                                                                                                    ↳ QDP
                                                                                                                      ↳ Narrowing
                                                                                                                        ↳ QDP
                                                                                                                          ↳ DependencyGraphProof
                                                                                                                            ↳ QDP
                                                                                                                              ↳ Narrowing
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ Narrowing
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ DependencyGraphProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ Narrowing
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                                    ↳ QDP
                                                                                                                                                      ↳ Narrowing
                                                                                                                                                        ↳ QDP
                                                                                                                                                          ↳ DependencyGraphProof
                                                                                                                                                            ↳ QDP
                                                                                                                                                              ↳ Narrowing
                                                                                                                                                                ↳ QDP
                                                                                                                                                                  ↳ DependencyGraphProof
QDP
                                                                                                                                                                      ↳ Narrowing
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
A1(b(a(b(b(a(B(x0))))))) → A1(b(a(A(x0))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

A1(b(a(b(b(a(B(x0))))))) → A1(A(x0))
A1(b(a(b(b(a(B(x0))))))) → A1(a(A(x0)))



↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ DependencyGraphProof
                                                                                                                    ↳ QDP
                                                                                                                      ↳ Narrowing
                                                                                                                        ↳ QDP
                                                                                                                          ↳ DependencyGraphProof
                                                                                                                            ↳ QDP
                                                                                                                              ↳ Narrowing
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ Narrowing
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ DependencyGraphProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ Narrowing
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                                    ↳ QDP
                                                                                                                                                      ↳ Narrowing
                                                                                                                                                        ↳ QDP
                                                                                                                                                          ↳ DependencyGraphProof
                                                                                                                                                            ↳ QDP
                                                                                                                                                              ↳ Narrowing
                                                                                                                                                                ↳ QDP
                                                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                                                    ↳ QDP
                                                                                                                                                                      ↳ Narrowing
QDP
                                                                                                                                                                          ↳ DependencyGraphProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
A1(b(a(b(b(a(B(x0))))))) → A1(a(A(x0)))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(b(a(B(x0))))))) → A1(A(x0))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(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 2 less nodes.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                                ↳ QDP
                                  ↳ DependencyGraphProof
                                    ↳ QDP
                                      ↳ Narrowing
                                        ↳ QDP
                                          ↳ DependencyGraphProof
                                            ↳ QDP
                                              ↳ Narrowing
                                                ↳ QDP
                                                  ↳ DependencyGraphProof
                                                    ↳ QDP
                                                      ↳ Narrowing
                                                        ↳ QDP
                                                          ↳ DependencyGraphProof
                                                            ↳ QDP
                                                              ↳ Narrowing
                                                                ↳ QDP
                                                                  ↳ DependencyGraphProof
                                                                    ↳ QDP
                                                                      ↳ Narrowing
                                                                        ↳ QDP
                                                                          ↳ DependencyGraphProof
                                                                            ↳ QDP
                                                                              ↳ Narrowing
                                                                                ↳ QDP
                                                                                  ↳ DependencyGraphProof
                                                                                    ↳ QDP
                                                                                      ↳ Narrowing
                                                                                        ↳ QDP
                                                                                          ↳ DependencyGraphProof
                                                                                            ↳ QDP
                                                                                              ↳ Narrowing
                                                                                                ↳ QDP
                                                                                                  ↳ DependencyGraphProof
                                                                                                    ↳ QDP
                                                                                                      ↳ Narrowing
                                                                                                        ↳ QDP
                                                                                                          ↳ DependencyGraphProof
                                                                                                            ↳ QDP
                                                                                                              ↳ Narrowing
                                                                                                                ↳ QDP
                                                                                                                  ↳ DependencyGraphProof
                                                                                                                    ↳ QDP
                                                                                                                      ↳ Narrowing
                                                                                                                        ↳ QDP
                                                                                                                          ↳ DependencyGraphProof
                                                                                                                            ↳ QDP
                                                                                                                              ↳ Narrowing
                                                                                                                                ↳ QDP
                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                    ↳ QDP
                                                                                                                                      ↳ Narrowing
                                                                                                                                        ↳ QDP
                                                                                                                                          ↳ DependencyGraphProof
                                                                                                                                            ↳ QDP
                                                                                                                                              ↳ Narrowing
                                                                                                                                                ↳ QDP
                                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                                    ↳ QDP
                                                                                                                                                      ↳ Narrowing
                                                                                                                                                        ↳ QDP
                                                                                                                                                          ↳ DependencyGraphProof
                                                                                                                                                            ↳ QDP
                                                                                                                                                              ↳ Narrowing
                                                                                                                                                                ↳ QDP
                                                                                                                                                                  ↳ DependencyGraphProof
                                                                                                                                                                    ↳ QDP
                                                                                                                                                                      ↳ Narrowing
                                                                                                                                                                        ↳ QDP
                                                                                                                                                                          ↳ DependencyGraphProof
QDP
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse

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

A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(A(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(a(a(A(x)))))))
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(B(x0))))))
A1(b(a(b(x)))) → B1(a(a(a(x))))
A1(b(a(b(b(a(b(x0))))))) → A1(a(b(a(a(a(x0))))))
A1(b(a(a(b(a(B(x))))))) → B1(a(a(a(A(x)))))
A1(b(a(b(x)))) → A1(x)
B1(a(a(b(a(A(x0)))))) → B1(a(a(b(b(b(B(x0)))))))
B1(a(a(a(a(x0))))) → A1(b(a(a(b(b(x0))))))
A1(b(a(b(b(a(b(x0))))))) → A1(b(a(a(a(x0)))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(b(a(a(a(a(a(A(x0))))))))
B1(a(a(a(a(x0))))) → B1(a(a(b(b(x0)))))
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(B(x0)))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(A(x0)))))))
A1(b(a(b(b(a(a(b(a(B(x0)))))))))) → A1(a(b(a(a(a(a(a(A(x0)))))))))
B1(a(a(x))) → B1(x)
B1(a(a(a(b(a(A(x0))))))) → B1(a(a(b(b(a(b(B(x0))))))))
B1(a(a(a(a(x0))))) → A1(a(b(a(a(b(b(x0)))))))

The TRS R consists of the following rules:

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

a(a(b(x))) → b(b(a(a(x))))
b(a(b(a(x)))) → a(a(a(b(x))))
A(a(b(a(b(x))))) → B(b(a(b(b(a(a(x)))))))
B(a(b(a(a(b(a(x))))))) → A(a(a(a(b(x)))))
A(a(b(a(b(x))))) → B(a(b(b(a(a(x))))))
B(a(b(a(x)))) → A(a(b(x)))
B(a(b(a(a(b(a(x))))))) → A(a(a(a(a(a(b(x)))))))
A(a(b(b(x)))) → B(b(b(a(a(x)))))
B(a(b(a(x)))) → B(x)
A(a(b(x))) → A(x)
A(a(b(x))) → A(a(x))
A(a(b(b(x)))) → B(b(b(b(a(a(x))))))
B(a(b(a(x)))) → A(b(b(a(a(x)))))

The set Q is empty.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                              ↳ QTRS Reverse
QTRS
                              ↳ QTRS Reverse

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

a(a(b(x))) → b(b(a(a(x))))
b(a(b(a(x)))) → a(a(a(b(x))))
A(a(b(a(b(x))))) → B(b(a(b(b(a(a(x)))))))
B(a(b(a(a(b(a(x))))))) → A(a(a(a(b(x)))))
A(a(b(a(b(x))))) → B(a(b(b(a(a(x))))))
B(a(b(a(x)))) → A(a(b(x)))
B(a(b(a(a(b(a(x))))))) → A(a(a(a(a(a(b(x)))))))
A(a(b(b(x)))) → B(b(b(a(a(x)))))
B(a(b(a(x)))) → B(x)
A(a(b(x))) → A(x)
A(a(b(x))) → A(a(x))
A(a(b(b(x)))) → B(b(b(b(a(a(x))))))
B(a(b(a(x)))) → A(b(b(a(a(x)))))

Q is empty.

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

b(a(a(x))) → a(a(b(b(x))))
a(b(a(b(x)))) → b(a(a(a(x))))
b(a(b(a(A(x))))) → a(a(b(b(a(b(B(x)))))))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(A(x)))))
b(a(b(a(A(x))))) → a(a(b(b(a(B(x))))))
a(b(a(B(x)))) → b(a(A(x)))
a(b(a(a(b(a(B(x))))))) → b(a(a(a(a(a(A(x)))))))
b(b(a(A(x)))) → a(a(b(b(B(x)))))
a(b(a(B(x)))) → B(x)
b(a(A(x))) → A(x)
b(a(A(x))) → a(A(x))
b(b(a(A(x)))) → a(a(b(b(b(B(x))))))
a(b(a(B(x)))) → a(a(b(b(A(x)))))

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

a(a(b(x))) → b(b(a(a(x))))
b(a(b(a(x)))) → a(a(a(b(x))))
A(a(b(a(b(x))))) → B(b(a(b(b(a(a(x)))))))
B(a(b(a(a(b(a(x))))))) → A(a(a(a(b(x)))))
A(a(b(a(b(x))))) → B(a(b(b(a(a(x))))))
B(a(b(a(x)))) → A(a(b(x)))
B(a(b(a(a(b(a(x))))))) → A(a(a(a(a(a(b(x)))))))
A(a(b(b(x)))) → B(b(b(a(a(x)))))
B(a(b(a(x)))) → B(x)
A(a(b(x))) → A(x)
A(a(b(x))) → A(a(x))
A(a(b(b(x)))) → B(b(b(b(a(a(x))))))
B(a(b(a(x)))) → A(b(b(a(a(x)))))

The set Q is empty.

↳ QTRS
  ↳ QTRS Reverse
  ↳ QTRS Reverse
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ Narrowing
        ↳ QDP
          ↳ Narrowing
            ↳ QDP
              ↳ Narrowing
                ↳ QDP
                  ↳ Narrowing
                    ↳ QDP
                      ↳ QDPToSRSProof
                        ↳ QTRS
                          ↳ QTRS Reverse
                            ↳ QTRS
                              ↳ DependencyPairsProof
                              ↳ QTRS Reverse
                              ↳ QTRS Reverse
QTRS

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

a(a(b(x))) → b(b(a(a(x))))
b(a(b(a(x)))) → a(a(a(b(x))))
A(a(b(a(b(x))))) → B(b(a(b(b(a(a(x)))))))
B(a(b(a(a(b(a(x))))))) → A(a(a(a(b(x)))))
A(a(b(a(b(x))))) → B(a(b(b(a(a(x))))))
B(a(b(a(x)))) → A(a(b(x)))
B(a(b(a(a(b(a(x))))))) → A(a(a(a(a(a(b(x)))))))
A(a(b(b(x)))) → B(b(b(a(a(x)))))
B(a(b(a(x)))) → B(x)
A(a(b(x))) → A(x)
A(a(b(x))) → A(a(x))
A(a(b(b(x)))) → B(b(b(b(a(a(x))))))
B(a(b(a(x)))) → A(b(b(a(a(x)))))

Q is empty.