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

#### Computed strongly connected components 
0. recursive  : [f11/9]
1. non_recursive  : [exit_location/1]
2. recursive  : [f21/1]
3. non_recursive  : [f21_loop_cont/2]
4. non_recursive  : [f11_loop_cont/8]
5. non_recursive  : [f0/7]

#### Obtained direct recursion through partial evaluation 
0. SCC is partially evaluated into f11/9
1. SCC is completely evaluated into other SCCs
2. SCC is partially evaluated into f21/1
3. SCC is completely evaluated into other SCCs
4. SCC is partially evaluated into f11_loop_cont/8
5. SCC is partially evaluated into f0/7

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

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


### Cost equations --> "Loop" of f11/9 
* CEs [12] --> Loop 10 
* CEs [13] --> Loop 11 
* CEs [10] --> Loop 12 
* CEs [11] --> Loop 13 

### Ranking functions of CR f11(A,B,C,D,H,I,J,K,L) 
* RF of phase [10,11]: [A]

#### Partial ranking functions of CR f11(A,B,C,D,H,I,J,K,L) 
* Partial RF of phase [10,11]:
  - RF of loop [10:1]:
    B+3
    -C+4
  - RF of loop [10:1,11:1]:
    A
  - RF of loop [11:1]:
    A-B
    A+C-1


### Specialization of cost equations f21/1 
* CE 9 is refined into CE [14] 
* CE 8 is refined into CE [15] 


### Cost equations --> "Loop" of f21/1 
* CEs [15] --> Loop 14 
* CEs [14] --> Loop 15 

### Ranking functions of CR f21(H) 

#### Partial ranking functions of CR f21(H) 


### Specialization of cost equations f11_loop_cont/8 
* CE 7 is refined into CE [16,17] 
* CE 6 is refined into CE [18] 


### Cost equations --> "Loop" of f11_loop_cont/8 
* CEs [16] --> Loop 16 
* CEs [18] --> Loop 17 
* CEs [17] --> Loop 18 

### Ranking functions of CR f11_loop_cont(A,B,C,D,E,F,G,H) 

#### Partial ranking functions of CR f11_loop_cont(A,B,C,D,E,F,G,H) 


### Specialization of cost equations f0/7 
* CE 1 is refined into CE [19,20,21,22] 


### Cost equations --> "Loop" of f0/7 
* CEs [22] --> Loop 19 
* CEs [19,20,21] --> Loop 20 

### Ranking functions of CR f0(A,B,C,D,E,F,H) 

#### Partial ranking functions of CR f0(A,B,C,D,E,F,H) 


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

#### Cost of chains of f11(A,B,C,D,H,I,J,K,L):
* Chain [[10,11],13]: 1*it(10)+1*it(11)+0
  Such that:it(11) =< A-B
it(11) =< A+C
aux(3) =< A
it(10) =< aux(3)
it(11) =< aux(3)

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

* Chain [[10,11],12]: 1*it(10)+1*it(11)+0
  Such that:it(11) =< A-B
it(11) =< A-B+J
it(10) =< B-J
aux(4) =< A
it(10) =< aux(4)
it(11) =< aux(4)

  with precondition: [H=3,I=0,B+C=J+K,A>=1,C>=0,4>=A+C,B>=J,B+C>=1,A+J>=B,B+C>=J+1] 

* Chain [13]: 0
  with precondition: [H=2,C>=0,4>=A+C,B+C>=1] 


#### Cost of chains of f21(H):
* Chain [[14]]...: 1*it(14)+0
  with precondition: [H=2] 

* Chain [[14],15]: 1*it(14)+0
  with precondition: [H=2] 

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


#### Cost of chains of f11_loop_cont(A,B,C,D,E,F,G,H):
* Chain [18]...: 1*s(2)+0
  with precondition: [A=3,G=4,F>=1] 

* Chain [17]: 0
  with precondition: [A=2,G=4,F>=1] 

* Chain [16]: 1*s(3)+0
  with precondition: [A=3,G=4,F>=1] 


#### Cost of chains of f0(A,B,C,D,E,F,H):
* Chain [20]: 1*aux(10)+0
  with precondition: [] 

* Chain [19]...: 1*s(11)+1*s(12)+1*s(14)+0
  Such that:s(11) =< 3
aux(11) =< 4
s(11) =< aux(11)
s(12) =< aux(11)

  with precondition: [] 


Closed-form bounds of f0(A,B,C,D,E,F,H): 
-------------------------------------
* Chain [20] with precondition: [] 
    - Upper bound: inf 
    - Complexity: infinity 
* Chain [19]... with precondition: [] 
    - Upper bound: inf 
    - Complexity: infinity 

### Maximum cost of f0(A,B,C,D,E,F,H): inf 
Asymptotic class: infinity 
* Total analysis performed in 93 ms.

