/export/starexec/sandbox/solver/bin/starexec_run_its /export/starexec/sandbox/benchmark/theBenchmark.koat /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- WORST_CASE(?,O(n^1)) Preprocessing Cost Relations ===================================== #### Computed strongly connected components 0. recursive : [eval_start_bb1_in/3,eval_start_bb2_in/3] 1. recursive : [eval_start_bb4_in/3,eval_start_bb5_in/3] 2. non_recursive : [eval_start_stop/6] 3. non_recursive : [eval_start_bb6_in/6] 4. non_recursive : [exit_location/1] 5. non_recursive : [eval_start_bb4_in_loop_cont/7] 6. non_recursive : [eval_start_10/6] 7. non_recursive : [eval_start_9/6] 8. non_recursive : [eval_start_8/6] 9. non_recursive : [eval_start_bb3_in/6] 10. non_recursive : [eval_start_bb1_in_loop_cont/7] 11. non_recursive : [eval_start_3/6] 12. non_recursive : [eval_start_2/6] 13. non_recursive : [eval_start_1/6] 14. non_recursive : [eval_start_0/6] 15. non_recursive : [eval_start_bb0_in/6] 16. non_recursive : [eval_start_start/6] #### Obtained direct recursion through partial evaluation 0. SCC is partially evaluated into eval_start_bb1_in/3 1. SCC is partially evaluated into eval_start_bb4_in/3 2. SCC is completely evaluated into other SCCs 3. SCC is completely evaluated into other SCCs 4. SCC is completely evaluated into other SCCs 5. SCC is partially evaluated into eval_start_bb4_in_loop_cont/7 6. SCC is partially evaluated into eval_start_10/6 7. SCC is completely evaluated into other SCCs 8. SCC is completely evaluated into other SCCs 9. SCC is completely evaluated into other SCCs 10. SCC is partially evaluated into eval_start_bb1_in_loop_cont/7 11. SCC is partially evaluated into eval_start_3/6 12. SCC is completely evaluated into other SCCs 13. SCC is completely evaluated into other SCCs 14. SCC is completely evaluated into other SCCs 15. SCC is completely evaluated into other SCCs 16. SCC is partially evaluated into eval_start_start/6 Control-Flow Refinement of Cost Relations ===================================== ### Specialization of cost equations eval_start_bb1_in/3 * CE 5 is refined into CE [14] * CE 4 is refined into CE [15] * CE 3 is refined into CE [16] ### Cost equations --> "Loop" of eval_start_bb1_in/3 * CEs [16] --> Loop 14 * CEs [14] --> Loop 15 * CEs [15] --> Loop 16 ### Ranking functions of CR eval_start_bb1_in(V__0,B,C) * RF of phase [14]: [V__0-100] #### Partial ranking functions of CR eval_start_bb1_in(V__0,B,C) * Partial RF of phase [14]: - RF of loop [14:1]: V__0-100 ### Specialization of cost equations eval_start_bb4_in/3 * CE 10 is refined into CE [17] * CE 11 is refined into CE [18] * CE 9 is refined into CE [19] ### Cost equations --> "Loop" of eval_start_bb4_in/3 * CEs [19] --> Loop 17 * CEs [17] --> Loop 18 * CEs [18] --> Loop 19 ### Ranking functions of CR eval_start_bb4_in(V__1,B,C) * RF of phase [17]: [V__1+1] #### Partial ranking functions of CR eval_start_bb4_in(V__1,B,C) * Partial RF of phase [17]: - RF of loop [17:1]: V__1+1 ### Specialization of cost equations eval_start_bb4_in_loop_cont/7 * CE 12 is refined into CE [20] * CE 13 is refined into CE [21] ### Cost equations --> "Loop" of eval_start_bb4_in_loop_cont/7 * CEs [20] --> Loop 20 * CEs [21] --> Loop 21 ### Ranking functions of CR eval_start_bb4_in_loop_cont(A,B,C,D,E,F,G) #### Partial ranking functions of CR eval_start_bb4_in_loop_cont(A,B,C,D,E,F,G) ### Specialization of cost equations eval_start_10/6 * CE 8 is refined into CE [22,23,24,25] ### Cost equations --> "Loop" of eval_start_10/6 * CEs [22] --> Loop 22 * CEs [23,24] --> Loop 23 * CEs [25] --> Loop 24 ### Ranking functions of CR eval_start_10(V__0,V__1,V_3,V_i,V_k,B) #### Partial ranking functions of CR eval_start_10(V__0,V__1,V_3,V_i,V_k,B) ### Specialization of cost equations eval_start_bb1_in_loop_cont/7 * CE 7 is refined into CE [26] * CE 6 is refined into CE [27,28,29] ### Cost equations --> "Loop" of eval_start_bb1_in_loop_cont/7 * CEs [26] --> Loop 25 * CEs [29] --> Loop 26 * CEs [28] --> Loop 27 * CEs [27] --> Loop 28 ### Ranking functions of CR eval_start_bb1_in_loop_cont(A,B,C,D,E,F,G) #### Partial ranking functions of CR eval_start_bb1_in_loop_cont(A,B,C,D,E,F,G) ### Specialization of cost equations eval_start_3/6 * CE 2 is refined into CE [30,31,32,33,34,35,36,37] ### Cost equations --> "Loop" of eval_start_3/6 * CEs [32] --> Loop 29 * CEs [30,37] --> Loop 30 * CEs [31] --> Loop 31 * CEs [35] --> Loop 32 * CEs [34] --> Loop 33 * CEs [33] --> Loop 34 * CEs [36] --> Loop 35 ### Ranking functions of CR eval_start_3(V__0,V__1,V_3,V_i,V_k,B) #### Partial ranking functions of CR eval_start_3(V__0,V__1,V_3,V_i,V_k,B) ### Specialization of cost equations eval_start_start/6 * CE 1 is refined into CE [38,39,40,41,42,43,44] ### Cost equations --> "Loop" of eval_start_start/6 * CEs [44] --> Loop 36 * CEs [43] --> Loop 37 * CEs [42] --> Loop 38 * CEs [41] --> Loop 39 * CEs [40] --> Loop 40 * CEs [39] --> Loop 41 * CEs [38] --> Loop 42 ### Ranking functions of CR eval_start_start(V__0,V__1,V_3,V_i,V_k,B) #### Partial ranking functions of CR eval_start_start(V__0,V__1,V_3,V_i,V_k,B) Computing Bounds ===================================== #### Cost of chains of eval_start_bb1_in(V__0,B,C): * Chain [[14],16]: 1*it(14)+0 Such that:it(14) =< V__0 with precondition: [B=2,C=100,V__0>=101] * Chain [[14],15]: 1*it(14)+0 Such that:it(14) =< V__0 with precondition: [B=3,V__0>=101] * Chain [16]: 0 with precondition: [B=2,V__0=C,100>=V__0] * Chain [15]: 0 with precondition: [B=3] #### Cost of chains of eval_start_bb4_in(V__1,B,C): * Chain [[17],19]: 1*it(17)+0 Such that:it(17) =< V__1+1 with precondition: [B=3,V__1>=0] * Chain [[17],18]: 1*it(17)+0 Such that:it(17) =< V__1+1 with precondition: [B=4,C+1=0,V__1>=0] * Chain [19]: 0 with precondition: [B=3] * Chain [18]: 0 with precondition: [B=4,V__1=C,0>=V__1+1] #### Cost of chains of eval_start_bb4_in_loop_cont(A,B,C,D,E,F,G): * Chain [21]: 0 with precondition: [A=3,D=B+F+50] * Chain [20]: 0 with precondition: [A=4,D=B+F+50] #### Cost of chains of eval_start_10(V__0,V__1,V_3,V_i,V_k,B): * Chain [24]: 0 with precondition: [V__0+V_k+50=V_3,0>=V__0+V_k+51] * Chain [23]: 2*s(1)+0 Such that:aux(1) =< V_3+1 s(1) =< aux(1) with precondition: [V__0+V_k+50=V_3,V__0+V_k+50>=0] * Chain [22]: 0 with precondition: [V_3=V__0+V_k+50] #### Cost of chains of eval_start_bb1_in_loop_cont(A,B,C,D,E,F,G): * Chain [28]: 0 with precondition: [A=2] * Chain [27]: 0 with precondition: [A=2,0>=B+F+51] * Chain [26]: 2*s(4)+0 Such that:s(3) =< B+F+51 s(4) =< s(3) with precondition: [A=2,B+F+50>=0] * Chain [25]: 0 with precondition: [A=3] #### Cost of chains of eval_start_3(V__0,V__1,V_3,V_i,V_k,B): * Chain [35]: 0 with precondition: [] * Chain [34]: 0 with precondition: [100>=V_i] * Chain [33]: 0 with precondition: [100>=V_i,0>=V_i+V_k+51] * Chain [32]: 2*s(6)+0 Such that:s(5) =< V_i+V_k+51 s(6) =< s(5) with precondition: [100>=V_i,V_i+V_k+50>=0] * Chain [31]: 1*s(7)+0 Such that:s(7) =< V_i with precondition: [0>=V_k+151,V_i>=101] * Chain [30]: 2*s(8)+0 Such that:aux(2) =< V_i s(8) =< aux(2) with precondition: [V_i>=101] * Chain [29]: 1*s(10)+2*s(12)+0 Such that:s(10) =< V_i s(11) =< V_k+151 s(12) =< s(11) with precondition: [V_i>=101,V_k+150>=0] #### Cost of chains of eval_start_start(V__0,V__1,V_3,V_i,V_k,B): * Chain [42]: 0 with precondition: [] * Chain [41]: 0 with precondition: [100>=V_i] * Chain [40]: 0 with precondition: [100>=V_i,0>=V_i+V_k+51] * Chain [39]: 2*s(14)+0 Such that:s(13) =< V_i+V_k+51 s(14) =< s(13) with precondition: [100>=V_i,V_i+V_k+50>=0] * Chain [38]: 1*s(15)+0 Such that:s(15) =< V_i with precondition: [0>=V_k+151,V_i>=101] * Chain [37]: 2*s(17)+0 Such that:s(16) =< V_i s(17) =< s(16) with precondition: [V_i>=101] * Chain [36]: 1*s(18)+2*s(20)+0 Such that:s(18) =< V_i s(19) =< V_k+151 s(20) =< s(19) with precondition: [V_i>=101,V_k+150>=0] Closed-form bounds of eval_start_start(V__0,V__1,V_3,V_i,V_k,B): ------------------------------------- * Chain [42] with precondition: [] - Upper bound: 0 - Complexity: constant * Chain [41] with precondition: [100>=V_i] - Upper bound: 0 - Complexity: constant * Chain [40] with precondition: [100>=V_i,0>=V_i+V_k+51] - Upper bound: 0 - Complexity: constant * Chain [39] with precondition: [100>=V_i,V_i+V_k+50>=0] - Upper bound: 2*V_i+2*V_k+102 - Complexity: n * Chain [38] with precondition: [0>=V_k+151,V_i>=101] - Upper bound: V_i - Complexity: n * Chain [37] with precondition: [V_i>=101] - Upper bound: 2*V_i - Complexity: n * Chain [36] with precondition: [V_i>=101,V_k+150>=0] - Upper bound: V_i+2*V_k+302 - Complexity: n ### Maximum cost of eval_start_start(V__0,V__1,V_3,V_i,V_k,B): max([nat(V_i+V_k+51)*2,nat(V_i)+max([nat(V_i),nat(V_k+151)*2])]) Asymptotic class: n * Total analysis performed in 191 ms.