/export/starexec/sandbox/solver/bin/starexec_run_complexity /export/starexec/sandbox/benchmark/theBenchmark.koat /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- WORST_CASE(?, O(1)) proof of /export/starexec/sandbox/benchmark/theBenchmark.koat # AProVE Commit ID: 794c25de1cacf0d048858bcd21c9a779e1221865 marcel 20200619 unpublished dirty The runtime complexity of the given CpxIntTrs could be proven to be BOUNDS(1, 1). (0) CpxIntTrs (1) Koat Proof [FINISHED, 10 ms] (2) BOUNDS(1, 1) ---------------------------------------- (0) Obligation: Complexity Int TRS consisting of the following rules: eval(A) -> Com_1(eval(-(2) + 2 * B)) :|: 2 * B >= 0 && A >= 1 + 2 * B && A <= 1 + 2 * B start(A) -> Com_1(eval(A)) :|: TRUE The start-symbols are:[start_1] ---------------------------------------- (1) Koat Proof (FINISHED) YES(?, 2) Initial complexity problem: 1: T: (Comp: ?, Cost: 1) eval(Ar_0) -> Com_1(eval(2*Fresh_0 - 2)) [ 2*Fresh_0 >= 0 /\ Ar_0 = 2*Fresh_0 + 1 ] (Comp: ?, Cost: 1) start(Ar_0) -> Com_1(eval(Ar_0)) (Comp: 1, Cost: 0) koat_start(Ar_0) -> Com_1(start(Ar_0)) [ 0 <= 0 ] start location: koat_start leaf cost: 0 Repeatedly propagating knowledge in problem 1 produces the following problem: 2: T: (Comp: 1, Cost: 1) eval(Ar_0) -> Com_1(eval(2*Fresh_0 - 2)) [ 2*Fresh_0 >= 0 /\ Ar_0 = 2*Fresh_0 + 1 ] (Comp: 1, Cost: 1) start(Ar_0) -> Com_1(eval(Ar_0)) (Comp: 1, Cost: 0) koat_start(Ar_0) -> Com_1(start(Ar_0)) [ 0 <= 0 ] start location: koat_start leaf cost: 0 Complexity upper bound 2 Time: 0.020 sec (SMT: 0.020 sec) ---------------------------------------- (2) BOUNDS(1, 1)