Initial Problem

Start: f0
Program_Vars: Arg_0, Arg_1
Temp_Vars: C
Locations: f0, f14, f6
Transitions:
0:f0(Arg_0,Arg_1) -> f6(0,C)
2:f6(Arg_0,Arg_1) -> f14(Arg_0,Arg_1):|:50<=Arg_0
1:f6(Arg_0,Arg_1) -> f6(Arg_0+1,Arg_1):|:Arg_0<=49

Preprocessing

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

Found invariant Arg_0<=50 && 0<=Arg_0 for location f6

Found invariant Arg_0<=50 && 50<=Arg_0 for location f14

Problem after Preprocessing

Start: f0
Program_Vars: Arg_0
Temp_Vars:
Locations: f0, f14, f6
Transitions:
7:f0(Arg_0) -> f6(0)
9:f6(Arg_0) -> f14(Arg_0):|:Arg_0<=50 && 0<=Arg_0 && 50<=Arg_0
8:f6(Arg_0) -> f6(Arg_0+1):|:Arg_0<=50 && 0<=Arg_0 && Arg_0<=49

MPRF for transition 8:f6(Arg_0) -> f6(Arg_0+1):|:Arg_0<=50 && 0<=Arg_0 && Arg_0<=49 of depth 1:

new bound:

50 {O(1)}

MPRF:

f6 [50-Arg_0 ]

All Bounds

Timebounds

Overall timebound:52 {O(1)}
7: f0->f6: 1 {O(1)}
8: f6->f6: 50 {O(1)}
9: f6->f14: 1 {O(1)}

Costbounds

Overall costbound: 52 {O(1)}
7: f0->f6: 1 {O(1)}
8: f6->f6: 50 {O(1)}
9: f6->f14: 1 {O(1)}

Sizebounds

7: f0->f6, Arg_0: 0 {O(1)}
8: f6->f6, Arg_0: 50 {O(1)}
9: f6->f14, Arg_0: 50 {O(1)}