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

f(x, a(b(c(y)))) → f(b(c(a(b(x)))), y)
f(a(x), y) → f(x, a(y))
f(b(x), y) → f(x, b(y))
f(c(x), y) → f(x, c(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'(c'(y)))) → f'(b'(c'(a'(b'(x)))), y)
f'(a'(x), y) → f'(x, a'(y))
f'(b'(x), y) → f'(x, b'(y))
f'(c'(x), y) → f'(x, c'(y))

Rewrite Strategy: INNERMOST


Infered types.


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

Types:
f' :: c':b':a' → c':b':a' → f'
a' :: c':b':a' → c':b':a'
b' :: c':b':a' → c':b':a'
c' :: c':b':a' → c':b':a'
_hole_f'1 :: f'
_hole_c':b':a'2 :: c':b':a'
_gen_c':b':a'3 :: Nat → c':b':a'


Heuristically decided to analyse the following defined symbols:
f'


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

Types:
f' :: c':b':a' → c':b':a' → f'
a' :: c':b':a' → c':b':a'
b' :: c':b':a' → c':b':a'
c' :: c':b':a' → c':b':a'
_hole_f'1 :: f'
_hole_c':b':a'2 :: c':b':a'
_gen_c':b':a'3 :: Nat → c':b':a'

Generator Equations:
_gen_c':b':a'3(0) ⇔ _hole_c':b':a'2
_gen_c':b':a'3(+(x, 1)) ⇔ a'(_gen_c':b':a'3(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_c':b':a'3(+(1, _n5)), _gen_c':b':a'3(b)) →? _*4


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

Types:
f' :: c':b':a' → c':b':a' → f'
a' :: c':b':a' → c':b':a'
b' :: c':b':a' → c':b':a'
c' :: c':b':a' → c':b':a'
_hole_f'1 :: f'
_hole_c':b':a'2 :: c':b':a'
_gen_c':b':a'3 :: Nat → c':b':a'

Generator Equations:
_gen_c':b':a'3(0) ⇔ _hole_c':b':a'2
_gen_c':b':a'3(+(x, 1)) ⇔ a'(_gen_c':b':a'3(x))

No more defined symbols left to analyse.