Initial Problem

Start: l0
Program_Vars: X₀, X₁, X₂, X₃
Temp_Vars: E, F
Locations: l0, l1, l2
Transitions:
t₀: l0(X₀, X₁, X₂, X₃) → l1(E, E, 0, X₃) :|: E ≤ 0
t₁: l0(X₀, X₁, X₂, X₃) → l1(E, E, 0, X₃) :|: 1024 ≤ E
t₂: l0(X₀, X₁, X₂, X₃) → l1(E, E, 0, F) :|: E ≤ 1023 ∧ 1 ≤ E
t₃: l1(X₀, X₁, X₂, X₃) → l1(X₀, X₁, X₂+1, X₃) :|: X₂+1 ≤ E
t₄: l1(X₀, X₁, X₂, X₃) → l2(X₀, X₁, X₂, X₃) :|: E ≤ X₂

Preprocessing

Eliminate variables {F,X₀,X₁,X₃} that do not contribute to the problem

Found invariant 0 ≤ X₀ for location l2

Found invariant 0 ≤ X₀ for location l1

Problem after Preprocessing

Start: l0
Program_Vars: X₀
Temp_Vars: E
Locations: l0, l1, l2
Transitions:
t₈: l0(X₀) → l1(0) :|: E ≤ 0
t₉: l0(X₀) → l1(0) :|: 1024 ≤ E
t₁₀: l0(X₀) → l1(0) :|: E ≤ 1023 ∧ 1 ≤ E
t₁₁: l1(X₀) → l1(X₀+1) :|: X₀+1 ≤ E ∧ 0 ≤ X₀
t₁₂: l1(X₀) → l2(X₀) :|: E ≤ X₀ ∧ 0 ≤ X₀

Analysing control-flow refined program

Found invariant 0 ≤ X₀ for location l2

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

Found invariant 1 ≤ X₀ for location n_l1___1

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₉: 1 {O(1)}
t₁₀: 1 {O(1)}
t₁₁: inf {Infinity}
t₁₂: 1 {O(1)}

Costbounds

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

Sizebounds

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