0.06/0.50 MAYBE 0.06/0.50 0.06/0.50 Preprocessing Cost Relations 0.06/0.50 ===================================== 0.06/0.50 0.06/0.50 #### Computed strongly connected components 0.06/0.50 0. recursive : [eval_foo_bb10_in/2,eval_foo_bb9_in/2] 0.06/0.50 1. recursive : [eval_foo_bb11_in/8,eval_foo_bb7_in/7,eval_foo_bb8_in/7,eval_foo_bb9_in_loop_cont/9] 0.06/0.50 2. recursive : [eval_foo_bb12_in/7,eval_foo_bb5_in/5,eval_foo_bb6_in/5,eval_foo_bb7_in_loop_cont/8] 0.06/0.50 3. recursive : [eval_foo_bb13_in/6,eval_foo_bb3_in/5,eval_foo_bb4_in/5,eval_foo_bb5_in_loop_cont/7] 0.06/0.50 4. recursive : [eval_foo_bb14_in/4,eval_foo_bb1_in/2,eval_foo_bb2_in/2,eval_foo_bb3_in_loop_cont/5] 0.06/0.50 5. non_recursive : [eval_foo_stop/1] 0.06/0.50 6. non_recursive : [eval_foo_bb15_in/1] 0.06/0.50 7. non_recursive : [eval_foo_bb1_in_loop_cont/2] 0.06/0.50 8. non_recursive : [eval_foo_bb0_in/1] 0.06/0.50 9. non_recursive : [eval_foo_start/8] 0.06/0.50 0.06/0.50 #### Obtained direct recursion through partial evaluation 0.06/0.50 0. SCC is partially evaluated into eval_foo_bb9_in/2 0.06/0.50 1. SCC is partially evaluated into eval_foo_bb7_in/7 0.06/0.50 2. SCC is partially evaluated into eval_foo_bb5_in/5 0.06/0.50 3. SCC is partially evaluated into eval_foo_bb3_in/5 0.06/0.50 4. SCC is partially evaluated into eval_foo_bb1_in/2 0.06/0.50 5. SCC is completely evaluated into other SCCs 0.06/0.50 6. SCC is completely evaluated into other SCCs 0.06/0.50 7. SCC is completely evaluated into other SCCs 0.06/0.50 8. SCC is partially evaluated into eval_foo_bb0_in/1 0.06/0.50 9. SCC is partially evaluated into eval_foo_start/8 0.06/0.50 0.06/0.50 Control-Flow Refinement of Cost Relations 0.06/0.50 ===================================== 0.06/0.50 0.06/0.50 ### Specialization of cost equations eval_foo_bb9_in/2 0.06/0.50 * CE 12 is discarded (unfeasible) 0.06/0.50 * CE 11 is refined into CE [13] 0.06/0.50 0.06/0.50 0.06/0.50 ### Cost equations --> "Loop" of eval_foo_bb9_in/2 0.06/0.50 * CEs [13] --> Loop 13 0.06/0.50 0.06/0.50 ### Ranking functions of CR eval_foo_bb9_in(V__04,B) 0.06/0.50 0.06/0.50 #### Partial ranking functions of CR eval_foo_bb9_in(V__04,B) 0.06/0.50 0.06/0.50 Warning: no base case found for predicate 0.06/0.50 0.06/0.50 ### Specialization of cost equations eval_foo_bb7_in/7 0.06/0.50 * CE 10 is refined into CE [14] 0.06/0.50 * CE 9 is refined into CE [15] 0.06/0.50 0.06/0.50 0.06/0.50 ### Cost equations --> "Loop" of eval_foo_bb7_in/7 0.06/0.50 * CEs [15] --> Loop 14 0.06/0.50 * CEs [14] --> Loop 15 0.06/0.50 0.06/0.50 ### Ranking functions of CR eval_foo_bb7_in(V__0,V__01,V__02,V_8,V__03,B,C) 0.06/0.50 * RF of phase [14]: [V_8-V__03,V__0+V__01+V__02-V__03+4,2*V__0+2*V__01-V__03+7,2*V__0+V__02-V__03+5,4*V__0-V__03+9,V__01+V__02-V__03+103,2*V__01-V__03+205,V__02-V__03+203,-V__03+405] 0.06/0.50 0.06/0.50 #### Partial ranking functions of CR eval_foo_bb7_in(V__0,V__01,V__02,V_8,V__03,B,C) 0.06/0.50 * Partial RF of phase [14]: 0.06/0.50 - RF of loop [14:1]: 0.06/0.50 V_8-V__03 0.06/0.50 V__0+V__01+V__02-V__03+4 0.06/0.50 2*V__0+2*V__01-V__03+7 0.06/0.50 2*V__0+V__02-V__03+5 0.06/0.50 4*V__0-V__03+9 0.06/0.50 V__01+V__02-V__03+103 0.06/0.50 2*V__01-V__03+205 0.06/0.50 V__02-V__03+203 0.06/0.50 -V__03+405 0.06/0.50 0.06/0.50 0.06/0.50 ### Specialization of cost equations eval_foo_bb5_in/5 0.06/0.50 * CE 8 is refined into CE [16] 0.06/0.50 * CE 7 is refined into CE [17] 0.06/0.50 0.06/0.50 0.06/0.50 ### Cost equations --> "Loop" of eval_foo_bb5_in/5 0.06/0.50 * CEs [17] --> Loop 16 0.06/0.50 * CEs [16] --> Loop 17 0.06/0.50 0.06/0.50 ### Ranking functions of CR eval_foo_bb5_in(V__0,V__01,V__02,B,C) 0.06/0.50 * RF of phase [16]: [V__02+1] 0.06/0.50 0.06/0.50 #### Partial ranking functions of CR eval_foo_bb5_in(V__0,V__01,V__02,B,C) 0.06/0.50 * Partial RF of phase [16]: 0.06/0.50 - RF of loop [16:1]: 0.06/0.50 V__02+1 0.06/0.50 0.06/0.50 0.06/0.50 ### Specialization of cost equations eval_foo_bb3_in/5 0.06/0.50 * CE 6 is refined into CE [18] 0.06/0.50 * CE 5 is refined into CE [19] 0.06/0.50 0.06/0.50 0.06/0.50 ### Cost equations --> "Loop" of eval_foo_bb3_in/5 0.06/0.50 * CEs [19] --> Loop 18 0.06/0.50 * CEs [18] --> Loop 19 0.06/0.50 0.06/0.50 ### Ranking functions of CR eval_foo_bb3_in(V__0,V_1,V__01,B,C) 0.06/0.50 * RF of phase [18]: [V_1-V__01,V__0-V__01+2,-V__01+101] 0.06/0.50 0.06/0.50 #### Partial ranking functions of CR eval_foo_bb3_in(V__0,V_1,V__01,B,C) 0.06/0.50 * Partial RF of phase [18]: 0.06/0.50 - RF of loop [18:1]: 0.06/0.50 V_1-V__01 0.06/0.50 V__0-V__01+2 0.06/0.50 -V__01+101 0.06/0.50 0.06/0.50 0.06/0.50 ### Specialization of cost equations eval_foo_bb1_in/2 0.06/0.50 * CE 4 is refined into CE [20] 0.06/0.50 * CE 3 is refined into CE [21] 0.06/0.50 0.06/0.50 0.06/0.50 ### Cost equations --> "Loop" of eval_foo_bb1_in/2 0.06/0.50 * CEs [21] --> Loop 20 0.06/0.50 * CEs [20] --> Loop 21 0.06/0.50 0.06/0.50 ### Ranking functions of CR eval_foo_bb1_in(V__0,B) 0.06/0.50 * RF of phase [20]: [-V__0+100] 0.06/0.50 0.06/0.50 #### Partial ranking functions of CR eval_foo_bb1_in(V__0,B) 0.06/0.50 * Partial RF of phase [20]: 0.06/0.50 - RF of loop [20:1]: 0.06/0.50 -V__0+100 0.06/0.50 0.06/0.50 0.06/0.50 ### Specialization of cost equations eval_foo_bb0_in/1 0.06/0.50 * CE 2 is refined into CE [22] 0.06/0.50 0.06/0.50 0.06/0.50 ### Cost equations --> "Loop" of eval_foo_bb0_in/1 0.06/0.50 * CEs [22] --> Loop 22 0.06/0.50 0.06/0.50 ### Ranking functions of CR eval_foo_bb0_in(B) 0.06/0.50 0.06/0.50 #### Partial ranking functions of CR eval_foo_bb0_in(B) 0.06/0.50 0.06/0.50 0.06/0.50 ### Specialization of cost equations eval_foo_start/8 0.06/0.50 * CE 1 is refined into CE [23] 0.06/0.50 0.06/0.50 0.06/0.50 ### Cost equations --> "Loop" of eval_foo_start/8 0.06/0.50 * CEs [23] --> Loop 23 0.06/0.50 0.06/0.50 ### Ranking functions of CR eval_foo_start(V_i,V_j,V_k,V_l,V_m,V_a,V_b,B) 0.06/0.50 0.06/0.50 #### Partial ranking functions of CR eval_foo_start(V_i,V_j,V_k,V_l,V_m,V_a,V_b,B) 0.06/0.50 0.06/0.50 0.06/0.50 Computing Bounds 0.06/0.50 ===================================== 0.06/0.50 0.06/0.50 #### Cost of chains of eval_foo_bb9_in(V__04,B): 0.06/0.50 * Chain [[13]]...: 1*it(13)+0 0.06/0.50 with precondition: [V__04>=1000,1805>=V__04,B=2] 0.06/0.50 0.06/0.50 0.06/0.50 #### Cost of chains of eval_foo_bb7_in(V__0,V__01,V__02,V_8,V__03,B,C): 0.06/0.50 * Chain [[14],15]: 1*it(14)+1*s(3)+0 0.06/0.50 Such that:it(14) =< -V__03+C 0.06/0.50 0.06/0.50 with precondition: [B=3,V__0+V__01+V__02+4=V_8,V__0+V__01+V__02+4=C,99>=V__0,V__0>=0,V__01>=0,V__02>=0,V__03>=0,V__0+1>=V__01,V__0+V__01+3>=V__02,V__0+V__01+V__02+3>=V__03] 0.06/0.50 0.06/0.50 0.06/0.50 #### Cost of chains of eval_foo_bb5_in(V__0,V__01,V__02,B,C): 0.06/0.50 * Chain [[16],17]: 1*it(16)+1*s(8)+1*s(9)+0 0.06/0.50 Such that:s(8) =< V__01+405*V__02+103 0.06/0.50 it(16) =< V__02+1 0.06/0.50 0.06/0.50 with precondition: [B=4,C+1=0,99>=V__0,V__0>=0,V__01>=0,V__02>=0,V__0+1>=V__01,V__0+V__01+3>=V__02] 0.06/0.50 0.06/0.50 0.06/0.50 #### Cost of chains of eval_foo_bb3_in(V__0,V_1,V__01,B,C): 0.06/0.50 * Chain [[18],19]: 1*it(18)+1*s(16)+1*s(17)+1*s(18)+0 0.06/0.50 Such that:it(18) =< V_1-V__01 0.06/0.50 s(17) =< 205*V_1-203*V__01 0.06/0.50 s(16) =< 82824*V_1-82013*V__01 0.06/0.50 0.06/0.50 with precondition: [B=5,V__0+2=V_1,V__0+2=C,99>=V__0,V__0>=0,V__01>=0,V__0+1>=V__01] 0.06/0.50 0.06/0.50 0.06/0.50 #### Cost of chains of eval_foo_bb1_in(V__0,B): 0.06/0.50 * Chain [[20],21]: 1*it(20)+1*s(27)+1*s(28)+1*s(29)+1*s(30)+0 0.06/0.50 Such that:it(20) =< -V__0+100 0.06/0.50 aux(5) =< -101*V__0+10100 0.06/0.50 s(27) =< aux(5) 0.06/0.50 s(29) =< aux(5)*82824 0.06/0.50 s(28) =< aux(5)*205 0.06/0.50 0.06/0.50 with precondition: [B=6,99>=V__0,V__0>=0] 0.06/0.50 0.06/0.50 0.06/0.50 #### Cost of chains of eval_foo_bb0_in(B): 0.06/0.50 * Chain [22]: 1*s(31)+1*s(33)+1*s(34)+1*s(35)+1*s(36)+0 0.06/0.50 Such that:s(31) =< 100 0.06/0.50 s(32) =< 10100 0.06/0.50 s(33) =< s(32) 0.06/0.50 s(34) =< s(32)*82824 0.06/0.50 s(35) =< s(32)*205 0.06/0.50 0.06/0.50 with precondition: [] 0.06/0.50 0.06/0.50 0.06/0.50 #### Cost of chains of eval_foo_start(V_i,V_j,V_k,V_l,V_m,V_a,V_b,B): 0.06/0.50 * Chain [23]: 1*s(37)+1*s(39)+1*s(40)+1*s(41)+1*s(42)+0 0.06/0.50 Such that:s(37) =< 100 0.06/0.50 s(38) =< 10100 0.06/0.50 s(39) =< s(38) 0.06/0.50 s(40) =< s(38)*82824 0.06/0.50 s(41) =< s(38)*205 0.06/0.50 0.06/0.50 with precondition: [] 0.06/0.50 0.06/0.50 0.06/0.50 Closed-form bounds of eval_foo_start(V_i,V_j,V_k,V_l,V_m,V_a,V_b,B): 0.06/0.50 ------------------------------------- 0.06/0.50 * Chain [23] with precondition: [] 0.06/0.50 - Upper bound: inf 0.06/0.50 - Complexity: infinity 0.06/0.50 0.06/0.50 ### Maximum cost of eval_foo_start(V_i,V_j,V_k,V_l,V_m,V_a,V_b,B): inf 0.06/0.50 Asymptotic class: infinity 0.06/0.50 * Total analysis performed in 399 ms. 0.06/0.50 0.50/0.60 EOF