(0) Obligation:
Runtime Complexity TRS:
The TRS R consists of the following rules:
walk#1(Nil) → walk_xs
walk#1(Cons(x4, x3)) → comp_f_g(walk#1(x3), walk_xs_3(x4))
comp_f_g#1(comp_f_g(x7, x9), walk_xs_3(x8), x12) → comp_f_g#1(x7, x9, Cons(x8, x12))
comp_f_g#1(walk_xs, walk_xs_3(x8), x12) → Cons(x8, x12)
main(Nil) → Nil
main(Cons(x4, x5)) → comp_f_g#1(walk#1(x5), walk_xs_3(x4), Nil)
Rewrite Strategy: INNERMOST
(1) DecreasingLoopProof (EQUIVALENT transformation)
The following loop(s) give(s) rise to the lower bound Ω(n1):
The rewrite sequence
walk#1(Cons(x4, x3)) →+ comp_f_g(walk#1(x3), walk_xs_3(x4))
gives rise to a decreasing loop by considering the right hand sides subterm at position [0].
The pumping substitution is [x3 / Cons(x4, x3)].
The result substitution is [ ].
(2) BOUNDS(n^1, INF)