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

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

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

Q is empty.


QTRS
  ↳ DependencyPairsProof
  ↳ QTRS Reverse
  ↳ QTRS Reverse

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

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

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

The TRS R consists of the following rules:

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

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

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

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

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

The TRS R consists of the following rules:

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

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

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
QDP
            ↳ RFCMatchBoundsDPProof
          ↳ QDP
  ↳ QTRS Reverse
  ↳ QTRS Reverse

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

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

The TRS R consists of the following rules:

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

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
Finiteness of the DP problem can be shown by a matchbound of 5.
As the DP problem is minimal we only have to initialize the certificate graph by the rules of P:

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

To find matches we regarded all rules of R and P:

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

The certificate found is represented by the following graph.

The certificate consists of the following enumerated nodes:

191, 192, 194, 193, 196, 195, 199, 200, 198, 201, 197, 204, 205, 203, 206, 202, 208, 207, 211, 212, 210, 213, 209, 216, 217, 215, 218, 214, 220, 219, 222, 221, 227, 226, 223, 224, 225, 232, 231, 228, 229, 230, 233, 234, 235, 236, 237, 238, 239, 240

Node 191 is start node and node 192 is final node.

Those nodes are connect through the following edges:




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

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

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

The TRS R consists of the following rules:

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

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


The following pairs can be oriented strictly and are deleted.


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

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

POL( A(x1) ) = x1


POL( a(x1) ) = 0


POL( b(x1) ) = 1



The following usable rules [17] were oriented:

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



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ QDPOrderProof
QDP
                ↳ RFCMatchBoundsDPProof
  ↳ QTRS Reverse
  ↳ QTRS Reverse

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

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

The TRS R consists of the following rules:

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

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
Finiteness of the DP problem can be shown by a matchbound of 4.
As the DP problem is minimal we only have to initialize the certificate graph by the rules of P:

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

To find matches we regarded all rules of R and P:

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

The certificate found is represented by the following graph.

The certificate consists of the following enumerated nodes:

315, 316, 318, 319, 317, 320, 323, 324, 322, 325, 321, 327, 326, 330, 331, 329, 332, 328, 334, 333, 337, 338, 336, 339, 335, 342, 343, 341, 344, 340, 346, 345, 349, 350, 348, 351, 347, 353, 352, 355, 354, 356, 357, 358, 359

Node 315 is start node and node 316 is final node.

Those nodes are connect through the following edges:



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

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

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

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

The set Q is empty.

↳ QTRS
  ↳ DependencyPairsProof
  ↳ QTRS Reverse
QTRS
  ↳ QTRS Reverse

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

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

Q is empty.

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

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

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

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

The set Q is empty.

↳ QTRS
  ↳ DependencyPairsProof
  ↳ QTRS Reverse
  ↳ QTRS Reverse
QTRS

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

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

Q is empty.