NO ### Pre-processing the ITS problem ### Initial linear ITS problem Start location: [0] 0: [0] -> [1] : [ x>=1 && b<0 && a>=0 ], cost: 1 1: [1] -> [2] : [ x>=y && z<42 ], cost: 1 5: [1] -> [4] : [ x [4] : [ z>=42 ], cost: 1 2: [2] -> [3] : x'=1, y'=15, [], cost: 1 3: [2] -> [3] : x'=nondet, a'=1+a, z'=a*b, [], cost: 1 4: [3] -> [1] : [ 0<=0 ], cost: 1 Checking for constant complexity: The following rule is satisfiable with cost >= 1, yielding constant complexity: 0: [0] -> [1] : [ x>=1 && b<0 && a>=0 ], cost: 1 Removed unreachable and leaf rules: Start location: [0] 0: [0] -> [1] : [ x>=1 && b<0 && a>=0 ], cost: 1 1: [1] -> [2] : [ x>=y && z<42 ], cost: 1 2: [2] -> [3] : x'=1, y'=15, [], cost: 1 3: [2] -> [3] : x'=nondet, a'=1+a, z'=a*b, [], cost: 1 4: [3] -> [1] : [ 0<=0 ], cost: 1 Simplified all rules, resulting in: Start location: [0] 0: [0] -> [1] : [ x>=1 && b<0 && a>=0 ], cost: 1 1: [1] -> [2] : [ x>=y && z<42 ], cost: 1 2: [2] -> [3] : x'=1, y'=15, [], cost: 1 3: [2] -> [3] : x'=nondet, a'=1+a, z'=a*b, [], cost: 1 4: [3] -> [1] : [], cost: 1 ### Simplification by acceleration and chaining ### Eliminated locations (on tree-shaped paths): Start location: [0] 0: [0] -> [1] : [ x>=1 && b<0 && a>=0 ], cost: 1 7: [1] -> [3] : x'=1, y'=15, [ x>=y && z<42 ], cost: 2 8: [1] -> [3] : x'=nondet, a'=1+a, z'=a*b, [ x>=y && z<42 ], cost: 2 4: [3] -> [1] : [], cost: 1 Eliminated locations (on tree-shaped paths): Start location: [0] 0: [0] -> [1] : [ x>=1 && b<0 && a>=0 ], cost: 1 9: [1] -> [1] : x'=1, y'=15, [ x>=y && z<42 ], cost: 3 10: [1] -> [1] : x'=nondet, a'=1+a, z'=a*b, [ x>=y && z<42 ], cost: 3 Accelerating simple loops of location 1. Accelerating the following rules: 9: [1] -> [1] : x'=1, y'=15, [ x>=y && z<42 ], cost: 3 10: [1] -> [1] : x'=nondet, a'=1+a, z'=a*b, [ x>=y && z<42 ], cost: 3 Accelerated rule 9 with non-termination, yielding the new rule 11. [test] deduced pseudo-invariant -nondet<=0, also trying nondet<=-1 Accelerated rule 10 with non-termination, yielding the new rule 12. Accelerated rule 10 with non-termination, yielding the new rule 13. Accelerated rule 10 with non-termination, yielding the new rule 14. [accelerate] Nesting with 0 inner and 2 outer candidates Accelerated all simple loops using metering functions (where possible): Start location: [0] 0: [0] -> [1] : [ x>=1 && b<0 && a>=0 ], cost: 1 9: [1] -> [1] : x'=1, y'=15, [ x>=y && z<42 ], cost: 3 10: [1] -> [1] : x'=nondet, a'=1+a, z'=a*b, [ x>=y && z<42 ], cost: 3 11: [1] -> [5] : [ x>=y && z<42 && 1>=y ], cost: NONTERM 12: [1] -> [5] : [ x>=y && z<42 && nondet>=y ], cost: NONTERM 13: [1] -> [5] : [ x>=y && z<42 && -nondet<=0 && nondet>=y ], cost: NONTERM 14: [1] -> [5] : [ x>=y && z<42 && nondet<=-1 && nondet>=y ], cost: NONTERM Chained accelerated rules (with incoming rules): Start location: [0] 0: [0] -> [1] : [ x>=1 && b<0 && a>=0 ], cost: 1 15: [0] -> [1] : x'=1, y'=15, [ x>=1 && b<0 && a>=0 && x>=y && z<42 ], cost: 4 16: [0] -> [1] : x'=nondet, a'=1+a, z'=a*b, [ x>=1 && b<0 && a>=0 && x>=y && z<42 ], cost: 4 17: [0] -> [5] : [ x>=1 && b<0 && a>=0 && x>=y && z<42 && 1>=y ], cost: NONTERM 18: [0] -> [5] : [ x>=1 && b<0 && a>=0 && x>=y && z<42 ], cost: NONTERM 19: [0] -> [5] : [ x>=1 && b<0 && a>=0 && x>=y && z<42 ], cost: NONTERM 20: [0] -> [5] : [ x>=1 && b<0 && a>=0 && x>=y && z<42 && y<=-1 ], cost: NONTERM Removed unreachable locations (and leaf rules with constant cost): Start location: [0] 17: [0] -> [5] : [ x>=1 && b<0 && a>=0 && x>=y && z<42 && 1>=y ], cost: NONTERM 18: [0] -> [5] : [ x>=1 && b<0 && a>=0 && x>=y && z<42 ], cost: NONTERM 19: [0] -> [5] : [ x>=1 && b<0 && a>=0 && x>=y && z<42 ], cost: NONTERM 20: [0] -> [5] : [ x>=1 && b<0 && a>=0 && x>=y && z<42 && y<=-1 ], cost: NONTERM ### Computing asymptotic complexity ### Fully simplified ITS problem Start location: [0] 17: [0] -> [5] : [ x>=1 && b<0 && a>=0 && x>=y && z<42 && 1>=y ], cost: NONTERM 19: [0] -> [5] : [ x>=1 && b<0 && a>=0 && x>=y && z<42 ], cost: NONTERM 20: [0] -> [5] : [ x>=1 && b<0 && a>=0 && x>=y && z<42 && y<=-1 ], cost: NONTERM Computing asymptotic complexity for rule 19 Guard is satisfiable, yielding nontermination Resulting cost NONTERM has complexity: Nonterm Found new complexity Nonterm. Obtained the following overall complexity (w.r.t. the length of the input n): Complexity: Nonterm Cpx degree: Nonterm Solved cost: NONTERM Rule cost: NONTERM Rule guard: [ x>=1 && b<0 && a>=0 && x>=y && z<42 ] NO