Start: l0
Program_Vars: X₀, X₁, X₂, X₃, X₄, X₅, X₆
Temp_Vars: H, I
Locations: l0, l1, l2, l3, l4
Transitions:
t₀: l0(X₀, X₁, X₂, X₃, X₄, X₅, X₆) → l1(0, X₁, X₂, X₃, X₄, X₅, X₆)
t₁: l1(X₀, X₁, X₂, X₃, X₄, X₅, X₆) → l1(X₀+1, X₁, X₂, X₃, X₄, X₅, X₆) :|: X₀ ≤ 99
t₁₃: l1(X₀, X₁, X₂, X₃, X₄, X₅, X₆) → l2(X₀, X₀-2, X₂, X₀-2, X₄, X₅, X₆) :|: X₀+1 ≤ 0 ∧ 100 ≤ X₀
t₁₂: l1(X₀, X₁, X₂, X₃, X₄, X₅, X₆) → l4(X₀, X₁, X₂, X₀-2, X₄, X₅, X₆) :|: 100 ≤ X₀
t₂: l2(X₀, X₁, X₂, X₃, X₄, X₅, X₆) → l2(X₀, X₁, X₂, X₃, X₄, X₅, X₆)
t₃: l2(X₀, X₁, X₂, X₃, X₄, X₅, X₆) → l2(X₀, X₁+1, X₂, X₃, X₄, X₅, X₆) :|: H+1 ≤ 0
t₄: l2(X₀, X₁, X₂, X₃, X₄, X₅, X₆) → l2(X₀, X₁+1, X₂, X₃, X₄, X₅, X₆)
t₉: l2(X₀, X₁, X₂, X₃, X₄, X₅, X₆) → l3(X₀, X₁, X₁, X₁, X₄, X₁, H) :|: I+1 ≤ 0
t₁₀: l2(X₀, X₁, X₂, X₃, X₄, X₅, X₆) → l3(X₀, X₁, X₁, X₁, X₄, X₁, H)
t₁₁: l2(X₀, X₁, X₂, X₃, X₄, X₅, X₆) → l4(X₀, X₁, X₂, X₁, X₄, X₁, H)
t₅: l3(X₀, X₁, X₂, X₃, X₄, X₅, X₆) → l3(X₀, X₁, X₂, X₃, X₄, X₅, X₆)
t₆: l3(X₀, X₁, X₂, X₃, X₄, X₅, X₆) → l3(X₀, X₁, X₂+1, X₃, X₄, X₅, X₆) :|: H+1 ≤ 0
t₇: l3(X₀, X₁, X₂, X₃, X₄, X₅, X₆) → l3(X₀, X₁, X₂+1, X₃, X₄, X₅, X₆)
t₈: l3(X₀, X₁, X₂, X₃, X₄, X₅, X₆) → l4(X₀, X₁, X₂, X₂, X₂, X₅, X₆)
Cut unsatisfiable transition t₁₃: l1→l2
Cut unreachable locations [l2; l3] from the program graph
Eliminate variables {X₁,X₂,X₃,X₄,X₅,X₆} that do not contribute to the problem
Found invariant X₀ ≤ 100 ∧ 0 ≤ X₀ for location l1
Found invariant X₀ ≤ 100 ∧ 100 ≤ X₀ for location l4
Start: l0
Program_Vars: X₀
Temp_Vars:
Locations: l0, l1, l4
Transitions:
t₃₂: l0(X₀) → l1(0)
t₃₃: l1(X₀) → l1(X₀+1) :|: X₀ ≤ 99 ∧ X₀ ≤ 100 ∧ 0 ≤ X₀
t₃₄: l1(X₀) → l4(X₀) :|: 100 ≤ X₀ ∧ X₀ ≤ 100 ∧ 0 ≤ X₀
Found invariant X₀ ≤ 100 ∧ 0 ≤ X₀ for location l1
Found invariant X₀ ≤ 100 ∧ 100 ≤ X₀ for location l4
Termination: true
Formula:
relevant size-bounds w.r.t. t₃₂:
Runtime-bound of t₃₂: 1 {O(1)}
Results in: 202 {O(1)}
Overall timebound:204 {O(1)}
t₃₂: 1 {O(1)}
t₃₃: 202 {O(1)}
t₃₄: 1 {O(1)}
Overall costbound: 204 {O(1)}
t₃₂: 1 {O(1)}
t₃₃: 202 {O(1)}
t₃₄: 1 {O(1)}
t₃₂, X₀: 0 {O(1)}
t₃₃, X₀: 100 {O(1)}
t₃₄, X₀: 100 {O(1)}