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