3.61/3.68 WORST_CASE(?,O(1)) 3.61/3.68 3.61/3.68 Preprocessing Cost Relations 3.61/3.68 ===================================== 3.61/3.68 3.61/3.68 #### Computed strongly connected components 3.61/3.68 0. recursive : [f9/46] 3.61/3.68 1. non_recursive : [exit_location/1] 3.61/3.68 2. recursive : [f5/35] 3.61/3.68 3. non_recursive : [f0/28] 3.61/3.68 4. non_recursive : [f12/28] 3.61/3.68 5. non_recursive : [f5_loop_cont/29] 3.61/3.68 6. non_recursive : [f9_loop_cont/29] 3.61/3.68 7. non_recursive : [f6/28] 3.61/3.68 3.61/3.68 #### Obtained direct recursion through partial evaluation 3.61/3.68 0. SCC is partially evaluated into f9/46 3.61/3.68 1. SCC is completely evaluated into other SCCs 3.61/3.68 2. SCC is partially evaluated into f5/35 3.61/3.68 3. SCC is completely evaluated into other SCCs 3.61/3.68 4. SCC is completely evaluated into other SCCs 3.61/3.68 5. SCC is partially evaluated into f5_loop_cont/29 3.61/3.68 6. SCC is partially evaluated into f9_loop_cont/29 3.61/3.68 7. SCC is partially evaluated into f6/28 3.61/3.68 3.61/3.68 Control-Flow Refinement of Cost Relations 3.61/3.68 ===================================== 3.61/3.68 3.61/3.68 ### Specialization of cost equations f9/46 3.61/3.68 * CE 3 is refined into CE [26] 3.61/3.68 * CE 7 is refined into CE [27] 3.61/3.68 * CE 5 is refined into CE [28] 3.61/3.68 * CE 9 is refined into CE [29] 3.61/3.68 * CE 4 is refined into CE [30] 3.61/3.68 * CE 8 is refined into CE [31] 3.61/3.68 * CE 6 is refined into CE [32] 3.61/3.68 * CE 10 is refined into CE [33] 3.61/3.68 * CE 11 is refined into CE [34] 3.61/3.68 * CE 2 is refined into CE [35] 3.61/3.68 3.61/3.68 3.61/3.68 ### Cost equations --> "Loop" of f9/46 3.61/3.68 * CEs [35] --> Loop 26 3.61/3.68 * CEs [26] --> Loop 27 3.61/3.68 * CEs [27] --> Loop 28 3.61/3.68 * CEs [28] --> Loop 29 3.61/3.68 * CEs [29] --> Loop 30 3.61/3.68 * CEs [30] --> Loop 31 3.61/3.68 * CEs [31] --> Loop 32 3.61/3.68 * CEs [32] --> Loop 33 3.61/3.68 * CEs [33] --> Loop 34 3.61/3.68 * CEs [34] --> Loop 35 3.61/3.68 3.61/3.68 ### Ranking functions of CR f9(A,B,C,D,E,F,G,H,I,J,K,L,P,Q,R,S,T,U,W,X,Y,Z,A1,J1,K1,L1,M1,N1,O1,P1,Q1,R1,S1,T1,U1,V1,W1,X1,Y1,Z1,A2,B2,C2,D2,E2,F2) 3.61/3.68 * RF of phase [26]: [-B+17,-C+16] 3.61/3.68 3.61/3.68 #### Partial ranking functions of CR f9(A,B,C,D,E,F,G,H,I,J,K,L,P,Q,R,S,T,U,W,X,Y,Z,A1,J1,K1,L1,M1,N1,O1,P1,Q1,R1,S1,T1,U1,V1,W1,X1,Y1,Z1,A2,B2,C2,D2,E2,F2) 3.61/3.68 * Partial RF of phase [26]: 3.61/3.68 - RF of loop [26:1]: 3.61/3.68 -B+17 3.61/3.68 -C+16 3.61/3.68 3.61/3.68 3.61/3.68 ### Specialization of cost equations f5/35 3.61/3.68 * CE 22 is refined into CE [36] 3.61/3.68 * CE 14 is refined into CE [37] 3.61/3.68 * CE 15 is refined into CE [38] 3.61/3.68 * CE 20 is refined into CE [39] 3.61/3.68 * CE 21 is refined into CE [40] 3.61/3.68 * CE 16 is refined into CE [41] 3.61/3.68 * CE 18 is refined into CE [42] 3.61/3.68 * CE 17 is refined into CE [43] 3.61/3.68 * CE 19 is refined into CE [44] 3.61/3.68 3.61/3.68 3.61/3.68 ### Cost equations --> "Loop" of f5/35 3.61/3.68 * CEs [41] --> Loop 36 3.61/3.68 * CEs [42] --> Loop 37 3.61/3.68 * CEs [43] --> Loop 38 3.61/3.68 * CEs [44] --> Loop 39 3.61/3.68 * CEs [36] --> Loop 40 3.61/3.68 * CEs [37] --> Loop 41 3.61/3.68 * CEs [38] --> Loop 42 3.61/3.68 * CEs [39] --> Loop 43 3.61/3.68 * CEs [40] --> Loop 44 3.61/3.68 3.61/3.68 ### Ranking functions of CR f5(G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,J1,K1,L1,M1,N1,O1,P1,Q1,R1,S1,T1,U1,V1,W1,X1,Y1,Z1,A2) 3.61/3.68 * RF of phase [36,37,38,39]: [G+1] 3.61/3.68 3.61/3.68 #### Partial ranking functions of CR f5(G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,J1,K1,L1,M1,N1,O1,P1,Q1,R1,S1,T1,U1,V1,W1,X1,Y1,Z1,A2) 3.61/3.68 * Partial RF of phase [36,37,38,39]: 3.61/3.68 - RF of loop [36:1,37:1,38:1,39:1]: 3.61/3.68 G+1 3.61/3.68 3.61/3.68 3.61/3.68 ### Specialization of cost equations f5_loop_cont/29 3.61/3.68 * CE 25 is refined into CE [45] 3.61/3.68 * CE 24 is refined into CE [46] 3.61/3.68 * CE 23 is refined into CE [47] 3.61/3.68 3.61/3.68 3.61/3.68 ### Cost equations --> "Loop" of f5_loop_cont/29 3.61/3.68 * CEs [45] --> Loop 45 3.61/3.68 * CEs [46] --> Loop 46 3.61/3.68 * CEs [47] --> Loop 47 3.61/3.68 3.61/3.68 ### Ranking functions of CR f5_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1) 3.61/3.68 3.61/3.68 #### Partial ranking functions of CR f5_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1) 3.61/3.68 3.61/3.68 3.61/3.68 ### Specialization of cost equations f9_loop_cont/29 3.61/3.68 * CE 13 is refined into CE [48,49,50,51,52,53,54,55,56,57] 3.61/3.68 * CE 12 is refined into CE [58] 3.61/3.68 3.61/3.68 3.61/3.68 ### Cost equations --> "Loop" of f9_loop_cont/29 3.61/3.68 * CEs [56] --> Loop 48 3.61/3.68 * CEs [55] --> Loop 49 3.61/3.68 * CEs [50,51,52,53] --> Loop 50 3.61/3.68 * CEs [54] --> Loop 51 3.61/3.68 * CEs [49] --> Loop 52 3.61/3.68 * CEs [48] --> Loop 53 3.61/3.68 * CEs [57] --> Loop 54 3.61/3.68 * CEs [58] --> Loop 55 3.61/3.68 3.61/3.68 ### Ranking functions of CR f9_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1) 3.61/3.68 3.61/3.68 #### Partial ranking functions of CR f9_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1) 3.61/3.68 3.61/3.68 3.61/3.68 ### Specialization of cost equations f6/28 3.61/3.68 * CE 1 is refined into CE [59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100] 3.61/3.68 3.61/3.68 3.61/3.68 ### Cost equations --> "Loop" of f6/28 3.61/3.68 * CEs [59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100] --> Loop 56 3.61/3.68 3.61/3.68 ### Ranking functions of CR f6(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,J1) 3.61/3.68 3.61/3.68 #### Partial ranking functions of CR f6(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,J1) 3.61/3.68 3.61/3.68 3.61/3.68 Computing Bounds 3.61/3.68 ===================================== 3.61/3.68 3.61/3.68 #### Cost of chains of f9(A,B,C,D,E,F,G,H,I,J,K,L,P,Q,R,S,T,U,W,X,Y,Z,A1,J1,K1,L1,M1,N1,O1,P1,Q1,R1,S1,T1,U1,V1,W1,X1,Y1,Z1,A2,B2,C2,D2,E2,F2): 3.61/3.68 * Chain [[26],35]: 1*it(26)+0 3.61/3.68 Such that:it(26) =< -B+17 3.61/3.68 3.61/3.68 with precondition: [A=17,J1=4,C+1=B,D=E,D=F,15>=C,C>=0] 3.61/3.68 3.61/3.68 * Chain [[26],34]: 1*it(26)+0 3.61/3.68 Such that:it(26) =< -B+17 3.61/3.68 3.61/3.68 with precondition: [A=17,J1=5,K1=17,L1=16,P1=13,R1=1,S1=0,Z1=1,A2=13,D2=14,C+1=B,D=E,D=F,M1=N1,M1=O1,Q1=W1,M1=B2,M1=C2,15>=C,0>=M1+1,0>=Q1+1,0>=X1+1,C>=0,E2>=F2] 3.61/3.68 3.61/3.68 * Chain [[26],33]: 1*it(26)+0 3.61/3.68 Such that:it(26) =< -B+17 3.61/3.68 3.61/3.69 with precondition: [A=17,J1=5,K1=17,L1=16,P1=13,R1=1,S1=0,Z1=1,A2=13,D2=14,C+1=B,D=E,D=F,M1=N1,M1=O1,Q1=W1,M1=B2,M1=C2,15>=C,0>=M1+1,0>=Q1+1,C>=0,X1>=1,E2>=F2] 3.61/3.69 3.61/3.69 * Chain [[26],32]: 1*it(26)+0 3.61/3.69 Such that:it(26) =< -B+17 3.61/3.69 3.61/3.69 with precondition: [A=17,J1=5,K1=17,L1=16,P1=13,R1=1,S1=0,Z1=1,A2=13,D2=14,C+1=B,D=E,D=F,M1=N1,M1=O1,Q1=W1,M1=B2,M1=C2,15>=C,0>=M1+1,0>=X1+1,C>=0,Q1>=1,E2>=F2] 3.61/3.69 3.61/3.69 * Chain [[26],31]: 1*it(26)+0 3.61/3.69 Such that:it(26) =< -B+17 3.61/3.69 3.61/3.69 with precondition: [A=17,J1=5,K1=17,L1=16,P1=13,R1=1,S1=0,Z1=1,A2=13,D2=14,C+1=B,D=E,D=F,M1=N1,M1=O1,Q1=W1,M1=B2,M1=C2,15>=C,0>=M1+1,C>=0,Q1>=1,X1>=1,E2>=F2] 3.61/3.69 3.61/3.69 * Chain [[26],30]: 1*it(26)+0 3.61/3.69 Such that:it(26) =< -B+17 3.61/3.69 3.61/3.69 with precondition: [A=17,J1=5,K1=17,L1=16,P1=13,R1=1,S1=0,Z1=1,A2=13,D2=14,C+1=B,D=E,D=F,M1=N1,M1=O1,Q1=W1,M1=B2,M1=C2,15>=C,0>=Q1+1,0>=X1+1,C>=0,M1>=1,E2>=F2] 3.61/3.69 3.61/3.69 * Chain [[26],29]: 1*it(26)+0 3.61/3.69 Such that:it(26) =< -B+17 3.61/3.69 3.61/3.69 with precondition: [A=17,J1=5,K1=17,L1=16,P1=13,R1=1,S1=0,Z1=1,A2=13,D2=14,C+1=B,D=E,D=F,M1=N1,M1=O1,Q1=W1,M1=B2,M1=C2,15>=C,0>=Q1+1,C>=0,M1>=1,X1>=1,E2>=F2] 3.61/3.69 3.61/3.69 * Chain [[26],28]: 1*it(26)+0 3.61/3.69 Such that:it(26) =< -B+17 3.61/3.69 3.61/3.69 with precondition: [A=17,J1=5,K1=17,L1=16,P1=13,R1=1,S1=0,Z1=1,A2=13,D2=14,C+1=B,D=E,D=F,M1=N1,M1=O1,Q1=W1,M1=B2,M1=C2,15>=C,0>=X1+1,C>=0,M1>=1,Q1>=1,E2>=F2] 3.61/3.69 3.61/3.69 * Chain [[26],27]: 1*it(26)+0 3.61/3.69 Such that:it(26) =< -B+17 3.61/3.69 3.61/3.69 with precondition: [A=17,J1=5,K1=17,L1=16,P1=13,R1=1,S1=0,Z1=1,A2=13,D2=14,C+1=B,D=E,D=F,M1=N1,M1=O1,Q1=W1,M1=B2,M1=C2,15>=C,C>=0,M1>=1,Q1>=1,X1>=1,E2>=F2] 3.61/3.69 3.61/3.69 * Chain [35]: 0 3.61/3.69 with precondition: [A=17,J1=4,B=C+1,D=E,D=F,B>=1] 3.61/3.69 3.61/3.69 3.61/3.69 #### Cost of chains of f5(G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,J1,K1,L1,M1,N1,O1,P1,Q1,R1,S1,T1,U1,V1,W1,X1,Y1,Z1,A2): 3.61/3.69 * Chain [[36,37,38,39],44]: 4*it(36)+0 3.61/3.69 Such that:aux(2) =< -I+X1 3.61/3.69 aux(1) =< -I+X1+Y1+1 3.61/3.69 it(36) =< aux(1) 3.61/3.69 it(36) =< aux(2) 3.61/3.69 3.61/3.69 with precondition: [J=0,J1=3,N1=0,T1=0,M=Q1,O=S1,U1=V1,K1=Y1,G+I=K1+M1,G+I=K1+X1,G+I=K1+Z1,0>=L1+1,I>=0,K1>=0,G>=K1+1,M>=R1] 3.61/3.69 3.61/3.69 * Chain [[36,37,38,39],43]: 4*it(36)+0 3.61/3.69 Such that:aux(2) =< -I+X1 3.61/3.69 aux(1) =< -I+X1+Y1+1 3.61/3.69 it(36) =< aux(1) 3.61/3.69 it(36) =< aux(2) 3.61/3.69 3.61/3.69 with precondition: [J=0,J1=3,N1=0,T1=0,M=Q1,O=S1,U1=V1,K1=Y1,G+I=K1+M1,G+I=K1+X1,G+I=K1+Z1,I>=0,K1>=0,L1>=1,G>=K1+1,M>=R1] 3.61/3.69 3.61/3.69 * Chain [[36,37,38,39],42]: 4*it(36)+0 3.61/3.69 Such that:aux(1) =< G+1 3.61/3.69 aux(2) =< G-K1 3.61/3.69 it(36) =< aux(1) 3.61/3.69 it(36) =< aux(2) 3.61/3.69 3.61/3.69 with precondition: [J=0,J1=2,N1=U1,K1=Y1,W=A2,G+I=K1+M1,G+I=K1+X1,G+I=K1+Z1+1,0>=N1+1,I>=0,K1>=0,G>=K1+1,R1>=Q1+1] 3.61/3.69 3.61/3.69 * Chain [[36,37,38,39],41]: 4*it(36)+0 3.61/3.69 Such that:aux(1) =< G+1 3.61/3.69 aux(2) =< G-Y1 3.61/3.69 it(36) =< aux(1) 3.61/3.69 it(36) =< aux(2) 3.61/3.69 3.61/3.69 with precondition: [J=0,J1=2,N1=U1,K1=Y1,W=A2,G+I=K1+M1,G+I=K1+X1,G+I=K1+Z1+1,I>=0,K1>=0,N1>=1,G>=K1+1,R1>=Q1+1] 3.61/3.69 3.61/3.69 * Chain [[36,37,38,39],40]: 4*it(36)+0 3.61/3.69 Such that:aux(3) =< G+1 3.61/3.69 it(36) =< aux(3) 3.61/3.69 3.61/3.69 with precondition: [J=0,J1=4,G>=0,I>=0] 3.61/3.69 3.61/3.69 * Chain [44]: 0 3.61/3.69 with precondition: [J=0,P=0,J1=3,N1=0,T1=0,S1=O,W1=S,X1=T,Y1=U,G=K1,H=L1,I=M1,M=Q1,R=U1,R=V1,I=Z1,0>=H+1,G>=0,I>=0,M>=R1] 3.61/3.69 3.61/3.69 * Chain [43]: 0 3.61/3.69 with precondition: [J=0,P=0,J1=3,N1=0,T1=0,S1=O,W1=S,X1=T,Y1=U,G=K1,H=L1,I=M1,M=Q1,R=U1,R=V1,I=Z1,G>=0,H>=1,I>=0,M>=R1] 3.61/3.69 3.61/3.69 * Chain [42]: 0 3.61/3.69 with precondition: [J1=2,T1=P,U1=Q,V1=R,W1=S,X1=T,Y1=U,Z1=V,A2=W,G=K1,I=M1,H=N1,0>=H+1,G>=0,I>=1,R1>=Q1+1] 3.61/3.69 3.61/3.69 * Chain [41]: 0 3.61/3.69 with precondition: [J1=2,T1=P,U1=Q,V1=R,W1=S,X1=T,Y1=U,Z1=V,A2=W,G=K1,I=M1,H=N1,G>=0,H>=1,I>=1,R1>=Q1+1] 3.61/3.69 3.61/3.69 * Chain [40]: 0 3.61/3.69 with precondition: [J1=4] 3.61/3.69 3.61/3.69 3.61/3.69 #### Cost of chains of f5_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1): 3.61/3.69 * Chain [47]: 0 3.61/3.69 with precondition: [A=2,B=17] 3.61/3.69 3.61/3.69 * Chain [46]: 0 3.61/3.69 with precondition: [A=3,B=17] 3.61/3.69 3.61/3.69 * Chain [45]: 0 3.61/3.69 with precondition: [A=4,B=17] 3.61/3.69 3.61/3.69 3.61/3.69 #### Cost of chains of f9_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1): 3.61/3.69 * Chain [55]: 0 3.61/3.69 with precondition: [A=4,B=17] 3.61/3.69 3.61/3.69 * Chain [54]: 0 3.61/3.69 with precondition: [A=5,B=17] 3.61/3.69 3.61/3.69 * Chain [53]: 0 3.61/3.69 with precondition: [A=5,B=17,K=0,Q=0,0>=I+1,H>=0,J>=0] 3.61/3.69 3.61/3.69 * Chain [52]: 0 3.61/3.69 with precondition: [A=5,B=17,K=0,Q=0,H>=0,I>=1,J>=0] 3.61/3.69 3.61/3.69 * Chain [51]: 4*s(2)+0 3.61/3.69 Such that:s(1) =< H+1 3.61/3.69 s(2) =< s(1) 3.61/3.69 3.61/3.69 with precondition: [A=5,B=17,K=0,H>=0,J>=0] 3.61/3.69 3.61/3.69 * Chain [50]: 16*s(5)+0 3.61/3.69 Such that:aux(4) =< H 3.61/3.69 aux(5) =< H+1 3.61/3.69 s(5) =< aux(5) 3.61/3.69 s(5) =< aux(4) 3.61/3.69 3.61/3.69 with precondition: [A=5,B=17,K=0,H>=1,J>=0] 3.61/3.69 3.61/3.69 * Chain [49]: 0 3.61/3.69 with precondition: [A=5,B=17,0>=I+1,H>=0,J>=1] 3.61/3.69 3.61/3.69 * Chain [48]: 0 3.61/3.69 with precondition: [A=5,B=17,H>=0,I>=1,J>=1] 3.61/3.69 3.61/3.69 3.61/3.69 #### Cost of chains of f6(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,J1): 3.61/3.69 * Chain [56]: 2896 3.61/3.69 with precondition: [] 3.61/3.69 3.61/3.69 3.61/3.69 Closed-form bounds of f6(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,J1): 3.61/3.69 ------------------------------------- 3.61/3.69 * Chain [56] with precondition: [] 3.61/3.69 - Upper bound: 2896 3.61/3.69 - Complexity: constant 3.61/3.69 3.61/3.69 ### Maximum cost of f6(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,J1): 2896 3.61/3.69 Asymptotic class: constant 3.61/3.69 * Total analysis performed in 3408 ms. 3.61/3.69 3.69/3.79 EOF