Initial Problem

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

Preprocessing

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

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

Found invariant X₀ ≤ 0 ∧ 0 ≤ X₀ for location l2

Problem after Preprocessing

Start: l0
Program_Vars: X₀
Temp_Vars: C
Locations: l0, l1, l2
Transitions:
t₁₃: l0(X₀) → l1(C)
t₁₄: l1(X₀) → l1(C) :|: X₀+1 ≤ 0
t₁₅: l1(X₀) → l1(C) :|: 1 ≤ X₀
t₁₆: l1(X₀) → l2(0) :|: X₀ ≤ 0 ∧ 0 ≤ X₀
t₁₇: l2(X₀) → l2(X₀) :|: X₀ ≤ 0 ∧ 0 ≤ X₀

Analysing control-flow refined program

Found invariant X₀ ≤ 0 ∧ 0 ≤ X₀ for location l2

CFR did not improve the program. Rolling back

Found invariant X₀ ≤ 0 ∧ 0 ≤ X₀ for location l2

Analysing control-flow refined program

Found invariant X₀ ≤ 0 ∧ 0 ≤ X₀ for location l2

Found invariant X₀ ≤ 0 ∧ 0 ≤ X₀ for location l2

CFR did not improve the program. Rolling back

All Bounds

Timebounds

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

Costbounds

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

Sizebounds

t₁₆, X₀: 0 {O(1)}
t₁₇, X₀: 0 {O(1)}