Initial Problem

Start: l0
Program_Vars: X₀, X₁, X₂
Temp_Vars: D
Locations: l0, l1, l2, l3
Transitions:
t₀: l0(X₀, X₁, X₂) → l1(0, D, 0)
t₁: l1(X₀, X₁, X₂) → l1(X₀, X₁, X₂+1) :|: X₂ ≤ 49
t₄: l1(X₀, X₁, X₂) → l2(0, X₁, X₂) :|: 50 ≤ X₂
t₂: l2(X₀, X₁, X₂) → l2(X₀+1, X₁, X₂) :|: X₀ ≤ 49
t₃: l2(X₀, X₁, X₂) → l3(X₀, X₁, X₂) :|: 50 ≤ X₀

Preprocessing

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

Found invariant X₁ ≤ 50 ∧ X₁ ≤ 50+X₀ ∧ X₀+X₁ ≤ 100 ∧ 50 ≤ X₁ ∧ 50 ≤ X₀+X₁ ∧ X₀ ≤ X₁ ∧ X₀ ≤ 50 ∧ 0 ≤ X₀ for location l2

Found invariant X₁ ≤ 50 ∧ X₁ ≤ 50+X₀ ∧ X₀+X₁ ≤ 50 ∧ 0 ≤ X₁ ∧ 0 ≤ X₀+X₁ ∧ X₀ ≤ X₁ ∧ X₀ ≤ 0 ∧ 0 ≤ X₀ for location l1

Found invariant X₁ ≤ 50 ∧ X₁ ≤ X₀ ∧ X₀+X₁ ≤ 100 ∧ 50 ≤ X₁ ∧ 100 ≤ X₀+X₁ ∧ X₀ ≤ X₁ ∧ X₀ ≤ 50 ∧ 50 ≤ X₀ for location l3

Problem after Preprocessing

Start: l0
Program_Vars: X₀, X₁
Temp_Vars:
Locations: l0, l1, l2, l3
Transitions:
t₁₁: l0(X₀, X₁) → l1(0, 0)
t₁₂: l1(X₀, X₁) → l1(X₀, X₁+1) :|: X₁ ≤ 49 ∧ X₁ ≤ 50 ∧ X₁ ≤ 50+X₀ ∧ X₀+X₁ ≤ 50 ∧ 0 ≤ X₁ ∧ 0 ≤ X₀+X₁ ∧ X₀ ≤ X₁ ∧ X₀ ≤ 0 ∧ 0 ≤ X₀
t₁₃: l1(X₀, X₁) → l2(0, X₁) :|: 50 ≤ X₁ ∧ X₁ ≤ 50 ∧ X₁ ≤ 50+X₀ ∧ X₀+X₁ ≤ 50 ∧ 0 ≤ X₁ ∧ 0 ≤ X₀+X₁ ∧ X₀ ≤ X₁ ∧ X₀ ≤ 0 ∧ 0 ≤ X₀
t₁₄: l2(X₀, X₁) → l2(X₀+1, X₁) :|: X₀ ≤ 49 ∧ X₁ ≤ 50 ∧ X₁ ≤ 50+X₀ ∧ X₀+X₁ ≤ 100 ∧ 50 ≤ X₁ ∧ 50 ≤ X₀+X₁ ∧ X₀ ≤ X₁ ∧ X₀ ≤ 50 ∧ 0 ≤ X₀
t₁₅: l2(X₀, X₁) → l3(X₀, X₁) :|: 50 ≤ X₀ ∧ X₁ ≤ 50 ∧ X₁ ≤ 50+X₀ ∧ X₀+X₁ ≤ 100 ∧ 50 ≤ X₁ ∧ 50 ≤ X₀+X₁ ∧ X₀ ≤ X₁ ∧ X₀ ≤ 50 ∧ 0 ≤ X₀

MPRF for transition t₁₂: l1(X₀, X₁) → l1(X₀, X₁+1) :|: X₁ ≤ 49 ∧ X₁ ≤ 50 ∧ X₁ ≤ 50+X₀ ∧ X₀+X₁ ≤ 50 ∧ 0 ≤ X₁ ∧ 0 ≤ X₀+X₁ ∧ X₀ ≤ X₁ ∧ X₀ ≤ 0 ∧ 0 ≤ X₀ of depth 1:

new bound:

51 {O(1)}

MPRF for transition t₁₄: l2(X₀, X₁) → l2(X₀+1, X₁) :|: X₀ ≤ 49 ∧ X₁ ≤ 50 ∧ X₁ ≤ 50+X₀ ∧ X₀+X₁ ≤ 100 ∧ 50 ≤ X₁ ∧ 50 ≤ X₀+X₁ ∧ X₀ ≤ X₁ ∧ X₀ ≤ 50 ∧ 0 ≤ X₀ of depth 1:

new bound:

51 {O(1)}

All Bounds

Timebounds

Overall timebound:105 {O(1)}
t₁₁: 1 {O(1)}
t₁₂: 51 {O(1)}
t₁₃: 1 {O(1)}
t₁₄: 51 {O(1)}
t₁₅: 1 {O(1)}

Costbounds

Overall costbound: 105 {O(1)}
t₁₁: 1 {O(1)}
t₁₂: 51 {O(1)}
t₁₃: 1 {O(1)}
t₁₄: 51 {O(1)}
t₁₅: 1 {O(1)}

Sizebounds

t₁₁, X₀: 0 {O(1)}
t₁₁, X₁: 0 {O(1)}
t₁₂, X₀: 0 {O(1)}
t₁₂, X₁: 50 {O(1)}
t₁₃, X₀: 0 {O(1)}
t₁₃, X₁: 50 {O(1)}
t₁₄, X₀: 50 {O(1)}
t₁₄, X₁: 50 {O(1)}
t₁₅, X₀: 50 {O(1)}
t₁₅, X₁: 50 {O(1)}