/export/starexec/sandbox/solver/bin/starexec_run_its /export/starexec/sandbox/benchmark/theBenchmark.koat /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- WORST_CASE(?,O(n^1)) Preprocessing Cost Relations ===================================== #### Computed strongly connected components 0. recursive : [lbl72/12] 1. non_recursive : [exit_location/1] 2. non_recursive : [stop/9] 3. non_recursive : [lbl72_loop_cont/10] 4. non_recursive : [start/9] 5. non_recursive : [start0/9] #### Obtained direct recursion through partial evaluation 0. SCC is partially evaluated into lbl72/12 1. SCC is completely evaluated into other SCCs 2. SCC is completely evaluated into other SCCs 3. SCC is partially evaluated into lbl72_loop_cont/10 4. SCC is partially evaluated into start/9 5. SCC is partially evaluated into start0/9 Control-Flow Refinement of Cost Relations ===================================== ### Specialization of cost equations lbl72/12 * CE 8 is refined into CE [11] * CE 6 is refined into CE [12] * CE 5 is refined into CE [13] * CE 7 is refined into CE [14] ### Cost equations --> "Loop" of lbl72/12 * CEs [14] --> Loop 11 * CEs [11] --> Loop 12 * CEs [12] --> Loop 13 * CEs [13] --> Loop 14 ### Ranking functions of CR lbl72(A,B,C,D,E,F,G,I,J,K,L,M) * RF of phase [11]: [-A+B-C-E+202,-A+B-2*E+202,-A+B-E+100,-A/2+B-C/2-E/2+101/2,-A/2+B-E+101/2,-A/2+B-E/2+1/2,-A/3+B-C/3-E/3+2/3,-A/3+B-2/3*E+2/3,A/2+C-D-F+101/2,A/2+C-F-G+99/2,A/2+C/2-D+E/2-F+101/2,A/2+C/2+E/2-F-G+99/2,2/3*A+2/3*C-D+2/3*E-F+2/3,2/3*A+2/3*C+2/3*E-F-G-1/3,2/3*A+4/3*C-D-F+2/3,2/3*A+4/3*C-F-G-1/3,B/2-D/2-F/2+101/2,B/2-F/2-G/2+50,2/3*B-D/3-F/3+2/3,2/3*B-F/3-G/3+1/3,C-D-F+100,C-F-G+99,2*C-D-F,2*C-F-G-1,C/2-D+E/2-F+201/2,C/2+E/2-F-G+199/2,2/3*C-D+2/3*E-F+202/3,2/3*C+2/3*E-F-G+199/3,4/3*C-D-F+66,4/3*C-F-G+65,-D-F+202,-F-G+201] #### Partial ranking functions of CR lbl72(A,B,C,D,E,F,G,I,J,K,L,M) * Partial RF of phase [11]: - RF of loop [11:1]: -A+B-C-E+202 -A+B-2*E+202 -A+B-E+100 -A/2+B-C/2-E/2+101/2 -A/2+B-E+101/2 -A/2+B-E/2+1/2 -A/3+B-C/3-E/3+2/3 -A/3+B-2/3*E+2/3 A/2+C-D-F+101/2 A/2+C-F-G+99/2 A/2+C/2-D+E/2-F+101/2 A/2+C/2+E/2-F-G+99/2 2/3*A+2/3*C-D+2/3*E-F+2/3 2/3*A+2/3*C+2/3*E-F-G-1/3 2/3*A+4/3*C-D-F+2/3 2/3*A+4/3*C-F-G-1/3 B/2-D/2-F/2+101/2 B/2-F/2-G/2+50 2/3*B-D/3-F/3+2/3 2/3*B-F/3-G/3+1/3 C-D-F+100 C-F-G+99 2*C-D-F 2*C-F-G-1 C/2-D+E/2-F+201/2 C/2+E/2-F-G+199/2 2/3*C-D+2/3*E-F+202/3 2/3*C+2/3*E-F-G+199/3 4/3*C-D-F+66 4/3*C-F-G+65 -D-F+202 -F-G+201 ### Specialization of cost equations lbl72_loop_cont/10 * CE 10 is refined into CE [15] * CE 9 is refined into CE [16] ### Cost equations --> "Loop" of lbl72_loop_cont/10 * CEs [15] --> Loop 15 * CEs [16] --> Loop 16 ### Ranking functions of CR lbl72_loop_cont(A,B,C,D,E,F,G,H,I,J) #### Partial ranking functions of CR lbl72_loop_cont(A,B,C,D,E,F,G,H,I,J) ### Specialization of cost equations start/9 * CE 3 is refined into CE [17] * CE 2 is refined into CE [18] * CE 4 is refined into CE [19,20,21,22,23,24] ### Cost equations --> "Loop" of start/9 * CEs [17] --> Loop 17 * CEs [18] --> Loop 18 * CEs [23] --> Loop 19 * CEs [21] --> Loop 20 * CEs [20] --> Loop 21 * CEs [22] --> Loop 22 * CEs [24] --> Loop 23 * CEs [19] --> Loop 24 ### Ranking functions of CR start(A,B,C,D,E,F,G,H,I) #### Partial ranking functions of CR start(A,B,C,D,E,F,G,H,I) ### Specialization of cost equations start0/9 * CE 1 is refined into CE [25,26,27,28,29,30,31,32] ### Cost equations --> "Loop" of start0/9 * CEs [32] --> Loop 25 * CEs [31] --> Loop 26 * CEs [30] --> Loop 27 * CEs [29] --> Loop 28 * CEs [28] --> Loop 29 * CEs [27] --> Loop 30 * CEs [26] --> Loop 31 * CEs [25] --> Loop 32 ### Ranking functions of CR start0(A,B,C,D,E,F,G,H,I) #### Partial ranking functions of CR start0(A,B,C,D,E,F,G,H,I) Computing Bounds ===================================== #### Cost of chains of lbl72(A,B,C,D,E,F,G,I,J,K,L,M): * Chain [[11],14]: 1*it(11)+0 Such that:it(11) =< B-J it(11) =< B-J/2-M/2 with precondition: [I=2,L=101,G+1=D,A+C+E=J+K+101,A+C+E=J+M+102,A+C+E=B+F+G+1,100>=A,100>=G,J>=100,C>=B+1,C>=E,B>=J+1,B+G+101>=A+C+E] * Chain [[11],13]: 1*it(11)+0 Such that:it(11) =< -A/2+B-C/2-E/2+101/2 it(11) =< -A/3+B-C/3-E/3+2/3 with precondition: [I=2,G+1=D,K=M+1,J+K+L=A+C+E,A+C+E=B+F+G+1,100>=A,100>=G,101>=K,C>=B+1,C>=E,B>=G+1,B>=J+1,K>=J+1,J+3>=K,B+G+101>=A+C+E,K+2*J+1>=A+C+E,G+K+2*B>=A+C+E+J+1] * Chain [[11],12]: 1*it(11)+0 Such that:it(11) =< 2/3*B-F/3-G/3+1/3 it(11) =< -F-G+201 with precondition: [I=3,G+1=D,A+C+E=B+F+G+1,100>=A,100>=F,100>=G,B+1>=F,B>=G+1,F+G>=A+E,B+F+G+1>=2*E+A] * Chain [14]: 0 with precondition: [I=2,G+1=D,B=J,G+1=K,F=L,G=M,B+F+G+1=A+C+E,100>=A,100>=G,F>=101,C>=B+1,B+1>=F,A+2*C>=B+F+G+1] * Chain [13]: 0 with precondition: [I=2,G+1=D,B=J,G+1=K,F=L,G=M,B+F+G+1=A+C+E,100>=A,100>=G,C>=B+1,G>=B,B+1>=F,A+2*C>=B+F+G+1] * Chain [12]: 0 with precondition: [I=3,G+1=D,B+F+G+1=A+C+E,100>=A,100>=G,C>=B+1,B+1>=F,A+2*C>=B+F+G+1] #### Cost of chains of lbl72_loop_cont(A,B,C,D,E,F,G,H,I,J): * Chain [16]: 0 with precondition: [A=2,100>=B,D>=F] * Chain [15]: 0 with precondition: [A=3,100>=B,D>=F] #### Cost of chains of start(A,B,C,D,E,F,G,H,I): * Chain [24]: 1*s(1)+0 Such that:s(1) =< -A/2+B/2-D/2+50 s(1) =< B with precondition: [F=A,C=B,E=D,H=G,100>=E,100>=F,C>=102] * Chain [23]: 1*s(2)+0 Such that:s(2) =< -A-E+201 s(2) =< -A/3+2/3*B-E/3 with precondition: [F=A,C=B,E=D,H=G,100>=E,100>=F,C>=E,C>=F+2] * Chain [22]: 1*s(3)+0 Such that:s(3) =< -A/2+B/2-E/2+99/2 s(3) =< -A/3+2/3*B-E/3 with precondition: [F=A,C=B,E=D,H=G,100>=E,100>=F,C>=E,C>=F+2,302>=C+E+F] * Chain [21]: 0 with precondition: [F=A,C=B,E=D,H=G,100>=F,E>=101,C>=E] * Chain [20]: 0 with precondition: [F=A,C=B,E=D,H=G,100>=F,F+1>=C,C>=E] * Chain [19]: 0 with precondition: [F=A,C=B,E=D,H=G,100>=F,C>=E] * Chain [18]: 0 with precondition: [F=A,C=B,E=D,H=G,F>=101] * Chain [17]: 0 with precondition: [F=A,C=B,E=D,H=G,E>=C+1] #### Cost of chains of start0(A,B,C,D,E,F,G,H,I): * Chain [32]: 1*s(4)+0 Such that:s(4) =< -A/2+C/2-E/2+50 s(4) =< C with precondition: [100>=A,100>=E,C>=102] * Chain [31]: 1*s(5)+0 Such that:s(5) =< -A-E+201 s(5) =< -A/3+2/3*C-E/3 with precondition: [100>=A,100>=E,C>=A+2,C>=E] * Chain [30]: 1*s(6)+0 Such that:s(6) =< -A/2+C/2-E/2+99/2 s(6) =< -A/3+2/3*C-E/3 with precondition: [100>=A,100>=E,C>=A+2,C>=E,302>=A+C+E] * Chain [29]: 0 with precondition: [100>=A,E>=101,C>=E] * Chain [28]: 0 with precondition: [100>=A,A+1>=C,C>=E] * Chain [27]: 0 with precondition: [100>=A,C>=E] * Chain [26]: 0 with precondition: [A>=101] * Chain [25]: 0 with precondition: [E>=C+1] Closed-form bounds of start0(A,B,C,D,E,F,G,H,I): ------------------------------------- * Chain [32] with precondition: [100>=A,100>=E,C>=102] - Upper bound: -A/2+C/2-E/2+50 - Complexity: n * Chain [31] with precondition: [100>=A,100>=E,C>=A+2,C>=E] - Upper bound: -A-E+201 - Complexity: n * Chain [30] with precondition: [100>=A,100>=E,C>=A+2,C>=E,302>=A+C+E] - Upper bound: -A/2+C/2-E/2+99/2 - Complexity: n * Chain [29] with precondition: [100>=A,E>=101,C>=E] - Upper bound: 0 - Complexity: constant * Chain [28] with precondition: [100>=A,A+1>=C,C>=E] - Upper bound: 0 - Complexity: constant * Chain [27] with precondition: [100>=A,C>=E] - Upper bound: 0 - Complexity: constant * Chain [26] with precondition: [A>=101] - Upper bound: 0 - Complexity: constant * Chain [25] with precondition: [E>=C+1] - Upper bound: 0 - Complexity: constant ### Maximum cost of start0(A,B,C,D,E,F,G,H,I): max([nat(-A-E+201),nat(-A/2+C/2-E/2+50),nat(-A/2+C/2-E/2+99/2)]) Asymptotic class: n * Total analysis performed in 1199 ms.