Start: l0
Program_Vars: X₀, X₁, X₂, X₃
Temp_Vars: E
Locations: l0, l1, l2
Transitions:
t₀: l0(X₀, X₁, X₂, X₃) → l1(0, X₁, X₂, X₃)
t₁: l1(X₀, X₁, X₂, X₃) → l1(X₀+1, X₁, X₂, X₃) :|: X₀ ≤ 3
t₂: l1(X₀, X₁, X₂, X₃) → l1(X₀+1, X₀, X₀+1, E) :|: X₀ ≤ 3
t₃: l1(X₀, X₁, X₂, X₃) → l2(X₀, X₁, X₂, X₃) :|: 4 ≤ X₀ ∧ E+1 ≤ 0
t₄: l1(X₀, X₁, X₂, X₃) → l2(X₀, X₁, X₂, X₃) :|: 4 ≤ X₀
Eliminate variables {X₁,X₂,X₃} that do not contribute to the problem
Found invariant X₀ ≤ 4 ∧ 4 ≤ X₀ for location l2
Found invariant X₀ ≤ 4 ∧ 0 ≤ X₀ for location l1
Start: l0
Program_Vars: X₀
Temp_Vars: E
Locations: l0, l1, l2
Transitions:
t₁₁: l0(X₀) → l1(0)
t₁₂: l1(X₀) → l1(X₀+1) :|: X₀ ≤ 3 ∧ X₀ ≤ 4 ∧ 0 ≤ X₀
t₁₃: l1(X₀) → l1(X₀+1) :|: X₀ ≤ 3 ∧ X₀ ≤ 4 ∧ 0 ≤ X₀
t₁₄: l1(X₀) → l2(X₀) :|: 4 ≤ X₀ ∧ E+1 ≤ 0 ∧ X₀ ≤ 4 ∧ 0 ≤ X₀
t₁₅: l1(X₀) → l2(X₀) :|: 4 ≤ X₀ ∧ X₀ ≤ 4 ∧ 0 ≤ X₀
Found invariant X₀ ≤ 4 ∧ 4 ≤ X₀ for location l2
Found invariant X₀ ≤ 4 ∧ 0 ≤ X₀ for location l1
Termination: true
Formula:
relevant size-bounds w.r.t. t₁₁:
Runtime-bound of t₁₁: 1 {O(1)}
Results in: 10 {O(1)}
relevant size-bounds w.r.t. t₁₁:
Runtime-bound of t₁₁: 1 {O(1)}
Results in: 10 {O(1)}
Overall timebound:23 {O(1)}
t₁₁: 1 {O(1)}
t₁₂: 10 {O(1)}
t₁₃: 10 {O(1)}
t₁₄: 1 {O(1)}
t₁₅: 1 {O(1)}
Overall costbound: 23 {O(1)}
t₁₁: 1 {O(1)}
t₁₂: 10 {O(1)}
t₁₃: 10 {O(1)}
t₁₄: 1 {O(1)}
t₁₅: 1 {O(1)}
t₁₁, X₀: 0 {O(1)}
t₁₂, X₀: 4 {O(1)}
t₁₃, X₀: 4 {O(1)}
t₁₄, X₀: 4 {O(1)}
t₁₅, X₀: 4 {O(1)}