3.16/1.54 WORST_CASE(NON_POLY, ?) 3.16/1.55 proof of /export/starexec/sandbox/benchmark/theBenchmark.xml 3.16/1.55 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 3.16/1.55 3.16/1.55 3.16/1.55 The Runtime Complexity (full) of the given CpxTRS could be proven to be BOUNDS(EXP, INF). 3.16/1.55 3.16/1.55 (0) CpxTRS 3.16/1.55 (1) RelTrsToDecreasingLoopProblemProof [LOWER BOUND(ID), 0 ms] 3.16/1.55 (2) TRS for Loop Detection 3.16/1.55 (3) DecreasingLoopProof [FINISHED, 0 ms] 3.16/1.55 (4) BOUNDS(EXP, INF) 3.16/1.55 3.16/1.55 3.16/1.55 ---------------------------------------- 3.16/1.55 3.16/1.55 (0) 3.16/1.55 Obligation: 3.16/1.55 The Runtime Complexity (full) of the given CpxTRS could be proven to be BOUNDS(EXP, INF). 3.16/1.55 3.16/1.55 3.16/1.55 The TRS R consists of the following rules: 3.16/1.55 3.16/1.55 lt(0, s(x)) -> true 3.16/1.55 lt(x, 0) -> false 3.16/1.55 lt(s(x), s(y)) -> lt(x, y) 3.16/1.55 fibo(0) -> fib(0) 3.16/1.55 fibo(s(0)) -> fib(s(0)) 3.16/1.55 fibo(s(s(x))) -> sum(fibo(s(x)), fibo(x)) 3.16/1.55 fib(0) -> s(0) 3.16/1.55 fib(s(0)) -> s(0) 3.16/1.55 fib(s(s(x))) -> if(true, 0, s(s(x)), 0, 0) 3.16/1.55 if(true, c, s(s(x)), a, b) -> if(lt(s(c), s(s(x))), s(c), s(s(x)), b, c) 3.16/1.55 if(false, c, s(s(x)), a, b) -> sum(fibo(a), fibo(b)) 3.16/1.55 sum(x, 0) -> x 3.16/1.55 sum(x, s(y)) -> s(sum(x, y)) 3.16/1.55 3.16/1.55 S is empty. 3.16/1.55 Rewrite Strategy: FULL 3.16/1.55 ---------------------------------------- 3.16/1.55 3.16/1.55 (1) RelTrsToDecreasingLoopProblemProof (LOWER BOUND(ID)) 3.16/1.55 Transformed a relative TRS into a decreasing-loop problem. 3.16/1.55 ---------------------------------------- 3.16/1.55 3.16/1.55 (2) 3.16/1.55 Obligation: 3.16/1.55 Analyzing the following TRS for decreasing loops: 3.16/1.55 3.16/1.55 The Runtime Complexity (full) of the given CpxTRS could be proven to be BOUNDS(EXP, INF). 3.16/1.55 3.16/1.55 3.16/1.55 The TRS R consists of the following rules: 3.16/1.55 3.16/1.55 lt(0, s(x)) -> true 3.16/1.55 lt(x, 0) -> false 3.16/1.55 lt(s(x), s(y)) -> lt(x, y) 3.16/1.55 fibo(0) -> fib(0) 3.16/1.55 fibo(s(0)) -> fib(s(0)) 3.16/1.55 fibo(s(s(x))) -> sum(fibo(s(x)), fibo(x)) 3.16/1.55 fib(0) -> s(0) 3.16/1.55 fib(s(0)) -> s(0) 3.16/1.55 fib(s(s(x))) -> if(true, 0, s(s(x)), 0, 0) 3.16/1.55 if(true, c, s(s(x)), a, b) -> if(lt(s(c), s(s(x))), s(c), s(s(x)), b, c) 3.16/1.55 if(false, c, s(s(x)), a, b) -> sum(fibo(a), fibo(b)) 3.16/1.55 sum(x, 0) -> x 3.16/1.55 sum(x, s(y)) -> s(sum(x, y)) 3.16/1.55 3.16/1.55 S is empty. 3.16/1.55 Rewrite Strategy: FULL 3.16/1.55 ---------------------------------------- 3.16/1.55 3.16/1.55 (3) DecreasingLoopProof (FINISHED) 3.16/1.55 The following loop(s) give(s) rise to the lower bound EXP: 3.16/1.55 3.16/1.55 The rewrite sequence 3.16/1.55 3.16/1.55 fibo(s(s(x))) ->^+ sum(fibo(s(x)), fibo(x)) 3.16/1.55 3.16/1.55 gives rise to a decreasing loop by considering the right hand sides subterm at position [0]. 3.16/1.55 3.16/1.55 The pumping substitution is [x / s(x)]. 3.16/1.55 3.16/1.55 The result substitution is [ ]. 3.16/1.55 3.16/1.55 3.16/1.55 3.16/1.55 The rewrite sequence 3.16/1.55 3.16/1.55 fibo(s(s(x))) ->^+ sum(fibo(s(x)), fibo(x)) 3.16/1.55 3.16/1.55 gives rise to a decreasing loop by considering the right hand sides subterm at position [1]. 3.16/1.55 3.16/1.55 The pumping substitution is [x / s(s(x))]. 3.16/1.55 3.16/1.55 The result substitution is [ ]. 3.16/1.55 3.16/1.55 3.16/1.55 3.16/1.55 3.16/1.55 ---------------------------------------- 3.16/1.55 3.16/1.55 (4) 3.16/1.55 BOUNDS(EXP, INF) 3.29/1.59 EOF