Initial Problem

Start: f2
Program_Vars: Arg_0, Arg_1, Arg_2
Temp_Vars: D, E
Locations: f1, f2, f3
Transitions:
1:f1(Arg_0,Arg_1,Arg_2) -> f1(1+Arg_0,Arg_1,Arg_2):|:Arg_0<=499
0:f1(Arg_0,Arg_1,Arg_2) -> f3(Arg_0,D,Arg_2):|:500<=Arg_0
3:f2(Arg_0,Arg_1,Arg_2) -> f1(1+D,Arg_1,D):|:D<=499
2:f2(Arg_0,Arg_1,Arg_2) -> f3(E,D,E):|:500<=E

Preprocessing

Eliminate variables {Arg_1,Arg_2} that do not contribute to the problem

Found invariant 500<=Arg_0 for location f3

Found invariant Arg_0<=500 for location f1

Problem after Preprocessing

Start: f2
Program_Vars: Arg_0
Temp_Vars: D, E
Locations: f1, f2, f3
Transitions:
8:f1(Arg_0) -> f1(1+Arg_0):|:Arg_0<=500 && Arg_0<=499
7:f1(Arg_0) -> f3(Arg_0):|:Arg_0<=500 && 500<=Arg_0
10:f2(Arg_0) -> f1(1+D):|:D<=499
9:f2(Arg_0) -> f3(E):|:500<=E

All Bounds

Timebounds

Overall timebound:inf {Infinity}
7: f1->f3: 1 {O(1)}
8: f1->f1: inf {Infinity}
9: f2->f3: 1 {O(1)}
10: f2->f1: 1 {O(1)}

Costbounds

Overall costbound: inf {Infinity}
7: f1->f3: 1 {O(1)}
8: f1->f1: inf {Infinity}
9: f2->f3: 1 {O(1)}
10: f2->f1: 1 {O(1)}

Sizebounds

7: f1->f3, Arg_0: 500 {O(1)}