* Step 1: Sum WORST_CASE(Omega(n^1),O(n^1))
+ Considered Problem:
- Strict TRS:
f(g(x),s(0()),y) -> f(g(s(0())),y,g(x))
g(0()) -> 0()
g(s(x)) -> s(g(x))
- Signature:
{f/3,g/1} / {0/0,s/1}
- Obligation:
innermost runtime complexity wrt. defined symbols {f,g} and constructors {0,s}
+ Applied Processor:
Sum {left = someStrategy, right = someStrategy}
+ Details:
()
** Step 1.a:1: DecreasingLoops WORST_CASE(Omega(n^1),?)
+ Considered Problem:
- Strict TRS:
f(g(x),s(0()),y) -> f(g(s(0())),y,g(x))
g(0()) -> 0()
g(s(x)) -> s(g(x))
- Signature:
{f/3,g/1} / {0/0,s/1}
- Obligation:
innermost runtime complexity wrt. defined symbols {f,g} and constructors {0,s}
+ Applied Processor:
DecreasingLoops {bound = AnyLoop, narrow = 10}
+ Details:
The system has following decreasing Loops:
g(x){x -> s(x)} =
g(s(x)) ->^+ s(g(x))
= C[g(x) = g(x){}]
** Step 1.b:1: Bounds WORST_CASE(?,O(n^1))
+ Considered Problem:
- Strict TRS:
f(g(x),s(0()),y) -> f(g(s(0())),y,g(x))
g(0()) -> 0()
g(s(x)) -> s(g(x))
- Signature:
{f/3,g/1} / {0/0,s/1}
- Obligation:
innermost runtime complexity wrt. defined symbols {f,g} and constructors {0,s}
+ Applied Processor:
Bounds {initialAutomaton = minimal, enrichment = match}
+ Details:
The problem is match-bounded by 1.
The enriched problem is compatible with follwoing automaton.
0_0() -> 2
0_1() -> 1
0_1() -> 3
f_0(2,2,2) -> 1
g_0(2) -> 1
g_1(2) -> 3
s_0(2) -> 2
s_1(3) -> 1
s_1(3) -> 3
** Step 1.b:2: EmptyProcessor WORST_CASE(?,O(1))
+ Considered Problem:
- Weak TRS:
f(g(x),s(0()),y) -> f(g(s(0())),y,g(x))
g(0()) -> 0()
g(s(x)) -> s(g(x))
- Signature:
{f/3,g/1} / {0/0,s/1}
- Obligation:
innermost runtime complexity wrt. defined symbols {f,g} and constructors {0,s}
+ Applied Processor:
EmptyProcessor
+ Details:
The problem is already closed. The intended complexity is O(1).
WORST_CASE(Omega(n^1),O(n^1))