Initial Problem

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

Preprocessing

Found invariant 1 ≤ X₀ for location l2

Problem after Preprocessing

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

Found invariant 1 ≤ X₀ for location l2

Time-Bound by TWN-Loops:

TWN-Loops: t₁ 42 {O(1)}

TWN-Loops:

entry: t₀: l0(X₀) → l2(B) :|: 1 ≤ B
results in twn-loop: twn:Inv: [1 ≤ X₀] , (X₀) -> (X₀+1) :|: X₀ ≤ 19
order: [X₀]
closed-form:
X₀: X₀ + [[n != 0]] * n^1

Termination: true
Formula:

1 < 0
∨ X₀ < 19 ∧ 1 ≤ 0 ∧ 0 ≤ 1
∨ 1 ≤ 0 ∧ 0 ≤ 1 ∧ X₀ ≤ 19 ∧ 19 ≤ X₀

Stabilization-Threshold for: X₀ ≤ 19
alphas_abs: 19
M: 0
N: 1
Bound: 40 {O(1)}

relevant size-bounds w.r.t. t₀:
Runtime-bound of t₀: 1 {O(1)}
Results in: 42 {O(1)}

42 {O(1)}

All Bounds

Timebounds

Overall timebound:45 {O(1)}
t₀: 1 {O(1)}
t₂: 1 {O(1)}
t₁: 42 {O(1)}
t₃: 1 {O(1)}

Costbounds

Overall costbound: 45 {O(1)}
t₀: 1 {O(1)}
t₂: 1 {O(1)}
t₁: 42 {O(1)}
t₃: 1 {O(1)}

Sizebounds

t₁, X₀: 20 {O(1)}