0.03/0.27 WORST_CASE(?,O(n^1)) 0.03/0.27 0.03/0.27 Preprocessing Cost Relations 0.03/0.27 ===================================== 0.03/0.27 0.03/0.27 #### Computed strongly connected components 0.03/0.27 0. recursive : [evalEx7bb3in/5,evalEx7bbin/5] 0.03/0.27 1. non_recursive : [evalEx7stop/4] 0.03/0.27 2. non_recursive : [evalEx7returnin/4] 0.03/0.27 3. non_recursive : [exit_location/1] 0.03/0.27 4. non_recursive : [evalEx7bb3in_loop_cont/5] 0.03/0.27 5. non_recursive : [evalEx7entryin/4] 0.03/0.27 6. non_recursive : [evalEx7start/4] 0.03/0.27 0.03/0.27 #### Obtained direct recursion through partial evaluation 0.03/0.27 0. SCC is partially evaluated into evalEx7bb3in/5 0.03/0.27 1. SCC is completely evaluated into other SCCs 0.03/0.27 2. SCC is completely evaluated into other SCCs 0.03/0.27 3. SCC is completely evaluated into other SCCs 0.03/0.27 4. SCC is partially evaluated into evalEx7bb3in_loop_cont/5 0.03/0.27 5. SCC is partially evaluated into evalEx7entryin/4 0.03/0.27 6. SCC is partially evaluated into evalEx7start/4 0.03/0.27 0.03/0.27 Control-Flow Refinement of Cost Relations 0.03/0.27 ===================================== 0.03/0.27 0.03/0.27 ### Specialization of cost equations evalEx7bb3in/5 0.03/0.27 * CE 8 is refined into CE [11] 0.03/0.27 * CE 7 is refined into CE [12] 0.03/0.27 * CE 4 is refined into CE [13] 0.03/0.27 * CE 3 is refined into CE [14] 0.03/0.27 * CE 6 is discarded (unfeasible) 0.03/0.27 * CE 5 is refined into CE [15] 0.03/0.27 0.03/0.27 0.03/0.27 ### Cost equations --> "Loop" of evalEx7bb3in/5 0.03/0.27 * CEs [14] --> Loop 11 0.03/0.27 * CEs [13] --> Loop 12 0.03/0.27 * CEs [15] --> Loop 13 0.03/0.27 * CEs [11] --> Loop 14 0.03/0.27 * CEs [12] --> Loop 15 0.03/0.27 0.03/0.27 ### Ranking functions of CR evalEx7bb3in(A,B,C,D,E) 0.03/0.27 * RF of phase [11]: [B-C+1] 0.03/0.27 * RF of phase [12]: [A-C,B-C-1] 0.03/0.27 0.03/0.27 #### Partial ranking functions of CR evalEx7bb3in(A,B,C,D,E) 0.03/0.27 * Partial RF of phase [11]: 0.03/0.27 - RF of loop [11:1]: 0.03/0.27 B-C+1 0.03/0.27 * Partial RF of phase [12]: 0.03/0.27 - RF of loop [12:1]: 0.03/0.27 A-C 0.03/0.27 B-C-1 0.03/0.27 0.03/0.27 0.03/0.27 ### Specialization of cost equations evalEx7bb3in_loop_cont/5 0.03/0.27 * CE 10 is refined into CE [16] 0.03/0.27 * CE 9 is refined into CE [17] 0.03/0.27 0.03/0.27 0.03/0.27 ### Cost equations --> "Loop" of evalEx7bb3in_loop_cont/5 0.03/0.27 * CEs [16] --> Loop 16 0.03/0.27 * CEs [17] --> Loop 17 0.03/0.27 0.03/0.27 ### Ranking functions of CR evalEx7bb3in_loop_cont(A,B,C,D,E) 0.03/0.27 0.03/0.27 #### Partial ranking functions of CR evalEx7bb3in_loop_cont(A,B,C,D,E) 0.03/0.27 0.03/0.27 0.03/0.27 ### Specialization of cost equations evalEx7entryin/4 0.03/0.27 * CE 2 is refined into CE [18,19,20] 0.03/0.27 0.03/0.27 0.03/0.27 ### Cost equations --> "Loop" of evalEx7entryin/4 0.03/0.27 * CEs [18,19,20] --> Loop 18 0.03/0.27 0.03/0.27 ### Ranking functions of CR evalEx7entryin(A,B,C,D) 0.03/0.27 0.03/0.27 #### Partial ranking functions of CR evalEx7entryin(A,B,C,D) 0.03/0.27 0.03/0.27 0.03/0.27 ### Specialization of cost equations evalEx7start/4 0.03/0.27 * CE 1 is refined into CE [21] 0.03/0.27 0.03/0.27 0.03/0.27 ### Cost equations --> "Loop" of evalEx7start/4 0.03/0.27 * CEs [21] --> Loop 19 0.03/0.27 0.03/0.27 ### Ranking functions of CR evalEx7start(A,B,C,D) 0.03/0.27 0.03/0.27 #### Partial ranking functions of CR evalEx7start(A,B,C,D) 0.03/0.27 0.03/0.27 0.03/0.27 Computing Bounds 0.03/0.27 ===================================== 0.03/0.27 0.03/0.27 #### Cost of chains of evalEx7bb3in(A,B,C,D,E): 0.03/0.27 * Chain [[11],14]: 1*it(11)+0 0.03/0.27 Such that:it(11) =< B-C+1 0.03/0.27 0.03/0.27 with precondition: [D=3,A>=1,C>=A+1,B>=C] 0.03/0.27 0.03/0.27 * Chain [[11],13,[12],15]: 1*it(11)+1*it(12)+1 0.03/0.27 Such that:it(11) =< B-C+1 0.03/0.27 it(12) =< E 0.03/0.27 0.03/0.27 with precondition: [D=2,A=E,A>=1,C>=A+1,B>=C] 0.03/0.27 0.03/0.27 * Chain [[11],13,[12],14]: 1*it(11)+1*it(12)+1 0.03/0.27 Such that:it(12) =< A 0.03/0.27 it(11) =< B-C+1 0.03/0.27 0.03/0.27 with precondition: [D=3,A>=1,C>=A+1,B>=C] 0.03/0.27 0.03/0.27 * Chain [[11],13,14]: 1*it(11)+1 0.03/0.27 Such that:it(11) =< B-C+1 0.03/0.27 0.03/0.27 with precondition: [D=3,A>=1,C>=A+1,B>=C] 0.03/0.27 0.03/0.27 * Chain [14]: 0 0.03/0.27 with precondition: [D=3,A>=1,C>=0,B>=A+1] 0.03/0.27 0.03/0.27 0.03/0.27 #### Cost of chains of evalEx7bb3in_loop_cont(A,B,C,D,E): 0.03/0.27 * Chain [17]: 0 0.03/0.27 with precondition: [A=2,B>=1,C>=B+1] 0.03/0.27 0.03/0.27 * Chain [16]: 0 0.03/0.27 with precondition: [A=3,B>=1,C>=B+1] 0.03/0.27 0.03/0.27 0.03/0.27 #### Cost of chains of evalEx7entryin(A,B,C,D): 0.03/0.27 * Chain [18]: 4*s(5)+2*s(6)+1 0.03/0.27 Such that:aux(2) =< -A+B 0.03/0.27 aux(3) =< A 0.03/0.27 s(5) =< aux(2) 0.03/0.27 s(6) =< aux(3) 0.03/0.27 0.03/0.27 with precondition: [A>=1,B>=A+1] 0.03/0.27 0.03/0.27 0.03/0.27 #### Cost of chains of evalEx7start(A,B,C,D): 0.03/0.27 * Chain [19]: 4*s(12)+2*s(13)+1 0.03/0.27 Such that:s(10) =< -A+B 0.03/0.27 s(11) =< A 0.03/0.27 s(12) =< s(10) 0.03/0.27 s(13) =< s(11) 0.03/0.27 0.03/0.27 with precondition: [A>=1,B>=A+1] 0.03/0.27 0.03/0.27 0.03/0.27 Closed-form bounds of evalEx7start(A,B,C,D): 0.03/0.27 ------------------------------------- 0.03/0.27 * Chain [19] with precondition: [A>=1,B>=A+1] 0.03/0.27 - Upper bound: -2*A+4*B+1 0.03/0.27 - Complexity: n 0.03/0.27 0.03/0.27 ### Maximum cost of evalEx7start(A,B,C,D): -2*A+4*B+1 0.03/0.27 Asymptotic class: n 0.03/0.27 * Total analysis performed in 203 ms. 0.03/0.27 0.03/0.37 EOF