Initial Problem

Start: n_f300
Program_Vars: Arg_0, Arg_1
Temp_Vars: NoDet0
Locations: n_f1___1, n_f1___3, n_f300, n_f5___2
Transitions:
0:n_f300(Arg_0,Arg_1) -> n_f1___3(Arg_0,NoDet0):|:Arg_0<=0
1:n_f300(Arg_0,Arg_1) -> n_f5___2(Arg_0-1,Arg_1):|:1<=Arg_0
2:n_f5___2(Arg_0,Arg_1) -> n_f1___1(Arg_0,NoDet0):|:0<=Arg_0 && 0<=Arg_0 && Arg_0<=0
3:n_f5___2(Arg_0,Arg_1) -> n_f5___2(Arg_0-1,Arg_1):|:0<=Arg_0 && 0<=Arg_0 && 1<=Arg_0

Preprocessing

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

Found invariant 0<=Arg_0 for location n_f5___2

Found invariant Arg_0<=0 for location n_f1___3

Found invariant Arg_0<=0 && 0<=Arg_0 for location n_f1___1

Problem after Preprocessing

Start: n_f300
Program_Vars: Arg_0
Temp_Vars:
Locations: n_f1___1, n_f1___3, n_f300, n_f5___2
Transitions:
8:n_f300(Arg_0) -> n_f1___3(Arg_0):|:Arg_0<=0
9:n_f300(Arg_0) -> n_f5___2(Arg_0-1):|:1<=Arg_0
10:n_f5___2(Arg_0) -> n_f1___1(Arg_0):|:0<=Arg_0 && 0<=Arg_0 && 0<=Arg_0 && Arg_0<=0
11:n_f5___2(Arg_0) -> n_f5___2(Arg_0-1):|:0<=Arg_0 && 0<=Arg_0 && 0<=Arg_0 && 1<=Arg_0

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

new bound:

Arg_0+1 {O(n)}

MPRF:

n_f5___2 [Arg_0+1 ]

All Bounds

Timebounds

Overall timebound:Arg_0+4 {O(n)}
8: n_f300->n_f1___3: 1 {O(1)}
9: n_f300->n_f5___2: 1 {O(1)}
10: n_f5___2->n_f1___1: 1 {O(1)}
11: n_f5___2->n_f5___2: Arg_0+1 {O(n)}

Costbounds

Overall costbound: Arg_0+4 {O(n)}
8: n_f300->n_f1___3: 1 {O(1)}
9: n_f300->n_f5___2: 1 {O(1)}
10: n_f5___2->n_f1___1: 1 {O(1)}
11: n_f5___2->n_f5___2: Arg_0+1 {O(n)}

Sizebounds

8: n_f300->n_f1___3, Arg_0: Arg_0 {O(n)}
9: n_f300->n_f5___2, Arg_0: Arg_0 {O(n)}
10: n_f5___2->n_f1___1, Arg_0: 0 {O(1)}
11: n_f5___2->n_f5___2, Arg_0: Arg_0 {O(n)}