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

f(x, a(b(y))) → a(f(a(b(x)), y))
f(a(x), y) → f(x, a(y))
f(b(x), y) → f(x, b(y))

Rewrite Strategy: INNERMOST

Renamed function symbols to avoid clashes with predefined symbol.

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

f'(x, a'(b'(y))) → a'(f'(a'(b'(x)), y))
f'(a'(x), y) → f'(x, a'(y))
f'(b'(x), y) → f'(x, b'(y))

Rewrite Strategy: INNERMOST

Infered types.

Rules:
f'(x, a'(b'(y))) → a'(f'(a'(b'(x)), y))
f'(a'(x), y) → f'(x, a'(y))
f'(b'(x), y) → f'(x, b'(y))

Types:
f' :: b':a' → b':a' → b':a'
a' :: b':a' → b':a'
b' :: b':a' → b':a'
_hole_b':a'1 :: b':a'
_gen_b':a'2 :: Nat → b':a'

Heuristically decided to analyse the following defined symbols:
f'

Rules:
f'(x, a'(b'(y))) → a'(f'(a'(b'(x)), y))
f'(a'(x), y) → f'(x, a'(y))
f'(b'(x), y) → f'(x, b'(y))

Types:
f' :: b':a' → b':a' → b':a'
a' :: b':a' → b':a'
b' :: b':a' → b':a'
_hole_b':a'1 :: b':a'
_gen_b':a'2 :: Nat → b':a'

Generator Equations:
_gen_b':a'2(0) ⇔ _hole_b':a'1
_gen_b':a'2(+(x, 1)) ⇔ a'(_gen_b':a'2(x))

The following defined symbols remain to be analysed:
f'

Could not prove a rewrite lemma for the defined symbol f'.

The following conjecture could not be proven:

f'(_gen_b':a'2(+(1, _n4)), _gen_b':a'2(b)) →? _*3

Rules:
f'(x, a'(b'(y))) → a'(f'(a'(b'(x)), y))
f'(a'(x), y) → f'(x, a'(y))
f'(b'(x), y) → f'(x, b'(y))

Types:
f' :: b':a' → b':a' → b':a'
a' :: b':a' → b':a'
b' :: b':a' → b':a'
_hole_b':a'1 :: b':a'
_gen_b':a'2 :: Nat → b':a'

Generator Equations:
_gen_b':a'2(0) ⇔ _hole_b':a'1
_gen_b':a'2(+(x, 1)) ⇔ a'(_gen_b':a'2(x))

No more defined symbols left to analyse.