/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/7,eval_start_bb2_in/7] 1. recursive : [eval_start_bb3_in/5,eval_start_bb4_in/5] 2. recursive : [eval_start_bb5_in/3,eval_start_bb6_in/3] 3. non_recursive : [eval_start_stop/7] 4. non_recursive : [eval_start_bb7_in/7] 5. non_recursive : [exit_location/1] 6. non_recursive : [eval_start_bb5_in_loop_cont/8] 7. non_recursive : [eval_start_bb3_in_loop_cont/8] 8. non_recursive : [eval_start_bb1_in_loop_cont/8] 9. non_recursive : [eval_start_4/7] 10. non_recursive : [eval_start_3/7] 11. non_recursive : [eval_start_2/7] 12. non_recursive : [eval_start_1/7] 13. non_recursive : [eval_start_0/7] 14. non_recursive : [eval_start_bb0_in/7] 15. non_recursive : [eval_start_start/7] #### Obtained direct recursion through partial evaluation 0. SCC is partially evaluated into eval_start_bb1_in/7 1. SCC is partially evaluated into eval_start_bb3_in/5 2. SCC is partially evaluated into eval_start_bb5_in/3 3. SCC is completely evaluated into other SCCs 4. SCC is completely evaluated into other SCCs 5. SCC is completely evaluated into other SCCs 6. SCC is partially evaluated into eval_start_bb5_in_loop_cont/8 7. SCC is partially evaluated into eval_start_bb3_in_loop_cont/8 8. SCC is partially evaluated into eval_start_bb1_in_loop_cont/8 9. SCC is partially evaluated into eval_start_4/7 10. SCC is completely evaluated into other SCCs 11. SCC is completely evaluated into other SCCs 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 partially evaluated into eval_start_start/7 Control-Flow Refinement of Cost Relations ===================================== ### Specialization of cost equations eval_start_bb1_in/7 * CE 4 is refined into CE [18] * CE 5 is refined into CE [19] * CE 3 is refined into CE [20] ### Cost equations --> "Loop" of eval_start_bb1_in/7 * CEs [20] --> Loop 18 * CEs [18] --> Loop 19 * CEs [19] --> Loop 20 ### Ranking functions of CR eval_start_bb1_in(V__0,V__01,V__1,B,C,D,E) * RF of phase [18]: [V__0] #### Partial ranking functions of CR eval_start_bb1_in(V__0,V__01,V__1,B,C,D,E) * Partial RF of phase [18]: - RF of loop [18:1]: V__0 ### Specialization of cost equations eval_start_bb3_in/5 * CE 9 is refined into CE [21] * CE 10 is refined into CE [22] * CE 8 is refined into CE [23] ### Cost equations --> "Loop" of eval_start_bb3_in/5 * CEs [23] --> Loop 21 * CEs [21] --> Loop 22 * CEs [22] --> Loop 23 ### Ranking functions of CR eval_start_bb3_in(V__1,V__2,B,C,D) * RF of phase [21]: [V__1] #### Partial ranking functions of CR eval_start_bb3_in(V__1,V__2,B,C,D) * Partial RF of phase [21]: - RF of loop [21:1]: V__1 ### Specialization of cost equations eval_start_bb5_in/3 * CE 15 is refined into CE [24] * CE 14 is refined into CE [25] * CE 13 is refined into CE [26] ### Cost equations --> "Loop" of eval_start_bb5_in/3 * CEs [26] --> Loop 24 * CEs [24] --> Loop 25 * CEs [25] --> Loop 26 ### Ranking functions of CR eval_start_bb5_in(V__2,B,C) * RF of phase [24]: [V__2] #### Partial ranking functions of CR eval_start_bb5_in(V__2,B,C) * Partial RF of phase [24]: - RF of loop [24:1]: V__2 ### Specialization of cost equations eval_start_bb5_in_loop_cont/8 * CE 17 is refined into CE [27] * CE 16 is refined into CE [28] ### Cost equations --> "Loop" of eval_start_bb5_in_loop_cont/8 * CEs [27] --> Loop 27 * CEs [28] --> Loop 28 ### Ranking functions of CR eval_start_bb5_in_loop_cont(A,B,C,D,E,F,G,H) #### Partial ranking functions of CR eval_start_bb5_in_loop_cont(A,B,C,D,E,F,G,H) ### Specialization of cost equations eval_start_bb3_in_loop_cont/8 * CE 12 is refined into CE [29,30,31,32] * CE 11 is refined into CE [33] ### Cost equations --> "Loop" of eval_start_bb3_in_loop_cont/8 * CEs [29,32] --> Loop 29 * CEs [30] --> Loop 30 * CEs [31] --> Loop 31 * CEs [33] --> Loop 32 ### Ranking functions of CR eval_start_bb3_in_loop_cont(A,B,C,D,E,F,G,H) #### Partial ranking functions of CR eval_start_bb3_in_loop_cont(A,B,C,D,E,F,G,H) ### Specialization of cost equations eval_start_bb1_in_loop_cont/8 * CE 7 is refined into CE [34,35,36,37,38,39] * CE 6 is refined into CE [40] ### Cost equations --> "Loop" of eval_start_bb1_in_loop_cont/8 * CEs [35,36,37] --> Loop 33 * CEs [38,39] --> Loop 34 * CEs [34] --> Loop 35 * CEs [40] --> Loop 36 ### Ranking functions of CR eval_start_bb1_in_loop_cont(A,B,C,D,E,F,G,H) #### Partial ranking functions of CR eval_start_bb1_in_loop_cont(A,B,C,D,E,F,G,H) ### Specialization of cost equations eval_start_4/7 * CE 2 is refined into CE [41,42,43,44,45,46,47,48] ### Cost equations --> "Loop" of eval_start_4/7 * CEs [45] --> Loop 37 * CEs [44] --> Loop 38 * CEs [42,43] --> Loop 39 * CEs [48] --> Loop 40 * CEs [47] --> Loop 41 * CEs [46] --> Loop 42 * CEs [41] --> Loop 43 ### Ranking functions of CR eval_start_4(V__0,V__01,V__1,V__2,V_x,V_y,B) #### Partial ranking functions of CR eval_start_4(V__0,V__01,V__1,V__2,V_x,V_y,B) ### Specialization of cost equations eval_start_start/7 * CE 1 is refined into CE [49,50,51,52,53,54,55] ### Cost equations --> "Loop" of eval_start_start/7 * CEs [55] --> Loop 44 * CEs [54] --> Loop 45 * CEs [53] --> Loop 46 * CEs [52] --> Loop 47 * CEs [51] --> Loop 48 * CEs [50] --> Loop 49 * CEs [49] --> Loop 50 ### Ranking functions of CR eval_start_start(V__0,V__01,V__1,V__2,V_x,V_y,B) #### Partial ranking functions of CR eval_start_start(V__0,V__01,V__1,V__2,V_x,V_y,B) Computing Bounds ===================================== #### Cost of chains of eval_start_bb1_in(V__0,V__01,V__1,B,C,D,E): * Chain [[18],20]: 1*it(18)+0 Such that:it(18) =< V__0 with precondition: [B=3,V__0>=1] * Chain [[18],19]: 1*it(18)+0 Such that:it(18) =< V__0 with precondition: [B=5,C=0,V__01+2*V__0=D,V__01+2*V__0=E,V__0>=1] * Chain [20]: 0 with precondition: [B=3] * Chain [19]: 0 with precondition: [B=5,V__0=C,V__01=D,V__01=E,0>=V__0] #### Cost of chains of eval_start_bb3_in(V__1,V__2,B,C,D): * Chain [[21],23]: 1*it(21)+0 Such that:it(21) =< V__1 with precondition: [B=3,V__1>=1] * Chain [[21],22]: 1*it(21)+0 Such that:it(21) =< V__1 with precondition: [B=4,C=0,D=0,V__1>=1] * Chain [23]: 0 with precondition: [B=3] * Chain [22]: 0 with precondition: [B=4,V__1=C,V__1=D,0>=V__1] #### Cost of chains of eval_start_bb5_in(V__2,B,C): * Chain [[24],26]: 1*it(24)+0 Such that:it(24) =< V__2 with precondition: [B=2,C=0,V__2>=1] * Chain [[24],25]: 1*it(24)+0 Such that:it(24) =< V__2 with precondition: [B=3,V__2>=1] * Chain [26]: 0 with precondition: [B=2,V__2=C,0>=V__2] * Chain [25]: 0 with precondition: [B=3] #### Cost of chains of eval_start_bb5_in_loop_cont(A,B,C,D,E,F,G,H): * Chain [28]: 0 with precondition: [A=2] * Chain [27]: 0 with precondition: [A=3] #### Cost of chains of eval_start_bb3_in_loop_cont(A,B,C,D,E,F,G,H): * Chain [32]: 0 with precondition: [A=3] * Chain [31]: 0 with precondition: [A=4] * Chain [30]: 0 with precondition: [A=4,0>=E] * Chain [29]: 2*s(1)+0 Such that:aux(1) =< E s(1) =< aux(1) with precondition: [A=4,E>=1] #### Cost of chains of eval_start_bb1_in_loop_cont(A,B,C,D,E,F,G,H): * Chain [36]: 0 with precondition: [A=3] * Chain [35]: 0 with precondition: [A=5] * Chain [34]: 0 with precondition: [A=5,0>=D] * Chain [33]: 3*s(3)+0 Such that:aux(2) =< D s(3) =< aux(2) with precondition: [A=5,D>=1] #### Cost of chains of eval_start_4(V__0,V__01,V__1,V__2,V_x,V_y,B): * Chain [43]: 0 with precondition: [] * Chain [42]: 0 with precondition: [0>=V_x] * Chain [41]: 0 with precondition: [0>=V_x,0>=V_y] * Chain [40]: 3*s(7)+0 Such that:s(6) =< V_y s(7) =< s(6) with precondition: [0>=V_x,V_y>=1] * Chain [39]: 2*s(8)+0 Such that:aux(3) =< V_x s(8) =< aux(3) with precondition: [V_x>=1] * Chain [38]: 1*s(10)+0 Such that:s(10) =< V_x with precondition: [V_x>=1,0>=2*V_x+V_y] * Chain [37]: 1*s(11)+3*s(13)+0 Such that:s(11) =< V_x s(12) =< 2*V_x+V_y s(13) =< s(12) with precondition: [V_x>=1,V_y+2*V_x>=1] #### Cost of chains of eval_start_start(V__0,V__01,V__1,V__2,V_x,V_y,B): * Chain [50]: 0 with precondition: [] * Chain [49]: 0 with precondition: [0>=V_x] * Chain [48]: 0 with precondition: [0>=V_x,0>=V_y] * Chain [47]: 3*s(15)+0 Such that:s(14) =< V_y s(15) =< s(14) with precondition: [0>=V_x,V_y>=1] * Chain [46]: 2*s(17)+0 Such that:s(16) =< V_x s(17) =< s(16) with precondition: [V_x>=1] * Chain [45]: 1*s(18)+0 Such that:s(18) =< V_x with precondition: [V_x>=1,0>=2*V_x+V_y] * Chain [44]: 1*s(19)+3*s(21)+0 Such that:s(19) =< V_x s(20) =< 2*V_x+V_y s(21) =< s(20) with precondition: [V_x>=1,V_y+2*V_x>=1] Closed-form bounds of eval_start_start(V__0,V__01,V__1,V__2,V_x,V_y,B): ------------------------------------- * Chain [50] with precondition: [] - Upper bound: 0 - Complexity: constant * Chain [49] with precondition: [0>=V_x] - Upper bound: 0 - Complexity: constant * Chain [48] with precondition: [0>=V_x,0>=V_y] - Upper bound: 0 - Complexity: constant * Chain [47] with precondition: [0>=V_x,V_y>=1] - Upper bound: 3*V_y - Complexity: n * Chain [46] with precondition: [V_x>=1] - Upper bound: 2*V_x - Complexity: n * Chain [45] with precondition: [V_x>=1,0>=2*V_x+V_y] - Upper bound: V_x - Complexity: n * Chain [44] with precondition: [V_x>=1,V_y+2*V_x>=1] - Upper bound: 7*V_x+3*V_y - Complexity: n ### Maximum cost of eval_start_start(V__0,V__01,V__1,V__2,V_x,V_y,B): max([nat(V_y)*3,nat(V_x)+max([nat(V_x),nat(2*V_x+V_y)*3])]) Asymptotic class: n * Total analysis performed in 271 ms.