Initial Problem

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

Preprocessing

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

Found invariant Arg_0<=0 for location f2

Problem after Preprocessing

Start: f1
Program_Vars: Arg_0, Arg_2
Temp_Vars:
Locations: f0, f1, f2
Transitions:
7:f0(Arg_0,Arg_2) -> f0(Arg_0+Arg_2,Arg_2-1):|:1<=Arg_0
6:f0(Arg_0,Arg_2) -> f2(Arg_0,Arg_2):|:Arg_0<=0
8:f1(Arg_0,Arg_2) -> f0(Arg_0,Arg_2)

All Bounds

Timebounds

Overall timebound:inf {Infinity}
6: f0->f2: 1 {O(1)}
7: f0->f0: inf {Infinity}
8: f1->f0: 1 {O(1)}

Costbounds

Overall costbound: inf {Infinity}
6: f0->f2: 1 {O(1)}
7: f0->f0: inf {Infinity}
8: f1->f0: 1 {O(1)}

Sizebounds

8: f1->f0, Arg_0: Arg_0 {O(n)}
8: f1->f0, Arg_2: Arg_2 {O(n)}