0.03/0.42 WORST_CASE(?,O(n^1)) 0.03/0.42 0.03/0.42 Preprocessing Cost Relations 0.03/0.42 ===================================== 0.03/0.42 0.03/0.42 #### Computed strongly connected components 0.03/0.42 0. recursive : [evalsipma91bb2in/5,evalsipma91bb3in/5] 0.03/0.42 1. recursive : [evalsipma91bb11in/9,evalsipma91bb5in/9,evalsipma91bb8in/9] 0.03/0.42 2. non_recursive : [evalsipma91stop/5] 0.03/0.42 3. non_recursive : [evalsipma91returnin/5] 0.03/0.42 4. non_recursive : [exit_location/1] 0.03/0.42 5. non_recursive : [evalsipma91bb11in_loop_cont/6] 0.03/0.42 6. non_recursive : [evalsipma91bb3in_loop_cont/6] 0.03/0.42 7. non_recursive : [evalsipma91entryin/5] 0.03/0.42 8. non_recursive : [evalsipma91start/5] 0.03/0.42 0.03/0.42 #### Obtained direct recursion through partial evaluation 0.03/0.42 0. SCC is partially evaluated into evalsipma91bb3in/5 0.03/0.42 1. SCC is partially evaluated into evalsipma91bb11in/9 0.03/0.42 2. SCC is completely evaluated into other SCCs 0.03/0.42 3. SCC is completely evaluated into other SCCs 0.03/0.42 4. SCC is completely evaluated into other SCCs 0.03/0.42 5. SCC is partially evaluated into evalsipma91bb11in_loop_cont/6 0.03/0.42 6. SCC is partially evaluated into evalsipma91bb3in_loop_cont/6 0.03/0.42 7. SCC is partially evaluated into evalsipma91entryin/5 0.03/0.42 8. SCC is partially evaluated into evalsipma91start/5 0.03/0.42 0.03/0.42 Control-Flow Refinement of Cost Relations 0.03/0.42 ===================================== 0.03/0.42 0.03/0.42 ### Specialization of cost equations evalsipma91bb3in/5 0.03/0.42 * CE 5 is refined into CE [16] 0.03/0.42 * CE 6 is refined into CE [17] 0.03/0.42 * CE 4 is refined into CE [18] 0.03/0.42 0.03/0.42 0.03/0.42 ### Cost equations --> "Loop" of evalsipma91bb3in/5 0.03/0.42 * CEs [18] --> Loop 16 0.03/0.42 * CEs [16] --> Loop 17 0.03/0.42 * CEs [17] --> Loop 18 0.03/0.42 0.03/0.42 ### Ranking functions of CR evalsipma91bb3in(A,B,E,F,G) 0.03/0.42 * RF of phase [16]: [-B/11+101/11] 0.03/0.42 0.03/0.42 #### Partial ranking functions of CR evalsipma91bb3in(A,B,E,F,G) 0.03/0.42 * Partial RF of phase [16]: 0.03/0.42 - RF of loop [16:1]: 0.03/0.42 -B/11+101/11 0.03/0.42 0.03/0.42 0.03/0.42 ### Specialization of cost equations evalsipma91bb11in/9 0.03/0.42 * CE 13 is refined into CE [19] 0.03/0.42 * CE 12 is refined into CE [20] 0.03/0.42 * CE 11 is refined into CE [21] 0.03/0.42 * CE 10 is refined into CE [22] 0.03/0.42 * CE 9 is refined into CE [23] 0.03/0.42 0.03/0.42 0.03/0.42 ### Cost equations --> "Loop" of evalsipma91bb11in/9 0.03/0.42 * CEs [21] --> Loop 19 0.03/0.42 * CEs [22] --> Loop 20 0.03/0.42 * CEs [23] --> Loop 21 0.03/0.42 * CEs [19] --> Loop 22 0.03/0.42 * CEs [20] --> Loop 23 0.03/0.42 0.03/0.42 ### Ranking functions of CR evalsipma91bb11in(A,B,C,D,E,F,G,H,I) 0.03/0.42 0.03/0.42 #### Partial ranking functions of CR evalsipma91bb11in(A,B,C,D,E,F,G,H,I) 0.03/0.42 * Partial RF of phase [19,20]: 0.03/0.42 - RF of loop [19:1]: 0.03/0.42 -B+111 depends on loops [20:1] 0.03/0.42 - RF of loop [20:1]: 0.03/0.42 A-2 0.03/0.42 B/9-110/9 depends on loops [19:1] 0.03/0.42 0.03/0.42 0.03/0.42 ### Specialization of cost equations evalsipma91bb11in_loop_cont/6 0.03/0.42 * CE 15 is refined into CE [24] 0.03/0.42 * CE 14 is refined into CE [25] 0.03/0.42 0.03/0.42 0.03/0.42 ### Cost equations --> "Loop" of evalsipma91bb11in_loop_cont/6 0.03/0.42 * CEs [24] --> Loop 24 0.03/0.42 * CEs [25] --> Loop 25 0.03/0.42 0.03/0.42 ### Ranking functions of CR evalsipma91bb11in_loop_cont(A,B,C,D,E,F) 0.03/0.42 0.03/0.42 #### Partial ranking functions of CR evalsipma91bb11in_loop_cont(A,B,C,D,E,F) 0.03/0.42 0.03/0.42 0.03/0.42 ### Specialization of cost equations evalsipma91bb3in_loop_cont/6 0.03/0.42 * CE 8 is refined into CE [26,27,28,29,30,31] 0.03/0.42 * CE 7 is refined into CE [32] 0.03/0.42 0.03/0.42 0.03/0.42 ### Cost equations --> "Loop" of evalsipma91bb3in_loop_cont/6 0.03/0.42 * CEs [28,31] --> Loop 26 0.03/0.42 * CEs [29] --> Loop 27 0.03/0.42 * CEs [26,27] --> Loop 28 0.03/0.42 * CEs [30] --> Loop 29 0.03/0.42 * CEs [32] --> Loop 30 0.03/0.42 0.03/0.42 ### Ranking functions of CR evalsipma91bb3in_loop_cont(A,B,C,D,E,F) 0.03/0.42 0.03/0.42 #### Partial ranking functions of CR evalsipma91bb3in_loop_cont(A,B,C,D,E,F) 0.03/0.42 0.03/0.42 0.03/0.42 ### Specialization of cost equations evalsipma91entryin/5 0.03/0.42 * CE 2 is refined into CE [33] 0.03/0.43 * CE 3 is refined into CE [34,35,36,37,38] 0.03/0.43 0.03/0.43 0.03/0.43 ### Cost equations --> "Loop" of evalsipma91entryin/5 0.03/0.43 * CEs [33] --> Loop 31 0.03/0.43 * CEs [34,35,36,38] --> Loop 32 0.03/0.43 * CEs [37] --> Loop 33 0.03/0.43 0.03/0.43 ### Ranking functions of CR evalsipma91entryin(A,B,C,D,E) 0.03/0.43 0.03/0.43 #### Partial ranking functions of CR evalsipma91entryin(A,B,C,D,E) 0.03/0.43 0.03/0.43 0.03/0.43 ### Specialization of cost equations evalsipma91start/5 0.03/0.43 * CE 1 is refined into CE [39,40,41] 0.03/0.43 0.03/0.43 0.03/0.43 ### Cost equations --> "Loop" of evalsipma91start/5 0.03/0.43 * CEs [41] --> Loop 34 0.03/0.43 * CEs [40] --> Loop 35 0.03/0.43 * CEs [39] --> Loop 36 0.03/0.43 0.03/0.43 ### Ranking functions of CR evalsipma91start(A,B,C,D,E) 0.03/0.43 0.03/0.43 #### Partial ranking functions of CR evalsipma91start(A,B,C,D,E) 0.03/0.43 0.03/0.43 0.03/0.43 Computing Bounds 0.03/0.43 ===================================== 0.03/0.43 0.03/0.43 #### Cost of chains of evalsipma91bb3in(A,B,E,F,G): 0.03/0.43 * Chain [[16],18]: 1*it(16)+0 0.03/0.43 Such that:it(16) =< -B/11+101/11 0.03/0.43 0.03/0.43 with precondition: [E=3,100>=B,A>=1] 0.03/0.43 0.03/0.43 * Chain [[16],17]: 1*it(16)+0 0.03/0.43 Such that:it(16) =< -B/11+101/11 0.03/0.43 0.03/0.43 with precondition: [E=4,G+11*A=11*F+B,A>=1,F>=A+1,B+11*F>=11*A+101,11*A+111>=11*F+B] 0.03/0.43 0.03/0.43 * Chain [18]: 0 0.03/0.43 with precondition: [E=3,A>=1,11*A+89>=B] 0.03/0.43 0.03/0.43 0.03/0.43 #### Cost of chains of evalsipma91bb11in(A,B,C,D,E,F,G,H,I): 0.03/0.43 * Chain [[19,20],22]: 1*it(19)+1*it(20)+0 0.03/0.43 Such that:it(20) =< A 0.03/0.43 aux(1) =< -B+111 0.03/0.43 it(19) =< it(20)*9+aux(1) 0.03/0.43 0.03/0.43 with precondition: [E=3,A>=2] 0.03/0.43 0.03/0.43 * Chain [[19,20],21,23]: 1*it(19)+1*it(20)+1 0.03/0.43 Such that:it(20) =< A 0.03/0.43 aux(1) =< -B+111 0.03/0.43 aux(2) =< -B+G+10 0.03/0.43 it(19) =< it(20)*9+aux(2) 0.03/0.43 it(19) =< it(20)*9+aux(1) 0.03/0.43 0.03/0.43 with precondition: [E=2,F=1,G+10*I=H+11,G>=101,H+1>=G,G+10*A>=H+21,H+9*G+90*A>=10*B+89] 0.03/0.43 0.03/0.43 * Chain [[19,20],21,22]: 1*it(19)+1*it(20)+1 0.03/0.43 Such that:it(20) =< A 0.03/0.43 aux(1) =< -B+111 0.03/0.43 it(19) =< it(20)*9+aux(1) 0.03/0.43 0.03/0.43 with precondition: [E=3,A>=2] 0.03/0.43 0.03/0.43 * Chain [23]: 0 0.03/0.43 with precondition: [E=2,G=B,H=C,I=D,A=F,1>=A] 0.03/0.43 0.03/0.43 * Chain [22]: 0 0.03/0.43 with precondition: [E=3] 0.03/0.43 0.03/0.43 * Chain [21,23]: 1 0.03/0.43 with precondition: [A=2,E=2,F=1,B=G+10,C=H,D=I,B>=111] 0.03/0.43 0.03/0.43 * Chain [21,22]: 1 0.03/0.43 with precondition: [A=2,E=3,B>=111] 0.03/0.43 0.03/0.43 0.03/0.43 #### Cost of chains of evalsipma91bb11in_loop_cont(A,B,C,D,E,F): 0.03/0.43 * Chain [25]: 0 0.03/0.43 with precondition: [A=2] 0.03/0.43 0.03/0.43 * Chain [24]: 0 0.03/0.43 with precondition: [A=3] 0.03/0.43 0.03/0.43 0.03/0.43 #### Cost of chains of evalsipma91bb3in_loop_cont(A,B,C,D,E,F): 0.03/0.43 * Chain [30]: 0 0.03/0.43 with precondition: [A=3] 0.03/0.43 0.03/0.43 * Chain [29]: 0 0.03/0.43 with precondition: [A=4] 0.03/0.43 0.03/0.43 * Chain [28]: 1 0.03/0.43 with precondition: [A=4,B=2,C>=111] 0.03/0.43 0.03/0.43 * Chain [27]: 0 0.03/0.43 with precondition: [A=4,1>=B] 0.03/0.43 0.03/0.43 * Chain [26]: 3*s(7)+3*s(10)+1 0.03/0.43 Such that:aux(7) =< B 0.03/0.43 aux(8) =< -C+111 0.03/0.43 s(7) =< aux(7) 0.03/0.43 s(10) =< s(7)*9+aux(8) 0.03/0.43 0.03/0.43 with precondition: [A=4,B>=2] 0.03/0.43 0.03/0.43 0.03/0.43 #### Cost of chains of evalsipma91entryin(A,B,C,D,E): 0.03/0.43 * Chain [33]: 1*s(15)+1 0.03/0.43 Such that:s(15) =< 1/11 0.03/0.43 0.03/0.43 with precondition: [A=100] 0.03/0.43 0.03/0.43 * Chain [32]: 3*s(16)+3*s(21)+3*s(22)+1 0.03/0.43 Such that:s(20) =< 10 0.03/0.43 aux(9) =< -A+122 0.03/0.43 s(19) =< -A/11+122/11 0.03/0.43 aux(10) =< -A/11+101/11 0.03/0.43 s(16) =< aux(10) 0.03/0.43 s(19) =< aux(9) 0.03/0.43 s(20) =< aux(9) 0.03/0.43 s(21) =< s(19) 0.03/0.43 s(22) =< s(21)*9+s(20) 0.03/0.43 0.03/0.43 with precondition: [100>=A] 0.03/0.43 0.03/0.43 * Chain [31]: 0 0.03/0.43 with precondition: [A>=101] 0.03/0.43 0.03/0.43 0.03/0.43 #### Cost of chains of evalsipma91start(A,B,C,D,E): 0.03/0.43 * Chain [36]: 1*s(23)+1 0.03/0.43 Such that:s(23) =< 1/11 0.03/0.43 0.03/0.43 with precondition: [A=100] 0.03/0.43 0.03/0.43 * Chain [35]: 3*s(28)+3*s(29)+3*s(30)+1 0.03/0.43 Such that:s(24) =< 10 0.03/0.43 s(25) =< -A+122 0.03/0.43 s(27) =< -A/11+101/11 0.03/0.43 s(26) =< -A/11+122/11 0.03/0.43 s(28) =< s(27) 0.03/0.43 s(26) =< s(25) 0.03/0.43 s(24) =< s(25) 0.03/0.43 s(29) =< s(26) 0.03/0.43 s(30) =< s(29)*9+s(24) 0.03/0.43 0.03/0.43 with precondition: [100>=A] 0.03/0.43 0.03/0.43 * Chain [34]: 0 0.03/0.43 with precondition: [A>=101] 0.03/0.43 0.03/0.43 0.03/0.43 Closed-form bounds of evalsipma91start(A,B,C,D,E): 0.03/0.43 ------------------------------------- 0.03/0.43 * Chain [36] with precondition: [A=100] 0.03/0.43 - Upper bound: 12/11 0.03/0.43 - Complexity: constant 0.03/0.43 * Chain [35] with precondition: [100>=A] 0.03/0.43 - Upper bound: -3*A+4304/11 0.03/0.43 - Complexity: n 0.03/0.43 * Chain [34] with precondition: [A>=101] 0.03/0.43 - Upper bound: 0 0.03/0.43 - Complexity: constant 0.03/0.43 0.03/0.43 ### Maximum cost of evalsipma91start(A,B,C,D,E): max([12/11,nat(-A/11+101/11)*3+31+nat(-A/11+122/11)*30]) 0.03/0.43 Asymptotic class: n 0.03/0.43 * Total analysis performed in 347 ms. 0.03/0.43 0.03/0.53 EOF