Start: l0
Program_Vars: X₀, X₁, X₂
Temp_Vars: D
Locations: l0, l1, l2, l3, l4, l5
Transitions:
t₃: l0(X₀, X₁, X₂) → l3(X₀, X₁, 1) :|: 1 ≤ X₀
t₄: l1(X₀, X₁, X₂) → l3(-1-X₀, X₁, 1) :|: X₀+1 ≤ 0 ∧ X₂ ≤ 0
t₅: l1(X₀, X₁, X₂) → l3(-1-X₀, X₁, 1) :|: X₀+1 ≤ 0 ∧ 2 ≤ X₂
t₆: l1(X₀, X₁, X₂) → l3(-1-X₀, X₁, 1) :|: 1 ≤ X₀ ∧ X₂ ≤ 0
t₇: l1(X₀, X₁, X₂) → l3(-1-X₀, X₁, 1) :|: 1 ≤ X₀ ∧ 2 ≤ X₂
t₁: l1(X₀, X₁, X₂) → l4(0, D, X₂) :|: X₀ ≤ 0 ∧ 0 ≤ X₀
t₀: l2(X₀, X₁, X₂) → l1(-X₀, X₁, X₂)
t₈: l3(X₀, X₁, X₂) → l1(1-X₀, X₁, 0) :|: X₀+1 ≤ 0 ∧ X₂ ≤ 1 ∧ 1 ≤ X₂
t₉: l3(X₀, X₁, X₂) → l1(1-X₀, X₁, 0) :|: 1 ≤ X₀ ∧ X₂ ≤ 1 ∧ 1 ≤ X₂
t₂: l3(X₀, X₁, X₂) → l4(0, D, X₂) :|: X₀ ≤ 0 ∧ 0 ≤ X₀
t₁₀: l5(X₀, X₁, X₂) → l1(1-X₀, X₁, 0) :|: X₀+1 ≤ 0 ∧ X₂ ≤ 1 ∧ 1 ≤ X₂
t₁₁: l5(X₀, X₁, X₂) → l1(1-X₀, X₁, 0) :|: 1 ≤ X₀ ∧ X₂ ≤ 1 ∧ 1 ≤ X₂
Cut unreachable locations [l2; l5] from the program graph
Cut unsatisfiable transition t₅: l1→l3
Cut unsatisfiable transition t₇: l1→l3
Eliminate variables {D,X₁} that do not contribute to the problem
Found invariant X₁ ≤ 0 ∧ X₀+X₁ ≤ 0 ∧ 0 ≤ X₁ ∧ X₀ ≤ X₁ ∧ X₀ ≤ 0 for location l1
Found invariant X₁ ≤ 1 ∧ X₁ ≤ 1+X₀ ∧ X₀+X₁ ≤ 1 ∧ 0 ≤ X₁ ∧ 0 ≤ X₀+X₁ ∧ X₀ ≤ X₁ ∧ X₀ ≤ 0 ∧ 0 ≤ X₀ for location l4
Found invariant X₁ ≤ 1 ∧ X₁ ≤ 1+X₀ ∧ 1 ≤ X₁ ∧ 1 ≤ X₀+X₁ ∧ 0 ≤ X₀ for location l3
Cut unsatisfiable transition t₂₉: l1→l3
Cut unsatisfiable transition t₃₁: l3→l1
Start: l0
Program_Vars: X₀, X₁
Temp_Vars:
Locations: l0, l1, l3, l4
Transitions:
t₂₇: l0(X₀, X₁) → l3(X₀, 1) :|: 1 ≤ X₀
t₂₈: l1(X₀, X₁) → l3(-1-X₀, 1) :|: X₀+1 ≤ 0 ∧ X₁ ≤ 0 ∧ X₁ ≤ 0 ∧ X₀+X₁ ≤ 0 ∧ 0 ≤ X₁ ∧ X₀ ≤ X₁ ∧ X₀ ≤ 0
t₃₀: l1(X₀, X₁) → l4(0, X₁) :|: X₀ ≤ 0 ∧ 0 ≤ X₀ ∧ X₁ ≤ 0 ∧ X₀+X₁ ≤ 0 ∧ 0 ≤ X₁ ∧ X₀ ≤ X₁ ∧ X₀ ≤ 0
t₃₂: l3(X₀, X₁) → l1(1-X₀, 0) :|: 1 ≤ X₀ ∧ X₁ ≤ 1 ∧ 1 ≤ X₁ ∧ X₁ ≤ 1 ∧ X₁ ≤ 1+X₀ ∧ 1 ≤ X₁ ∧ 1 ≤ X₀+X₁ ∧ 0 ≤ X₀
t₃₃: l3(X₀, X₁) → l4(0, X₁) :|: X₀ ≤ 0 ∧ 0 ≤ X₀ ∧ X₁ ≤ 1 ∧ X₁ ≤ 1+X₀ ∧ 1 ≤ X₁ ∧ 1 ≤ X₀+X₁ ∧ 0 ≤ X₀
new bound:
X₀ {O(n)}
new bound:
X₀+1 {O(n)}
Overall timebound:2⋅X₀+4 {O(n)}
t₂₇: 1 {O(1)}
t₂₈: X₀ {O(n)}
t₃₀: 1 {O(1)}
t₃₂: X₀+1 {O(n)}
t₃₃: 1 {O(1)}
Overall costbound: 2⋅X₀+4 {O(n)}
t₂₇: 1 {O(1)}
t₂₈: X₀ {O(n)}
t₃₀: 1 {O(1)}
t₃₂: X₀+1 {O(n)}
t₃₃: 1 {O(1)}
t₂₇, X₀: X₀ {O(n)}
t₂₇, X₁: 1 {O(1)}
t₂₈, X₀: X₀ {O(n)}
t₂₈, X₁: 1 {O(1)}
t₃₀, X₀: 0 {O(1)}
t₃₀, X₁: 0 {O(1)}
t₃₂, X₀: X₀ {O(n)}
t₃₂, X₁: 0 {O(1)}
t₃₃, X₀: 0 {O(1)}
t₃₃, X₁: 1 {O(1)}