Initial Problem

Start: f300
Program_Vars: Arg_0
Temp_Vars:
Locations: f3, f300
Transitions:
1:f3(Arg_0) -> f3(Arg_0-1):|:Arg_0<=0
2:f3(Arg_0) -> f3(Arg_0-1):|:1<=Arg_0
0:f300(Arg_0) -> f3(Arg_0)

Preprocessing

Problem after Preprocessing

Start: f300
Program_Vars: Arg_0
Temp_Vars:
Locations: f3, f300
Transitions:
1:f3(Arg_0) -> f3(Arg_0-1):|:Arg_0<=0
2:f3(Arg_0) -> f3(Arg_0-1):|:1<=Arg_0
0:f300(Arg_0) -> f3(Arg_0)

MPRF for transition 2:f3(Arg_0) -> f3(Arg_0-1):|:1<=Arg_0 of depth 1:

new bound:

Arg_0 {O(n)}

MPRF:

f3 [Arg_0 ]

Analysing control-flow refined program

Found invariant 1+Arg_0<=0 for location n_f3___2

Found invariant 0<=Arg_0 for location n_f3___1

MPRF for transition 30:n_f3___1(Arg_0) -> n_f3___1(Arg_0-1):|:0<=Arg_0 && 0<=Arg_0 && 1<=Arg_0 of depth 1:

new bound:

Arg_0+1 {O(n)}

MPRF:

n_f3___1 [Arg_0+1 ]

CFR did not improve the program. Rolling back

All Bounds

Timebounds

Overall timebound:inf {Infinity}
1: f3->f3: inf {Infinity}
2: f3->f3: Arg_0 {O(n)}
0: f300->f3: 1 {O(1)}

Costbounds

Overall costbound: inf {Infinity}
1: f3->f3: inf {Infinity}
2: f3->f3: Arg_0 {O(n)}
0: f300->f3: 1 {O(1)}

Sizebounds

2: f3->f3, Arg_0: Arg_0 {O(n)}
0: f300->f3, Arg_0: Arg_0 {O(n)}