/export/starexec/sandbox2/solver/bin/starexec_run_c_complexity /export/starexec/sandbox2/benchmark/theBenchmark.c /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- WORST_CASE(?, O(1)) proof of /export/starexec/sandbox2/output/output_files/bench.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, 0 ms] (2) BOUNDS(1, 1) ---------------------------------------- (0) Obligation: Complexity Int TRS consisting of the following rules: eval_relation1_start(v_x, v_y) -> Com_1(eval_relation1_bb0_in(v_x, v_y)) :|: TRUE eval_relation1_bb0_in(v_x, v_y) -> Com_1(eval_relation1_bb1_in(v_x, v_y)) :|: TRUE eval_relation1_bb1_in(v_x, v_y) -> Com_1(eval_relation1_0(v_x, v_y)) :|: TRUE eval_relation1_0(v_x, v_y) -> Com_2(eval_nondet_start(v_x, v_y), eval_relation1_1(v_x, v_y)) :|: TRUE eval_relation1_1(v_x, v_y) -> Com_1(eval_relation1_bb2_in(v_x, v_y)) :|: TRUE eval_relation1_bb2_in(v_x, v_y) -> Com_1(eval_relation1_stop(v_x, v_y)) :|: TRUE The start-symbols are:[eval_relation1_start_2] ---------------------------------------- (1) Koat Proof (FINISHED) YES(?, 6) Initial complexity problem: 1: T: (Comp: ?, Cost: 1) evalrelation1start() -> Com_1(evalrelation1bb0in()) (Comp: ?, Cost: 1) evalrelation1bb0in() -> Com_1(evalrelation1bb1in()) (Comp: ?, Cost: 1) evalrelation1bb1in() -> Com_1(evalrelation10()) (Comp: ?, Cost: 1) evalrelation10() -> Com_2(evalnondetstart(), evalrelation11()) (Comp: ?, Cost: 1) evalrelation11() -> Com_1(evalrelation1bb2in()) (Comp: ?, Cost: 1) evalrelation1bb2in() -> Com_1(evalrelation1stop()) (Comp: 1, Cost: 0) koat_start() -> Com_1(evalrelation1start()) [ 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) evalrelation1start() -> Com_1(evalrelation1bb0in()) (Comp: 1, Cost: 1) evalrelation1bb0in() -> Com_1(evalrelation1bb1in()) (Comp: 1, Cost: 1) evalrelation1bb1in() -> Com_1(evalrelation10()) (Comp: 1, Cost: 1) evalrelation10() -> Com_2(evalnondetstart(), evalrelation11()) (Comp: 1, Cost: 1) evalrelation11() -> Com_1(evalrelation1bb2in()) (Comp: 1, Cost: 1) evalrelation1bb2in() -> Com_1(evalrelation1stop()) (Comp: 1, Cost: 0) koat_start() -> Com_1(evalrelation1start()) [ 0 <= 0 ] start location: koat_start leaf cost: 0 Complexity upper bound 6 Time: 0.004 sec (SMT: 0.004 sec) ---------------------------------------- (2) BOUNDS(1, 1)