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

#### Computed strongly connected components 
0. recursive  : [f0/5]
1. non_recursive  : [exit_location/1]
2. recursive  : [f4/1]
3. non_recursive  : [f4_loop_cont/2]
4. non_recursive  : [f0_loop_cont/4]
5. non_recursive  : [f3/3]

#### Obtained direct recursion through partial evaluation 
0. SCC is partially evaluated into f0/5
1. SCC is completely evaluated into other SCCs
2. SCC is partially evaluated into f4/1
3. SCC is completely evaluated into other SCCs
4. SCC is partially evaluated into f0_loop_cont/4
5. SCC is partially evaluated into f3/3

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

### Specialization of cost equations f0/5 
* CE 3 is refined into CE [9] 
* CE 4 is refined into CE [10] 
* CE 2 is refined into CE [11] 


### Cost equations --> "Loop" of f0/5 
* CEs [11] --> Loop 9 
* CEs [9] --> Loop 10 
* CEs [10] --> Loop 11 

### Ranking functions of CR f0(A,B,C,D,E) 
* RF of phase [9]: [B]

#### Partial ranking functions of CR f0(A,B,C,D,E) 
* Partial RF of phase [9]:
  - RF of loop [9:1]:
    B


### Specialization of cost equations f4/1 
* CE 8 is refined into CE [12] 
* CE 7 is refined into CE [13] 


### Cost equations --> "Loop" of f4/1 
* CEs [13] --> Loop 12 
* CEs [12] --> Loop 13 

### Ranking functions of CR f4(C) 

#### Partial ranking functions of CR f4(C) 


### Specialization of cost equations f0_loop_cont/4 
* CE 6 is refined into CE [14,15] 
* CE 5 is refined into CE [16] 


### Cost equations --> "Loop" of f0_loop_cont/4 
* CEs [14] --> Loop 14 
* CEs [16] --> Loop 15 
* CEs [15] --> Loop 16 

### Ranking functions of CR f0_loop_cont(A,B,C,D) 

#### Partial ranking functions of CR f0_loop_cont(A,B,C,D) 


### Specialization of cost equations f3/3 
* CE 1 is refined into CE [17,18,19,20,21,22] 


### Cost equations --> "Loop" of f3/3 
* CEs [20] --> Loop 17 
* CEs [22] --> Loop 18 
* CEs [18,19] --> Loop 19 
* CEs [21] --> Loop 20 
* CEs [17] --> Loop 21 

### Ranking functions of CR f3(A,B,C) 

#### Partial ranking functions of CR f3(A,B,C) 


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

#### Cost of chains of f0(A,B,C,D,E):
* Chain [[9],11]: 1*it(9)+0
  Such that:it(9) =< B

  with precondition: [A=0,C=2,B>=1] 

* Chain [[9],10]: 1*it(9)+0
  Such that:it(9) =< B

  with precondition: [A=0,C=3,D+1=0,E=0,B>=1] 

* Chain [11]: 0
  with precondition: [A=0,C=2] 

* Chain [10]: 0
  with precondition: [A=0,C=3,D+1=0,B=E,0>=B] 


#### Cost of chains of f4(C):
* Chain [[12]]...: 1*it(12)+0
  with precondition: [C=2] 

* Chain [[12],13]: 1*it(12)+0
  with precondition: [C=2] 

* Chain [13]: 0
  with precondition: [C=2] 


#### Cost of chains of f0_loop_cont(A,B,C,D):
* Chain [16]...: 1*s(2)+0
  with precondition: [A=3] 

* Chain [15]: 0
  with precondition: [A=2] 

* Chain [14]: 1*s(3)+0
  with precondition: [A=3] 


#### Cost of chains of f3(A,B,C):
* Chain [21]: 0
  with precondition: [] 

* Chain [20]: 1*s(4)+0
  with precondition: [0>=B] 

* Chain [19]: 2*s(5)+1*s(7)+0
  Such that:aux(2) =< B
s(5) =< aux(2)

  with precondition: [B>=1] 

* Chain [18]...: 1*s(8)+0
  with precondition: [0>=B] 

* Chain [17]...: 1*s(9)+1*s(10)+0
  Such that:s(9) =< B

  with precondition: [B>=1] 


Closed-form bounds of f3(A,B,C): 
-------------------------------------
* Chain [21] with precondition: [] 
    - Upper bound: 0 
    - Complexity: constant 
* Chain [20] with precondition: [0>=B] 
    - Upper bound: inf 
    - Complexity: infinity 
* Chain [19] with precondition: [B>=1] 
    - Upper bound: inf 
    - Complexity: infinity 
* Chain [18]... with precondition: [0>=B] 
    - Upper bound: inf 
    - Complexity: infinity 
* Chain [17]... with precondition: [B>=1] 
    - Upper bound: inf 
    - Complexity: infinity 

### Maximum cost of f3(A,B,C): inf 
Asymptotic class: infinity 
* Total analysis performed in 36 ms.

