/export/starexec/sandbox2/solver/bin/starexec_run_its /export/starexec/sandbox2/benchmark/theBenchmark.koat /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- WORST_CASE(?,O(n^2)) Preprocessing Cost Relations ===================================== #### Computed strongly connected components 0. recursive : [eval_p3_15/7,eval_p3_16/7,eval_p3_bb3_in/7,eval_p3_bb4_in/7] 1. recursive : [eval_p3_bb1_in/12,eval_p3_bb2_in/12,eval_p3_bb3_in_loop_cont/13,eval_p3_bb5_in/12,eval_p3_bb6_in/12] 2. non_recursive : [eval_p3_stop/9] 3. non_recursive : [eval_p3_bb7_in/9] 4. non_recursive : [exit_location/1] 5. non_recursive : [eval_p3_bb1_in_loop_cont/10] 6. non_recursive : [eval_p3_7/9] 7. non_recursive : [eval_p3_6/9] 8. non_recursive : [eval_p3_5/9] 9. non_recursive : [eval_p3_4/9] 10. non_recursive : [eval_p3_3/9] 11. non_recursive : [eval_p3_2/9] 12. non_recursive : [eval_p3_1/9] 13. non_recursive : [eval_p3_0/9] 14. non_recursive : [eval_p3_bb0_in/9] 15. non_recursive : [eval_p3_start/9] #### Obtained direct recursion through partial evaluation 0. SCC is partially evaluated into eval_p3_bb3_in/7 1. SCC is partially evaluated into eval_p3_bb1_in/12 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_p3_bb1_in_loop_cont/10 6. SCC is partially evaluated into eval_p3_7/9 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 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_p3_start/9 Control-Flow Refinement of Cost Relations ===================================== ### Specialization of cost equations eval_p3_bb3_in/7 * CE 13 is refined into CE [14] * CE 12 is refined into CE [15] * CE 11 is refined into CE [16] ### Cost equations --> "Loop" of eval_p3_bb3_in/7 * CEs [16] --> Loop 14 * CEs [14] --> Loop 15 * CEs [15] --> Loop 16 ### Ranking functions of CR eval_p3_bb3_in(V__1,V__3,V_12,B,C,D,E) * RF of phase [14]: [V__1] #### Partial ranking functions of CR eval_p3_bb3_in(V__1,V__3,V_12,B,C,D,E) * Partial RF of phase [14]: - RF of loop [14:1]: V__1 ### Specialization of cost equations eval_p3_bb1_in/12 * CE 7 is refined into CE [17] * CE 6 is refined into CE [18,19] * CE 8 is refined into CE [20] * CE 5 is refined into CE [21,22] * CE 3 is refined into CE [23] * CE 4 is refined into CE [24] ### Cost equations --> "Loop" of eval_p3_bb1_in/12 * CEs [22] --> Loop 17 * CEs [23] --> Loop 18 * CEs [21] --> Loop 19 * CEs [24] --> Loop 20 * CEs [17] --> Loop 21 * CEs [19] --> Loop 22 * CEs [18] --> Loop 23 * CEs [20] --> Loop 24 ### Ranking functions of CR eval_p3_bb1_in(V__0,V__01,V__1,V__3,V_12,V_z,B,C,D,E,F,G) * RF of phase [17,18,19,20]: [V__0] #### Partial ranking functions of CR eval_p3_bb1_in(V__0,V__01,V__1,V__3,V_12,V_z,B,C,D,E,F,G) * Partial RF of phase [17,18,19,20]: - RF of loop [17:1]: V__01 depends on loops [18:1,20:1] - RF of loop [17:1,18:1,19:1,20:1]: V__0 ### Specialization of cost equations eval_p3_bb1_in_loop_cont/10 * CE 9 is refined into CE [25] * CE 10 is refined into CE [26] ### Cost equations --> "Loop" of eval_p3_bb1_in_loop_cont/10 * CEs [25] --> Loop 25 * CEs [26] --> Loop 26 ### Ranking functions of CR eval_p3_bb1_in_loop_cont(A,B,C,D,E,F,G,H,I,J) #### Partial ranking functions of CR eval_p3_bb1_in_loop_cont(A,B,C,D,E,F,G,H,I,J) ### Specialization of cost equations eval_p3_7/9 * CE 2 is refined into CE [27,28,29,30,31,32] ### Cost equations --> "Loop" of eval_p3_7/9 * CEs [30] --> Loop 27 * CEs [29] --> Loop 28 * CEs [28,31] --> Loop 29 * CEs [32] --> Loop 30 * CEs [27] --> Loop 31 ### Ranking functions of CR eval_p3_7(V__0,V__01,V__1,V__3,V_12,V_x,V_y,V_z,B) #### Partial ranking functions of CR eval_p3_7(V__0,V__01,V__1,V__3,V_12,V_x,V_y,V_z,B) ### Specialization of cost equations eval_p3_start/9 * CE 1 is refined into CE [33,34,35,36,37] ### Cost equations --> "Loop" of eval_p3_start/9 * CEs [37] --> Loop 32 * CEs [36] --> Loop 33 * CEs [35] --> Loop 34 * CEs [34] --> Loop 35 * CEs [33] --> Loop 36 ### Ranking functions of CR eval_p3_start(V__0,V__01,V__1,V__3,V_12,V_x,V_y,V_z,B) #### Partial ranking functions of CR eval_p3_start(V__0,V__01,V__1,V__3,V_12,V_x,V_y,V_z,B) Computing Bounds ===================================== #### Cost of chains of eval_p3_bb3_in(V__1,V__3,V_12,B,C,D,E): * Chain [[14],16]: 1*it(14)+0 Such that:it(14) =< V__1-C with precondition: [B=2,C=D,C=E,C>=0,V__1>=C+1] * Chain [[14],15]: 1*it(14)+0 Such that:it(14) =< V__1 with precondition: [B=3,V__1>=1] * Chain [16]: 0 with precondition: [B=2,E=V_12,V__1=C,V__1=D] * Chain [15]: 0 with precondition: [B=3] #### Cost of chains of eval_p3_bb1_in(V__0,V__01,V__1,V__3,V_12,V_z,B,C,D,E,F,G): * Chain [[17,18,19,20],24]: 1*it(17)+3*it(18)+1*s(3)+0 Such that:aux(10) =< V__01 aux(6) =< V_z aux(11) =< V__0 it(17) =< aux(11) it(18) =< aux(11) aux(7) =< aux(6) aux(4) =< max([aux(10),aux(6)])+it(18) aux(1) =< it(18)*aux(7) s(3) =< it(18)+aux(1)+aux(10) it(17) =< it(18)+aux(1)+aux(10) s(3) =< it(17)*aux(4) with precondition: [B=3,V__0>=1] * Chain [[17,18,19,20],23]: 1*it(17)+3*it(18)+1*s(3)+0 Such that:aux(10) =< V__01 aux(6) =< V_z aux(12) =< V__0 it(17) =< aux(12) it(18) =< aux(12) aux(7) =< aux(6) aux(4) =< max([aux(10),aux(6)])+it(18) aux(1) =< it(18)*aux(7) s(3) =< it(18)+aux(1)+aux(10) it(17) =< it(18)+aux(1)+aux(10) s(3) =< it(17)*aux(4) with precondition: [B=3,V__0>=2] * Chain [[17,18,19,20],22]: 1*it(17)+3*it(18)+1*s(3)+1*s(5)+0 Such that:it([22]) =< 1 aux(18) =< V_z aux(24) =< V__0 aux(25) =< V__01 it(17) =< aux(24) it(18) =< aux(24) it([22]) =< aux(24) aux(19) =< aux(18) aux(16) =< max([aux(25),aux(18)])+it(18) aux(22) =< aux(16) aux(13) =< it(18)*aux(19) it([22]) =< it(18)+aux(13)+aux(25) s(3) =< it(18)+aux(13)+aux(25) it(17) =< it(18)+aux(13)+aux(25) s(5) =< it(18)+aux(13)+aux(25) s(5) =< it([22])*aux(22) s(3) =< it(17)*aux(16) with precondition: [B=3,V__0>=2] * Chain [[17,18,19,20],21]: 1*it(17)+3*it(18)+1*s(3)+0 Such that:aux(10) =< V__01 aux(6) =< V_z aux(26) =< V__0 it(17) =< aux(26) it(18) =< aux(26) aux(7) =< aux(6) aux(4) =< max([aux(10),aux(6)])+it(18) aux(1) =< it(18)*aux(7) s(3) =< it(18)+aux(1)+aux(10) it(17) =< it(18)+aux(1)+aux(10) s(3) =< it(17)*aux(4) with precondition: [B=4,C=0,D=F,V__0>=1] * Chain [24]: 0 with precondition: [B=3] * Chain [23]: 0 with precondition: [B=3,V__0>=1] * Chain [22]: 1*s(4)+0 Such that:s(4) =< V__01 with precondition: [B=3,V__0>=1,V__01>=1] * Chain [21]: 0 with precondition: [B=4,D=V__01,E=V__1,F=V__3,G=V_12,V__0=C,0>=V__0] #### Cost of chains of eval_p3_bb1_in_loop_cont(A,B,C,D,E,F,G,H,I,J): * Chain [26]: 0 with precondition: [A=3] * Chain [25]: 0 with precondition: [A=4] #### Cost of chains of eval_p3_7(V__0,V__01,V__1,V__3,V_12,V_x,V_y,V_z,B): * Chain [31]: 0 with precondition: [] * Chain [30]: 0 with precondition: [0>=V_x] * Chain [29]: 2*s(39)+6*s(40)+2*s(44)+0 Such that:aux(30) =< V_x aux(31) =< V_y aux(32) =< V_z s(39) =< aux(30) s(40) =< aux(30) s(41) =< aux(32) s(42) =< max([aux(31),aux(32)])+s(40) s(43) =< s(40)*s(41) s(44) =< s(40)+s(43)+aux(31) s(39) =< s(40)+s(43)+aux(31) s(44) =< s(39)*s(42) with precondition: [V_x>=1] * Chain [28]: 1*s(54)+0 Such that:s(54) =< V_y with precondition: [V_x>=1,V_y>=1] * Chain [27]: 2*s(59)+6*s(60)+2*s(65)+1*s(66)+0 Such that:s(55) =< 1 s(56) =< V_x s(57) =< V_y s(58) =< V_z s(59) =< s(56) s(60) =< s(56) s(55) =< s(56) s(61) =< s(58) s(62) =< max([s(57),s(58)])+s(60) s(63) =< s(62) s(64) =< s(60)*s(61) s(55) =< s(60)+s(64)+s(57) s(65) =< s(60)+s(64)+s(57) s(59) =< s(60)+s(64)+s(57) s(66) =< s(60)+s(64)+s(57) s(66) =< s(55)*s(63) s(65) =< s(59)*s(62) with precondition: [V_x>=2] #### Cost of chains of eval_p3_start(V__0,V__01,V__1,V__3,V_12,V_x,V_y,V_z,B): * Chain [36]: 0 with precondition: [] * Chain [35]: 0 with precondition: [0>=V_x] * Chain [34]: 2*s(70)+6*s(71)+2*s(75)+0 Such that:s(67) =< V_x s(68) =< V_y s(69) =< V_z s(70) =< s(67) s(71) =< s(67) s(72) =< s(69) s(73) =< max([s(68),s(69)])+s(71) s(74) =< s(71)*s(72) s(75) =< s(71)+s(74)+s(68) s(70) =< s(71)+s(74)+s(68) s(75) =< s(70)*s(73) with precondition: [V_x>=1] * Chain [33]: 1*s(76)+0 Such that:s(76) =< V_y with precondition: [V_x>=1,V_y>=1] * Chain [32]: 2*s(81)+6*s(82)+2*s(87)+1*s(88)+0 Such that:s(77) =< 1 s(78) =< V_x s(79) =< V_y s(80) =< V_z s(81) =< s(78) s(82) =< s(78) s(77) =< s(78) s(83) =< s(80) s(84) =< max([s(79),s(80)])+s(82) s(85) =< s(84) s(86) =< s(82)*s(83) s(77) =< s(82)+s(86)+s(79) s(87) =< s(82)+s(86)+s(79) s(81) =< s(82)+s(86)+s(79) s(88) =< s(82)+s(86)+s(79) s(88) =< s(77)*s(85) s(87) =< s(81)*s(84) with precondition: [V_x>=2] Closed-form bounds of eval_p3_start(V__0,V__01,V__1,V__3,V_12,V_x,V_y,V_z,B): ------------------------------------- * Chain [36] with precondition: [] - Upper bound: 0 - Complexity: constant * Chain [35] with precondition: [0>=V_x] - Upper bound: 0 - Complexity: constant * Chain [34] with precondition: [V_x>=1] - Upper bound: 2*V_x*nat(V_z)+10*V_x+nat(V_y)*2 - Complexity: n^2 * Chain [33] with precondition: [V_x>=1,V_y>=1] - Upper bound: V_y - Complexity: n * Chain [32] with precondition: [V_x>=2] - Upper bound: 11*V_x+max([nat(V_y),nat(V_z)])+2*V_x*nat(V_z)+nat(V_y)*2 - Complexity: n^2 ### Maximum cost of eval_p3_start(V__0,V__01,V__1,V__3,V_12,V_x,V_y,V_z,B): nat(V_x)*2*nat(V_z)+nat(V_x)*10+nat(V_y)+(nat(V_x)+max([nat(V_y),nat(V_z)]))+nat(V_y) Asymptotic class: n^2 * Total analysis performed in 592 ms.