(0) Obligation:

Runtime Complexity TRS:
The TRS R consists of the following rules:

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

Rewrite Strategy: INNERMOST

(1) CpxTrsToCdtProof (BOTH BOUNDS(ID, ID) transformation)

Converted CpxTRS to CDT

(2) Obligation:

Complexity Dependency Tuples Problem
Rules:

a(b(a(z0))) → b(a(b(z0)))
Tuples:

A(b(a(z0))) → c(A(b(z0)))
S tuples:

A(b(a(z0))) → c(A(b(z0)))
K tuples:none
Defined Rule Symbols:

a

Defined Pair Symbols:

A

Compound Symbols:

c

(3) CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^2))) transformation)

Found a reduction pair which oriented the following tuples strictly. Hence they can be removed from S.

A(b(a(z0))) → c(A(b(z0)))
We considered the (Usable) Rules:none
And the Tuples:

A(b(a(z0))) → c(A(b(z0)))
The order we found is given by the following interpretation:
Polynomial interpretation :

POL(A(x1)) = x12   
POL(a(x1)) = [2] + [2]x12   
POL(b(x1)) = x1   
POL(c(x1)) = x1   

(4) Obligation:

Complexity Dependency Tuples Problem
Rules:

a(b(a(z0))) → b(a(b(z0)))
Tuples:

A(b(a(z0))) → c(A(b(z0)))
S tuples:none
K tuples:

A(b(a(z0))) → c(A(b(z0)))
Defined Rule Symbols:

a

Defined Pair Symbols:

A

Compound Symbols:

c

(5) SIsEmptyProof (EQUIVALENT transformation)

The set S is empty

(6) BOUNDS(O(1), O(1))