(0) Obligation:

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

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

Q is empty.

(1) DirectTerminationProof (EQUIVALENT transformation)

We use [DIRECT_TERMINATION] with the following order to prove termination.

Knuth-Bendix order [KBO] with precedence:
a1 > b1

and weight map:

a_1=1
b_1=1

The variable weight is 1

(2) TRUE