0.03/0.21 WORST_CASE(?,O(1)) 0.03/0.21 0.03/0.21 Preprocessing Cost Relations 0.03/0.21 ===================================== 0.03/0.21 0.03/0.21 #### Computed strongly connected components 0.03/0.21 0. recursive : [eval_easy1_bb1_in/4,eval_easy1_bb2_in/4] 0.03/0.21 1. non_recursive : [eval_easy1_stop/3] 0.03/0.21 2. non_recursive : [eval_easy1_bb3_in/3] 0.03/0.21 3. non_recursive : [exit_location/1] 0.03/0.21 4. non_recursive : [eval_easy1_bb1_in_loop_cont/4] 0.03/0.21 5. non_recursive : [eval_easy1_6/3] 0.03/0.21 6. non_recursive : [eval_easy1_5/3] 0.03/0.21 7. non_recursive : [eval_easy1_4/3] 0.03/0.21 8. non_recursive : [eval_easy1_3/3] 0.03/0.21 9. non_recursive : [eval_easy1_2/3] 0.03/0.21 10. non_recursive : [eval_easy1_1/3] 0.03/0.21 11. non_recursive : [eval_easy1_bb0_in/3] 0.03/0.21 12. non_recursive : [eval_easy1_start/3] 0.03/0.21 0.03/0.21 #### Obtained direct recursion through partial evaluation 0.03/0.21 0. SCC is partially evaluated into eval_easy1_bb1_in/4 0.03/0.21 1. SCC is completely evaluated into other SCCs 0.03/0.21 2. SCC is completely evaluated into other SCCs 0.03/0.21 3. SCC is completely evaluated into other SCCs 0.03/0.21 4. SCC is partially evaluated into eval_easy1_bb1_in_loop_cont/4 0.03/0.21 5. SCC is partially evaluated into eval_easy1_6/3 0.03/0.21 6. SCC is completely evaluated into other SCCs 0.03/0.21 7. SCC is completely evaluated into other SCCs 0.03/0.21 8. SCC is completely evaluated into other SCCs 0.03/0.21 9. SCC is completely evaluated into other SCCs 0.03/0.21 10. SCC is completely evaluated into other SCCs 0.03/0.21 11. SCC is completely evaluated into other SCCs 0.03/0.21 12. SCC is partially evaluated into eval_easy1_start/3 0.03/0.21 0.03/0.21 Control-Flow Refinement of Cost Relations 0.03/0.21 ===================================== 0.03/0.21 0.03/0.21 ### Specialization of cost equations eval_easy1_bb1_in/4 0.03/0.21 * CE 7 is refined into CE [10] 0.03/0.21 * CE 6 is refined into CE [11] 0.03/0.21 * CE 3 is refined into CE [12] 0.03/0.21 * CE 4 is refined into CE [13] 0.03/0.21 * CE 5 is refined into CE [14] 0.03/0.21 0.03/0.21 0.03/0.21 ### Cost equations --> "Loop" of eval_easy1_bb1_in/4 0.03/0.21 * CEs [12] --> Loop 10 0.03/0.21 * CEs [13] --> Loop 11 0.03/0.21 * CEs [14] --> Loop 12 0.03/0.21 * CEs [10] --> Loop 13 0.03/0.21 * CEs [11] --> Loop 14 0.03/0.21 0.03/0.21 ### Ranking functions of CR eval_easy1_bb1_in(V_0,V_x_0,B,C) 0.03/0.21 * RF of phase [10]: [-V_x_0/2+20] 0.03/0.21 * RF of phase [11]: [-V_x_0/2+20] 0.03/0.21 * RF of phase [12]: [-V_x_0+40] 0.03/0.21 0.03/0.21 #### Partial ranking functions of CR eval_easy1_bb1_in(V_0,V_x_0,B,C) 0.03/0.21 * Partial RF of phase [10]: 0.03/0.21 - RF of loop [10:1]: 0.03/0.21 -V_x_0/2+20 0.03/0.21 * Partial RF of phase [11]: 0.03/0.21 - RF of loop [11:1]: 0.03/0.21 -V_x_0/2+20 0.03/0.21 * Partial RF of phase [12]: 0.03/0.21 - RF of loop [12:1]: 0.03/0.21 -V_x_0+40 0.03/0.21 0.03/0.21 0.03/0.21 ### Specialization of cost equations eval_easy1_bb1_in_loop_cont/4 0.03/0.21 * CE 9 is refined into CE [15] 0.03/0.21 * CE 8 is refined into CE [16] 0.03/0.21 0.03/0.21 0.03/0.21 ### Cost equations --> "Loop" of eval_easy1_bb1_in_loop_cont/4 0.03/0.21 * CEs [15] --> Loop 15 0.03/0.21 * CEs [16] --> Loop 16 0.03/0.21 0.03/0.21 ### Ranking functions of CR eval_easy1_bb1_in_loop_cont(A,B,C,D) 0.03/0.21 0.03/0.21 #### Partial ranking functions of CR eval_easy1_bb1_in_loop_cont(A,B,C,D) 0.03/0.21 0.03/0.21 0.03/0.21 ### Specialization of cost equations eval_easy1_6/3 0.03/0.21 * CE 2 is refined into CE [17,18,19,20,21,22,23] 0.03/0.21 0.03/0.21 0.03/0.21 ### Cost equations --> "Loop" of eval_easy1_6/3 0.03/0.21 * CEs [20,22] --> Loop 17 0.03/0.21 * CEs [19,21] --> Loop 18 0.03/0.21 * CEs [17,18] --> Loop 19 0.03/0.21 * CEs [23] --> Loop 20 0.03/0.21 0.03/0.21 ### Ranking functions of CR eval_easy1_6(V_0,V_x_0,B) 0.03/0.21 0.03/0.21 #### Partial ranking functions of CR eval_easy1_6(V_0,V_x_0,B) 0.03/0.21 0.03/0.21 0.03/0.21 ### Specialization of cost equations eval_easy1_start/3 0.03/0.21 * CE 1 is refined into CE [24,25,26,27] 0.03/0.21 0.03/0.21 0.03/0.21 ### Cost equations --> "Loop" of eval_easy1_start/3 0.03/0.21 * CEs [24,25,26,27] --> Loop 21 0.03/0.21 0.03/0.21 ### Ranking functions of CR eval_easy1_start(V_0,V_x_0,B) 0.03/0.21 0.03/0.21 #### Partial ranking functions of CR eval_easy1_start(V_0,V_x_0,B) 0.03/0.21 0.03/0.21 0.03/0.21 Computing Bounds 0.03/0.21 ===================================== 0.03/0.21 0.03/0.21 #### Cost of chains of eval_easy1_bb1_in(V_0,V_x_0,B,C): 0.03/0.21 * Chain [[12],14]: 1*it(12)+0 0.03/0.21 Such that:it(12) =< -V_x_0+40 0.03/0.21 0.03/0.21 with precondition: [V_0=0,B=2,C=40,39>=V_x_0,V_x_0>=0] 0.03/0.21 0.03/0.21 * Chain [[12],13]: 1*it(12)+0 0.03/0.21 Such that:it(12) =< -V_x_0+40 0.03/0.21 0.03/0.21 with precondition: [V_0=0,B=3,39>=V_x_0,V_x_0>=0] 0.03/0.21 0.03/0.21 * Chain [[11],14]: 1*it(11)+0 0.03/0.21 Such that:it(11) =< -V_x_0/2+20 0.03/0.21 0.03/0.21 with precondition: [B=2,0>=V_0+1,41>=C,V_x_0>=0,C>=40,C>=V_x_0+2] 0.03/0.21 0.03/0.21 * Chain [[11],13]: 1*it(11)+0 0.03/0.21 Such that:it(11) =< -V_x_0/2+20 0.03/0.21 0.03/0.21 with precondition: [B=3,0>=V_0+1,39>=V_x_0,V_x_0>=0] 0.03/0.21 0.03/0.21 * Chain [[10],14]: 1*it(10)+0 0.03/0.21 Such that:it(10) =< -V_x_0/2+20 0.03/0.21 0.03/0.21 with precondition: [B=2,41>=C,V_0>=1,V_x_0>=0,C>=40,C>=V_x_0+2] 0.03/0.21 0.03/0.21 * Chain [[10],13]: 1*it(10)+0 0.03/0.21 Such that:it(10) =< -V_x_0/2+20 0.03/0.21 0.03/0.21 with precondition: [B=3,39>=V_x_0,V_0>=1,V_x_0>=0] 0.03/0.21 0.03/0.21 * Chain [13]: 0 0.03/0.21 with precondition: [B=3,V_x_0>=0] 0.03/0.21 0.03/0.21 0.03/0.21 #### Cost of chains of eval_easy1_bb1_in_loop_cont(A,B,C,D): 0.03/0.21 * Chain [16]: 0 0.03/0.21 with precondition: [A=2] 0.03/0.21 0.03/0.21 * Chain [15]: 0 0.03/0.21 with precondition: [A=3] 0.03/0.21 0.03/0.21 0.03/0.21 #### Cost of chains of eval_easy1_6(V_0,V_x_0,B): 0.03/0.21 * Chain [20]: 0 0.03/0.21 with precondition: [] 0.03/0.21 0.03/0.21 * Chain [19]: 80 0.03/0.21 with precondition: [V_0=0] 0.03/0.21 0.03/0.21 * Chain [18]: 40 0.03/0.21 with precondition: [0>=V_0+1] 0.03/0.21 0.03/0.21 * Chain [17]: 40 0.03/0.21 with precondition: [V_0>=1] 0.03/0.21 0.03/0.21 0.03/0.21 #### Cost of chains of eval_easy1_start(V_0,V_x_0,B): 0.03/0.21 * Chain [21]: 80 0.03/0.21 with precondition: [] 0.03/0.21 0.03/0.21 0.03/0.21 Closed-form bounds of eval_easy1_start(V_0,V_x_0,B): 0.03/0.21 ------------------------------------- 0.03/0.21 * Chain [21] with precondition: [] 0.03/0.21 - Upper bound: 80 0.03/0.21 - Complexity: constant 0.03/0.21 0.03/0.21 ### Maximum cost of eval_easy1_start(V_0,V_x_0,B): 80 0.03/0.21 Asymptotic class: constant 0.03/0.21 * Total analysis performed in 150 ms. 0.03/0.21 0.03/0.31 EOF