0.85/0.86 WORST_CASE(?,O(n^1)) 0.85/0.86 0.85/0.86 Preprocessing Cost Relations 0.85/0.86 ===================================== 0.85/0.86 0.85/0.86 #### Computed strongly connected components 0.85/0.86 0. recursive : [lbl82/17] 0.85/0.86 1. recursive : [lbl82_loop_cont/18,lbl92/17] 0.85/0.86 2. non_recursive : [exit_location/1] 0.85/0.86 3. non_recursive : [stop/9] 0.85/0.86 4. non_recursive : [lbl92_loop_cont/10] 0.85/0.86 5. non_recursive : [start/9] 0.85/0.86 6. non_recursive : [start0/9] 0.85/0.86 0.85/0.86 #### Obtained direct recursion through partial evaluation 0.85/0.86 0. SCC is partially evaluated into lbl82/17 0.85/0.86 1. SCC is partially evaluated into lbl92/17 0.85/0.86 2. SCC is completely evaluated into other SCCs 0.85/0.86 3. SCC is completely evaluated into other SCCs 0.85/0.86 4. SCC is partially evaluated into lbl92_loop_cont/10 0.85/0.86 5. SCC is partially evaluated into start/9 0.85/0.86 6. SCC is partially evaluated into start0/9 0.85/0.86 0.85/0.86 Control-Flow Refinement of Cost Relations 0.85/0.86 ===================================== 0.85/0.86 0.85/0.86 ### Specialization of cost equations lbl82/17 0.85/0.86 * CE 8 is refined into CE [16] 0.85/0.86 * CE 6 is refined into CE [17] 0.85/0.86 * CE 7 is refined into CE [18] 0.85/0.86 0.85/0.86 0.85/0.86 ### Cost equations --> "Loop" of lbl82/17 0.85/0.86 * CEs [18] --> Loop 15 0.85/0.86 * CEs [16] --> Loop 16 0.85/0.86 * CEs [17] --> Loop 17 0.85/0.86 0.85/0.86 ### Ranking functions of CR lbl82(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q) 0.85/0.86 * RF of phase [15]: [-B+9,-F+10] 0.85/0.86 0.85/0.86 #### Partial ranking functions of CR lbl82(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q) 0.85/0.86 * Partial RF of phase [15]: 0.85/0.86 - RF of loop [15:1]: 0.85/0.86 -B+9 0.85/0.86 -F+10 0.85/0.86 0.85/0.86 0.85/0.86 ### Specialization of cost equations lbl92/17 0.85/0.86 * CE 13 is refined into CE [19] 0.85/0.86 * CE 11 is refined into CE [20,21] 0.85/0.86 * CE 15 is refined into CE [22] 0.85/0.86 * CE 12 is refined into CE [23] 0.85/0.86 * CE 14 is refined into CE [24] 0.85/0.86 0.85/0.86 0.85/0.86 ### Cost equations --> "Loop" of lbl92/17 0.85/0.86 * CEs [24] --> Loop 18 0.85/0.86 * CEs [23] --> Loop 19 0.85/0.86 * CEs [19] --> Loop 20 0.85/0.86 * CEs [20,21] --> Loop 21 0.85/0.86 * CEs [22] --> Loop 22 0.85/0.86 0.85/0.86 ### Ranking functions of CR lbl92(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q) 0.85/0.86 * RF of phase [18]: [-D+2,-H+3] 0.85/0.86 * RF of phase [19]: [-D+4,-H+5] 0.85/0.86 0.85/0.86 #### Partial ranking functions of CR lbl92(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q) 0.85/0.86 * Partial RF of phase [18]: 0.85/0.86 - RF of loop [18:1]: 0.85/0.86 -D+2 0.85/0.86 -H+3 0.85/0.86 * Partial RF of phase [19]: 0.85/0.86 - RF of loop [19:1]: 0.85/0.86 -D+4 0.85/0.86 -H+5 0.85/0.86 0.85/0.86 0.85/0.86 ### Specialization of cost equations lbl92_loop_cont/10 0.85/0.86 * CE 9 is refined into CE [25] 0.85/0.86 * CE 10 is refined into CE [26] 0.85/0.86 0.85/0.86 0.85/0.86 ### Cost equations --> "Loop" of lbl92_loop_cont/10 0.85/0.86 * CEs [25] --> Loop 23 0.85/0.86 * CEs [26] --> Loop 24 0.85/0.86 0.85/0.86 ### Ranking functions of CR lbl92_loop_cont(A,B,C,D,E,F,G,H,I,J) 0.85/0.86 0.85/0.86 #### Partial ranking functions of CR lbl92_loop_cont(A,B,C,D,E,F,G,H,I,J) 0.85/0.86 0.85/0.86 0.85/0.86 ### Specialization of cost equations start/9 0.85/0.86 * CE 4 is refined into CE [27] 0.85/0.86 * CE 5 is refined into CE [28,29,30,31,32,33] 0.85/0.86 * CE 2 is refined into CE [34,35] 0.85/0.86 * CE 3 is refined into CE [36,37,38,39] 0.85/0.86 0.85/0.86 0.85/0.86 ### Cost equations --> "Loop" of start/9 0.85/0.86 * CEs [27] --> Loop 25 0.85/0.86 * CEs [30,32] --> Loop 26 0.85/0.86 * CEs [29] --> Loop 27 0.85/0.86 * CEs [34,35,36] --> Loop 28 0.85/0.86 * CEs [39] --> Loop 29 0.85/0.86 * CEs [37,38] --> Loop 30 0.85/0.86 * CEs [28,31,33] --> Loop 31 0.85/0.86 0.85/0.86 ### Ranking functions of CR start(A,B,C,D,E,F,G,H,I) 0.85/0.86 0.85/0.86 #### Partial ranking functions of CR start(A,B,C,D,E,F,G,H,I) 0.85/0.86 0.85/0.86 0.85/0.86 ### Specialization of cost equations start0/9 0.85/0.86 * CE 1 is refined into CE [40,41,42,43,44,45,46] 0.85/0.86 0.85/0.86 0.85/0.86 ### Cost equations --> "Loop" of start0/9 0.85/0.86 * CEs [46] --> Loop 32 0.85/0.86 * CEs [45] --> Loop 33 0.85/0.86 * CEs [44] --> Loop 34 0.85/0.86 * CEs [43] --> Loop 35 0.85/0.86 * CEs [42] --> Loop 36 0.85/0.86 * CEs [41] --> Loop 37 0.85/0.86 * CEs [40] --> Loop 38 0.85/0.86 0.85/0.86 ### Ranking functions of CR start0(A,B,C,D,E,F,G,H,I) 0.85/0.86 0.85/0.86 #### Partial ranking functions of CR start0(A,B,C,D,E,F,G,H,I) 0.85/0.86 0.85/0.86 0.85/0.86 Computing Bounds 0.85/0.86 ===================================== 0.85/0.86 0.85/0.86 #### Cost of chains of lbl82(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q): 0.85/0.86 * Chain [[15],17]: 1*it(15)+0 0.85/0.86 Such that:it(15) =< -B+9 0.85/0.86 0.85/0.86 with precondition: [I=2,K=9,O=10,F=B+1,A=J,C=L,H=M,E=N,G=P,H+1=Q,9>=F,4>=H,F>=1,H>=3,H>=A] 0.85/0.86 0.85/0.86 * Chain [[15],16]: 1*it(15)+0 0.85/0.86 Such that:it(15) =< -F+10 0.85/0.86 0.85/0.86 with precondition: [I=3,F=B+1,9>=F,4>=H,F>=1,H>=3,H>=A] 0.85/0.86 0.85/0.86 * Chain [16]: 0 0.85/0.86 with precondition: [I=3,B+1=F,4>=H,B>=0,H>=3,H>=A] 0.85/0.86 0.85/0.86 0.85/0.86 #### Cost of chains of lbl92(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q): 0.85/0.86 * Chain [[19],22]: 1*it(19)+1*s(3)+0 0.85/0.86 Such that:aux(6) =< -H+5 0.85/0.86 it(19) =< aux(6) 0.85/0.86 s(3) =< aux(6)*9 0.85/0.86 0.85/0.86 with precondition: [I=3,D+1=H,3>=D,D>=2,F+10>=5*D,D>=A] 0.85/0.86 0.85/0.86 * Chain [[19],21]: 1*it(19)+1*s(3)+9 0.85/0.86 Such that:aux(7) =< 1 0.85/0.86 aux(8) =< 2 0.85/0.86 aux(1) =< aux(8) 0.85/0.86 it(19) =< aux(8) 0.85/0.86 aux(1) =< aux(7) 0.85/0.86 it(19) =< aux(7) 0.85/0.86 s(3) =< aux(1)*9 0.85/0.86 0.85/0.86 with precondition: [D=2,H=3,I=3,2>=A,F>=0] 0.85/0.86 0.85/0.86 * Chain [[19],20]: 1*it(19)+1*s(3)+0 0.85/0.86 Such that:aux(9) =< -D+4 0.85/0.86 it(19) =< aux(9) 0.85/0.86 s(3) =< aux(9)*9 0.85/0.86 0.85/0.86 with precondition: [I=4,K=9,M=4,O=10,Q=5,D+1=H,A=J,C=L,E=N,G=P,3>=D,D>=2,F+10>=5*D,D>=A] 0.85/0.86 0.85/0.86 * Chain [[18],[19],22]: 1*it(18)+1*it(19)+1*s(3)+0 0.85/0.86 Such that:aux(6) =< 2 0.85/0.86 it(18) =< -H+3 0.85/0.86 it(19) =< aux(6) 0.85/0.86 s(3) =< aux(6)*9 0.85/0.86 0.85/0.86 with precondition: [I=3,H=D+1,2>=H,F>=0,H>=A+1] 0.85/0.86 0.85/0.86 * Chain [[18],[19],21]: 1*it(18)+1*it(19)+1*s(3)+9 0.85/0.86 Such that:aux(7) =< 1 0.85/0.86 aux(8) =< 2 0.85/0.86 it(18) =< -D+2 0.85/0.86 aux(1) =< aux(8) 0.85/0.86 it(19) =< aux(8) 0.85/0.86 aux(1) =< aux(7) 0.85/0.86 it(19) =< aux(7) 0.85/0.86 s(3) =< aux(1)*9 0.85/0.86 0.85/0.86 with precondition: [I=3,H=D+1,2>=H,F>=0,H>=A+1] 0.85/0.86 0.85/0.86 * Chain [[18],[19],20]: 1*it(18)+1*it(19)+1*s(3)+0 0.85/0.86 Such that:aux(9) =< 2 0.85/0.86 it(18) =< -D+2 0.85/0.86 it(19) =< aux(9) 0.85/0.86 s(3) =< aux(9)*9 0.85/0.86 0.85/0.86 with precondition: [I=4,K=9,M=4,O=10,Q=5,H=D+1,A=J,C=L,E=N,G=P,2>=H,F>=0,H>=A+1] 0.85/0.86 0.85/0.86 * Chain [[18],22]: 1*it(18)+0 0.85/0.86 Such that:it(18) =< -H+3 0.85/0.86 0.85/0.86 with precondition: [I=3,H=D+1,2>=H,F>=0,H>=A+1] 0.85/0.86 0.85/0.86 * Chain [[18],21]: 1*it(18)+9 0.85/0.86 Such that:it(18) =< -H+3 0.85/0.86 0.85/0.86 with precondition: [I=3,H=D+1,2>=H,F>=0,H>=A+1] 0.85/0.86 0.85/0.86 * Chain [22]: 0 0.85/0.86 with precondition: [I=3] 0.85/0.86 0.85/0.86 * Chain [21]: 9 0.85/0.86 with precondition: [I=3,D+1=H,3>=D,D>=2,F+10>=5*D,D>=A] 0.85/0.86 0.85/0.86 * Chain [20]: 0 0.85/0.86 with precondition: [I=4,K=B,L=C,N=E,P=G,D+1=H,A=J,D=M,F=O,D+1=Q,D>=4,F+10>=5*D,D>=A] 0.85/0.86 0.85/0.86 0.85/0.86 #### Cost of chains of lbl92_loop_cont(A,B,C,D,E,F,G,H,I,J): 0.85/0.86 * Chain [24]: 0 0.85/0.86 with precondition: [A=3] 0.85/0.86 0.85/0.86 * Chain [23]: 0 0.85/0.86 with precondition: [A=4] 0.85/0.86 0.85/0.86 0.85/0.86 #### Cost of chains of start(A,B,C,D,E,F,G,H,I): 0.85/0.86 * Chain [31]: 69 0.85/0.86 with precondition: [A=2,H=2,C=B,E=D,G=F] 0.85/0.86 0.85/0.86 * Chain [30]: 48 0.85/0.86 with precondition: [A=3,H=3,C=B,E=D,G=F] 0.85/0.86 0.85/0.86 * Chain [29]: 1*s(39)+1 0.85/0.86 Such that:s(39) =< 9 0.85/0.86 0.85/0.86 with precondition: [A=4,H=4,C=B,E=D,G=F] 0.85/0.86 0.85/0.86 * Chain [28]: 19 0.85/0.86 with precondition: [H=A,C=B,E=D,G=F,4>=H,H>=3] 0.85/0.86 0.85/0.86 * Chain [27]: 0 0.85/0.86 with precondition: [H=A,C=B,E=D,G=F,2>=H] 0.85/0.86 0.85/0.86 * Chain [26]: 4*s(43)+1*s(48)+1*s(49)+2*s(50)+2*s(51)+1*s(53)+9 0.85/0.86 Such that:s(42) =< 1 0.85/0.86 s(53) =< -A+2 0.85/0.86 aux(16) =< -H+2 0.85/0.86 aux(17) =< 2 0.85/0.86 s(43) =< aux(16) 0.85/0.86 s(47) =< aux(17) 0.85/0.86 s(48) =< aux(17) 0.85/0.86 s(47) =< s(42) 0.85/0.86 s(48) =< s(42) 0.85/0.86 s(49) =< s(47)*9 0.85/0.86 s(50) =< aux(17) 0.85/0.86 s(51) =< aux(17)*9 0.85/0.86 0.85/0.86 with precondition: [H=A,C=B,E=D,G=F,1>=H] 0.85/0.86 0.85/0.86 * Chain [25]: 0 0.85/0.86 with precondition: [H=A,C=B,E=D,G=F,H>=5] 0.85/0.86 0.85/0.86 0.85/0.86 #### Cost of chains of start0(A,B,C,D,E,F,G,H,I): 0.85/0.86 * Chain [38]: 69 0.85/0.86 with precondition: [A=2] 0.85/0.86 0.85/0.86 * Chain [37]: 48 0.85/0.86 with precondition: [A=3] 0.85/0.86 0.85/0.86 * Chain [36]: 1*s(56)+1 0.85/0.86 Such that:s(56) =< 9 0.85/0.86 0.85/0.86 with precondition: [A=4] 0.85/0.86 0.85/0.86 * Chain [35]: 19 0.85/0.86 with precondition: [4>=A,A>=3] 0.85/0.86 0.85/0.86 * Chain [34]: 0 0.85/0.86 with precondition: [2>=A] 0.85/0.86 0.85/0.86 * Chain [33]: 5*s(58)+1*s(63)+1*s(64)+2*s(65)+2*s(66)+9 0.85/0.86 Such that:s(57) =< 1 0.85/0.86 s(60) =< 2 0.85/0.86 aux(18) =< -A+2 0.85/0.86 s(58) =< aux(18) 0.85/0.86 s(62) =< s(60) 0.85/0.86 s(63) =< s(60) 0.85/0.86 s(62) =< s(57) 0.85/0.86 s(63) =< s(57) 0.85/0.86 s(64) =< s(62)*9 0.85/0.86 s(65) =< s(60) 0.85/0.86 s(66) =< s(60)*9 0.85/0.86 0.85/0.86 with precondition: [1>=A] 0.85/0.86 0.85/0.86 * Chain [32]: 0 0.85/0.86 with precondition: [A>=5] 0.85/0.86 0.85/0.86 0.85/0.86 Closed-form bounds of start0(A,B,C,D,E,F,G,H,I): 0.85/0.86 ------------------------------------- 0.85/0.86 * Chain [38] with precondition: [A=2] 0.85/0.86 - Upper bound: 69 0.85/0.86 - Complexity: constant 0.85/0.86 * Chain [37] with precondition: [A=3] 0.85/0.86 - Upper bound: 48 0.85/0.86 - Complexity: constant 0.85/0.86 * Chain [36] with precondition: [A=4] 0.85/0.86 - Upper bound: 10 0.85/0.86 - Complexity: constant 0.85/0.86 * Chain [35] with precondition: [4>=A,A>=3] 0.85/0.86 - Upper bound: 19 0.85/0.86 - Complexity: constant 0.85/0.86 * Chain [34] with precondition: [2>=A] 0.85/0.86 - Upper bound: 0 0.85/0.86 - Complexity: constant 0.85/0.86 * Chain [33] with precondition: [1>=A] 0.85/0.86 - Upper bound: -5*A+79 0.85/0.86 - Complexity: n 0.85/0.86 * Chain [32] with precondition: [A>=5] 0.85/0.86 - Upper bound: 0 0.85/0.86 - Complexity: constant 0.85/0.86 0.85/0.86 ### Maximum cost of start0(A,B,C,D,E,F,G,H,I): max([69,nat(-A+2)*5+69]) 0.85/0.86 Asymptotic class: n 0.85/0.86 * Total analysis performed in 773 ms. 0.85/0.86 0.86/0.96 EOF