NO ### Pre-processing the ITS problem ### Initial linear ITS problem Start location: l14 0: l0 -> l1 : Result_4^0'=Result_4^post_1, __disjvr_0^0'=__disjvr_0^post_1, __disjvr_1^0'=__disjvr_1^post_1, __disjvr_2^0'=__disjvr_2^post_1, tmp_8^0'=tmp_8^post_1, x_5^0'=x_5^post_1, y_6^0'=y_6^post_1, z_7^0'=z_7^post_1, [ Result_4^0==Result_4^post_1 && __disjvr_0^0==__disjvr_0^post_1 && __disjvr_1^0==__disjvr_1^post_1 && __disjvr_2^0==__disjvr_2^post_1 && tmp_8^0==tmp_8^post_1 && x_5^0==x_5^post_1 && y_6^0==y_6^post_1 && z_7^0==z_7^post_1 ], cost: 1 7: l1 -> l7 : Result_4^0'=Result_4^post_8, __disjvr_0^0'=__disjvr_0^post_8, __disjvr_1^0'=__disjvr_1^post_8, __disjvr_2^0'=__disjvr_2^post_8, tmp_8^0'=tmp_8^post_8, x_5^0'=x_5^post_8, y_6^0'=y_6^post_8, z_7^0'=z_7^post_8, [ 0<=-1-x_5^0+y_6^0 && Result_4^0==Result_4^post_8 && __disjvr_0^0==__disjvr_0^post_8 && __disjvr_1^0==__disjvr_1^post_8 && __disjvr_2^0==__disjvr_2^post_8 && tmp_8^0==tmp_8^post_8 && x_5^0==x_5^post_8 && y_6^0==y_6^post_8 && z_7^0==z_7^post_8 ], cost: 1 8: l1 -> l8 : Result_4^0'=Result_4^post_9, __disjvr_0^0'=__disjvr_0^post_9, __disjvr_1^0'=__disjvr_1^post_9, __disjvr_2^0'=__disjvr_2^post_9, tmp_8^0'=tmp_8^post_9, x_5^0'=x_5^post_9, y_6^0'=y_6^post_9, z_7^0'=z_7^post_9, [ -x_5^0+y_6^0<=0 && Result_4^post_9==Result_4^post_9 && __disjvr_0^0==__disjvr_0^post_9 && __disjvr_1^0==__disjvr_1^post_9 && __disjvr_2^0==__disjvr_2^post_9 && tmp_8^0==tmp_8^post_9 && x_5^0==x_5^post_9 && y_6^0==y_6^post_9 && z_7^0==z_7^post_9 ], cost: 1 1: l2 -> l3 : Result_4^0'=Result_4^post_2, __disjvr_0^0'=__disjvr_0^post_2, __disjvr_1^0'=__disjvr_1^post_2, __disjvr_2^0'=__disjvr_2^post_2, tmp_8^0'=tmp_8^post_2, x_5^0'=x_5^post_2, y_6^0'=y_6^post_2, z_7^0'=z_7^post_2, [ 0<=-1+z_7^0-y_6^0 && tmp_8^post_2==tmp_8^post_2 && tmp_8^post_2<=0 && 0<=tmp_8^post_2 && Result_4^0==Result_4^post_2 && __disjvr_0^0==__disjvr_0^post_2 && __disjvr_1^0==__disjvr_1^post_2 && __disjvr_2^0==__disjvr_2^post_2 && x_5^0==x_5^post_2 && y_6^0==y_6^post_2 && z_7^0==z_7^post_2 ], cost: 1 2: l2 -> l5 : Result_4^0'=Result_4^post_3, __disjvr_0^0'=__disjvr_0^post_3, __disjvr_1^0'=__disjvr_1^post_3, __disjvr_2^0'=__disjvr_2^post_3, tmp_8^0'=tmp_8^post_3, x_5^0'=x_5^post_3, y_6^0'=y_6^post_3, z_7^0'=z_7^post_3, [ 0<=-1+z_7^0-y_6^0 && tmp_8^post_3==tmp_8^post_3 && Result_4^0==Result_4^post_3 && __disjvr_0^0==__disjvr_0^post_3 && __disjvr_1^0==__disjvr_1^post_3 && __disjvr_2^0==__disjvr_2^post_3 && x_5^0==x_5^post_3 && y_6^0==y_6^post_3 && z_7^0==z_7^post_3 ], cost: 1 6: l2 -> l1 : Result_4^0'=Result_4^post_7, __disjvr_0^0'=__disjvr_0^post_7, __disjvr_1^0'=__disjvr_1^post_7, __disjvr_2^0'=__disjvr_2^post_7, tmp_8^0'=tmp_8^post_7, x_5^0'=x_5^post_7, y_6^0'=y_6^post_7, z_7^0'=z_7^post_7, [ z_7^0-y_6^0<=0 && x_5^post_7==1+x_5^0 && Result_4^0==Result_4^post_7 && __disjvr_0^0==__disjvr_0^post_7 && __disjvr_1^0==__disjvr_1^post_7 && __disjvr_2^0==__disjvr_2^post_7 && tmp_8^0==tmp_8^post_7 && y_6^0==y_6^post_7 && z_7^0==z_7^post_7 ], cost: 1 14: l3 -> l11 : Result_4^0'=Result_4^post_15, __disjvr_0^0'=__disjvr_0^post_15, __disjvr_1^0'=__disjvr_1^post_15, __disjvr_2^0'=__disjvr_2^post_15, tmp_8^0'=tmp_8^post_15, x_5^0'=x_5^post_15, y_6^0'=y_6^post_15, z_7^0'=z_7^post_15, [ 0<=-1+z_7^0-y_6^0 && tmp_8^post_15==tmp_8^post_15 && tmp_8^post_15<=0 && 0<=tmp_8^post_15 && Result_4^0==Result_4^post_15 && __disjvr_0^0==__disjvr_0^post_15 && __disjvr_1^0==__disjvr_1^post_15 && __disjvr_2^0==__disjvr_2^post_15 && x_5^0==x_5^post_15 && y_6^0==y_6^post_15 && z_7^0==z_7^post_15 ], cost: 1 16: l3 -> l12 : Result_4^0'=Result_4^post_17, __disjvr_0^0'=__disjvr_0^post_17, __disjvr_1^0'=__disjvr_1^post_17, __disjvr_2^0'=__disjvr_2^post_17, tmp_8^0'=tmp_8^post_17, x_5^0'=x_5^post_17, y_6^0'=y_6^post_17, z_7^0'=z_7^post_17, [ 0<=-1+z_7^0-y_6^0 && tmp_8^post_17==tmp_8^post_17 && Result_4^0==Result_4^post_17 && __disjvr_0^0==__disjvr_0^post_17 && __disjvr_1^0==__disjvr_1^post_17 && __disjvr_2^0==__disjvr_2^post_17 && x_5^0==x_5^post_17 && y_6^0==y_6^post_17 && z_7^0==z_7^post_17 ], cost: 1 3: l5 -> l6 : Result_4^0'=Result_4^post_4, __disjvr_0^0'=__disjvr_0^post_4, __disjvr_1^0'=__disjvr_1^post_4, __disjvr_2^0'=__disjvr_2^post_4, tmp_8^0'=tmp_8^post_4, x_5^0'=x_5^post_4, y_6^0'=y_6^post_4, z_7^0'=z_7^post_4, [ __disjvr_0^post_4==__disjvr_0^0 && Result_4^0==Result_4^post_4 && __disjvr_0^0==__disjvr_0^post_4 && __disjvr_1^0==__disjvr_1^post_4 && __disjvr_2^0==__disjvr_2^post_4 && tmp_8^0==tmp_8^post_4 && x_5^0==x_5^post_4 && y_6^0==y_6^post_4 && z_7^0==z_7^post_4 ], cost: 1 4: l6 -> l4 : Result_4^0'=Result_4^post_5, __disjvr_0^0'=__disjvr_0^post_5, __disjvr_1^0'=__disjvr_1^post_5, __disjvr_2^0'=__disjvr_2^post_5, tmp_8^0'=tmp_8^post_5, x_5^0'=x_5^post_5, y_6^0'=y_6^post_5, z_7^0'=z_7^post_5, [ y_6^post_5==1+y_6^0 && Result_4^0==Result_4^post_5 && __disjvr_0^0==__disjvr_0^post_5 && __disjvr_1^0==__disjvr_1^post_5 && __disjvr_2^0==__disjvr_2^post_5 && tmp_8^0==tmp_8^post_5 && x_5^0==x_5^post_5 && z_7^0==z_7^post_5 ], cost: 1 5: l4 -> l2 : Result_4^0'=Result_4^post_6, __disjvr_0^0'=__disjvr_0^post_6, __disjvr_1^0'=__disjvr_1^post_6, __disjvr_2^0'=__disjvr_2^post_6, tmp_8^0'=tmp_8^post_6, x_5^0'=x_5^post_6, y_6^0'=y_6^post_6, z_7^0'=z_7^post_6, [ Result_4^0==Result_4^post_6 && __disjvr_0^0==__disjvr_0^post_6 && __disjvr_1^0==__disjvr_1^post_6 && __disjvr_2^0==__disjvr_2^post_6 && tmp_8^0==tmp_8^post_6 && x_5^0==x_5^post_6 && y_6^0==y_6^post_6 && z_7^0==z_7^post_6 ], cost: 1 9: l7 -> l3 : Result_4^0'=Result_4^post_10, __disjvr_0^0'=__disjvr_0^post_10, __disjvr_1^0'=__disjvr_1^post_10, __disjvr_2^0'=__disjvr_2^post_10, tmp_8^0'=tmp_8^post_10, x_5^0'=x_5^post_10, y_6^0'=y_6^post_10, z_7^0'=z_7^post_10, [ 0<=-1+z_7^0-y_6^0 && tmp_8^post_10==tmp_8^post_10 && tmp_8^post_10<=0 && 0<=tmp_8^post_10 && Result_4^0==Result_4^post_10 && __disjvr_0^0==__disjvr_0^post_10 && __disjvr_1^0==__disjvr_1^post_10 && __disjvr_2^0==__disjvr_2^post_10 && x_5^0==x_5^post_10 && y_6^0==y_6^post_10 && z_7^0==z_7^post_10 ], cost: 1 10: l7 -> l9 : Result_4^0'=Result_4^post_11, __disjvr_0^0'=__disjvr_0^post_11, __disjvr_1^0'=__disjvr_1^post_11, __disjvr_2^0'=__disjvr_2^post_11, tmp_8^0'=tmp_8^post_11, x_5^0'=x_5^post_11, y_6^0'=y_6^post_11, z_7^0'=z_7^post_11, [ 0<=-1+z_7^0-y_6^0 && tmp_8^post_11==tmp_8^post_11 && Result_4^0==Result_4^post_11 && __disjvr_0^0==__disjvr_0^post_11 && __disjvr_1^0==__disjvr_1^post_11 && __disjvr_2^0==__disjvr_2^post_11 && x_5^0==x_5^post_11 && y_6^0==y_6^post_11 && z_7^0==z_7^post_11 ], cost: 1 13: l7 -> l1 : Result_4^0'=Result_4^post_14, __disjvr_0^0'=__disjvr_0^post_14, __disjvr_1^0'=__disjvr_1^post_14, __disjvr_2^0'=__disjvr_2^post_14, tmp_8^0'=tmp_8^post_14, x_5^0'=x_5^post_14, y_6^0'=y_6^post_14, z_7^0'=z_7^post_14, [ z_7^0-y_6^0<=0 && x_5^post_14==1+x_5^0 && Result_4^0==Result_4^post_14 && __disjvr_0^0==__disjvr_0^post_14 && __disjvr_1^0==__disjvr_1^post_14 && __disjvr_2^0==__disjvr_2^post_14 && tmp_8^0==tmp_8^post_14 && y_6^0==y_6^post_14 && z_7^0==z_7^post_14 ], cost: 1 11: l9 -> l10 : Result_4^0'=Result_4^post_12, __disjvr_0^0'=__disjvr_0^post_12, __disjvr_1^0'=__disjvr_1^post_12, __disjvr_2^0'=__disjvr_2^post_12, tmp_8^0'=tmp_8^post_12, x_5^0'=x_5^post_12, y_6^0'=y_6^post_12, z_7^0'=z_7^post_12, [ __disjvr_1^post_12==__disjvr_1^0 && Result_4^0==Result_4^post_12 && __disjvr_0^0==__disjvr_0^post_12 && __disjvr_1^0==__disjvr_1^post_12 && __disjvr_2^0==__disjvr_2^post_12 && tmp_8^0==tmp_8^post_12 && x_5^0==x_5^post_12 && y_6^0==y_6^post_12 && z_7^0==z_7^post_12 ], cost: 1 12: l10 -> l2 : Result_4^0'=Result_4^post_13, __disjvr_0^0'=__disjvr_0^post_13, __disjvr_1^0'=__disjvr_1^post_13, __disjvr_2^0'=__disjvr_2^post_13, tmp_8^0'=tmp_8^post_13, x_5^0'=x_5^post_13, y_6^0'=y_6^post_13, z_7^0'=z_7^post_13, [ y_6^post_13==1+y_6^0 && Result_4^0==Result_4^post_13 && __disjvr_0^0==__disjvr_0^post_13 && __disjvr_1^0==__disjvr_1^post_13 && __disjvr_2^0==__disjvr_2^post_13 && tmp_8^0==tmp_8^post_13 && x_5^0==x_5^post_13 && z_7^0==z_7^post_13 ], cost: 1 15: l11 -> l3 : Result_4^0'=Result_4^post_16, __disjvr_0^0'=__disjvr_0^post_16, __disjvr_1^0'=__disjvr_1^post_16, __disjvr_2^0'=__disjvr_2^post_16, tmp_8^0'=tmp_8^post_16, x_5^0'=x_5^post_16, y_6^0'=y_6^post_16, z_7^0'=z_7^post_16, [ Result_4^0==Result_4^post_16 && __disjvr_0^0==__disjvr_0^post_16 && __disjvr_1^0==__disjvr_1^post_16 && __disjvr_2^0==__disjvr_2^post_16 && tmp_8^0==tmp_8^post_16 && x_5^0==x_5^post_16 && y_6^0==y_6^post_16 && z_7^0==z_7^post_16 ], cost: 1 17: l12 -> l13 : Result_4^0'=Result_4^post_18, __disjvr_0^0'=__disjvr_0^post_18, __disjvr_1^0'=__disjvr_1^post_18, __disjvr_2^0'=__disjvr_2^post_18, tmp_8^0'=tmp_8^post_18, x_5^0'=x_5^post_18, y_6^0'=y_6^post_18, z_7^0'=z_7^post_18, [ __disjvr_2^post_18==__disjvr_2^0 && Result_4^0==Result_4^post_18 && __disjvr_0^0==__disjvr_0^post_18 && __disjvr_1^0==__disjvr_1^post_18 && __disjvr_2^0==__disjvr_2^post_18 && tmp_8^0==tmp_8^post_18 && x_5^0==x_5^post_18 && y_6^0==y_6^post_18 && z_7^0==z_7^post_18 ], cost: 1 18: l13 -> l2 : Result_4^0'=Result_4^post_19, __disjvr_0^0'=__disjvr_0^post_19, __disjvr_1^0'=__disjvr_1^post_19, __disjvr_2^0'=__disjvr_2^post_19, tmp_8^0'=tmp_8^post_19, x_5^0'=x_5^post_19, y_6^0'=y_6^post_19, z_7^0'=z_7^post_19, [ y_6^post_19==1+y_6^0 && Result_4^0==Result_4^post_19 && __disjvr_0^0==__disjvr_0^post_19 && __disjvr_1^0==__disjvr_1^post_19 && __disjvr_2^0==__disjvr_2^post_19 && tmp_8^0==tmp_8^post_19 && x_5^0==x_5^post_19 && z_7^0==z_7^post_19 ], cost: 1 19: l14 -> l0 : Result_4^0'=Result_4^post_20, __disjvr_0^0'=__disjvr_0^post_20, __disjvr_1^0'=__disjvr_1^post_20, __disjvr_2^0'=__disjvr_2^post_20, tmp_8^0'=tmp_8^post_20, x_5^0'=x_5^post_20, y_6^0'=y_6^post_20, z_7^0'=z_7^post_20, [ Result_4^0==Result_4^post_20 && __disjvr_0^0==__disjvr_0^post_20 && __disjvr_1^0==__disjvr_1^post_20 && __disjvr_2^0==__disjvr_2^post_20 && tmp_8^0==tmp_8^post_20 && x_5^0==x_5^post_20 && y_6^0==y_6^post_20 && z_7^0==z_7^post_20 ], cost: 1 Checking for constant complexity: The following rule is satisfiable with cost >= 1, yielding constant complexity: 19: l14 -> l0 : Result_4^0'=Result_4^post_20, __disjvr_0^0'=__disjvr_0^post_20, __disjvr_1^0'=__disjvr_1^post_20, __disjvr_2^0'=__disjvr_2^post_20, tmp_8^0'=tmp_8^post_20, x_5^0'=x_5^post_20, y_6^0'=y_6^post_20, z_7^0'=z_7^post_20, [ Result_4^0==Result_4^post_20 && __disjvr_0^0==__disjvr_0^post_20 && __disjvr_1^0==__disjvr_1^post_20 && __disjvr_2^0==__disjvr_2^post_20 && tmp_8^0==tmp_8^post_20 && x_5^0==x_5^post_20 && y_6^0==y_6^post_20 && z_7^0==z_7^post_20 ], cost: 1 Removed unreachable and leaf rules: Start location: l14 0: l0 -> l1 : Result_4^0'=Result_4^post_1, __disjvr_0^0'=__disjvr_0^post_1, __disjvr_1^0'=__disjvr_1^post_1, __disjvr_2^0'=__disjvr_2^post_1, tmp_8^0'=tmp_8^post_1, x_5^0'=x_5^post_1, y_6^0'=y_6^post_1, z_7^0'=z_7^post_1, [ Result_4^0==Result_4^post_1 && __disjvr_0^0==__disjvr_0^post_1 && __disjvr_1^0==__disjvr_1^post_1 && __disjvr_2^0==__disjvr_2^post_1 && tmp_8^0==tmp_8^post_1 && x_5^0==x_5^post_1 && y_6^0==y_6^post_1 && z_7^0==z_7^post_1 ], cost: 1 7: l1 -> l7 : Result_4^0'=Result_4^post_8, __disjvr_0^0'=__disjvr_0^post_8, __disjvr_1^0'=__disjvr_1^post_8, __disjvr_2^0'=__disjvr_2^post_8, tmp_8^0'=tmp_8^post_8, x_5^0'=x_5^post_8, y_6^0'=y_6^post_8, z_7^0'=z_7^post_8, [ 0<=-1-x_5^0+y_6^0 && Result_4^0==Result_4^post_8 && __disjvr_0^0==__disjvr_0^post_8 && __disjvr_1^0==__disjvr_1^post_8 && __disjvr_2^0==__disjvr_2^post_8 && tmp_8^0==tmp_8^post_8 && x_5^0==x_5^post_8 && y_6^0==y_6^post_8 && z_7^0==z_7^post_8 ], cost: 1 1: l2 -> l3 : Result_4^0'=Result_4^post_2, __disjvr_0^0'=__disjvr_0^post_2, __disjvr_1^0'=__disjvr_1^post_2, __disjvr_2^0'=__disjvr_2^post_2, tmp_8^0'=tmp_8^post_2, x_5^0'=x_5^post_2, y_6^0'=y_6^post_2, z_7^0'=z_7^post_2, [ 0<=-1+z_7^0-y_6^0 && tmp_8^post_2==tmp_8^post_2 && tmp_8^post_2<=0 && 0<=tmp_8^post_2 && Result_4^0==Result_4^post_2 && __disjvr_0^0==__disjvr_0^post_2 && __disjvr_1^0==__disjvr_1^post_2 && __disjvr_2^0==__disjvr_2^post_2 && x_5^0==x_5^post_2 && y_6^0==y_6^post_2 && z_7^0==z_7^post_2 ], cost: 1 2: l2 -> l5 : Result_4^0'=Result_4^post_3, __disjvr_0^0'=__disjvr_0^post_3, __disjvr_1^0'=__disjvr_1^post_3, __disjvr_2^0'=__disjvr_2^post_3, tmp_8^0'=tmp_8^post_3, x_5^0'=x_5^post_3, y_6^0'=y_6^post_3, z_7^0'=z_7^post_3, [ 0<=-1+z_7^0-y_6^0 && tmp_8^post_3==tmp_8^post_3 && Result_4^0==Result_4^post_3 && __disjvr_0^0==__disjvr_0^post_3 && __disjvr_1^0==__disjvr_1^post_3 && __disjvr_2^0==__disjvr_2^post_3 && x_5^0==x_5^post_3 && y_6^0==y_6^post_3 && z_7^0==z_7^post_3 ], cost: 1 6: l2 -> l1 : Result_4^0'=Result_4^post_7, __disjvr_0^0'=__disjvr_0^post_7, __disjvr_1^0'=__disjvr_1^post_7, __disjvr_2^0'=__disjvr_2^post_7, tmp_8^0'=tmp_8^post_7, x_5^0'=x_5^post_7, y_6^0'=y_6^post_7, z_7^0'=z_7^post_7, [ z_7^0-y_6^0<=0 && x_5^post_7==1+x_5^0 && Result_4^0==Result_4^post_7 && __disjvr_0^0==__disjvr_0^post_7 && __disjvr_1^0==__disjvr_1^post_7 && __disjvr_2^0==__disjvr_2^post_7 && tmp_8^0==tmp_8^post_7 && y_6^0==y_6^post_7 && z_7^0==z_7^post_7 ], cost: 1 14: l3 -> l11 : Result_4^0'=Result_4^post_15, __disjvr_0^0'=__disjvr_0^post_15, __disjvr_1^0'=__disjvr_1^post_15, __disjvr_2^0'=__disjvr_2^post_15, tmp_8^0'=tmp_8^post_15, x_5^0'=x_5^post_15, y_6^0'=y_6^post_15, z_7^0'=z_7^post_15, [ 0<=-1+z_7^0-y_6^0 && tmp_8^post_15==tmp_8^post_15 && tmp_8^post_15<=0 && 0<=tmp_8^post_15 && Result_4^0==Result_4^post_15 && __disjvr_0^0==__disjvr_0^post_15 && __disjvr_1^0==__disjvr_1^post_15 && __disjvr_2^0==__disjvr_2^post_15 && x_5^0==x_5^post_15 && y_6^0==y_6^post_15 && z_7^0==z_7^post_15 ], cost: 1 16: l3 -> l12 : Result_4^0'=Result_4^post_17, __disjvr_0^0'=__disjvr_0^post_17, __disjvr_1^0'=__disjvr_1^post_17, __disjvr_2^0'=__disjvr_2^post_17, tmp_8^0'=tmp_8^post_17, x_5^0'=x_5^post_17, y_6^0'=y_6^post_17, z_7^0'=z_7^post_17, [ 0<=-1+z_7^0-y_6^0 && tmp_8^post_17==tmp_8^post_17 && Result_4^0==Result_4^post_17 && __disjvr_0^0==__disjvr_0^post_17 && __disjvr_1^0==__disjvr_1^post_17 && __disjvr_2^0==__disjvr_2^post_17 && x_5^0==x_5^post_17 && y_6^0==y_6^post_17 && z_7^0==z_7^post_17 ], cost: 1 3: l5 -> l6 : Result_4^0'=Result_4^post_4, __disjvr_0^0'=__disjvr_0^post_4, __disjvr_1^0'=__disjvr_1^post_4, __disjvr_2^0'=__disjvr_2^post_4, tmp_8^0'=tmp_8^post_4, x_5^0'=x_5^post_4, y_6^0'=y_6^post_4, z_7^0'=z_7^post_4, [ __disjvr_0^post_4==__disjvr_0^0 && Result_4^0==Result_4^post_4 && __disjvr_0^0==__disjvr_0^post_4 && __disjvr_1^0==__disjvr_1^post_4 && __disjvr_2^0==__disjvr_2^post_4 && tmp_8^0==tmp_8^post_4 && x_5^0==x_5^post_4 && y_6^0==y_6^post_4 && z_7^0==z_7^post_4 ], cost: 1 4: l6 -> l4 : Result_4^0'=Result_4^post_5, __disjvr_0^0'=__disjvr_0^post_5, __disjvr_1^0'=__disjvr_1^post_5, __disjvr_2^0'=__disjvr_2^post_5, tmp_8^0'=tmp_8^post_5, x_5^0'=x_5^post_5, y_6^0'=y_6^post_5, z_7^0'=z_7^post_5, [ y_6^post_5==1+y_6^0 && Result_4^0==Result_4^post_5 && __disjvr_0^0==__disjvr_0^post_5 && __disjvr_1^0==__disjvr_1^post_5 && __disjvr_2^0==__disjvr_2^post_5 && tmp_8^0==tmp_8^post_5 && x_5^0==x_5^post_5 && z_7^0==z_7^post_5 ], cost: 1 5: l4 -> l2 : Result_4^0'=Result_4^post_6, __disjvr_0^0'=__disjvr_0^post_6, __disjvr_1^0'=__disjvr_1^post_6, __disjvr_2^0'=__disjvr_2^post_6, tmp_8^0'=tmp_8^post_6, x_5^0'=x_5^post_6, y_6^0'=y_6^post_6, z_7^0'=z_7^post_6, [ Result_4^0==Result_4^post_6 && __disjvr_0^0==__disjvr_0^post_6 && __disjvr_1^0==__disjvr_1^post_6 && __disjvr_2^0==__disjvr_2^post_6 && tmp_8^0==tmp_8^post_6 && x_5^0==x_5^post_6 && y_6^0==y_6^post_6 && z_7^0==z_7^post_6 ], cost: 1 9: l7 -> l3 : Result_4^0'=Result_4^post_10, __disjvr_0^0'=__disjvr_0^post_10, __disjvr_1^0'=__disjvr_1^post_10, __disjvr_2^0'=__disjvr_2^post_10, tmp_8^0'=tmp_8^post_10, x_5^0'=x_5^post_10, y_6^0'=y_6^post_10, z_7^0'=z_7^post_10, [ 0<=-1+z_7^0-y_6^0 && tmp_8^post_10==tmp_8^post_10 && tmp_8^post_10<=0 && 0<=tmp_8^post_10 && Result_4^0==Result_4^post_10 && __disjvr_0^0==__disjvr_0^post_10 && __disjvr_1^0==__disjvr_1^post_10 && __disjvr_2^0==__disjvr_2^post_10 && x_5^0==x_5^post_10 && y_6^0==y_6^post_10 && z_7^0==z_7^post_10 ], cost: 1 10: l7 -> l9 : Result_4^0'=Result_4^post_11, __disjvr_0^0'=__disjvr_0^post_11, __disjvr_1^0'=__disjvr_1^post_11, __disjvr_2^0'=__disjvr_2^post_11, tmp_8^0'=tmp_8^post_11, x_5^0'=x_5^post_11, y_6^0'=y_6^post_11, z_7^0'=z_7^post_11, [ 0<=-1+z_7^0-y_6^0 && tmp_8^post_11==tmp_8^post_11 && Result_4^0==Result_4^post_11 && __disjvr_0^0==__disjvr_0^post_11 && __disjvr_1^0==__disjvr_1^post_11 && __disjvr_2^0==__disjvr_2^post_11 && x_5^0==x_5^post_11 && y_6^0==y_6^post_11 && z_7^0==z_7^post_11 ], cost: 1 13: l7 -> l1 : Result_4^0'=Result_4^post_14, __disjvr_0^0'=__disjvr_0^post_14, __disjvr_1^0'=__disjvr_1^post_14, __disjvr_2^0'=__disjvr_2^post_14, tmp_8^0'=tmp_8^post_14, x_5^0'=x_5^post_14, y_6^0'=y_6^post_14, z_7^0'=z_7^post_14, [ z_7^0-y_6^0<=0 && x_5^post_14==1+x_5^0 && Result_4^0==Result_4^post_14 && __disjvr_0^0==__disjvr_0^post_14 && __disjvr_1^0==__disjvr_1^post_14 && __disjvr_2^0==__disjvr_2^post_14 && tmp_8^0==tmp_8^post_14 && y_6^0==y_6^post_14 && z_7^0==z_7^post_14 ], cost: 1 11: l9 -> l10 : Result_4^0'=Result_4^post_12, __disjvr_0^0'=__disjvr_0^post_12, __disjvr_1^0'=__disjvr_1^post_12, __disjvr_2^0'=__disjvr_2^post_12, tmp_8^0'=tmp_8^post_12, x_5^0'=x_5^post_12, y_6^0'=y_6^post_12, z_7^0'=z_7^post_12, [ __disjvr_1^post_12==__disjvr_1^0 && Result_4^0==Result_4^post_12 && __disjvr_0^0==__disjvr_0^post_12 && __disjvr_1^0==__disjvr_1^post_12 && __disjvr_2^0==__disjvr_2^post_12 && tmp_8^0==tmp_8^post_12 && x_5^0==x_5^post_12 && y_6^0==y_6^post_12 && z_7^0==z_7^post_12 ], cost: 1 12: l10 -> l2 : Result_4^0'=Result_4^post_13, __disjvr_0^0'=__disjvr_0^post_13, __disjvr_1^0'=__disjvr_1^post_13, __disjvr_2^0'=__disjvr_2^post_13, tmp_8^0'=tmp_8^post_13, x_5^0'=x_5^post_13, y_6^0'=y_6^post_13, z_7^0'=z_7^post_13, [ y_6^post_13==1+y_6^0 && Result_4^0==Result_4^post_13 && __disjvr_0^0==__disjvr_0^post_13 && __disjvr_1^0==__disjvr_1^post_13 && __disjvr_2^0==__disjvr_2^post_13 && tmp_8^0==tmp_8^post_13 && x_5^0==x_5^post_13 && z_7^0==z_7^post_13 ], cost: 1 15: l11 -> l3 : Result_4^0'=Result_4^post_16, __disjvr_0^0'=__disjvr_0^post_16, __disjvr_1^0'=__disjvr_1^post_16, __disjvr_2^0'=__disjvr_2^post_16, tmp_8^0'=tmp_8^post_16, x_5^0'=x_5^post_16, y_6^0'=y_6^post_16, z_7^0'=z_7^post_16, [ Result_4^0==Result_4^post_16 && __disjvr_0^0==__disjvr_0^post_16 && __disjvr_1^0==__disjvr_1^post_16 && __disjvr_2^0==__disjvr_2^post_16 && tmp_8^0==tmp_8^post_16 && x_5^0==x_5^post_16 && y_6^0==y_6^post_16 && z_7^0==z_7^post_16 ], cost: 1 17: l12 -> l13 : Result_4^0'=Result_4^post_18, __disjvr_0^0'=__disjvr_0^post_18, __disjvr_1^0'=__disjvr_1^post_18, __disjvr_2^0'=__disjvr_2^post_18, tmp_8^0'=tmp_8^post_18, x_5^0'=x_5^post_18, y_6^0'=y_6^post_18, z_7^0'=z_7^post_18, [ __disjvr_2^post_18==__disjvr_2^0 && Result_4^0==Result_4^post_18 && __disjvr_0^0==__disjvr_0^post_18 && __disjvr_1^0==__disjvr_1^post_18 && __disjvr_2^0==__disjvr_2^post_18 && tmp_8^0==tmp_8^post_18 && x_5^0==x_5^post_18 && y_6^0==y_6^post_18 && z_7^0==z_7^post_18 ], cost: 1 18: l13 -> l2 : Result_4^0'=Result_4^post_19, __disjvr_0^0'=__disjvr_0^post_19, __disjvr_1^0'=__disjvr_1^post_19, __disjvr_2^0'=__disjvr_2^post_19, tmp_8^0'=tmp_8^post_19, x_5^0'=x_5^post_19, y_6^0'=y_6^post_19, z_7^0'=z_7^post_19, [ y_6^post_19==1+y_6^0 && Result_4^0==Result_4^post_19 && __disjvr_0^0==__disjvr_0^post_19 && __disjvr_1^0==__disjvr_1^post_19 && __disjvr_2^0==__disjvr_2^post_19 && tmp_8^0==tmp_8^post_19 && x_5^0==x_5^post_19 && z_7^0==z_7^post_19 ], cost: 1 19: l14 -> l0 : Result_4^0'=Result_4^post_20, __disjvr_0^0'=__disjvr_0^post_20, __disjvr_1^0'=__disjvr_1^post_20, __disjvr_2^0'=__disjvr_2^post_20, tmp_8^0'=tmp_8^post_20, x_5^0'=x_5^post_20, y_6^0'=y_6^post_20, z_7^0'=z_7^post_20, [ Result_4^0==Result_4^post_20 && __disjvr_0^0==__disjvr_0^post_20 && __disjvr_1^0==__disjvr_1^post_20 && __disjvr_2^0==__disjvr_2^post_20 && tmp_8^0==tmp_8^post_20 && x_5^0==x_5^post_20 && y_6^0==y_6^post_20 && z_7^0==z_7^post_20 ], cost: 1 Simplified all rules, resulting in: Start location: l14 0: l0 -> l1 : [], cost: 1 7: l1 -> l7 : [ 0<=-1-x_5^0+y_6^0 ], cost: 1 1: l2 -> l3 : tmp_8^0'=0, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 2: l2 -> l5 : tmp_8^0'=tmp_8^post_3, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 6: l2 -> l1 : x_5^0'=1+x_5^0, [ z_7^0-y_6^0<=0 ], cost: 1 14: l3 -> l11 : tmp_8^0'=0, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 16: l3 -> l12 : tmp_8^0'=tmp_8^post_17, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 3: l5 -> l6 : [], cost: 1 4: l6 -> l4 : y_6^0'=1+y_6^0, [], cost: 1 5: l4 -> l2 : [], cost: 1 9: l7 -> l3 : tmp_8^0'=0, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 10: l7 -> l9 : tmp_8^0'=tmp_8^post_11, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 13: l7 -> l1 : x_5^0'=1+x_5^0, [ z_7^0-y_6^0<=0 ], cost: 1 11: l9 -> l10 : [], cost: 1 12: l10 -> l2 : y_6^0'=1+y_6^0, [], cost: 1 15: l11 -> l3 : [], cost: 1 17: l12 -> l13 : [], cost: 1 18: l13 -> l2 : y_6^0'=1+y_6^0, [], cost: 1 19: l14 -> l0 : [], cost: 1 ### Simplification by acceleration and chaining ### Eliminated locations (on linear paths): Start location: l14 7: l1 -> l7 : [ 0<=-1-x_5^0+y_6^0 ], cost: 1 1: l2 -> l3 : tmp_8^0'=0, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 6: l2 -> l1 : x_5^0'=1+x_5^0, [ z_7^0-y_6^0<=0 ], cost: 1 25: l2 -> l2 : tmp_8^0'=tmp_8^post_3, y_6^0'=1+y_6^0, [ 0<=-1+z_7^0-y_6^0 ], cost: 4 26: l3 -> l3 : tmp_8^0'=0, [ 0<=-1+z_7^0-y_6^0 ], cost: 2 28: l3 -> l2 : tmp_8^0'=tmp_8^post_17, y_6^0'=1+y_6^0, [ 0<=-1+z_7^0-y_6^0 ], cost: 3 9: l7 -> l3 : tmp_8^0'=0, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 13: l7 -> l1 : x_5^0'=1+x_5^0, [ z_7^0-y_6^0<=0 ], cost: 1 22: l7 -> l2 : tmp_8^0'=tmp_8^post_11, y_6^0'=1+y_6^0, [ 0<=-1+z_7^0-y_6^0 ], cost: 3 20: l14 -> l1 : [], cost: 2 Accelerating simple loops of location 2. Accelerating the following rules: 25: l2 -> l2 : tmp_8^0'=tmp_8^post_3, y_6^0'=1+y_6^0, [ 0<=-1+z_7^0-y_6^0 ], cost: 4 Accelerated rule 25 with backward acceleration, yielding the new rule 29. [accelerate] Nesting with 1 inner and 1 outer candidates Removing the simple loops: 25. Accelerating simple loops of location 3. Accelerating the following rules: 26: l3 -> l3 : tmp_8^0'=0, [ 0<=-1+z_7^0-y_6^0 ], cost: 2 Accelerated rule 26 with non-termination, yielding the new rule 30. [accelerate] Nesting with 0 inner and 0 outer candidates Removing the simple loops: 26. Accelerated all simple loops using metering functions (where possible): Start location: l14 7: l1 -> l7 : [ 0<=-1-x_5^0+y_6^0 ], cost: 1 1: l2 -> l3 : tmp_8^0'=0, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 6: l2 -> l1 : x_5^0'=1+x_5^0, [ z_7^0-y_6^0<=0 ], cost: 1 29: l2 -> l2 : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ z_7^0-y_6^0>=1 ], cost: 4*z_7^0-4*y_6^0 28: l3 -> l2 : tmp_8^0'=tmp_8^post_17, y_6^0'=1+y_6^0, [ 0<=-1+z_7^0-y_6^0 ], cost: 3 30: l3 -> [16] : [ 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 9: l7 -> l3 : tmp_8^0'=0, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 13: l7 -> l1 : x_5^0'=1+x_5^0, [ z_7^0-y_6^0<=0 ], cost: 1 22: l7 -> l2 : tmp_8^0'=tmp_8^post_11, y_6^0'=1+y_6^0, [ 0<=-1+z_7^0-y_6^0 ], cost: 3 20: l14 -> l1 : [], cost: 2 Chained accelerated rules (with incoming rules): Start location: l14 7: l1 -> l7 : [ 0<=-1-x_5^0+y_6^0 ], cost: 1 1: l2 -> l3 : tmp_8^0'=0, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 6: l2 -> l1 : x_5^0'=1+x_5^0, [ z_7^0-y_6^0<=0 ], cost: 1 33: l2 -> [16] : [ 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 28: l3 -> l2 : tmp_8^0'=tmp_8^post_17, y_6^0'=1+y_6^0, [ 0<=-1+z_7^0-y_6^0 ], cost: 3 32: l3 -> l2 : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ -1+z_7^0-y_6^0>=1 ], cost: -1+4*z_7^0-4*y_6^0 9: l7 -> l3 : tmp_8^0'=0, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 13: l7 -> l1 : x_5^0'=1+x_5^0, [ z_7^0-y_6^0<=0 ], cost: 1 22: l7 -> l2 : tmp_8^0'=tmp_8^post_11, y_6^0'=1+y_6^0, [ 0<=-1+z_7^0-y_6^0 ], cost: 3 31: l7 -> l2 : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ -1+z_7^0-y_6^0>=1 ], cost: -1+4*z_7^0-4*y_6^0 34: l7 -> [16] : [ 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 20: l14 -> l1 : [], cost: 2 Eliminated locations (on tree-shaped paths): Start location: l14 35: l1 -> l3 : tmp_8^0'=0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: 2 36: l1 -> l1 : x_5^0'=1+x_5^0, [ 0<=-1-x_5^0+y_6^0 && z_7^0-y_6^0<=0 ], cost: 2 37: l1 -> l2 : tmp_8^0'=tmp_8^post_11, y_6^0'=1+y_6^0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: 4 38: l1 -> l2 : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 ], cost: 4*z_7^0-4*y_6^0 39: l1 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 1: l2 -> l3 : tmp_8^0'=0, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 6: l2 -> l1 : x_5^0'=1+x_5^0, [ z_7^0-y_6^0<=0 ], cost: 1 33: l2 -> [16] : [ 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 28: l3 -> l2 : tmp_8^0'=tmp_8^post_17, y_6^0'=1+y_6^0, [ 0<=-1+z_7^0-y_6^0 ], cost: 3 32: l3 -> l2 : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ -1+z_7^0-y_6^0>=1 ], cost: -1+4*z_7^0-4*y_6^0 20: l14 -> l1 : [], cost: 2 Accelerating simple loops of location 1. Accelerating the following rules: 36: l1 -> l1 : x_5^0'=1+x_5^0, [ 0<=-1-x_5^0+y_6^0 && z_7^0-y_6^0<=0 ], cost: 2 Accelerated rule 36 with backward acceleration, yielding the new rule 40. [accelerate] Nesting with 1 inner and 1 outer candidates Removing the simple loops: 36. Accelerated all simple loops using metering functions (where possible): Start location: l14 35: l1 -> l3 : tmp_8^0'=0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: 2 37: l1 -> l2 : tmp_8^0'=tmp_8^post_11, y_6^0'=1+y_6^0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: 4 38: l1 -> l2 : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 ], cost: 4*z_7^0-4*y_6^0 39: l1 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 40: l1 -> l1 : x_5^0'=y_6^0, [ z_7^0-y_6^0<=0 && -x_5^0+y_6^0>=0 ], cost: -2*x_5^0+2*y_6^0 1: l2 -> l3 : tmp_8^0'=0, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 6: l2 -> l1 : x_5^0'=1+x_5^0, [ z_7^0-y_6^0<=0 ], cost: 1 33: l2 -> [16] : [ 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 28: l3 -> l2 : tmp_8^0'=tmp_8^post_17, y_6^0'=1+y_6^0, [ 0<=-1+z_7^0-y_6^0 ], cost: 3 32: l3 -> l2 : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ -1+z_7^0-y_6^0>=1 ], cost: -1+4*z_7^0-4*y_6^0 20: l14 -> l1 : [], cost: 2 Chained accelerated rules (with incoming rules): Start location: l14 35: l1 -> l3 : tmp_8^0'=0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: 2 37: l1 -> l2 : tmp_8^0'=tmp_8^post_11, y_6^0'=1+y_6^0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: 4 38: l1 -> l2 : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 ], cost: 4*z_7^0-4*y_6^0 39: l1 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 1: l2 -> l3 : tmp_8^0'=0, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 6: l2 -> l1 : x_5^0'=1+x_5^0, [ z_7^0-y_6^0<=0 ], cost: 1 33: l2 -> [16] : [ 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 41: l2 -> l1 : x_5^0'=y_6^0, [ z_7^0-y_6^0<=0 && -1-x_5^0+y_6^0>=0 ], cost: -1-2*x_5^0+2*y_6^0 28: l3 -> l2 : tmp_8^0'=tmp_8^post_17, y_6^0'=1+y_6^0, [ 0<=-1+z_7^0-y_6^0 ], cost: 3 32: l3 -> l2 : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ -1+z_7^0-y_6^0>=1 ], cost: -1+4*z_7^0-4*y_6^0 20: l14 -> l1 : [], cost: 2 42: l14 -> l1 : x_5^0'=y_6^0, [ z_7^0-y_6^0<=0 && -x_5^0+y_6^0>=0 ], cost: 2-2*x_5^0+2*y_6^0 Eliminated location l1 (as a last resort): Start location: l14 1: l2 -> l3 : tmp_8^0'=0, [ 0<=-1+z_7^0-y_6^0 ], cost: 1 33: l2 -> [16] : [ 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 47: l2 -> [18] : [ z_7^0-y_6^0<=0 && -1-x_5^0+y_6^0>=0 ], cost: -1-2*x_5^0+2*y_6^0 28: l3 -> l2 : tmp_8^0'=tmp_8^post_17, y_6^0'=1+y_6^0, [ 0<=-1+z_7^0-y_6^0 ], cost: 3 32: l3 -> l2 : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ -1+z_7^0-y_6^0>=1 ], cost: -1+4*z_7^0-4*y_6^0 43: l14 -> l3 : tmp_8^0'=0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: 4 44: l14 -> l2 : tmp_8^0'=tmp_8^post_11, y_6^0'=1+y_6^0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: 6 45: l14 -> l2 : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 ], cost: 2+4*z_7^0-4*y_6^0 46: l14 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 48: l14 -> [18] : [ z_7^0-y_6^0<=0 && -x_5^0+y_6^0>=0 ], cost: 2-2*x_5^0+2*y_6^0 Eliminated location l2 (as a last resort): Start location: l14 49: l3 -> l3 : tmp_8^0'=0, y_6^0'=1+y_6^0, [ 0<=-2+z_7^0-y_6^0 ], cost: 4 50: l3 -> [16] : [ 0<=-2+z_7^0-y_6^0 ], cost: NONTERM 51: l3 -> [18] : tmp_8^0'=tmp_8^post_17, y_6^0'=1+y_6^0, [ 0<=-1+z_7^0-y_6^0 && -1+z_7^0-y_6^0<=0 && -x_5^0+y_6^0>=0 ], cost: 4-2*x_5^0+2*y_6^0 52: l3 -> [18] : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ -1+z_7^0-y_6^0>=1 && -1+z_7^0-x_5^0>=0 ], cost: -2+6*z_7^0-2*x_5^0-4*y_6^0 57: l3 -> [19] : [ -1+z_7^0-y_6^0>=1 ], cost: -1+4*z_7^0-4*y_6^0 43: l14 -> l3 : tmp_8^0'=0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: 4 46: l14 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 48: l14 -> [18] : [ z_7^0-y_6^0<=0 && -x_5^0+y_6^0>=0 ], cost: 2-2*x_5^0+2*y_6^0 53: l14 -> l3 : tmp_8^0'=0, y_6^0'=1+y_6^0, [ 0<=-1-x_5^0+y_6^0 && 0<=-2+z_7^0-y_6^0 ], cost: 7 54: l14 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-2+z_7^0-y_6^0 ], cost: NONTERM 55: l14 -> [18] : tmp_8^0'=tmp_8^post_11, y_6^0'=1+y_6^0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 && -1+z_7^0-y_6^0<=0 ], cost: 7-2*x_5^0+2*y_6^0 56: l14 -> [18] : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 && -1+z_7^0-x_5^0>=0 ], cost: 1+6*z_7^0-2*x_5^0-4*y_6^0 58: l14 -> [19] : [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 ], cost: 2+4*z_7^0-4*y_6^0 Accelerating simple loops of location 3. Accelerating the following rules: 49: l3 -> l3 : tmp_8^0'=0, y_6^0'=1+y_6^0, [ 0<=-2+z_7^0-y_6^0 ], cost: 4 Accelerated rule 49 with backward acceleration, yielding the new rule 59. [accelerate] Nesting with 1 inner and 1 outer candidates Removing the simple loops: 49. Accelerated all simple loops using metering functions (where possible): Start location: l14 50: l3 -> [16] : [ 0<=-2+z_7^0-y_6^0 ], cost: NONTERM 51: l3 -> [18] : tmp_8^0'=tmp_8^post_17, y_6^0'=1+y_6^0, [ 0<=-1+z_7^0-y_6^0 && -1+z_7^0-y_6^0<=0 && -x_5^0+y_6^0>=0 ], cost: 4-2*x_5^0+2*y_6^0 52: l3 -> [18] : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ -1+z_7^0-y_6^0>=1 && -1+z_7^0-x_5^0>=0 ], cost: -2+6*z_7^0-2*x_5^0-4*y_6^0 57: l3 -> [19] : [ -1+z_7^0-y_6^0>=1 ], cost: -1+4*z_7^0-4*y_6^0 59: l3 -> l3 : tmp_8^0'=0, y_6^0'=-1+z_7^0, [ -1+z_7^0-y_6^0>=1 ], cost: -4+4*z_7^0-4*y_6^0 43: l14 -> l3 : tmp_8^0'=0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: 4 46: l14 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 48: l14 -> [18] : [ z_7^0-y_6^0<=0 && -x_5^0+y_6^0>=0 ], cost: 2-2*x_5^0+2*y_6^0 53: l14 -> l3 : tmp_8^0'=0, y_6^0'=1+y_6^0, [ 0<=-1-x_5^0+y_6^0 && 0<=-2+z_7^0-y_6^0 ], cost: 7 54: l14 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-2+z_7^0-y_6^0 ], cost: NONTERM 55: l14 -> [18] : tmp_8^0'=tmp_8^post_11, y_6^0'=1+y_6^0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 && -1+z_7^0-y_6^0<=0 ], cost: 7-2*x_5^0+2*y_6^0 56: l14 -> [18] : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 && -1+z_7^0-x_5^0>=0 ], cost: 1+6*z_7^0-2*x_5^0-4*y_6^0 58: l14 -> [19] : [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 ], cost: 2+4*z_7^0-4*y_6^0 Chained accelerated rules (with incoming rules): Start location: l14 50: l3 -> [16] : [ 0<=-2+z_7^0-y_6^0 ], cost: NONTERM 51: l3 -> [18] : tmp_8^0'=tmp_8^post_17, y_6^0'=1+y_6^0, [ 0<=-1+z_7^0-y_6^0 && -1+z_7^0-y_6^0<=0 && -x_5^0+y_6^0>=0 ], cost: 4-2*x_5^0+2*y_6^0 52: l3 -> [18] : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ -1+z_7^0-y_6^0>=1 && -1+z_7^0-x_5^0>=0 ], cost: -2+6*z_7^0-2*x_5^0-4*y_6^0 57: l3 -> [19] : [ -1+z_7^0-y_6^0>=1 ], cost: -1+4*z_7^0-4*y_6^0 43: l14 -> l3 : tmp_8^0'=0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: 4 46: l14 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 48: l14 -> [18] : [ z_7^0-y_6^0<=0 && -x_5^0+y_6^0>=0 ], cost: 2-2*x_5^0+2*y_6^0 53: l14 -> l3 : tmp_8^0'=0, y_6^0'=1+y_6^0, [ 0<=-1-x_5^0+y_6^0 && 0<=-2+z_7^0-y_6^0 ], cost: 7 54: l14 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-2+z_7^0-y_6^0 ], cost: NONTERM 55: l14 -> [18] : tmp_8^0'=tmp_8^post_11, y_6^0'=1+y_6^0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 && -1+z_7^0-y_6^0<=0 ], cost: 7-2*x_5^0+2*y_6^0 56: l14 -> [18] : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 && -1+z_7^0-x_5^0>=0 ], cost: 1+6*z_7^0-2*x_5^0-4*y_6^0 58: l14 -> [19] : [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 ], cost: 2+4*z_7^0-4*y_6^0 60: l14 -> l3 : tmp_8^0'=0, y_6^0'=-1+z_7^0, [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 ], cost: 4*z_7^0-4*y_6^0 61: l14 -> l3 : tmp_8^0'=0, y_6^0'=-1+z_7^0, [ 0<=-1-x_5^0+y_6^0 && -2+z_7^0-y_6^0>=1 ], cost: -1+4*z_7^0-4*y_6^0 Eliminated locations (on tree-shaped paths): Start location: l14 46: l14 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 48: l14 -> [18] : [ z_7^0-y_6^0<=0 && -x_5^0+y_6^0>=0 ], cost: 2-2*x_5^0+2*y_6^0 54: l14 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-2+z_7^0-y_6^0 ], cost: NONTERM 55: l14 -> [18] : tmp_8^0'=tmp_8^post_11, y_6^0'=1+y_6^0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 && -1+z_7^0-y_6^0<=0 ], cost: 7-2*x_5^0+2*y_6^0 56: l14 -> [18] : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 && -1+z_7^0-x_5^0>=0 ], cost: 1+6*z_7^0-2*x_5^0-4*y_6^0 58: l14 -> [19] : [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 ], cost: 2+4*z_7^0-4*y_6^0 62: l14 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-2+z_7^0-y_6^0 ], cost: NONTERM 63: l14 -> [18] : tmp_8^0'=tmp_8^post_17, y_6^0'=1+y_6^0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 && -1+z_7^0-y_6^0<=0 ], cost: 8-2*x_5^0+2*y_6^0 64: l14 -> [18] : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 && -1+z_7^0-x_5^0>=0 ], cost: 2+6*z_7^0-2*x_5^0-4*y_6^0 65: l14 -> [19] : tmp_8^0'=0, [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 ], cost: 3+4*z_7^0-4*y_6^0 66: l14 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-3+z_7^0-y_6^0 ], cost: NONTERM 67: l14 -> [18] : tmp_8^0'=tmp_8^post_17, y_6^0'=2+y_6^0, [ 0<=-1-x_5^0+y_6^0 && 0<=-2+z_7^0-y_6^0 && -2+z_7^0-y_6^0<=0 ], cost: 13-2*x_5^0+2*y_6^0 68: l14 -> [18] : tmp_8^0'=tmp_8^post_3, y_6^0'=z_7^0, [ 0<=-1-x_5^0+y_6^0 && -2+z_7^0-y_6^0>=1 && -1+z_7^0-x_5^0>=0 ], cost: 1+6*z_7^0-2*x_5^0-4*y_6^0 69: l14 -> [19] : tmp_8^0'=0, y_6^0'=1+y_6^0, [ 0<=-1-x_5^0+y_6^0 && -2+z_7^0-y_6^0>=1 ], cost: 2+4*z_7^0-4*y_6^0 70: l14 -> [18] : tmp_8^0'=tmp_8^post_17, y_6^0'=z_7^0, [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 && -1+z_7^0-x_5^0>=0 ], cost: 2+6*z_7^0-2*x_5^0-4*y_6^0 71: l14 -> [18] : tmp_8^0'=tmp_8^post_17, y_6^0'=z_7^0, [ 0<=-1-x_5^0+y_6^0 && -2+z_7^0-y_6^0>=1 && -1+z_7^0-x_5^0>=0 ], cost: 1+6*z_7^0-2*x_5^0-4*y_6^0 72: l14 -> [21] : [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 ], cost: 4*z_7^0-4*y_6^0 73: l14 -> [21] : [ 0<=-1-x_5^0+y_6^0 && -2+z_7^0-y_6^0>=1 ], cost: -1+4*z_7^0-4*y_6^0 ### Computing asymptotic complexity ### Fully simplified ITS problem Start location: l14 46: l14 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ], cost: NONTERM 48: l14 -> [18] : [ z_7^0-y_6^0<=0 && -x_5^0+y_6^0>=0 ], cost: 2-2*x_5^0+2*y_6^0 62: l14 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-2+z_7^0-y_6^0 ], cost: NONTERM 63: l14 -> [18] : tmp_8^0'=tmp_8^post_17, y_6^0'=1+y_6^0, [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 && -1+z_7^0-y_6^0<=0 ], cost: 8-2*x_5^0+2*y_6^0 65: l14 -> [19] : tmp_8^0'=0, [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 ], cost: 3+4*z_7^0-4*y_6^0 66: l14 -> [16] : [ 0<=-1-x_5^0+y_6^0 && 0<=-3+z_7^0-y_6^0 ], cost: NONTERM 67: l14 -> [18] : tmp_8^0'=tmp_8^post_17, y_6^0'=2+y_6^0, [ 0<=-1-x_5^0+y_6^0 && 0<=-2+z_7^0-y_6^0 && -2+z_7^0-y_6^0<=0 ], cost: 13-2*x_5^0+2*y_6^0 69: l14 -> [19] : tmp_8^0'=0, y_6^0'=1+y_6^0, [ 0<=-1-x_5^0+y_6^0 && -2+z_7^0-y_6^0>=1 ], cost: 2+4*z_7^0-4*y_6^0 70: l14 -> [18] : tmp_8^0'=tmp_8^post_17, y_6^0'=z_7^0, [ 0<=-1-x_5^0+y_6^0 && -1+z_7^0-y_6^0>=1 && -1+z_7^0-x_5^0>=0 ], cost: 2+6*z_7^0-2*x_5^0-4*y_6^0 71: l14 -> [18] : tmp_8^0'=tmp_8^post_17, y_6^0'=z_7^0, [ 0<=-1-x_5^0+y_6^0 && -2+z_7^0-y_6^0>=1 && -1+z_7^0-x_5^0>=0 ], cost: 1+6*z_7^0-2*x_5^0-4*y_6^0 Computing asymptotic complexity for rule 46 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: [ 0<=-1-x_5^0+y_6^0 && 0<=-1+z_7^0-y_6^0 ] NO