308.13/291.55 WORST_CASE(Omega(n^1), ?) 308.13/291.56 proof of /export/starexec/sandbox2/benchmark/theBenchmark.xml 308.13/291.56 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 308.13/291.56 308.13/291.56 308.13/291.56 The Runtime Complexity (full) of the given CpxTRS could be proven to be BOUNDS(n^1, INF). 308.13/291.56 308.13/291.56 (0) CpxTRS 308.13/291.56 (1) RelTrsToDecreasingLoopProblemProof [LOWER BOUND(ID), 0 ms] 308.13/291.56 (2) TRS for Loop Detection 308.13/291.56 (3) DecreasingLoopProof [LOWER BOUND(ID), 0 ms] 308.13/291.56 (4) BEST 308.13/291.56 (5) proven lower bound 308.13/291.56 (6) LowerBoundPropagationProof [FINISHED, 0 ms] 308.13/291.56 (7) BOUNDS(n^1, INF) 308.13/291.56 (8) TRS for Loop Detection 308.13/291.56 308.13/291.56 308.13/291.56 ---------------------------------------- 308.13/291.56 308.13/291.56 (0) 308.13/291.56 Obligation: 308.13/291.56 The Runtime Complexity (full) of the given CpxTRS could be proven to be BOUNDS(n^1, INF). 308.13/291.56 308.13/291.56 308.13/291.56 The TRS R consists of the following rules: 308.13/291.56 308.13/291.56 cond1(true, x, y) -> cond2(gr(x, y), x, y) 308.13/291.56 cond2(true, x, y) -> cond1(gr(add(x, y), 0), p(x), y) 308.13/291.56 cond2(false, x, y) -> cond3(eq(x, y), x, y) 308.13/291.56 cond3(true, x, y) -> cond1(gr(add(x, y), 0), p(x), y) 308.13/291.56 cond3(false, x, y) -> cond1(gr(add(x, y), 0), x, p(y)) 308.13/291.56 gr(0, x) -> false 308.13/291.56 gr(s(x), 0) -> true 308.13/291.56 gr(s(x), s(y)) -> gr(x, y) 308.13/291.56 add(0, x) -> x 308.13/291.56 add(s(x), y) -> s(add(x, y)) 308.13/291.56 eq(0, 0) -> true 308.13/291.56 eq(0, s(x)) -> false 308.13/291.56 eq(s(x), 0) -> false 308.13/291.56 eq(s(x), s(y)) -> eq(x, y) 308.13/291.56 p(0) -> 0 308.13/291.56 p(s(x)) -> x 308.13/291.56 308.13/291.56 S is empty. 308.13/291.56 Rewrite Strategy: FULL 308.13/291.56 ---------------------------------------- 308.13/291.56 308.13/291.56 (1) RelTrsToDecreasingLoopProblemProof (LOWER BOUND(ID)) 308.13/291.56 Transformed a relative TRS into a decreasing-loop problem. 308.13/291.56 ---------------------------------------- 308.13/291.56 308.13/291.56 (2) 308.13/291.56 Obligation: 308.13/291.56 Analyzing the following TRS for decreasing loops: 308.13/291.56 308.13/291.56 The Runtime Complexity (full) of the given CpxTRS could be proven to be BOUNDS(n^1, INF). 308.13/291.56 308.13/291.56 308.13/291.56 The TRS R consists of the following rules: 308.13/291.56 308.13/291.56 cond1(true, x, y) -> cond2(gr(x, y), x, y) 308.13/291.56 cond2(true, x, y) -> cond1(gr(add(x, y), 0), p(x), y) 308.13/291.56 cond2(false, x, y) -> cond3(eq(x, y), x, y) 308.13/291.56 cond3(true, x, y) -> cond1(gr(add(x, y), 0), p(x), y) 308.13/291.56 cond3(false, x, y) -> cond1(gr(add(x, y), 0), x, p(y)) 308.13/291.56 gr(0, x) -> false 308.13/291.56 gr(s(x), 0) -> true 308.13/291.56 gr(s(x), s(y)) -> gr(x, y) 308.13/291.56 add(0, x) -> x 308.13/291.56 add(s(x), y) -> s(add(x, y)) 308.13/291.56 eq(0, 0) -> true 308.13/291.56 eq(0, s(x)) -> false 308.13/291.56 eq(s(x), 0) -> false 308.13/291.56 eq(s(x), s(y)) -> eq(x, y) 308.13/291.56 p(0) -> 0 308.13/291.56 p(s(x)) -> x 308.13/291.56 308.13/291.56 S is empty. 308.13/291.56 Rewrite Strategy: FULL 308.13/291.56 ---------------------------------------- 308.13/291.56 308.13/291.56 (3) DecreasingLoopProof (LOWER BOUND(ID)) 308.13/291.56 The following loop(s) give(s) rise to the lower bound Omega(n^1): 308.13/291.56 308.13/291.56 The rewrite sequence 308.13/291.56 308.13/291.56 add(s(x), y) ->^+ s(add(x, y)) 308.13/291.56 308.13/291.56 gives rise to a decreasing loop by considering the right hand sides subterm at position [0]. 308.13/291.56 308.13/291.56 The pumping substitution is [x / s(x)]. 308.13/291.56 308.13/291.56 The result substitution is [ ]. 308.13/291.56 308.13/291.56 308.13/291.56 308.13/291.56 308.13/291.56 ---------------------------------------- 308.13/291.56 308.13/291.56 (4) 308.13/291.56 Complex Obligation (BEST) 308.13/291.56 308.13/291.56 ---------------------------------------- 308.13/291.56 308.13/291.56 (5) 308.13/291.56 Obligation: 308.13/291.56 Proved the lower bound n^1 for the following obligation: 308.13/291.56 308.13/291.56 The Runtime Complexity (full) of the given CpxTRS could be proven to be BOUNDS(n^1, INF). 308.13/291.56 308.13/291.56 308.13/291.56 The TRS R consists of the following rules: 308.13/291.56 308.13/291.56 cond1(true, x, y) -> cond2(gr(x, y), x, y) 308.13/291.56 cond2(true, x, y) -> cond1(gr(add(x, y), 0), p(x), y) 308.13/291.56 cond2(false, x, y) -> cond3(eq(x, y), x, y) 308.13/291.56 cond3(true, x, y) -> cond1(gr(add(x, y), 0), p(x), y) 308.13/291.56 cond3(false, x, y) -> cond1(gr(add(x, y), 0), x, p(y)) 308.13/291.56 gr(0, x) -> false 308.13/291.56 gr(s(x), 0) -> true 308.13/291.56 gr(s(x), s(y)) -> gr(x, y) 308.13/291.56 add(0, x) -> x 308.13/291.56 add(s(x), y) -> s(add(x, y)) 308.13/291.56 eq(0, 0) -> true 308.13/291.56 eq(0, s(x)) -> false 308.13/291.56 eq(s(x), 0) -> false 308.13/291.56 eq(s(x), s(y)) -> eq(x, y) 308.13/291.56 p(0) -> 0 308.13/291.56 p(s(x)) -> x 308.13/291.56 308.13/291.56 S is empty. 308.13/291.56 Rewrite Strategy: FULL 308.13/291.56 ---------------------------------------- 308.13/291.56 308.13/291.56 (6) LowerBoundPropagationProof (FINISHED) 308.13/291.56 Propagated lower bound. 308.13/291.56 ---------------------------------------- 308.13/291.56 308.13/291.56 (7) 308.13/291.56 BOUNDS(n^1, INF) 308.13/291.56 308.13/291.56 ---------------------------------------- 308.13/291.56 308.13/291.56 (8) 308.13/291.56 Obligation: 308.13/291.56 Analyzing the following TRS for decreasing loops: 308.13/291.56 308.13/291.56 The Runtime Complexity (full) of the given CpxTRS could be proven to be BOUNDS(n^1, INF). 308.13/291.56 308.13/291.56 308.13/291.56 The TRS R consists of the following rules: 308.13/291.56 308.13/291.56 cond1(true, x, y) -> cond2(gr(x, y), x, y) 308.13/291.56 cond2(true, x, y) -> cond1(gr(add(x, y), 0), p(x), y) 308.13/291.56 cond2(false, x, y) -> cond3(eq(x, y), x, y) 308.13/291.56 cond3(true, x, y) -> cond1(gr(add(x, y), 0), p(x), y) 308.13/291.56 cond3(false, x, y) -> cond1(gr(add(x, y), 0), x, p(y)) 308.13/291.56 gr(0, x) -> false 308.13/291.56 gr(s(x), 0) -> true 308.13/291.56 gr(s(x), s(y)) -> gr(x, y) 308.13/291.56 add(0, x) -> x 308.13/291.56 add(s(x), y) -> s(add(x, y)) 308.13/291.56 eq(0, 0) -> true 308.13/291.56 eq(0, s(x)) -> false 308.13/291.56 eq(s(x), 0) -> false 308.13/291.56 eq(s(x), s(y)) -> eq(x, y) 308.13/291.56 p(0) -> 0 308.13/291.56 p(s(x)) -> x 308.13/291.56 308.13/291.56 S is empty. 308.13/291.56 Rewrite Strategy: FULL 308.23/291.58 EOF