Initial Problem
Start: f3
Program_Vars: Arg_0
Temp_Vars:
Locations: f2, f3
Transitions:
1:f2(Arg_0) -> f2(Arg_0-1):|:2<=Arg_0
2:f2(Arg_0) -> f2(Arg_0-1):|:Arg_0<=1
0:f3(Arg_0) -> f2(Arg_0)
Preprocessing
Problem after Preprocessing
Start: f3
Program_Vars: Arg_0
Temp_Vars:
Locations: f2, f3
Transitions:
1:f2(Arg_0) -> f2(Arg_0-1):|:2<=Arg_0
2:f2(Arg_0) -> f2(Arg_0-1):|:Arg_0<=1
0:f3(Arg_0) -> f2(Arg_0)
MPRF for transition 1:f2(Arg_0) -> f2(Arg_0-1):|:2<=Arg_0 of depth 1:
new bound:
Arg_0 {O(n)}
MPRF:
f2 [Arg_0 ]
Analysing control-flow refined program
Found invariant Arg_0<=0 for location n_f2___1
Found invariant 1<=Arg_0 for location n_f2___2
MPRF for transition 31:n_f2___2(Arg_0) -> n_f2___2(Arg_0-1):|:1<=Arg_0 && 1<=Arg_0 && 2<=Arg_0 of depth 1:
new bound:
Arg_0 {O(n)}
MPRF:
n_f2___2 [Arg_0 ]
CFR did not improve the program. Rolling back
All Bounds
Timebounds
Overall timebound:inf {Infinity}
1: f2->f2: Arg_0 {O(n)}
2: f2->f2: inf {Infinity}
0: f3->f2: 1 {O(1)}
Costbounds
Overall costbound: inf {Infinity}
1: f2->f2: Arg_0 {O(n)}
2: f2->f2: inf {Infinity}
0: f3->f2: 1 {O(1)}
Sizebounds
1: f2->f2, Arg_0: Arg_0 {O(n)}
0: f3->f2, Arg_0: Arg_0 {O(n)}