Start: l0
Program_Vars: X₀
Temp_Vars: B
Locations: l0, l1, l2
Transitions:
t₀: l0(X₀) → l1(0)
t₁: l1(X₀) → l1(X₀+1) :|: X₀ ≤ 9
t₂: l1(X₀) → l2(X₀) :|: 10 ≤ X₀ ∧ B+1 ≤ 0
t₃: l1(X₀) → l2(X₀) :|: 10 ≤ X₀
Found invariant X₀ ≤ 10 ∧ 10 ≤ X₀ for location l2
Found invariant X₀ ≤ 10 ∧ 0 ≤ X₀ for location l1
Start: l0
Program_Vars: X₀
Temp_Vars: B
Locations: l0, l1, l2
Transitions:
t₀: l0(X₀) → l1(0)
t₁: l1(X₀) → l1(X₀+1) :|: X₀ ≤ 9 ∧ X₀ ≤ 10 ∧ 0 ≤ X₀
t₂: l1(X₀) → l2(X₀) :|: 10 ≤ X₀ ∧ B+1 ≤ 0 ∧ X₀ ≤ 10 ∧ 0 ≤ X₀
t₃: l1(X₀) → l2(X₀) :|: 10 ≤ X₀ ∧ X₀ ≤ 10 ∧ 0 ≤ X₀
new bound:
10 {O(1)}
MPRF:
l1 [10-X₀ ]
Overall timebound:13 {O(1)}
t₀: 1 {O(1)}
t₁: 10 {O(1)}
t₂: 1 {O(1)}
t₃: 1 {O(1)}
Overall costbound: 13 {O(1)}
t₀: 1 {O(1)}
t₁: 10 {O(1)}
t₂: 1 {O(1)}
t₃: 1 {O(1)}
t₀, X₀: 0 {O(1)}
t₁, X₀: 10 {O(1)}
t₂, X₀: 10 {O(1)}
t₃, X₀: 10 {O(1)}