WARNING: Excluded non-linear constraints:[G=A*A+D]

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

#### Computed strongly connected components 
0. recursive  : [l2/8]
1. recursive  : [l1/6,l2_loop_cont/7]
2. non_recursive  : [exit_location/1]
3. non_recursive  : [l1_loop_cont/2]
4. non_recursive  : [l0/6]

#### Obtained direct recursion through partial evaluation 
0. SCC is partially evaluated into l2/8
1. SCC is partially evaluated into l1/6
2. SCC is completely evaluated into other SCCs
3. SCC is completely evaluated into other SCCs
4. SCC is partially evaluated into l0/6

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

### Specialization of cost equations l2/8 
* CE 8 is refined into CE [9] 
* CE 7 is refined into CE [10] 
* CE 6 is refined into CE [11] 


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

### Ranking functions of CR l2(B,C,D,E,F,G,H,I) 
* RF of phase [8]: [B/2+D/2]

#### Partial ranking functions of CR l2(B,C,D,E,F,G,H,I) 
* Partial RF of phase [8]:
  - RF of loop [8:1]:
    B/2+D/2


### Specialization of cost equations l1/6 
* CE 2 is refined into CE [12,13] 
* CE 5 is refined into CE [14] 
* CE 3 is refined into CE [15,16] 
* CE 4 is refined into CE [17] 


### Cost equations --> "Loop" of l1/6 
* CEs [15] --> Loop 11 
* CEs [17] --> Loop 12 
* CEs [16] --> Loop 13 
* CEs [13] --> Loop 14 
* CEs [12,14] --> Loop 15 

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

#### Partial ranking functions of CR l1(A,B,C,D,E,F) 
* Partial RF of phase [11,12,13]:
  - RF of loop [11:1,13:1]:
    E
  - RF of loop [12:1]:
    A depends on loops [11:1,13:1] 


### Specialization of cost equations l0/6 
* CE 1 is refined into CE [18,19,20] 


### Cost equations --> "Loop" of l0/6 
* CEs [20] --> Loop 16 
* CEs [18,19] --> Loop 17 

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

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


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

#### Cost of chains of l2(B,C,D,E,F,G,H,I):
* Chain [[8],10]: 1*it(8)+0
  Such that:it(8) =< B/2+D/2

  with precondition: [F=2,H=3*E,2*H=3*G,H=3*I+3,H>=3,B+D>=1] 

* Chain [[8],9]: 1*it(8)+0
  Such that:it(8) =< B/2+D/2

  with precondition: [F=3,B+D>=1] 

* Chain [10]: 0
  with precondition: [F=2,2*E=G,3*E=H,E=I+1,E>=1] 

* Chain [9]: 0
  with precondition: [F=3] 


#### Cost of chains of l1(A,B,C,D,E,F):
* Chain [[11,12,13],15]: 2*it(11)+1*it(12)+1*s(3)+0
  Such that:aux(34) =< A
aux(35) =< E
it(11) =< aux(35)
aux(15) =< aux(35)
aux(14) =< it(11)*aux(35)
aux(4) =< it(11)*aux(35)
aux(5) =< it(11)*aux(15)
aux(4) =< it(11)*aux(15)
aux(7) =< aux(14)
aux(7) =< aux(5)
it(12) =< aux(5)+aux(4)+aux(34)
it(12) =< aux(5)+aux(7)+aux(34)

  with precondition: [F=3,A>=0,E>=0,A+E>=1] 

* Chain [[11,12,13],14]: 2*it(11)+1*it(12)+1*s(3)+1*s(5)+0
  Such that:aux(70) =< A
aux(71) =< E
it(11) =< aux(71)
aux(50) =< aux(71)
aux(49) =< it(11)*aux(71)
aux(39) =< it(11)*aux(71)
aux(40) =< it(11)*aux(50)
aux(39) =< it(11)*aux(50)
aux(42) =< aux(49)
aux(42) =< aux(40)
it(12) =< aux(40)+aux(39)+aux(70)
it(12) =< aux(40)+aux(42)+aux(70)

  with precondition: [F=3,A>=0,E>=0,A+E>=1] 

* Chain [15]: 0
  with precondition: [F=3,A>=0,E>=0] 

* Chain [14]: 1*s(4)+0
  Such that:s(4) =< B/2+D/2

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


#### Cost of chains of l0(A,B,C,D,E,F):
* Chain [17]: 4*s(29)+2*s(35)+3*s(36)+0
  Such that:s(27) =< A
s(28) =< E
s(29) =< s(28)
s(30) =< s(28)
s(31) =< s(29)*s(28)
s(32) =< s(29)*s(28)
s(33) =< s(29)*s(30)
s(32) =< s(29)*s(30)
s(34) =< s(31)
s(34) =< s(33)
s(35) =< s(33)+s(32)+s(27)
s(35) =< s(33)+s(34)+s(27)

  with precondition: [A>=1,E>=1] 

* Chain [16]: 1*s(37)+0
  Such that:s(37) =< B/2+D/2

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


Closed-form bounds of l0(A,B,C,D,E,F): 
-------------------------------------
* Chain [17] with precondition: [A>=1,E>=1] 
    - Upper bound: inf 
    - Complexity: infinity 
* Chain [16] with precondition: [A>=1,E>=1,B+D>=1] 
    - Upper bound: B/2+D/2 
    - Complexity: n 

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

