Initial Problem

Start: l0
Program_Vars: X₀, X₁
Temp_Vars: C, D
Locations: l0, l1, l2
Transitions:
t₄: l0(X₀, X₁) → l1(X₀, X₁)
t₀: l1(X₀, X₁) → l1(D-1, X₁) :|: C ≤ 0 ∧ X₀+1 ≤ 0
t₁: l1(X₀, X₁) → l1(1+D, X₁) :|: 2 ≤ C ∧ X₀+1 ≤ 0
t₂: l1(X₀, X₁) → l1(D-1, X₁) :|: 2+C ≤ 0 ∧ 1 ≤ X₀
t₃: l1(X₀, X₁) → l1(1+D, X₁) :|: 0 ≤ C ∧ 1 ≤ X₀
t₅: l1(X₀, X₁) → l2(0, D) :|: X₀+1 ≤ 0
t₆: l1(X₀, X₁) → l2(0, D) :|: 1 ≤ X₀
t₇: l1(X₀, X₁) → l2(X₀, D) :|: 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, D
Locations: l0, l1, l2
Transitions:
t₁₆: l0(X₀) → l1(X₀)
t₁₇: l1(X₀) → l1(D-1) :|: C ≤ 0 ∧ X₀+1 ≤ 0
t₁₈: l1(X₀) → l1(1+D) :|: 2 ≤ C ∧ X₀+1 ≤ 0
t₁₉: l1(X₀) → l1(D-1) :|: 2+C ≤ 0 ∧ 1 ≤ X₀
t₂₀: l1(X₀) → l1(1+D) :|: 0 ≤ C ∧ 1 ≤ X₀
t₂₁: l1(X₀) → l2(0) :|: X₀+1 ≤ 0
t₂₂: l1(X₀) → l2(0) :|: 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₁₉: inf {Infinity}
t₂₀: inf {Infinity}
t₂₁: 1 {O(1)}
t₂₂: 1 {O(1)}
t₂₃: 1 {O(1)}

Costbounds

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

Sizebounds

t₁₆, X₀: X₀ {O(n)}
t₂₁, X₀: 0 {O(1)}
t₂₂, X₀: 0 {O(1)}
t₂₃, X₀: 0 {O(1)}