Initial Problem

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

Preprocessing

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(X₀)
t₉: l1(X₀) → l1(C-1) :|: X₀+1 ≤ 0
t₁₀: l1(X₀) → l1(1+C) :|: 1 ≤ X₀
t₁₁: l1(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

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)}

Costbounds

Overall costbound: inf {Infinity}
t₈: 1 {O(1)}
t₉: inf {Infinity}
t₁₀: inf {Infinity}
t₁₁: 1 {O(1)}

Sizebounds

t₈, X₀: X₀ {O(n)}
t₁₁, X₀: 0 {O(1)}