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