Initial Problem

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

Preprocessing

Cut unreachable locations [l3; l4] from the program graph

Eliminate variables {X₂,X₃,X₄} that do not contribute to the problem

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

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

Problem after Preprocessing

Start: l0
Program_Vars: X₀, X₁
Temp_Vars: F
Locations: l0, l1, l2
Transitions:
t₁₂: l0(X₀, X₁) → l1(8, F) :|: 1 ≤ F
t₁₃: l1(X₀, X₁) → l1(X₀-1, X₁-1) :|: 1 ≤ X₀ ∧ 1 ≤ F ∧ 0 ≤ 7+X₁ ∧ 0 ≤ 7+X₀+X₁ ∧ X₀ ≤ 7+X₁ ∧ X₀ ≤ 8 ∧ 0 ≤ X₀
t₁₄: l1(X₀, X₁) → l1(X₀-1, X₁) :|: F ≤ 0 ∧ 1 ≤ X₀ ∧ X₁+1 ≤ X₀ ∧ 0 ≤ 7+X₁ ∧ 0 ≤ 7+X₀+X₁ ∧ X₀ ≤ 7+X₁ ∧ X₀ ≤ 8 ∧ 0 ≤ X₀
t₁₅: l1(X₀, X₁) → l2(X₀, X₁) :|: X₀ ≤ 0 ∧ 0 ≤ 7+X₁ ∧ 0 ≤ 7+X₀+X₁ ∧ X₀ ≤ 7+X₁ ∧ X₀ ≤ 8 ∧ 0 ≤ X₀
t₁₆: l2(X₀, X₁) → l2(X₀, X₁) :|: 0 ≤ 7+X₁ ∧ 0 ≤ 7+X₀+X₁ ∧ X₀ ≤ 7+X₁ ∧ X₀ ≤ 0 ∧ 0 ≤ X₀

MPRF for transition t₁₃: l1(X₀, X₁) → l1(X₀-1, X₁-1) :|: 1 ≤ X₀ ∧ 1 ≤ F ∧ 0 ≤ 7+X₁ ∧ 0 ≤ 7+X₀+X₁ ∧ X₀ ≤ 7+X₁ ∧ X₀ ≤ 8 ∧ 0 ≤ X₀ of depth 1:

new bound:

9 {O(1)}

MPRF for transition t₁₄: l1(X₀, X₁) → l1(X₀-1, X₁) :|: F ≤ 0 ∧ 1 ≤ X₀ ∧ X₁+1 ≤ X₀ ∧ 0 ≤ 7+X₁ ∧ 0 ≤ 7+X₀+X₁ ∧ X₀ ≤ 7+X₁ ∧ X₀ ≤ 8 ∧ 0 ≤ X₀ of depth 1:

new bound:

9 {O(1)}

Analysing control-flow refined program

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

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

CFR did not improve the program. Rolling back

CFR did not improve the program. Rolling back

All Bounds

Timebounds

Overall timebound:inf {Infinity}
t₁₂: 1 {O(1)}
t₁₃: 9 {O(1)}
t₁₄: 9 {O(1)}
t₁₅: 1 {O(1)}
t₁₆: inf {Infinity}

Costbounds

Overall costbound: inf {Infinity}
t₁₂: 1 {O(1)}
t₁₃: 9 {O(1)}
t₁₄: 9 {O(1)}
t₁₅: 1 {O(1)}
t₁₆: inf {Infinity}

Sizebounds

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