
Preprocessing Cost Relations
=====================================

#### Computed strongly connected components 
0. recursive  : [f11/34]
1. non_recursive  : [exit_location/1]
2. recursive  : [f47/1]
3. non_recursive  : [f47_loop_cont/2]
4. non_recursive  : [f35/21]
5. non_recursive  : [f11_loop_cont/22]
6. non_recursive  : [f0/21]

#### Obtained direct recursion through partial evaluation 
0. SCC is partially evaluated into f11/34
1. SCC is completely evaluated into other SCCs
2. SCC is partially evaluated into f47/1
3. SCC is completely evaluated into other SCCs
4. SCC is partially evaluated into f35/21
5. SCC is partially evaluated into f11_loop_cont/22
6. SCC is partially evaluated into f0/21

Control-Flow Refinement of Cost Relations
=====================================

### Specialization of cost equations f11/34 
* CE 4 is refined into CE [16] 
* CE 5 is refined into CE [17] 
* CE 3 is refined into CE [18] 
* CE 2 is refined into CE [19] 
* CE 7 is refined into CE [20] 
* CE 6 is refined into CE [21] 


### Cost equations --> "Loop" of f11/34 
* CEs [21] --> Loop 16 
* CEs [16] --> Loop 17 
* CEs [17] --> Loop 18 
* CEs [18] --> Loop 19 
* CEs [19] --> Loop 20 
* CEs [20] --> Loop 21 

### Ranking functions of CR f11(A,B,C,D,F,G,H,I,J,K,L,M,N,O,P,Q,R,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1,M1,N1,O1,P1) 
* RF of phase [16]: [-A+B]

#### Partial ranking functions of CR f11(A,B,C,D,F,G,H,I,J,K,L,M,N,O,P,Q,R,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1,M1,N1,O1,P1) 
* Partial RF of phase [16]:
  - RF of loop [16:1]:
    -A+B


### Specialization of cost equations f47/1 
* CE 15 is refined into CE [22] 
* CE 14 is refined into CE [23] 


### Cost equations --> "Loop" of f47/1 
* CEs [23] --> Loop 22 
* CEs [22] --> Loop 23 

### Ranking functions of CR f47(Z) 

#### Partial ranking functions of CR f47(Z) 


### Specialization of cost equations f35/21 
* CE 11 is refined into CE [24,25] 
* CE 12 is refined into CE [26,27] 
* CE 13 is refined into CE [28,29] 


### Cost equations --> "Loop" of f35/21 
* CEs [25] --> Loop 24 
* CEs [27] --> Loop 25 
* CEs [29] --> Loop 26 
* CEs [24] --> Loop 27 
* CEs [26] --> Loop 28 
* CEs [28] --> Loop 29 

### Ranking functions of CR f35(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,Z) 

#### Partial ranking functions of CR f35(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,Z) 


### Specialization of cost equations f11_loop_cont/22 
* CE 8 is refined into CE [30,31,32,33,34,35] 
* CE 10 is refined into CE [36,37] 
* CE 9 is refined into CE [38] 


### Cost equations --> "Loop" of f11_loop_cont/22 
* CEs [32] --> Loop 30 
* CEs [31] --> Loop 31 
* CEs [30] --> Loop 32 
* CEs [36] --> Loop 33 
* CEs [38] --> Loop 34 
* CEs [35] --> Loop 35 
* CEs [34] --> Loop 36 
* CEs [33] --> Loop 37 
* CEs [37] --> Loop 38 

### Ranking functions of CR f11_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V) 

#### Partial ranking functions of CR f11_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V) 


### Specialization of cost equations f0/21 
* CE 1 is refined into CE [39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60] 


### Cost equations --> "Loop" of f0/21 
* CEs [48] --> Loop 39 
* CEs [44,56,59,60] --> Loop 40 
* CEs [42,46,50,53,54] --> Loop 41 
* CEs [47] --> Loop 42 
* CEs [43,55,57,58] --> Loop 43 
* CEs [40,41,45,49,51,52] --> Loop 44 
* CEs [39] --> Loop 45 

### Ranking functions of CR f0(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,Z) 

#### Partial ranking functions of CR f0(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,Z) 


Computing Bounds
=====================================

#### Cost of chains of f11(A,B,C,D,F,G,H,I,J,K,L,M,N,O,P,Q,R,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1,M1,N1,O1,P1):
* Chain [[16],21]: 1*it(16)+0
  Such that:it(16) =< -A+B

  with precondition: [Z=2,B>=A+1] 

* Chain [[16],20]: 1*it(16)+0
  Such that:it(16) =< -A+B

  with precondition: [Z=3,B1=0,C1=1,N1=1,O1=1,P1=0,B=A1,C=H1,D1=I1,D1=J1,D1=K1,O=L1,O=M1,0>=D1,B>=A+1] 

* Chain [[16],19]: 1*it(16)+0
  Such that:it(16) =< -A+A1

  with precondition: [Z=3,B1=0,C1=1,N1=1,O1=1,P1=0,C=H1,D1=I1,D1=J1,O=L1,O=M1,0>=K1,D1>=1,A1>=A+1,B>=A1+1] 

* Chain [[16],18]: 1*it(16)+0
  Such that:it(16) =< -A+A1

  with precondition: [Z=4,M1=0,P1=0,C=B1,C=H1,D1=I1,D1=J1,D1=K1,O=L1,C1=N1,C1=O1,0>=C1,0>=D1,A1>=A+1,B>=A1+1] 

* Chain [[16],17]: 1*it(16)+0
  Such that:it(16) =< -A+A1

  with precondition: [Z=4,M1=0,P1=0,C=B1,C=H1,D1=I1,D1=J1,D1=K1,O=L1,C1=N1,C1=O1,0>=D1,C1>=2,A1>=A+1,B>=A1+1] 

* Chain [21]: 0
  with precondition: [Z=2] 

* Chain [20]: 0
  with precondition: [Z=3,B1=0,C1=D,D1=F,E1=G,F1=H,G1=I,H1=J,I1=K,J1=L,K1=M,L1=N,M1=O,N1=P,O1=Q,P1=R,A=A1,A>=B] 

* Chain [19]: 0
  with precondition: [Z=3,B1=0,H1=C,C1=D,K1=M,L1=N,M1=O,N1=P,O1=Q,P1=R,A=A1,D1=I1,D1=J1,D1>=1,B>=A+1] 

* Chain [18]: 0
  with precondition: [Z=4,M1=0,P1=0,L1=O,A=A1,C=B1,C=H1,D1=I1,D1=J1,D1=K1,C1=N1,C1=O1,0>=C1,0>=D1,B>=A+1] 

* Chain [17]: 0
  with precondition: [Z=4,M1=0,P1=0,L1=O,A=A1,C=B1,C=H1,D1=I1,D1=J1,D1=K1,C1=N1,C1=O1,0>=D1,C1>=2,B>=A+1] 


#### Cost of chains of f47(Z):
* Chain [[22]]...: 1*it(22)+0
  with precondition: [Z=2] 

* Chain [[22],23]: 1*it(22)+0
  with precondition: [Z=2] 

* Chain [23]: 0
  with precondition: [Z=2] 


#### Cost of chains of f35(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,Z):
* Chain [29]: 1*s(2)+0
  with precondition: [D=2,S=0,T=0] 

* Chain [28]: 1*s(3)+0
  with precondition: [S=0,T=0,1>=D] 

* Chain [27]: 1*s(4)+0
  with precondition: [S=0,T=0,D>=3] 

* Chain [26]...: 1*s(5)+0
  with precondition: [D=2,S=0,T=0] 

* Chain [25]...: 1*s(6)+0
  with precondition: [S=0,T=0,1>=D] 

* Chain [24]...: 1*s(7)+0
  with precondition: [S=0,T=0,D>=3] 


#### Cost of chains of f11_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V):
* Chain [38]...: 1*s(8)+0
  with precondition: [A=3,T=0,U=0] 

* Chain [37]...: 1*s(9)+0
  with precondition: [A=4,E=2,T=0,U=0] 

* Chain [36]...: 1*s(10)+0
  with precondition: [A=4,T=0,U=0,1>=E] 

* Chain [35]...: 1*s(11)+0
  with precondition: [A=4,T=0,U=0,E>=3] 

* Chain [34]: 0
  with precondition: [A=2,T=0,U=0] 

* Chain [33]: 1*s(12)+0
  with precondition: [A=3,T=0,U=0] 

* Chain [32]: 1*s(13)+0
  with precondition: [A=4,E=2,T=0,U=0] 

* Chain [31]: 1*s(14)+0
  with precondition: [A=4,T=0,U=0,1>=E] 

* Chain [30]: 1*s(15)+0
  with precondition: [A=4,T=0,U=0,E>=3] 


#### Cost of chains of f0(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,Z):
* Chain [45]: 0
  with precondition: [] 

* Chain [44]: 2*s(16)+5*s(18)+0
  Such that:aux(2) =< -A+B
s(16) =< aux(2)

  with precondition: [B>=A+1] 

* Chain [43]: 4*s(23)+4*s(24)+0
  Such that:aux(3) =< -A+B
s(23) =< aux(3)

  with precondition: [B>=A+2] 

* Chain [42]: 1*s(31)+0
  with precondition: [A>=B] 

* Chain [41]...: 1*s(32)+5*s(33)+0
  Such that:s(32) =< -A+B

  with precondition: [B>=A+1] 

* Chain [40]...: 4*s(38)+4*s(39)+0
  Such that:aux(4) =< -A+B
s(38) =< aux(4)

  with precondition: [B>=A+2] 

* Chain [39]...: 1*s(46)+0
  with precondition: [A>=B] 


Closed-form bounds of f0(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,Z): 
-------------------------------------
* Chain [45] with precondition: [] 
    - Upper bound: 0 
    - Complexity: constant 
* Chain [44] with precondition: [B>=A+1] 
    - Upper bound: inf 
    - Complexity: infinity 
* Chain [43] with precondition: [B>=A+2] 
    - Upper bound: inf 
    - Complexity: infinity 
* Chain [42] with precondition: [A>=B] 
    - Upper bound: inf 
    - Complexity: infinity 
* Chain [41]... with precondition: [B>=A+1] 
    - Upper bound: inf 
    - Complexity: infinity 
* Chain [40]... with precondition: [B>=A+2] 
    - Upper bound: inf 
    - Complexity: infinity 
* Chain [39]... with precondition: [A>=B] 
    - Upper bound: inf 
    - Complexity: infinity 

### Maximum cost of f0(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,Z): inf 
Asymptotic class: infinity 
* Total analysis performed in 421 ms.

