(0) Obligation:
Q restricted rewrite system:
The TRS R consists of the following rules:
a(a(a(x))) → b(x)
b(b(x)) → a(a(x))
a(a(x)) → a(b(a(x)))
Q is empty.
 
(1) DependencyPairsProof (EQUIVALENT transformation)
Using Dependency Pairs [AG00,LPAR04] we result in the following initial DP problem.
(2) Obligation:
Q DP problem:
The TRS P consists of the following rules:
A(a(a(x))) → B(x)
B(b(x)) → A(a(x))
B(b(x)) → A(x)
A(a(x)) → A(b(a(x)))
A(a(x)) → B(a(x))
The TRS R consists of the following rules:
a(a(a(x))) → b(x)
b(b(x)) → a(a(x))
a(a(x)) → a(b(a(x)))
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
 
(3) QDPOrderProof (EQUIVALENT transformation)
We use the reduction pair processor [LPAR04,JAR06].
The following pairs can be oriented strictly and are deleted.
A(a(a(x))) → B(x)
The remaining pairs can at least be oriented weakly.
Used ordering:  Matrix interpretation [MATRO] with arctic natural numbers [ARCTIC]:
| POL(a(x1)) =  |  |  +  | | / | 1A | 0A | 0A | \ |  
| | | 0A | -I | -I | | |  
| \ | 1A | 0A | -I | / |  
  | · | x1 | 
| POL(b(x1)) =  |  |  +  | | / | 0A | 1A | -I | \ |  
| | | 1A | 0A | 0A | | |  
| \ | 0A | 1A | 0A | / |  
  | · | x1 | 
The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:
b(b(x)) → a(a(x))
a(a(a(x))) → b(x)
a(a(x)) → a(b(a(x)))
 
(4) Obligation:
Q DP problem:
The TRS P consists of the following rules:
B(b(x)) → A(a(x))
B(b(x)) → A(x)
A(a(x)) → A(b(a(x)))
A(a(x)) → B(a(x))
The TRS R consists of the following rules:
a(a(a(x))) → b(x)
b(b(x)) → a(a(x))
a(a(x)) → a(b(a(x)))
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
 
(5) QDPOrderProof (EQUIVALENT transformation)
We use the reduction pair processor [LPAR04,JAR06].
The following pairs can be oriented strictly and are deleted.
B(b(x)) → A(x)
The remaining pairs can at least be oriented weakly.
Used ordering:  Matrix interpretation [MATRO] with arctic natural numbers [ARCTIC]:
| POL(b(x1)) =  |  |  +  | | / | 0A | 1A | 1A | \ |  
| | | 1A | -I | 0A | | |  
| \ | -I | -I | -I | / |  
  | · | x1 | 
| POL(a(x1)) =  |  |  +  | | / | -I | 0A | 0A | \ |  
| | | 0A | 1A | 1A | | |  
| \ | -I | -I | -I | / |  
  | · | x1 | 
The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:
b(b(x)) → a(a(x))
a(a(a(x))) → b(x)
a(a(x)) → a(b(a(x)))
 
(6) Obligation:
Q DP problem:
The TRS P consists of the following rules:
B(b(x)) → A(a(x))
A(a(x)) → A(b(a(x)))
A(a(x)) → B(a(x))
The TRS R consists of the following rules:
a(a(a(x))) → b(x)
b(b(x)) → a(a(x))
a(a(x)) → a(b(a(x)))
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
 
(7) QDPOrderProof (EQUIVALENT transformation)
We use the reduction pair processor [LPAR04,JAR06].
The following pairs can be oriented strictly and are deleted.
A(a(x)) → B(a(x))
The remaining pairs can at least be oriented weakly.
Used ordering:  Matrix interpretation [MATRO] with arctic natural numbers [ARCTIC]:
| POL(b(x1)) =  |  |  +  | | / | 0A | 1A | 0A | \ |  
| | | 1A | 0A | 0A | | |  
| \ | -I | 0A | -I | / |  
  | · | x1 | 
| POL(a(x1)) =  |  |  +  | | / | 1A | 0A | 0A | \ |  
| | | 0A | -I | -I | | |  
| \ | 0A | -I | 0A | / |  
  | · | x1 | 
The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:
b(b(x)) → a(a(x))
a(a(a(x))) → b(x)
a(a(x)) → a(b(a(x)))
 
(8) Obligation:
Q DP problem:
The TRS P consists of the following rules:
B(b(x)) → A(a(x))
A(a(x)) → A(b(a(x)))
The TRS R consists of the following rules:
a(a(a(x))) → b(x)
b(b(x)) → a(a(x))
a(a(x)) → a(b(a(x)))
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
 
(9) DependencyGraphProof (EQUIVALENT transformation)
The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 1 less node.
(10) Obligation:
Q DP problem:
The TRS P consists of the following rules:
A(a(x)) → A(b(a(x)))
The TRS R consists of the following rules:
a(a(a(x))) → b(x)
b(b(x)) → a(a(x))
a(a(x)) → a(b(a(x)))
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
 
(11) QDPOrderProof (EQUIVALENT transformation)
We use the reduction pair processor [LPAR04,JAR06].
The following pairs can be oriented strictly and are deleted.
A(a(x)) → A(b(a(x)))
The remaining pairs can at least be oriented weakly.
Used ordering:  Matrix interpretation [MATRO] with arctic integers [ARCTIC,STERNAGEL_THIEMANN_RTA14]:
| POL(a(x1)) =  |  |  +  | | / | -I | -1A | -1A | \ |  
| | | -I | 0A | -I | | |  
| \ | -1A | 2A | 1A | / |  
  | · | x1 | 
| POL(b(x1)) =  |  |  +  | | / | -I | 2A | 1A | \ |  
| | | -I | 0A | -I | | |  
| \ | 1A | -1A | -1A | / |  
  | · | x1 | 
The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:
b(b(x)) → a(a(x))
a(a(a(x))) → b(x)
a(a(x)) → a(b(a(x)))
 
(12) Obligation:
Q DP problem:
P is empty.
The TRS R consists of the following rules:
a(a(a(x))) → b(x)
b(b(x)) → a(a(x))
a(a(x)) → a(b(a(x)))
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
 
(13) PisEmptyProof (EQUIVALENT transformation)
The TRS P is empty. Hence, there is no (P,Q,R) chain.
(14) YES