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

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

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

Q is empty.


QTRS
  ↳ DependencyPairsProof
  ↳ QTRS Reverse
  ↳ QTRS Reverse

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

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

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

The TRS R consists of the following rules:

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

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

↳ QTRS
  ↳ DependencyPairsProof
QDP
      ↳ RuleRemovalProof
      ↳ NonTerminationProof
  ↳ QTRS Reverse
  ↳ QTRS Reverse

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

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

The TRS R consists of the following rules:

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

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

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


Used ordering: POLO with Polynomial interpretation [25]:

POL(A(x1)) = 2·x1   
POL(B(x1)) = 2·x1   
POL(a(x1)) = 2 + 2·x1   
POL(b(x1)) = 2 + 2·x1   



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ RuleRemovalProof
QDP
      ↳ NonTerminationProof
  ↳ QTRS Reverse
  ↳ QTRS Reverse

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

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

The TRS R consists of the following rules:

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

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

The TRS P consists of the following rules:

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

The TRS R consists of the following rules:

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


s = A(b(a(b(a(a(x1)))))) evaluates to t =A(b(a(b(a(a(x1))))))

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




Rewriting sequence

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

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

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

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

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

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

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


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




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

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

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

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

Q is empty.

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

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

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

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

Q is empty.