Initial Problem
Start: l0
Program_Vars: X₀, X₁
Temp_Vars: C
Locations: l0, l1
Transitions:
t₂: l0(X₀, X₁) → l1(X₀, X₁)
t₀: l1(X₀, X₁) → l1(X₀-1, C) :|: 1 ≤ X₀ ∧ 1 ≤ X₁
t₁: l1(X₀, X₁) → l1(X₀, X₁-1) :|: 1 ≤ X₀ ∧ 1 ≤ X₁
Preprocessing
Problem after Preprocessing
Start: l0
Program_Vars: X₀, X₁
Temp_Vars: C
Locations: l0, l1
Transitions:
t₂: l0(X₀, X₁) → l1(X₀, X₁)
t₀: l1(X₀, X₁) → l1(X₀-1, C) :|: 1 ≤ X₀ ∧ 1 ≤ X₁
t₁: l1(X₀, X₁) → l1(X₀, X₁-1) :|: 1 ≤ X₀ ∧ 1 ≤ X₁
MPRF for transition t₀: l1(X₀, X₁) → l1(X₀-1, C) :|: 1 ≤ X₀ ∧ 1 ≤ X₁ of depth 1:
new bound:
X₀ {O(n)}
Analysing control-flow refined program
Found invariant 0 ≤ X₀ for location n_l1___2
Found invariant 0 ≤ X₁ ∧ 1 ≤ X₀+X₁ ∧ 1 ≤ X₀ for location n_l1___1
MPRF for transition t₃₆: n_l1___1(X₀, X₁) → n_l1___2(X₀-1, NoDet0) :|: 1 ≤ X₀ ∧ 0 ≤ X₀ ∧ 1 ≤ X₀ ∧ 0 ≤ X₁ ∧ 1 ≤ X₁ ∧ 1 ≤ X₀ ∧ 0 ≤ X₁ ∧ 1 ≤ X₀+X₁ ∧ 1 ≤ X₀ of depth 1:
new bound:
2⋅X₀+2 {O(n)}
MPRF for transition t₃₇: n_l1___2(X₀, X₁) → n_l1___1(X₀, X₁-1) :|: 0 ≤ X₀ ∧ 1 ≤ X₀ ∧ 1 ≤ X₁ ∧ 0 ≤ X₀ of depth 1:
new bound:
2⋅X₀+1 {O(n)}
MPRF for transition t₃₈: n_l1___2(X₀, X₁) → n_l1___2(X₀-1, NoDet0) :|: 0 ≤ X₀ ∧ 1 ≤ X₁ ∧ 1 ≤ X₀ ∧ 0 ≤ X₀ of depth 1:
new bound:
2⋅X₀+1 {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₀: X₀ {O(n)}
t₁: inf {Infinity}
t₂: 1 {O(1)}
Costbounds
Overall costbound: inf {Infinity}
t₀: X₀ {O(n)}
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)}