Initial Problem

Start: l0
Program_Vars: X₀, X₁
Temp_Vars:
Locations: l0, l1, l2
Transitions:
t₀: l0(X₀, X₁) → l1(2, 4)
t₁: l1(X₀, X₁) → l1(X₀+2, X₀+4) :|: X₀ ≤ 19
t₂: l1(X₀, X₁) → l2(X₀, X₁) :|: 20 ≤ X₀

Preprocessing

Eliminate variables {X₁} that do not contribute to the problem

Found invariant X₀ ≤ 21 ∧ 20 ≤ X₀ for location l2

Found invariant X₀ ≤ 21 ∧ 2 ≤ X₀ for location l1

Problem after Preprocessing

Start: l0
Program_Vars: X₀
Temp_Vars:
Locations: l0, l1, l2
Transitions:
t₇: l0(X₀) → l1(2)
t₈: l1(X₀) → l1(X₀+2) :|: X₀ ≤ 19 ∧ X₀ ≤ 21 ∧ 2 ≤ X₀
t₉: l1(X₀) → l2(X₀) :|: 20 ≤ X₀ ∧ X₀ ≤ 21 ∧ 2 ≤ X₀

Found invariant X₀ ≤ 21 ∧ 20 ≤ X₀ for location l2

Found invariant X₀ ≤ 21 ∧ 2 ≤ X₀ for location l1

Time-Bound by TWN-Loops:

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

TWN-Loops:

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

Termination: true
Formula:

2 < 0
∨ 2 < 0 ∧ X₀ < 21 ∧ 2 ≤ 0 ∧ 0 ≤ 2
∨ 2 < 0 ∧ 2 ≤ 0 ∧ 0 ≤ 2 ∧ X₀ ≤ 21 ∧ 21 ≤ X₀
∨ X₀ < 19 ∧ 2 ≤ 0 ∧ 0 ≤ 2 ∧ 2 < 0
∨ X₀ < 19 ∧ X₀ < 21 ∧ 2 ≤ 0 ∧ 0 ≤ 2
∨ X₀ < 19 ∧ 2 ≤ 0 ∧ 0 ≤ 2 ∧ X₀ ≤ 21 ∧ 21 ≤ X₀
∨ 2 ≤ 0 ∧ 0 ≤ 2 ∧ X₀ ≤ 19 ∧ 19 ≤ X₀ ∧ 2 < 0
∨ X₀ ≤ 19 ∧ 19 ≤ X₀ ∧ X₀ < 21 ∧ 2 ≤ 0 ∧ 0 ≤ 2
∨ X₀ ≤ 19 ∧ 19 ≤ X₀ ∧ 2 ≤ 0 ∧ 0 ≤ 2 ∧ X₀ ≤ 21 ∧ 21 ≤ 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:44 {O(1)}
t₇: 1 {O(1)}
t₈: 42 {O(1)}
t₉: 1 {O(1)}

Costbounds

Overall costbound: 44 {O(1)}
t₇: 1 {O(1)}
t₈: 42 {O(1)}
t₉: 1 {O(1)}

Sizebounds

t₇, X₀: 2 {O(1)}
t₈, X₀: 21 {O(1)}
t₉, X₀: 21 {O(1)}