
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+C,A/2]

#### 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+2
    -C+3
  - RF of loop [10:1,11:1]:
    A/2
  - RF of loop [11:1]:
    A/2-B/2
    A/2+C/2-1/2


### 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:aux(3) =< A/2
aux(4) =< A/2+1/2
it(11) =< A/2-B/2
it(11) =< 3/8*A+5/8
aux(5) =< A+1
aux(6) =< A+C
aux(2) =< aux(5)
it(10) =< aux(5)
it(11) =< aux(5)
aux(2) =< aux(6)
it(10) =< aux(6)
it(11) =< aux(6)
it(10) =< aux(2)
it(11) =< aux(2)
it(10) =< aux(3)
it(11) =< aux(3)
it(10) =< aux(4)
it(11) =< aux(4)

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

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

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

* Chain [13]: 0
  with precondition: [H=2,C>=0,4>=2*C+A,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(17)+0
  with precondition: [] 

* Chain [19]...: 1*s(21)+1*s(23)+1*s(24)+0
  Such that:s(21) =< 3/2
aux(18) =< 2
aux(19) =< 4
aux(20) =< 5
aux(21) =< 5/2
s(21) =< aux(18)
s(18) =< aux(19)
s(18) =< aux(20)
s(21) =< aux(20)
s(23) =< aux(20)
s(23) =< aux(21)
s(23) =< aux(19)
s(21) =< aux(19)
s(23) =< s(18)
s(21) =< s(18)
s(23) =< aux(18)
s(21) =< aux(21)

  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 110 ms.

