4.49/1.89 WORST_CASE(NON_POLY, ?) 4.49/1.90 proof of /export/starexec/sandbox2/benchmark/theBenchmark.xml 4.49/1.90 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 4.49/1.90 4.49/1.90 4.49/1.90 The Runtime Complexity (innermost) of the given CpxTRS could be proven to be BOUNDS(INF, INF). 4.49/1.90 4.49/1.90 (0) CpxTRS 4.49/1.90 (1) RelTrsToDecreasingLoopProblemProof [LOWER BOUND(ID), 0 ms] 4.49/1.90 (2) TRS for Loop Detection 4.49/1.90 (3) DecreasingLoopProof [LOWER BOUND(ID), 0 ms] 4.49/1.90 (4) BEST 4.49/1.90 (5) proven lower bound 4.49/1.90 (6) LowerBoundPropagationProof [FINISHED, 0 ms] 4.49/1.90 (7) BOUNDS(n^1, INF) 4.49/1.90 (8) TRS for Loop Detection 4.49/1.90 (9) InfiniteLowerBoundProof [FINISHED, 155 ms] 4.49/1.90 (10) BOUNDS(INF, INF) 4.49/1.90 4.49/1.90 4.49/1.90 ---------------------------------------- 4.49/1.90 4.49/1.90 (0) 4.49/1.90 Obligation: 4.49/1.90 The Runtime Complexity (innermost) of the given CpxTRS could be proven to be BOUNDS(INF, INF). 4.49/1.90 4.49/1.90 4.49/1.90 The TRS R consists of the following rules: 4.49/1.90 4.49/1.90 a__zeros -> cons(0, zeros) 4.49/1.90 a__and(tt, X) -> mark(X) 4.49/1.90 a__length(nil) -> 0 4.49/1.90 a__length(cons(N, L)) -> s(a__length(mark(L))) 4.49/1.90 a__take(0, IL) -> nil 4.49/1.90 a__take(s(M), cons(N, IL)) -> cons(mark(N), take(M, IL)) 4.49/1.90 mark(zeros) -> a__zeros 4.49/1.90 mark(and(X1, X2)) -> a__and(mark(X1), X2) 4.49/1.90 mark(length(X)) -> a__length(mark(X)) 4.49/1.90 mark(take(X1, X2)) -> a__take(mark(X1), mark(X2)) 4.49/1.90 mark(cons(X1, X2)) -> cons(mark(X1), X2) 4.49/1.90 mark(0) -> 0 4.49/1.90 mark(tt) -> tt 4.49/1.90 mark(nil) -> nil 4.49/1.90 mark(s(X)) -> s(mark(X)) 4.49/1.90 a__zeros -> zeros 4.49/1.90 a__and(X1, X2) -> and(X1, X2) 4.49/1.90 a__length(X) -> length(X) 4.49/1.90 a__take(X1, X2) -> take(X1, X2) 4.49/1.90 4.49/1.90 S is empty. 4.49/1.90 Rewrite Strategy: INNERMOST 4.49/1.90 ---------------------------------------- 4.49/1.90 4.49/1.90 (1) RelTrsToDecreasingLoopProblemProof (LOWER BOUND(ID)) 4.49/1.90 Transformed a relative TRS into a decreasing-loop problem. 4.49/1.90 ---------------------------------------- 4.49/1.90 4.49/1.90 (2) 4.49/1.90 Obligation: 4.49/1.90 Analyzing the following TRS for decreasing loops: 4.49/1.90 4.49/1.90 The Runtime Complexity (innermost) of the given CpxTRS could be proven to be BOUNDS(INF, INF). 4.49/1.90 4.49/1.90 4.49/1.90 The TRS R consists of the following rules: 4.49/1.90 4.49/1.90 a__zeros -> cons(0, zeros) 4.49/1.90 a__and(tt, X) -> mark(X) 4.49/1.90 a__length(nil) -> 0 4.49/1.90 a__length(cons(N, L)) -> s(a__length(mark(L))) 4.49/1.90 a__take(0, IL) -> nil 4.49/1.90 a__take(s(M), cons(N, IL)) -> cons(mark(N), take(M, IL)) 4.49/1.90 mark(zeros) -> a__zeros 4.49/1.90 mark(and(X1, X2)) -> a__and(mark(X1), X2) 4.49/1.90 mark(length(X)) -> a__length(mark(X)) 4.49/1.90 mark(take(X1, X2)) -> a__take(mark(X1), mark(X2)) 4.49/1.90 mark(cons(X1, X2)) -> cons(mark(X1), X2) 4.49/1.90 mark(0) -> 0 4.49/1.90 mark(tt) -> tt 4.49/1.90 mark(nil) -> nil 4.49/1.90 mark(s(X)) -> s(mark(X)) 4.49/1.90 a__zeros -> zeros 4.49/1.90 a__and(X1, X2) -> and(X1, X2) 4.49/1.90 a__length(X) -> length(X) 4.49/1.90 a__take(X1, X2) -> take(X1, X2) 4.49/1.90 4.49/1.90 S is empty. 4.49/1.90 Rewrite Strategy: INNERMOST 4.49/1.90 ---------------------------------------- 4.49/1.90 4.49/1.90 (3) DecreasingLoopProof (LOWER BOUND(ID)) 4.49/1.90 The following loop(s) give(s) rise to the lower bound Omega(n^1): 4.49/1.90 4.49/1.90 The rewrite sequence 4.49/1.90 4.49/1.90 mark(length(X)) ->^+ a__length(mark(X)) 4.49/1.90 4.49/1.90 gives rise to a decreasing loop by considering the right hand sides subterm at position [0]. 4.49/1.90 4.49/1.90 The pumping substitution is [X / length(X)]. 4.49/1.90 4.49/1.90 The result substitution is [ ]. 4.49/1.90 4.49/1.90 4.49/1.90 4.49/1.90 4.49/1.90 ---------------------------------------- 4.49/1.90 4.49/1.90 (4) 4.49/1.90 Complex Obligation (BEST) 4.49/1.90 4.49/1.90 ---------------------------------------- 4.49/1.90 4.49/1.90 (5) 4.49/1.90 Obligation: 4.49/1.90 Proved the lower bound n^1 for the following obligation: 4.49/1.90 4.49/1.90 The Runtime Complexity (innermost) of the given CpxTRS could be proven to be BOUNDS(INF, INF). 4.49/1.90 4.49/1.90 4.49/1.90 The TRS R consists of the following rules: 4.49/1.90 4.49/1.90 a__zeros -> cons(0, zeros) 4.49/1.90 a__and(tt, X) -> mark(X) 4.49/1.90 a__length(nil) -> 0 4.49/1.90 a__length(cons(N, L)) -> s(a__length(mark(L))) 4.49/1.90 a__take(0, IL) -> nil 4.49/1.90 a__take(s(M), cons(N, IL)) -> cons(mark(N), take(M, IL)) 4.49/1.90 mark(zeros) -> a__zeros 4.49/1.90 mark(and(X1, X2)) -> a__and(mark(X1), X2) 4.49/1.90 mark(length(X)) -> a__length(mark(X)) 4.49/1.90 mark(take(X1, X2)) -> a__take(mark(X1), mark(X2)) 4.49/1.90 mark(cons(X1, X2)) -> cons(mark(X1), X2) 4.49/1.90 mark(0) -> 0 4.49/1.90 mark(tt) -> tt 4.49/1.90 mark(nil) -> nil 4.49/1.90 mark(s(X)) -> s(mark(X)) 4.49/1.90 a__zeros -> zeros 4.49/1.90 a__and(X1, X2) -> and(X1, X2) 4.49/1.90 a__length(X) -> length(X) 4.49/1.90 a__take(X1, X2) -> take(X1, X2) 4.49/1.90 4.49/1.90 S is empty. 4.49/1.90 Rewrite Strategy: INNERMOST 4.49/1.90 ---------------------------------------- 4.49/1.90 4.49/1.90 (6) LowerBoundPropagationProof (FINISHED) 4.49/1.90 Propagated lower bound. 4.49/1.90 ---------------------------------------- 4.49/1.90 4.49/1.90 (7) 4.49/1.90 BOUNDS(n^1, INF) 4.49/1.90 4.49/1.90 ---------------------------------------- 4.49/1.90 4.49/1.90 (8) 4.49/1.90 Obligation: 4.49/1.90 Analyzing the following TRS for decreasing loops: 4.49/1.90 4.49/1.90 The Runtime Complexity (innermost) of the given CpxTRS could be proven to be BOUNDS(INF, INF). 4.49/1.90 4.49/1.90 4.49/1.90 The TRS R consists of the following rules: 4.49/1.90 4.49/1.90 a__zeros -> cons(0, zeros) 4.49/1.90 a__and(tt, X) -> mark(X) 4.49/1.90 a__length(nil) -> 0 4.49/1.90 a__length(cons(N, L)) -> s(a__length(mark(L))) 4.49/1.90 a__take(0, IL) -> nil 4.49/1.90 a__take(s(M), cons(N, IL)) -> cons(mark(N), take(M, IL)) 4.49/1.90 mark(zeros) -> a__zeros 4.49/1.90 mark(and(X1, X2)) -> a__and(mark(X1), X2) 4.49/1.90 mark(length(X)) -> a__length(mark(X)) 4.49/1.90 mark(take(X1, X2)) -> a__take(mark(X1), mark(X2)) 4.49/1.90 mark(cons(X1, X2)) -> cons(mark(X1), X2) 4.49/1.90 mark(0) -> 0 4.49/1.90 mark(tt) -> tt 4.49/1.90 mark(nil) -> nil 4.49/1.90 mark(s(X)) -> s(mark(X)) 4.49/1.90 a__zeros -> zeros 4.49/1.90 a__and(X1, X2) -> and(X1, X2) 4.49/1.90 a__length(X) -> length(X) 4.49/1.90 a__take(X1, X2) -> take(X1, X2) 4.49/1.90 4.49/1.90 S is empty. 4.49/1.90 Rewrite Strategy: INNERMOST 4.49/1.90 ---------------------------------------- 4.49/1.90 4.49/1.90 (9) InfiniteLowerBoundProof (FINISHED) 4.49/1.90 The following loop proves infinite runtime complexity: 4.49/1.90 4.49/1.90 The rewrite sequence 4.49/1.90 4.49/1.90 a__length(cons(N, zeros)) ->^+ s(a__length(cons(0, zeros))) 4.49/1.90 4.49/1.90 gives rise to a decreasing loop by considering the right hand sides subterm at position [0]. 4.49/1.90 4.49/1.90 The pumping substitution is [ ]. 4.49/1.90 4.49/1.90 The result substitution is [N / 0]. 4.49/1.90 4.49/1.90 4.49/1.90 4.49/1.90 4.49/1.90 ---------------------------------------- 4.49/1.90 4.49/1.90 (10) 4.49/1.90 BOUNDS(INF, INF) 4.70/1.94 EOF