Initial Problem
Start: l0
Program_Vars: X₀, X₁
Temp_Vars:
Locations: l0, l1, l2, l3, l4, l5
Transitions:
t₀: l0(X₀, X₁) → l3(X₀, X₁)
t₅: l1(X₀, X₁) → l2(X₀, X₁) :|: X₀ ≤ 0 ∧ 0 ≤ X₀
t₃: l1(X₀, X₁) → l4(X₀, X₁) :|: X₀ < 0
t₄: l1(X₀, X₁) → l4(X₀, X₁) :|: 0 < X₀
t₇: l2(X₀, X₁) → l5(X₀, X₁)
t₁: l3(X₀, X₁) → l1(X₁, X₁) :|: 0 < X₁
t₂: l3(X₀, X₁) → l2(X₀, X₁) :|: X₁ ≤ 0
t₆: l4(X₀, X₁) → l1(X₀-2, X₁)
Preprocessing
Found invariant 1 ≤ X₁ ∧ X₀ ≤ X₁ for location l1
Found invariant 1 ≤ X₁ ∧ X₀ ≤ X₁ for location l4
Problem after Preprocessing
Start: l0
Program_Vars: X₀, X₁
Temp_Vars:
Locations: l0, l1, l2, l3, l4, l5
Transitions:
t₀: l0(X₀, X₁) → l3(X₀, X₁)
t₅: l1(X₀, X₁) → l2(X₀, X₁) :|: X₀ ≤ 0 ∧ 0 ≤ X₀ ∧ 1 ≤ X₁ ∧ X₀ ≤ X₁
t₃: l1(X₀, X₁) → l4(X₀, X₁) :|: X₀ < 0 ∧ 1 ≤ X₁ ∧ X₀ ≤ X₁
t₄: l1(X₀, X₁) → l4(X₀, X₁) :|: 0 < X₀ ∧ 1 ≤ X₁ ∧ X₀ ≤ X₁
t₇: l2(X₀, X₁) → l5(X₀, X₁)
t₁: l3(X₀, X₁) → l1(X₁, X₁) :|: 0 < X₁
t₂: l3(X₀, X₁) → l2(X₀, X₁) :|: X₁ ≤ 0
t₆: l4(X₀, X₁) → l1(X₀-2, X₁) :|: 1 ≤ X₁ ∧ X₀ ≤ X₁
MPRF for transition t₄: l1(X₀, X₁) → l4(X₀, X₁) :|: 0 < X₀ ∧ 1 ≤ X₁ ∧ X₀ ≤ X₁ of depth 1:
new bound:
X₁ {O(n)}
Chain transitions t₆: l4→l1 and t₄: l1→l4 to t₅₅: l4→l4
Chain transitions t₁: l3→l1 and t₄: l1→l4 to t₅₆: l3→l4
Chain transitions t₁: l3→l1 and t₃: l1→l4 to t₅₇: l3→l4
Chain transitions t₆: l4→l1 and t₃: l1→l4 to t₅₈: l4→l4
Chain transitions t₁: l3→l1 and t₅: l1→l2 to t₅₉: l3→l2
Chain transitions t₆: l4→l1 and t₅: l1→l2 to t₆₀: l4→l2
Analysing control-flow refined program
Cut unsatisfiable transition t₅₇: l3→l4
Cut unsatisfiable transition t₅₉: l3→l2
Found invariant 1 ≤ X₁ ∧ X₀ ≤ X₁ for location l1
Found invariant 1 ≤ X₁ ∧ X₀ ≤ X₁ for location l4
MPRF for transition t₅₅: l4(X₀, X₁) -{2}> l4(X₀-2, X₁) :|: 2 < X₀ ∧ 1 ≤ X₁ ∧ X₀ ≤ X₁ ∧ 1 ≤ X₁ ∧ X₀ ≤ 2+X₁ ∧ 1 ≤ X₁ ∧ X₀ ≤ X₁ of depth 1:
new bound:
X₁ {O(n)}
CFR did not improve the program. Rolling back
CFR did not improve the program. Rolling back
Analysing control-flow refined program
Cut unsatisfiable transition t₅: l1→l2
Cut unsatisfiable transition t₁₄₆: n_l1___2→l2
Found invariant X₁ ≤ X₀ ∧ 1 ≤ X₁ ∧ 2 ≤ X₀+X₁ ∧ X₀ ≤ X₁ ∧ 1 ≤ X₀ for location n_l4___6
Found invariant 3 ≤ X₁ ∧ 4 ≤ X₀+X₁ ∧ 2+X₀ ≤ X₁ ∧ 1 ≤ X₀ for location n_l4___3
Found invariant 1 ≤ X₁ ∧ 0 ≤ X₀+X₁ ∧ 2+X₀ ≤ X₁ ∧ 1+X₀ ≤ 0 ∧ 0 ≤ 1+X₀ for location n_l4___4
Found invariant 1 ≤ X₁ ∧ 4+X₀ ≤ X₁ ∧ 3+X₀ ≤ 0 for location n_l1___2
Found invariant 1 ≤ X₁ ∧ 4+X₀ ≤ X₁ ∧ 3+X₀ ≤ 0 for location n_l4___1
Found invariant 1 ≤ X₁ ∧ 0 ≤ X₀+X₁ ∧ 2+X₀ ≤ X₁ ∧ 0 ≤ 1+X₀ for location n_l1___5
Found invariant X₁ ≤ X₀ ∧ 1 ≤ X₁ ∧ 2 ≤ X₀+X₁ ∧ X₀ ≤ X₁ ∧ 1 ≤ X₀ for location l1
MPRF for transition t₁₃₄: n_l1___5(X₀, X₁) → n_l4___3(X₀, X₁) :|: 2+X₀ ≤ X₁ ∧ 0 < X₀ ∧ 1 ≤ X₁ ∧ X₀ ≤ X₁ ∧ 1 ≤ X₁ ∧ 1 ≤ X₁ ∧ X₀ ≤ X₁ ∧ 1 ≤ X₁ ∧ 0 ≤ X₀+X₁ ∧ 2+X₀ ≤ X₁ ∧ 0 ≤ 1+X₀ of depth 1:
new bound:
X₁ {O(n)}
MPRF for transition t₁₃₈: n_l4___3(X₀, X₁) → n_l1___5(X₀-2, X₁) :|: 2+X₀ ≤ X₁ ∧ 0 < X₀ ∧ 1 ≤ X₁ ∧ X₀ ≤ X₁ ∧ 3 ≤ X₁ ∧ 4 ≤ X₀+X₁ ∧ 2+X₀ ≤ X₁ ∧ 1 ≤ X₀ of depth 1:
new bound:
X₁ {O(n)}
CFR did not improve the program. Rolling back
CFR did not improve the program. Rolling back
All Bounds
Timebounds
Overall timebound:inf {Infinity}
t₀: 1 {O(1)}
t₁: 1 {O(1)}
t₂: 1 {O(1)}
t₃: inf {Infinity}
t₄: X₁ {O(n)}
t₅: 1 {O(1)}
t₆: inf {Infinity}
t₇: 1 {O(1)}
Costbounds
Overall costbound: inf {Infinity}
t₀: 1 {O(1)}
t₁: 1 {O(1)}
t₂: 1 {O(1)}
t₃: inf {Infinity}
t₄: X₁ {O(n)}
t₅: 1 {O(1)}
t₆: inf {Infinity}
t₇: 1 {O(1)}
Sizebounds
t₀, X₀: X₀ {O(n)}
t₀, X₁: X₁ {O(n)}
t₁, X₀: X₁ {O(n)}
t₁, X₁: X₁ {O(n)}
t₂, X₀: X₀ {O(n)}
t₂, X₁: X₁ {O(n)}
t₃, X₁: X₁ {O(n)}
t₄, X₁: X₁ {O(n)}
t₅, X₀: 0 {O(1)}
t₅, X₁: X₁ {O(n)}
t₆, X₁: X₁ {O(n)}
t₇, X₀: X₀ {O(n)}
t₇, X₁: 2⋅X₁ {O(n)}