WORST_CASE(Omega(1),?) ### Pre-processing the ITS problem ### Initial linear ITS problem Start location: l10 0: l0 -> l1 : oldX0^0'=oldX0^post_1, oldX1^0'=oldX1^post_1, oldX2^0'=oldX2^post_1, oldX3^0'=oldX3^post_1, oldX4^0'=oldX4^post_1, oldX5^0'=oldX5^post_1, x0^0'=x0^post_1, x1^0'=x1^post_1, x2^0'=x2^post_1, [ oldX0^post_1==x0^0 && oldX1^post_1==x1^0 && oldX2^post_1==x2^0 && x0^post_1==oldX0^post_1 && x1^post_1==oldX1^post_1 && x2^post_1==1+oldX2^post_1 && oldX3^0==oldX3^post_1 && oldX4^0==oldX4^post_1 && oldX5^0==oldX5^post_1 ], cost: 1 6: l1 -> l3 : oldX0^0'=oldX0^post_7, oldX1^0'=oldX1^post_7, oldX2^0'=oldX2^post_7, oldX3^0'=oldX3^post_7, oldX4^0'=oldX4^post_7, oldX5^0'=oldX5^post_7, x0^0'=x0^post_7, x1^0'=x1^post_7, x2^0'=x2^post_7, [ oldX0^post_7==x0^0 && oldX1^post_7==x1^0 && oldX2^post_7==x2^0 && -oldX1^post_7+oldX0^post_7<=oldX2^post_7 && x0^post_7==oldX0^post_7 && x1^post_7==oldX1^post_7 && x2^post_7==oldX2^post_7 && oldX3^0==oldX3^post_7 && oldX4^0==oldX4^post_7 && oldX5^0==oldX5^post_7 ], cost: 1 7: l1 -> l5 : oldX0^0'=oldX0^post_8, oldX1^0'=oldX1^post_8, oldX2^0'=oldX2^post_8, oldX3^0'=oldX3^post_8, oldX4^0'=oldX4^post_8, oldX5^0'=oldX5^post_8, x0^0'=x0^post_8, x1^0'=x1^post_8, x2^0'=x2^post_8, [ oldX0^post_8==x0^0 && oldX1^post_8==x1^0 && oldX2^post_8==x2^0 && 1+oldX2^post_8<=-oldX1^post_8+oldX0^post_8 && x0^post_8==oldX0^post_8 && x1^post_8==oldX1^post_8 && x2^post_8==oldX2^post_8 && oldX3^0==oldX3^post_8 && oldX4^0==oldX4^post_8 && oldX5^0==oldX5^post_8 ], cost: 1 1: l2 -> l0 : oldX0^0'=oldX0^post_2, oldX1^0'=oldX1^post_2, oldX2^0'=oldX2^post_2, oldX3^0'=oldX3^post_2, oldX4^0'=oldX4^post_2, oldX5^0'=oldX5^post_2, x0^0'=x0^post_2, x1^0'=x1^post_2, x2^0'=x2^post_2, [ oldX0^post_2==x0^0 && oldX1^post_2==x1^0 && oldX2^post_2==x2^0 && x0^post_2==oldX0^post_2 && x1^post_2==oldX1^post_2 && x2^post_2==oldX2^post_2 && oldX3^0==oldX3^post_2 && oldX4^0==oldX4^post_2 && oldX5^0==oldX5^post_2 ], cost: 1 2: l3 -> l4 : oldX0^0'=oldX0^post_3, oldX1^0'=oldX1^post_3, oldX2^0'=oldX2^post_3, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_3, oldX5^0'=oldX5^post_3, x0^0'=x0^post_3, x1^0'=x1^post_3, x2^0'=x2^post_3, [ oldX0^post_3==x0^0 && oldX1^post_3==x1^0 && oldX2^post_3==x2^0 && oldX3^post_3==oldX3^post_3 && x0^post_3==oldX0^post_3 && x1^post_3==1+oldX1^post_3 && x2^post_3==oldX3^post_3 && oldX4^0==oldX4^post_3 && oldX5^0==oldX5^post_3 ], cost: 1 8: l4 -> l6 : oldX0^0'=oldX0^post_9, oldX1^0'=oldX1^post_9, oldX2^0'=oldX2^post_9, oldX3^0'=oldX3^post_9, oldX4^0'=oldX4^post_9, oldX5^0'=oldX5^post_9, x0^0'=x0^post_9, x1^0'=x1^post_9, x2^0'=x2^post_9, [ oldX0^post_9==x0^0 && oldX1^post_9==x1^0 && oldX2^post_9==x2^0 && oldX3^post_9==oldX3^post_9 && oldX0^post_9<=oldX1^post_9 && x0^post_9==oldX0^post_9 && x1^post_9==oldX1^post_9 && x2^post_9==oldX3^post_9 && oldX4^0==oldX4^post_9 && oldX5^0==oldX5^post_9 ], cost: 1 9: l4 -> l1 : oldX0^0'=oldX0^post_10, oldX1^0'=oldX1^post_10, oldX2^0'=oldX2^post_10, oldX3^0'=oldX3^post_10, oldX4^0'=oldX4^post_10, oldX5^0'=oldX5^post_10, x0^0'=x0^post_10, x1^0'=x1^post_10, x2^0'=x2^post_10, [ oldX0^post_10==x0^0 && oldX1^post_10==x1^0 && oldX2^post_10==x2^0 && 1+oldX1^post_10<=oldX0^post_10 && x0^post_10==oldX0^post_10 && x1^post_10==oldX1^post_10 && x2^post_10==0 && oldX3^0==oldX3^post_10 && oldX4^0==oldX4^post_10 && oldX5^0==oldX5^post_10 ], cost: 1 3: l5 -> l0 : oldX0^0'=oldX0^post_4, oldX1^0'=oldX1^post_4, oldX2^0'=oldX2^post_4, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, oldX5^0'=oldX5^post_4, x0^0'=x0^post_4, x1^0'=x1^post_4, x2^0'=x2^post_4, [ oldX0^post_4==x0^0 && oldX1^post_4==x1^0 && oldX2^post_4==x2^0 && oldX3^post_4==oldX3^post_4 && oldX4^post_4==oldX4^post_4 && oldX3^post_4<=oldX4^post_4 && x0^post_4==oldX0^post_4 && x1^post_4==oldX1^post_4 && x2^post_4==oldX2^post_4 && oldX5^0==oldX5^post_4 ], cost: 1 4: l5 -> l2 : oldX0^0'=oldX0^post_5, oldX1^0'=oldX1^post_5, oldX2^0'=oldX2^post_5, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, oldX5^0'=oldX5^post_5, x0^0'=x0^post_5, x1^0'=x1^post_5, x2^0'=x2^post_5, [ oldX0^post_5==x0^0 && oldX1^post_5==x1^0 && oldX2^post_5==x2^0 && oldX3^post_5==oldX3^post_5 && oldX4^post_5==oldX4^post_5 && 1+oldX4^post_5<=oldX3^post_5 && x0^post_5==oldX0^post_5 && x1^post_5==oldX1^post_5 && x2^post_5==oldX2^post_5 && oldX5^0==oldX5^post_5 ], cost: 1 5: l6 -> l7 : oldX0^0'=oldX0^post_6, oldX1^0'=oldX1^post_6, oldX2^0'=oldX2^post_6, oldX3^0'=oldX3^post_6, oldX4^0'=oldX4^post_6, oldX5^0'=oldX5^post_6, x0^0'=x0^post_6, x1^0'=x1^post_6, x2^0'=x2^post_6, [ oldX0^post_6==x0^0 && oldX1^post_6==x1^0 && oldX2^post_6==x2^0 && oldX3^post_6==oldX3^post_6 && oldX4^post_6==oldX4^post_6 && oldX5^post_6==oldX5^post_6 && x0^post_6==oldX3^post_6 && x1^post_6==oldX4^post_6 && x2^post_6==oldX5^post_6 ], cost: 1 10: l8 -> l4 : oldX0^0'=oldX0^post_11, oldX1^0'=oldX1^post_11, oldX2^0'=oldX2^post_11, oldX3^0'=oldX3^post_11, oldX4^0'=oldX4^post_11, oldX5^0'=oldX5^post_11, x0^0'=x0^post_11, x1^0'=x1^post_11, x2^0'=x2^post_11, [ oldX0^post_11==x0^0 && oldX1^post_11==x1^0 && oldX2^post_11==x2^0 && oldX3^post_11==oldX3^post_11 && x0^post_11==oldX0^post_11 && x1^post_11==1 && x2^post_11==oldX3^post_11 && oldX4^0==oldX4^post_11 && oldX5^0==oldX5^post_11 ], cost: 1 11: l9 -> l8 : oldX0^0'=oldX0^post_12, oldX1^0'=oldX1^post_12, oldX2^0'=oldX2^post_12, oldX3^0'=oldX3^post_12, oldX4^0'=oldX4^post_12, oldX5^0'=oldX5^post_12, x0^0'=x0^post_12, x1^0'=x1^post_12, x2^0'=x2^post_12, [ oldX0^post_12==x0^0 && oldX1^post_12==x1^0 && oldX2^post_12==x2^0 && oldX3^post_12==oldX3^post_12 && oldX4^post_12==oldX4^post_12 && x0^post_12==oldX0^post_12 && x1^post_12==oldX3^post_12 && x2^post_12==oldX4^post_12 && oldX5^0==oldX5^post_12 ], cost: 1 12: l9 -> l0 : oldX0^0'=oldX0^post_13, oldX1^0'=oldX1^post_13, oldX2^0'=oldX2^post_13, oldX3^0'=oldX3^post_13, oldX4^0'=oldX4^post_13, oldX5^0'=oldX5^post_13, x0^0'=x0^post_13, x1^0'=x1^post_13, x2^0'=x2^post_13, [ oldX0^0==oldX0^post_13 && oldX1^0==oldX1^post_13 && oldX2^0==oldX2^post_13 && oldX3^0==oldX3^post_13 && oldX4^0==oldX4^post_13 && oldX5^0==oldX5^post_13 && x0^0==x0^post_13 && x1^0==x1^post_13 && x2^0==x2^post_13 ], cost: 1 13: l9 -> l2 : oldX0^0'=oldX0^post_14, oldX1^0'=oldX1^post_14, oldX2^0'=oldX2^post_14, oldX3^0'=oldX3^post_14, oldX4^0'=oldX4^post_14, oldX5^0'=oldX5^post_14, x0^0'=x0^post_14, x1^0'=x1^post_14, x2^0'=x2^post_14, [ oldX0^0==oldX0^post_14 && oldX1^0==oldX1^post_14 && oldX2^0==oldX2^post_14 && oldX3^0==oldX3^post_14 && oldX4^0==oldX4^post_14 && oldX5^0==oldX5^post_14 && x0^0==x0^post_14 && x1^0==x1^post_14 && x2^0==x2^post_14 ], cost: 1 14: l9 -> l3 : oldX0^0'=oldX0^post_15, oldX1^0'=oldX1^post_15, oldX2^0'=oldX2^post_15, oldX3^0'=oldX3^post_15, oldX4^0'=oldX4^post_15, oldX5^0'=oldX5^post_15, x0^0'=x0^post_15, x1^0'=x1^post_15, x2^0'=x2^post_15, [ oldX0^0==oldX0^post_15 && oldX1^0==oldX1^post_15 && oldX2^0==oldX2^post_15 && oldX3^0==oldX3^post_15 && oldX4^0==oldX4^post_15 && oldX5^0==oldX5^post_15 && x0^0==x0^post_15 && x1^0==x1^post_15 && x2^0==x2^post_15 ], cost: 1 15: l9 -> l5 : oldX0^0'=oldX0^post_16, oldX1^0'=oldX1^post_16, oldX2^0'=oldX2^post_16, oldX3^0'=oldX3^post_16, oldX4^0'=oldX4^post_16, oldX5^0'=oldX5^post_16, x0^0'=x0^post_16, x1^0'=x1^post_16, x2^0'=x2^post_16, [ oldX0^0==oldX0^post_16 && oldX1^0==oldX1^post_16 && oldX2^0==oldX2^post_16 && oldX3^0==oldX3^post_16 && oldX4^0==oldX4^post_16 && oldX5^0==oldX5^post_16 && x0^0==x0^post_16 && x1^0==x1^post_16 && x2^0==x2^post_16 ], cost: 1 16: l9 -> l6 : oldX0^0'=oldX0^post_17, oldX1^0'=oldX1^post_17, oldX2^0'=oldX2^post_17, oldX3^0'=oldX3^post_17, oldX4^0'=oldX4^post_17, oldX5^0'=oldX5^post_17, x0^0'=x0^post_17, x1^0'=x1^post_17, x2^0'=x2^post_17, [ oldX0^0==oldX0^post_17 && oldX1^0==oldX1^post_17 && oldX2^0==oldX2^post_17 && oldX3^0==oldX3^post_17 && oldX4^0==oldX4^post_17 && oldX5^0==oldX5^post_17 && x0^0==x0^post_17 && x1^0==x1^post_17 && x2^0==x2^post_17 ], cost: 1 17: l9 -> l1 : oldX0^0'=oldX0^post_18, oldX1^0'=oldX1^post_18, oldX2^0'=oldX2^post_18, oldX3^0'=oldX3^post_18, oldX4^0'=oldX4^post_18, oldX5^0'=oldX5^post_18, x0^0'=x0^post_18, x1^0'=x1^post_18, x2^0'=x2^post_18, [ oldX0^0==oldX0^post_18 && oldX1^0==oldX1^post_18 && oldX2^0==oldX2^post_18 && oldX3^0==oldX3^post_18 && oldX4^0==oldX4^post_18 && oldX5^0==oldX5^post_18 && x0^0==x0^post_18 && x1^0==x1^post_18 && x2^0==x2^post_18 ], cost: 1 18: l9 -> l4 : oldX0^0'=oldX0^post_19, oldX1^0'=oldX1^post_19, oldX2^0'=oldX2^post_19, oldX3^0'=oldX3^post_19, oldX4^0'=oldX4^post_19, oldX5^0'=oldX5^post_19, x0^0'=x0^post_19, x1^0'=x1^post_19, x2^0'=x2^post_19, [ oldX0^0==oldX0^post_19 && oldX1^0==oldX1^post_19 && oldX2^0==oldX2^post_19 && oldX3^0==oldX3^post_19 && oldX4^0==oldX4^post_19 && oldX5^0==oldX5^post_19 && x0^0==x0^post_19 && x1^0==x1^post_19 && x2^0==x2^post_19 ], cost: 1 19: l9 -> l8 : oldX0^0'=oldX0^post_20, oldX1^0'=oldX1^post_20, oldX2^0'=oldX2^post_20, oldX3^0'=oldX3^post_20, oldX4^0'=oldX4^post_20, oldX5^0'=oldX5^post_20, x0^0'=x0^post_20, x1^0'=x1^post_20, x2^0'=x2^post_20, [ oldX0^0==oldX0^post_20 && oldX1^0==oldX1^post_20 && oldX2^0==oldX2^post_20 && oldX3^0==oldX3^post_20 && oldX4^0==oldX4^post_20 && oldX5^0==oldX5^post_20 && x0^0==x0^post_20 && x1^0==x1^post_20 && x2^0==x2^post_20 ], cost: 1 20: l9 -> l7 : oldX0^0'=oldX0^post_21, oldX1^0'=oldX1^post_21, oldX2^0'=oldX2^post_21, oldX3^0'=oldX3^post_21, oldX4^0'=oldX4^post_21, oldX5^0'=oldX5^post_21, x0^0'=x0^post_21, x1^0'=x1^post_21, x2^0'=x2^post_21, [ oldX0^0==oldX0^post_21 && oldX1^0==oldX1^post_21 && oldX2^0==oldX2^post_21 && oldX3^0==oldX3^post_21 && oldX4^0==oldX4^post_21 && oldX5^0==oldX5^post_21 && x0^0==x0^post_21 && x1^0==x1^post_21 && x2^0==x2^post_21 ], cost: 1 21: l10 -> l9 : oldX0^0'=oldX0^post_22, oldX1^0'=oldX1^post_22, oldX2^0'=oldX2^post_22, oldX3^0'=oldX3^post_22, oldX4^0'=oldX4^post_22, oldX5^0'=oldX5^post_22, x0^0'=x0^post_22, x1^0'=x1^post_22, x2^0'=x2^post_22, [ oldX0^0==oldX0^post_22 && oldX1^0==oldX1^post_22 && oldX2^0==oldX2^post_22 && oldX3^0==oldX3^post_22 && oldX4^0==oldX4^post_22 && oldX5^0==oldX5^post_22 && x0^0==x0^post_22 && x1^0==x1^post_22 && x2^0==x2^post_22 ], cost: 1 Checking for constant complexity: The following rule is satisfiable with cost >= 1, yielding constant complexity: 21: l10 -> l9 : oldX0^0'=oldX0^post_22, oldX1^0'=oldX1^post_22, oldX2^0'=oldX2^post_22, oldX3^0'=oldX3^post_22, oldX4^0'=oldX4^post_22, oldX5^0'=oldX5^post_22, x0^0'=x0^post_22, x1^0'=x1^post_22, x2^0'=x2^post_22, [ oldX0^0==oldX0^post_22 && oldX1^0==oldX1^post_22 && oldX2^0==oldX2^post_22 && oldX3^0==oldX3^post_22 && oldX4^0==oldX4^post_22 && oldX5^0==oldX5^post_22 && x0^0==x0^post_22 && x1^0==x1^post_22 && x2^0==x2^post_22 ], cost: 1 Removed unreachable and leaf rules: Start location: l10 0: l0 -> l1 : oldX0^0'=oldX0^post_1, oldX1^0'=oldX1^post_1, oldX2^0'=oldX2^post_1, oldX3^0'=oldX3^post_1, oldX4^0'=oldX4^post_1, oldX5^0'=oldX5^post_1, x0^0'=x0^post_1, x1^0'=x1^post_1, x2^0'=x2^post_1, [ oldX0^post_1==x0^0 && oldX1^post_1==x1^0 && oldX2^post_1==x2^0 && x0^post_1==oldX0^post_1 && x1^post_1==oldX1^post_1 && x2^post_1==1+oldX2^post_1 && oldX3^0==oldX3^post_1 && oldX4^0==oldX4^post_1 && oldX5^0==oldX5^post_1 ], cost: 1 6: l1 -> l3 : oldX0^0'=oldX0^post_7, oldX1^0'=oldX1^post_7, oldX2^0'=oldX2^post_7, oldX3^0'=oldX3^post_7, oldX4^0'=oldX4^post_7, oldX5^0'=oldX5^post_7, x0^0'=x0^post_7, x1^0'=x1^post_7, x2^0'=x2^post_7, [ oldX0^post_7==x0^0 && oldX1^post_7==x1^0 && oldX2^post_7==x2^0 && -oldX1^post_7+oldX0^post_7<=oldX2^post_7 && x0^post_7==oldX0^post_7 && x1^post_7==oldX1^post_7 && x2^post_7==oldX2^post_7 && oldX3^0==oldX3^post_7 && oldX4^0==oldX4^post_7 && oldX5^0==oldX5^post_7 ], cost: 1 7: l1 -> l5 : oldX0^0'=oldX0^post_8, oldX1^0'=oldX1^post_8, oldX2^0'=oldX2^post_8, oldX3^0'=oldX3^post_8, oldX4^0'=oldX4^post_8, oldX5^0'=oldX5^post_8, x0^0'=x0^post_8, x1^0'=x1^post_8, x2^0'=x2^post_8, [ oldX0^post_8==x0^0 && oldX1^post_8==x1^0 && oldX2^post_8==x2^0 && 1+oldX2^post_8<=-oldX1^post_8+oldX0^post_8 && x0^post_8==oldX0^post_8 && x1^post_8==oldX1^post_8 && x2^post_8==oldX2^post_8 && oldX3^0==oldX3^post_8 && oldX4^0==oldX4^post_8 && oldX5^0==oldX5^post_8 ], cost: 1 1: l2 -> l0 : oldX0^0'=oldX0^post_2, oldX1^0'=oldX1^post_2, oldX2^0'=oldX2^post_2, oldX3^0'=oldX3^post_2, oldX4^0'=oldX4^post_2, oldX5^0'=oldX5^post_2, x0^0'=x0^post_2, x1^0'=x1^post_2, x2^0'=x2^post_2, [ oldX0^post_2==x0^0 && oldX1^post_2==x1^0 && oldX2^post_2==x2^0 && x0^post_2==oldX0^post_2 && x1^post_2==oldX1^post_2 && x2^post_2==oldX2^post_2 && oldX3^0==oldX3^post_2 && oldX4^0==oldX4^post_2 && oldX5^0==oldX5^post_2 ], cost: 1 2: l3 -> l4 : oldX0^0'=oldX0^post_3, oldX1^0'=oldX1^post_3, oldX2^0'=oldX2^post_3, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_3, oldX5^0'=oldX5^post_3, x0^0'=x0^post_3, x1^0'=x1^post_3, x2^0'=x2^post_3, [ oldX0^post_3==x0^0 && oldX1^post_3==x1^0 && oldX2^post_3==x2^0 && oldX3^post_3==oldX3^post_3 && x0^post_3==oldX0^post_3 && x1^post_3==1+oldX1^post_3 && x2^post_3==oldX3^post_3 && oldX4^0==oldX4^post_3 && oldX5^0==oldX5^post_3 ], cost: 1 9: l4 -> l1 : oldX0^0'=oldX0^post_10, oldX1^0'=oldX1^post_10, oldX2^0'=oldX2^post_10, oldX3^0'=oldX3^post_10, oldX4^0'=oldX4^post_10, oldX5^0'=oldX5^post_10, x0^0'=x0^post_10, x1^0'=x1^post_10, x2^0'=x2^post_10, [ oldX0^post_10==x0^0 && oldX1^post_10==x1^0 && oldX2^post_10==x2^0 && 1+oldX1^post_10<=oldX0^post_10 && x0^post_10==oldX0^post_10 && x1^post_10==oldX1^post_10 && x2^post_10==0 && oldX3^0==oldX3^post_10 && oldX4^0==oldX4^post_10 && oldX5^0==oldX5^post_10 ], cost: 1 3: l5 -> l0 : oldX0^0'=oldX0^post_4, oldX1^0'=oldX1^post_4, oldX2^0'=oldX2^post_4, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, oldX5^0'=oldX5^post_4, x0^0'=x0^post_4, x1^0'=x1^post_4, x2^0'=x2^post_4, [ oldX0^post_4==x0^0 && oldX1^post_4==x1^0 && oldX2^post_4==x2^0 && oldX3^post_4==oldX3^post_4 && oldX4^post_4==oldX4^post_4 && oldX3^post_4<=oldX4^post_4 && x0^post_4==oldX0^post_4 && x1^post_4==oldX1^post_4 && x2^post_4==oldX2^post_4 && oldX5^0==oldX5^post_4 ], cost: 1 4: l5 -> l2 : oldX0^0'=oldX0^post_5, oldX1^0'=oldX1^post_5, oldX2^0'=oldX2^post_5, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, oldX5^0'=oldX5^post_5, x0^0'=x0^post_5, x1^0'=x1^post_5, x2^0'=x2^post_5, [ oldX0^post_5==x0^0 && oldX1^post_5==x1^0 && oldX2^post_5==x2^0 && oldX3^post_5==oldX3^post_5 && oldX4^post_5==oldX4^post_5 && 1+oldX4^post_5<=oldX3^post_5 && x0^post_5==oldX0^post_5 && x1^post_5==oldX1^post_5 && x2^post_5==oldX2^post_5 && oldX5^0==oldX5^post_5 ], cost: 1 10: l8 -> l4 : oldX0^0'=oldX0^post_11, oldX1^0'=oldX1^post_11, oldX2^0'=oldX2^post_11, oldX3^0'=oldX3^post_11, oldX4^0'=oldX4^post_11, oldX5^0'=oldX5^post_11, x0^0'=x0^post_11, x1^0'=x1^post_11, x2^0'=x2^post_11, [ oldX0^post_11==x0^0 && oldX1^post_11==x1^0 && oldX2^post_11==x2^0 && oldX3^post_11==oldX3^post_11 && x0^post_11==oldX0^post_11 && x1^post_11==1 && x2^post_11==oldX3^post_11 && oldX4^0==oldX4^post_11 && oldX5^0==oldX5^post_11 ], cost: 1 11: l9 -> l8 : oldX0^0'=oldX0^post_12, oldX1^0'=oldX1^post_12, oldX2^0'=oldX2^post_12, oldX3^0'=oldX3^post_12, oldX4^0'=oldX4^post_12, oldX5^0'=oldX5^post_12, x0^0'=x0^post_12, x1^0'=x1^post_12, x2^0'=x2^post_12, [ oldX0^post_12==x0^0 && oldX1^post_12==x1^0 && oldX2^post_12==x2^0 && oldX3^post_12==oldX3^post_12 && oldX4^post_12==oldX4^post_12 && x0^post_12==oldX0^post_12 && x1^post_12==oldX3^post_12 && x2^post_12==oldX4^post_12 && oldX5^0==oldX5^post_12 ], cost: 1 12: l9 -> l0 : oldX0^0'=oldX0^post_13, oldX1^0'=oldX1^post_13, oldX2^0'=oldX2^post_13, oldX3^0'=oldX3^post_13, oldX4^0'=oldX4^post_13, oldX5^0'=oldX5^post_13, x0^0'=x0^post_13, x1^0'=x1^post_13, x2^0'=x2^post_13, [ oldX0^0==oldX0^post_13 && oldX1^0==oldX1^post_13 && oldX2^0==oldX2^post_13 && oldX3^0==oldX3^post_13 && oldX4^0==oldX4^post_13 && oldX5^0==oldX5^post_13 && x0^0==x0^post_13 && x1^0==x1^post_13 && x2^0==x2^post_13 ], cost: 1 13: l9 -> l2 : oldX0^0'=oldX0^post_14, oldX1^0'=oldX1^post_14, oldX2^0'=oldX2^post_14, oldX3^0'=oldX3^post_14, oldX4^0'=oldX4^post_14, oldX5^0'=oldX5^post_14, x0^0'=x0^post_14, x1^0'=x1^post_14, x2^0'=x2^post_14, [ oldX0^0==oldX0^post_14 && oldX1^0==oldX1^post_14 && oldX2^0==oldX2^post_14 && oldX3^0==oldX3^post_14 && oldX4^0==oldX4^post_14 && oldX5^0==oldX5^post_14 && x0^0==x0^post_14 && x1^0==x1^post_14 && x2^0==x2^post_14 ], cost: 1 14: l9 -> l3 : oldX0^0'=oldX0^post_15, oldX1^0'=oldX1^post_15, oldX2^0'=oldX2^post_15, oldX3^0'=oldX3^post_15, oldX4^0'=oldX4^post_15, oldX5^0'=oldX5^post_15, x0^0'=x0^post_15, x1^0'=x1^post_15, x2^0'=x2^post_15, [ oldX0^0==oldX0^post_15 && oldX1^0==oldX1^post_15 && oldX2^0==oldX2^post_15 && oldX3^0==oldX3^post_15 && oldX4^0==oldX4^post_15 && oldX5^0==oldX5^post_15 && x0^0==x0^post_15 && x1^0==x1^post_15 && x2^0==x2^post_15 ], cost: 1 15: l9 -> l5 : oldX0^0'=oldX0^post_16, oldX1^0'=oldX1^post_16, oldX2^0'=oldX2^post_16, oldX3^0'=oldX3^post_16, oldX4^0'=oldX4^post_16, oldX5^0'=oldX5^post_16, x0^0'=x0^post_16, x1^0'=x1^post_16, x2^0'=x2^post_16, [ oldX0^0==oldX0^post_16 && oldX1^0==oldX1^post_16 && oldX2^0==oldX2^post_16 && oldX3^0==oldX3^post_16 && oldX4^0==oldX4^post_16 && oldX5^0==oldX5^post_16 && x0^0==x0^post_16 && x1^0==x1^post_16 && x2^0==x2^post_16 ], cost: 1 17: l9 -> l1 : oldX0^0'=oldX0^post_18, oldX1^0'=oldX1^post_18, oldX2^0'=oldX2^post_18, oldX3^0'=oldX3^post_18, oldX4^0'=oldX4^post_18, oldX5^0'=oldX5^post_18, x0^0'=x0^post_18, x1^0'=x1^post_18, x2^0'=x2^post_18, [ oldX0^0==oldX0^post_18 && oldX1^0==oldX1^post_18 && oldX2^0==oldX2^post_18 && oldX3^0==oldX3^post_18 && oldX4^0==oldX4^post_18 && oldX5^0==oldX5^post_18 && x0^0==x0^post_18 && x1^0==x1^post_18 && x2^0==x2^post_18 ], cost: 1 18: l9 -> l4 : oldX0^0'=oldX0^post_19, oldX1^0'=oldX1^post_19, oldX2^0'=oldX2^post_19, oldX3^0'=oldX3^post_19, oldX4^0'=oldX4^post_19, oldX5^0'=oldX5^post_19, x0^0'=x0^post_19, x1^0'=x1^post_19, x2^0'=x2^post_19, [ oldX0^0==oldX0^post_19 && oldX1^0==oldX1^post_19 && oldX2^0==oldX2^post_19 && oldX3^0==oldX3^post_19 && oldX4^0==oldX4^post_19 && oldX5^0==oldX5^post_19 && x0^0==x0^post_19 && x1^0==x1^post_19 && x2^0==x2^post_19 ], cost: 1 19: l9 -> l8 : oldX0^0'=oldX0^post_20, oldX1^0'=oldX1^post_20, oldX2^0'=oldX2^post_20, oldX3^0'=oldX3^post_20, oldX4^0'=oldX4^post_20, oldX5^0'=oldX5^post_20, x0^0'=x0^post_20, x1^0'=x1^post_20, x2^0'=x2^post_20, [ oldX0^0==oldX0^post_20 && oldX1^0==oldX1^post_20 && oldX2^0==oldX2^post_20 && oldX3^0==oldX3^post_20 && oldX4^0==oldX4^post_20 && oldX5^0==oldX5^post_20 && x0^0==x0^post_20 && x1^0==x1^post_20 && x2^0==x2^post_20 ], cost: 1 21: l10 -> l9 : oldX0^0'=oldX0^post_22, oldX1^0'=oldX1^post_22, oldX2^0'=oldX2^post_22, oldX3^0'=oldX3^post_22, oldX4^0'=oldX4^post_22, oldX5^0'=oldX5^post_22, x0^0'=x0^post_22, x1^0'=x1^post_22, x2^0'=x2^post_22, [ oldX0^0==oldX0^post_22 && oldX1^0==oldX1^post_22 && oldX2^0==oldX2^post_22 && oldX3^0==oldX3^post_22 && oldX4^0==oldX4^post_22 && oldX5^0==oldX5^post_22 && x0^0==x0^post_22 && x1^0==x1^post_22 && x2^0==x2^post_22 ], cost: 1 Simplified all rules, resulting in: Start location: l10 0: l0 -> l1 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, x2^0'=1+x2^0, [], cost: 1 6: l1 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ -x1^0+x0^0<=x2^0 ], cost: 1 7: l1 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ 1+x2^0<=-x1^0+x0^0 ], cost: 1 1: l2 -> l0 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [], cost: 1 2: l3 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [], cost: 1 9: l4 -> l1 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 1 3: l5 -> l0 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, [ oldX3^post_4<=oldX4^post_4 ], cost: 1 4: l5 -> l2 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, [ 1+oldX4^post_5<=oldX3^post_5 ], cost: 1 10: l8 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=x2^post_11, [], cost: 1 11: l9 -> l8 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_12, oldX4^0'=oldX4^post_12, x1^0'=oldX3^post_12, x2^0'=oldX4^post_12, [], cost: 1 12: l9 -> l0 : [], cost: 1 13: l9 -> l2 : [], cost: 1 14: l9 -> l3 : [], cost: 1 15: l9 -> l5 : [], cost: 1 17: l9 -> l1 : [], cost: 1 18: l9 -> l4 : [], cost: 1 19: l9 -> l8 : [], cost: 1 21: l10 -> l9 : [], cost: 1 ### Simplification by acceleration and chaining ### Eliminated locations (on tree-shaped paths): Start location: l10 0: l0 -> l1 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, x2^0'=1+x2^0, [], cost: 1 6: l1 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ -x1^0+x0^0<=x2^0 ], cost: 1 7: l1 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ 1+x2^0<=-x1^0+x0^0 ], cost: 1 1: l2 -> l0 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [], cost: 1 2: l3 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [], cost: 1 9: l4 -> l1 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 1 3: l5 -> l0 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, [ oldX3^post_4<=oldX4^post_4 ], cost: 1 4: l5 -> l2 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, [ 1+oldX4^post_5<=oldX3^post_5 ], cost: 1 10: l8 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=x2^post_11, [], cost: 1 22: l10 -> l8 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_12, oldX4^0'=oldX4^post_12, x1^0'=oldX3^post_12, x2^0'=oldX4^post_12, [], cost: 2 23: l10 -> l0 : [], cost: 2 24: l10 -> l2 : [], cost: 2 25: l10 -> l3 : [], cost: 2 26: l10 -> l5 : [], cost: 2 27: l10 -> l1 : [], cost: 2 28: l10 -> l4 : [], cost: 2 29: l10 -> l8 : [], cost: 2 Eliminated locations (on tree-shaped paths): Start location: l10 0: l0 -> l1 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, x2^0'=1+x2^0, [], cost: 1 6: l1 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ -x1^0+x0^0<=x2^0 ], cost: 1 7: l1 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ 1+x2^0<=-x1^0+x0^0 ], cost: 1 1: l2 -> l0 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [], cost: 1 2: l3 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [], cost: 1 9: l4 -> l1 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 1 3: l5 -> l0 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, [ oldX3^post_4<=oldX4^post_4 ], cost: 1 4: l5 -> l2 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, [ 1+oldX4^post_5<=oldX3^post_5 ], cost: 1 23: l10 -> l0 : [], cost: 2 24: l10 -> l2 : [], cost: 2 25: l10 -> l3 : [], cost: 2 26: l10 -> l5 : [], cost: 2 27: l10 -> l1 : [], cost: 2 28: l10 -> l4 : [], cost: 2 30: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=oldX3^post_12, oldX2^0'=oldX4^post_12, oldX3^0'=x2^post_11, oldX4^0'=oldX4^post_12, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 31: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 Eliminated location l0 (as a last resort): Start location: l10 6: l1 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ -x1^0+x0^0<=x2^0 ], cost: 1 7: l1 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ 1+x2^0<=-x1^0+x0^0 ], cost: 1 32: l2 -> l1 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, x2^0'=1+x2^0, [], cost: 2 2: l3 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [], cost: 1 9: l4 -> l1 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 1 4: l5 -> l2 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, [ 1+oldX4^post_5<=oldX3^post_5 ], cost: 1 33: l5 -> l1 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=1+x2^0, [ oldX3^post_4<=oldX4^post_4 ], cost: 2 24: l10 -> l2 : [], cost: 2 25: l10 -> l3 : [], cost: 2 26: l10 -> l5 : [], cost: 2 27: l10 -> l1 : [], cost: 2 28: l10 -> l4 : [], cost: 2 30: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=oldX3^post_12, oldX2^0'=oldX4^post_12, oldX3^0'=x2^post_11, oldX4^0'=oldX4^post_12, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 31: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 34: l10 -> l1 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, x2^0'=1+x2^0, [], cost: 3 Eliminated location l1 (as a last resort): Start location: l10 38: l2 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ -x1^0+x0^0<=1+x2^0 ], cost: 3 39: l2 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ 2+x2^0<=-x1^0+x0^0 ], cost: 3 2: l3 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [], cost: 1 35: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 2 4: l5 -> l2 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, [ 1+oldX4^post_5<=oldX3^post_5 ], cost: 1 40: l5 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=1+x2^0, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 ], cost: 3 41: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=1+x2^0, [ oldX3^post_4<=oldX4^post_4 && 2+x2^0<=-x1^0+x0^0 ], cost: 3 24: l10 -> l2 : [], cost: 2 25: l10 -> l3 : [], cost: 2 26: l10 -> l5 : [], cost: 2 28: l10 -> l4 : [], cost: 2 30: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=oldX3^post_12, oldX2^0'=oldX4^post_12, oldX3^0'=x2^post_11, oldX4^0'=oldX4^post_12, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 31: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 36: l10 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ -x1^0+x0^0<=x2^0 ], cost: 3 37: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ 1+x2^0<=-x1^0+x0^0 ], cost: 3 42: l10 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ -x1^0+x0^0<=1+x2^0 ], cost: 4 43: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ 2+x2^0<=-x1^0+x0^0 ], cost: 4 Accelerating simple loops of location 5. Accelerating the following rules: 41: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=1+x2^0, [ oldX3^post_4<=oldX4^post_4 && 2+x2^0<=-x1^0+x0^0 ], cost: 3 Accelerated rule 41 with backward acceleration, yielding the new rule 44. [accelerate] Nesting with 1 inner and 1 outer candidates Removing the simple loops: 41. Accelerated all simple loops using metering functions (where possible): Start location: l10 38: l2 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ -x1^0+x0^0<=1+x2^0 ], cost: 3 39: l2 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ 2+x2^0<=-x1^0+x0^0 ], cost: 3 2: l3 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [], cost: 1 35: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 2 4: l5 -> l2 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, [ 1+oldX4^post_5<=oldX3^post_5 ], cost: 1 40: l5 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=1+x2^0, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 ], cost: 3 44: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -3-3*x1^0-3*x2^0+3*x0^0 24: l10 -> l2 : [], cost: 2 25: l10 -> l3 : [], cost: 2 26: l10 -> l5 : [], cost: 2 28: l10 -> l4 : [], cost: 2 30: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=oldX3^post_12, oldX2^0'=oldX4^post_12, oldX3^0'=x2^post_11, oldX4^0'=oldX4^post_12, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 31: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 36: l10 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ -x1^0+x0^0<=x2^0 ], cost: 3 37: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ 1+x2^0<=-x1^0+x0^0 ], cost: 3 42: l10 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ -x1^0+x0^0<=1+x2^0 ], cost: 4 43: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ 2+x2^0<=-x1^0+x0^0 ], cost: 4 Chained accelerated rules (with incoming rules): Start location: l10 38: l2 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ -x1^0+x0^0<=1+x2^0 ], cost: 3 39: l2 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ 2+x2^0<=-x1^0+x0^0 ], cost: 3 48: l2 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: -3-3*x1^0-3*x2^0+3*x0^0 2: l3 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [], cost: 1 35: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 2 46: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0+x0^0>=1 ], cost: -1-3*x1^0+3*x0^0 4: l5 -> l2 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, [ 1+oldX4^post_5<=oldX3^post_5 ], cost: 1 40: l5 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=1+x2^0, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 ], cost: 3 24: l10 -> l2 : [], cost: 2 25: l10 -> l3 : [], cost: 2 26: l10 -> l5 : [], cost: 2 28: l10 -> l4 : [], cost: 2 30: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=oldX3^post_12, oldX2^0'=oldX4^post_12, oldX3^0'=x2^post_11, oldX4^0'=oldX4^post_12, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 31: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 36: l10 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ -x1^0+x0^0<=x2^0 ], cost: 3 37: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ 1+x2^0<=-x1^0+x0^0 ], cost: 3 42: l10 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ -x1^0+x0^0<=1+x2^0 ], cost: 4 43: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ 2+x2^0<=-x1^0+x0^0 ], cost: 4 45: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -1-3*x1^0-3*x2^0+3*x0^0 47: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 49: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: -2-3*x1^0-3*x2^0+3*x0^0 Eliminated location l2 (as a last resort): Start location: l10 2: l3 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [], cost: 1 35: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 2 46: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0+x0^0>=1 ], cost: -1-3*x1^0+3*x0^0 40: l5 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=1+x2^0, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 ], cost: 3 50: l5 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=1+x2^0, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 ], cost: 4 51: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=1+x2^0, [ 1+oldX4^post_5<=oldX3^post_5 && 2+x2^0<=-x1^0+x0^0 ], cost: 4 52: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: -2-3*x1^0-3*x2^0+3*x0^0 25: l10 -> l3 : [], cost: 2 26: l10 -> l5 : [], cost: 2 28: l10 -> l4 : [], cost: 2 30: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=oldX3^post_12, oldX2^0'=oldX4^post_12, oldX3^0'=x2^post_11, oldX4^0'=oldX4^post_12, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 31: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 36: l10 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ -x1^0+x0^0<=x2^0 ], cost: 3 37: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ 1+x2^0<=-x1^0+x0^0 ], cost: 3 42: l10 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ -x1^0+x0^0<=1+x2^0 ], cost: 4 43: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ 2+x2^0<=-x1^0+x0^0 ], cost: 4 45: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -1-3*x1^0-3*x2^0+3*x0^0 47: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 49: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: -2-3*x1^0-3*x2^0+3*x0^0 53: l10 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ -x1^0+x0^0<=1+x2^0 ], cost: 5 54: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ 2+x2^0<=-x1^0+x0^0 ], cost: 5 55: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: -1-3*x1^0-3*x2^0+3*x0^0 Merged rules: Start location: l10 2: l3 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [], cost: 1 35: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 2 46: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0+x0^0>=1 ], cost: -1-3*x1^0+3*x0^0 40: l5 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=1+x2^0, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 ], cost: 3 50: l5 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=1+x2^0, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 ], cost: 4 51: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=1+x2^0, [ 1+oldX4^post_5<=oldX3^post_5 && 2+x2^0<=-x1^0+x0^0 ], cost: 4 52: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: -2-3*x1^0-3*x2^0+3*x0^0 25: l10 -> l3 : [], cost: 2 26: l10 -> l5 : [], cost: 2 28: l10 -> l4 : [], cost: 2 30: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=oldX3^post_12, oldX2^0'=oldX4^post_12, oldX3^0'=x2^post_11, oldX4^0'=oldX4^post_12, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 31: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 36: l10 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ -x1^0+x0^0<=x2^0 ], cost: 3 37: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ 1+x2^0<=-x1^0+x0^0 ], cost: 3 56: l10 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ -x1^0+x0^0<=1+x2^0 ], cost: 5 57: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ 2+x2^0<=-x1^0+x0^0 ], cost: 5 58: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 59: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: -1-3*x1^0-3*x2^0+3*x0^0 Accelerating simple loops of location 5. Simplified some of the simple loops (and removed duplicate rules). Accelerating the following rules: 51: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=1+x2^0, [ 1+oldX4^post_5<=oldX3^post_5 && 2+x2^0<=-x1^0+x0^0 ], cost: 4 52: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: -2-3*x1^0-3*x2^0+3*x0^0 Accelerated rule 51 with backward acceleration, yielding the new rule 60. Failed to prove monotonicity of the guard of rule 52. [accelerate] Nesting with 2 inner and 2 outer candidates Removing the simple loops: 51. Accelerated all simple loops using metering functions (where possible): Start location: l10 2: l3 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [], cost: 1 35: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 2 46: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0+x0^0>=1 ], cost: -1-3*x1^0+3*x0^0 40: l5 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=1+x2^0, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 ], cost: 3 50: l5 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=1+x2^0, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 ], cost: 4 52: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: -2-3*x1^0-3*x2^0+3*x0^0 60: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -1-x1^0-x2^0+x0^0>=1 ], cost: -4-4*x1^0-4*x2^0+4*x0^0 25: l10 -> l3 : [], cost: 2 26: l10 -> l5 : [], cost: 2 28: l10 -> l4 : [], cost: 2 30: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=oldX3^post_12, oldX2^0'=oldX4^post_12, oldX3^0'=x2^post_11, oldX4^0'=oldX4^post_12, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 31: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 36: l10 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ -x1^0+x0^0<=x2^0 ], cost: 3 37: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ 1+x2^0<=-x1^0+x0^0 ], cost: 3 56: l10 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ -x1^0+x0^0<=1+x2^0 ], cost: 5 57: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ 2+x2^0<=-x1^0+x0^0 ], cost: 5 58: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 59: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: -1-3*x1^0-3*x2^0+3*x0^0 Chained accelerated rules (with incoming rules): Start location: l10 2: l3 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [], cost: 1 35: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 2 46: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0+x0^0>=1 ], cost: -1-3*x1^0+3*x0^0 62: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: -3*x1^0+3*x0^0 66: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -1-x1^0+x0^0>=1 ], cost: -2-4*x1^0+4*x0^0 40: l5 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=1+x2^0, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 ], cost: 3 50: l5 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=1+x2^0, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 ], cost: 4 25: l10 -> l3 : [], cost: 2 26: l10 -> l5 : [], cost: 2 28: l10 -> l4 : [], cost: 2 30: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=oldX3^post_12, oldX2^0'=oldX4^post_12, oldX3^0'=x2^post_11, oldX4^0'=oldX4^post_12, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 31: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 36: l10 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ -x1^0+x0^0<=x2^0 ], cost: 3 37: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ 1+x2^0<=-x1^0+x0^0 ], cost: 3 56: l10 -> l3 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ -x1^0+x0^0<=1+x2^0 ], cost: 5 57: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ 2+x2^0<=-x1^0+x0^0 ], cost: 5 58: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 59: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: -1-3*x1^0-3*x2^0+3*x0^0 61: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 63: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: 1-3*x1^0-3*x2^0+3*x0^0 64: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 65: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -1-x1^0-x2^0+x0^0>=1 ], cost: -2-4*x1^0-4*x2^0+4*x0^0 67: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -1-x1^0-x2^0+x0^0>=1 ], cost: -1-4*x1^0-4*x2^0+4*x0^0 68: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0-x2^0+x0^0>=1 ], cost: -3-4*x1^0-4*x2^0+4*x0^0 Eliminated location l3 (as a last resort): Start location: l10 35: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 2 46: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0+x0^0>=1 ], cost: -1-3*x1^0+3*x0^0 62: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: -3*x1^0+3*x0^0 66: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -1-x1^0+x0^0>=1 ], cost: -2-4*x1^0+4*x0^0 71: l5 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 ], cost: 4 72: l5 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 ], cost: 5 26: l10 -> l5 : [], cost: 2 28: l10 -> l4 : [], cost: 2 30: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=oldX3^post_12, oldX2^0'=oldX4^post_12, oldX3^0'=x2^post_11, oldX4^0'=oldX4^post_12, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 31: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 37: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ 1+x2^0<=-x1^0+x0^0 ], cost: 3 57: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ 2+x2^0<=-x1^0+x0^0 ], cost: 5 58: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 59: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: -1-3*x1^0-3*x2^0+3*x0^0 61: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 63: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: 1-3*x1^0-3*x2^0+3*x0^0 64: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 65: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -1-x1^0-x2^0+x0^0>=1 ], cost: -2-4*x1^0-4*x2^0+4*x0^0 67: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -1-x1^0-x2^0+x0^0>=1 ], cost: -1-4*x1^0-4*x2^0+4*x0^0 68: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0-x2^0+x0^0>=1 ], cost: -3-4*x1^0-4*x2^0+4*x0^0 69: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [], cost: 3 70: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [ -x1^0+x0^0<=x2^0 ], cost: 4 73: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [ -x1^0+x0^0<=1+x2^0 ], cost: 6 Merged rules: Start location: l10 35: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 2 46: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0+x0^0>=1 ], cost: -1-3*x1^0+3*x0^0 62: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: -3*x1^0+3*x0^0 66: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -1-x1^0+x0^0>=1 ], cost: -2-4*x1^0+4*x0^0 71: l5 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 ], cost: 4 72: l5 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 ], cost: 5 26: l10 -> l5 : [], cost: 2 28: l10 -> l4 : [], cost: 2 30: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=oldX3^post_12, oldX2^0'=oldX4^post_12, oldX3^0'=x2^post_11, oldX4^0'=oldX4^post_12, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 31: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 37: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, [ 1+x2^0<=-x1^0+x0^0 ], cost: 3 57: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, x2^0'=1+x2^0, [ 2+x2^0<=-x1^0+x0^0 ], cost: 5 58: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 64: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 68: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0-x2^0+x0^0>=1 ], cost: -3-4*x1^0-4*x2^0+4*x0^0 73: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [ -x1^0+x0^0<=1+x2^0 ], cost: 6 75: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: 1-3*x1^0-3*x2^0+3*x0^0 76: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -1-x1^0-x2^0+x0^0>=1 ], cost: -1-4*x1^0-4*x2^0+4*x0^0 77: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [], cost: 4 Applied pruning (of leafs and parallel rules): Start location: l10 35: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 2 46: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0+x0^0>=1 ], cost: -1-3*x1^0+3*x0^0 62: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: -3*x1^0+3*x0^0 66: l4 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -1-x1^0+x0^0>=1 ], cost: -2-4*x1^0+4*x0^0 71: l5 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 ], cost: 4 72: l5 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 ], cost: 5 28: l10 -> l4 : [], cost: 2 30: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=oldX3^post_12, oldX2^0'=oldX4^post_12, oldX3^0'=x2^post_11, oldX4^0'=oldX4^post_12, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 31: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=x2^post_11, [], cost: 3 58: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 64: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 68: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0-x2^0+x0^0>=1 ], cost: -3-4*x1^0-4*x2^0+4*x0^0 73: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=1+x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [ -x1^0+x0^0<=1+x2^0 ], cost: 6 75: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: 1-3*x1^0-3*x2^0+3*x0^0 76: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -1-x1^0-x2^0+x0^0>=1 ], cost: -1-4*x1^0-4*x2^0+4*x0^0 77: l10 -> l4 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=x2^0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=oldX3^post_3, [], cost: 4 Eliminated location l4 (as a last resort): Start location: l10 90: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=0, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 && 2+x1^0<=x0^0 ], cost: 6 91: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 && -2-x1^0+x0^0>=1 ], cost: -3*x1^0+3*x0^0 92: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 && -3-x1^0+x0^0>=1 ], cost: 1-3*x1^0+3*x0^0 93: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 && 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0+x0^0>=1 ], cost: -2-4*x1^0+4*x0^0 94: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=0, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 && 2+x1^0<=x0^0 ], cost: 7 95: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 && oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: 1-3*x1^0+3*x0^0 96: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 && oldX3^post_4<=oldX4^post_4 && -3-x1^0+x0^0>=1 ], cost: 2-3*x1^0+3*x0^0 97: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 && -2-x1^0+x0^0>=1 ], cost: -1-4*x1^0+4*x0^0 58: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 64: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 68: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0-x2^0+x0^0>=1 ], cost: -3-4*x1^0-4*x2^0+4*x0^0 75: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: 1-3*x1^0-3*x2^0+3*x0^0 76: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -1-x1^0-x2^0+x0^0>=1 ], cost: -1-4*x1^0-4*x2^0+4*x0^0 78: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 4 79: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0+x0^0>=1 ], cost: 1-3*x1^0+3*x0^0 80: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: 2-3*x1^0+3*x0^0 81: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -1-x1^0+x0^0>=1 ], cost: -4*x1^0+4*x0^0 82: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=0, oldX3^0'=x2^post_11, oldX4^0'=oldX4^post_12, x1^0'=1, x2^0'=0, [ 2<=x0^0 ], cost: 5 83: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=-2+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1, x2^0'=-2+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2+x0^0>=1 ], cost: -1+3*x0^0 84: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=-2+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1, x2^0'=-2+x0^0, [ oldX3^post_4<=oldX4^post_4 && -3+x0^0>=1 ], cost: 3*x0^0 85: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=-2+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=1, x2^0'=-2+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -2+x0^0>=1 ], cost: -3+4*x0^0 86: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=0, [ 2<=x0^0 ], cost: 5 87: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=-2+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1, x2^0'=-2+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2+x0^0>=1 ], cost: -1+3*x0^0 88: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=-2+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1, x2^0'=-2+x0^0, [ oldX3^post_4<=oldX4^post_4 && -3+x0^0>=1 ], cost: 3*x0^0 89: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=-2+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=1, x2^0'=-2+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -2+x0^0>=1 ], cost: -3+4*x0^0 98: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=0, [ -x1^0+x0^0<=1+x2^0 && 2+x1^0<=x0^0 ], cost: 8 99: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ -x1^0+x0^0<=1+x2^0 && oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: 2-3*x1^0+3*x0^0 100: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ -x1^0+x0^0<=1+x2^0 && oldX3^post_4<=oldX4^post_4 && -3-x1^0+x0^0>=1 ], cost: 3-3*x1^0+3*x0^0 101: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ -x1^0+x0^0<=1+x2^0 && 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0+x0^0>=1 ], cost: -4*x1^0+4*x0^0 102: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=0, [ 2+x1^0<=x0^0 ], cost: 6 103: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: -3*x1^0+3*x0^0 104: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0+x0^0>=1 ], cost: 1-3*x1^0+3*x0^0 105: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0+x0^0>=1 ], cost: -2-4*x1^0+4*x0^0 Merged rules: Start location: l10 90: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=0, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 && 2+x1^0<=x0^0 ], cost: 6 94: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=0, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 && 2+x1^0<=x0^0 ], cost: 7 106: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ -x1^0+x0^0<=1+x2^0 && oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: 1-3*x1^0+3*x0^0 107: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ -x1^0+x0^0<=1+x2^0 && oldX3^post_4<=oldX4^post_4 && -3-x1^0+x0^0>=1 ], cost: 2-3*x1^0+3*x0^0 108: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 && -2-x1^0+x0^0>=1 ], cost: -1-4*x1^0+4*x0^0 58: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 64: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 68: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0-x2^0+x0^0>=1 ], cost: -3-4*x1^0-4*x2^0+4*x0^0 75: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: 1-3*x1^0-3*x2^0+3*x0^0 76: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -1-x1^0-x2^0+x0^0>=1 ], cost: -1-4*x1^0-4*x2^0+4*x0^0 78: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=0, x2^0'=0, [ 1+x1^0<=x0^0 ], cost: 4 79: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0+x0^0>=1 ], cost: 1-3*x1^0+3*x0^0 80: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: 2-3*x1^0+3*x0^0 81: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x2^0'=-1-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -1-x1^0+x0^0>=1 ], cost: -4*x1^0+4*x0^0 82: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=0, oldX3^0'=x2^post_11, oldX4^0'=oldX4^post_12, x1^0'=1, x2^0'=0, [ 2<=x0^0 ], cost: 5 86: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=0, oldX3^0'=x2^post_11, x1^0'=1, x2^0'=0, [ 2<=x0^0 ], cost: 5 109: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=-2+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1, x2^0'=-2+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2+x0^0>=1 ], cost: -1+3*x0^0 110: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=-2+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1, x2^0'=-2+x0^0, [ oldX3^post_4<=oldX4^post_4 && -3+x0^0>=1 ], cost: 3*x0^0 111: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=-2+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=1, x2^0'=-2+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -2+x0^0>=1 ], cost: -3+4*x0^0 112: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, x1^0'=1+x1^0, x2^0'=0, [ 2+x1^0<=x0^0 ], cost: 8 113: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: 2-3*x1^0+3*x0^0 114: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0+x0^0>=1 ], cost: 3-3*x1^0+3*x0^0 115: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0+x0^0>=1 ], cost: -4*x1^0+4*x0^0 Applied pruning (of leafs and parallel rules): Start location: l10 90: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=0, [ oldX3^post_4<=oldX4^post_4 && -x1^0+x0^0<=1+x2^0 && 2+x1^0<=x0^0 ], cost: 6 94: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=0, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 && 2+x1^0<=x0^0 ], cost: 7 106: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ -x1^0+x0^0<=1+x2^0 && oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: 1-3*x1^0+3*x0^0 107: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ -x1^0+x0^0<=1+x2^0 && oldX3^post_4<=oldX4^post_4 && -3-x1^0+x0^0>=1 ], cost: 2-3*x1^0+3*x0^0 108: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 && -2-x1^0+x0^0>=1 ], cost: -1-4*x1^0+4*x0^0 58: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 64: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 75: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: 1-3*x1^0-3*x2^0+3*x0^0 80: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: 2-3*x1^0+3*x0^0 109: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=-2+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1, x2^0'=-2+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2+x0^0>=1 ], cost: -1+3*x0^0 Accelerating simple loops of location 5. Simplified some of the simple loops (and removed duplicate rules). Accelerating the following rules: 90: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=0, [ -x1^0+x0^0<=1+x2^0 && 2+x1^0<=x0^0 ], cost: 6 94: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=0, [ -x1^0+x0^0<=1+x2^0 && 2+x1^0<=x0^0 ], cost: 7 106: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ -x1^0+x0^0<=1+x2^0 && oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: 1-3*x1^0+3*x0^0 107: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ -x1^0+x0^0<=1+x2^0 && oldX3^post_4<=oldX4^post_4 && -3-x1^0+x0^0>=1 ], cost: 2-3*x1^0+3*x0^0 108: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=-2-x1^0+x0^0, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=-2-x1^0+x0^0, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 && -2-x1^0+x0^0>=1 ], cost: -1-4*x1^0+4*x0^0 Failed to prove monotonicity of the guard of rule 90. Failed to prove monotonicity of the guard of rule 94. Accelerated rule 106 with backward acceleration, yielding the new rule 116. Accelerated rule 107 with backward acceleration, yielding the new rule 117. Accelerated rule 108 with backward acceleration, yielding the new rule 118. [accelerate] Nesting with 5 inner and 5 outer candidates Removing the simple loops: 106 107 108. Accelerated all simple loops using metering functions (where possible): Start location: l10 90: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=0, [ -x1^0+x0^0<=1+x2^0 && 2+x1^0<=x0^0 ], cost: 6 94: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=0, [ -x1^0+x0^0<=1+x2^0 && 2+x1^0<=x0^0 ], cost: 7 116: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-2+x0^0, x2^0'=1, [ -x1^0+x0^0<=1+x2^0 && oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: -5-5/2*x1^0-3/2*(2+x1^0-x0^0)^2+5/2*x0^0-3*(2+x1^0-x0^0)*x0^0+3*x1^0*(2+x1^0-x0^0) 117: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=-3+x0^0, oldX2^0'=2, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-3+x0^0, x2^0'=2, [ -x1^0+x0^0<=1+x2^0 && oldX3^post_4<=oldX4^post_4 && -3-x1^0+x0^0>=1 ], cost: -21/2-7/2*x1^0-3/2*(3+x1^0-x0^0)^2-3*(3+x1^0-x0^0)*x0^0+7/2*x0^0+3*(3+x1^0-x0^0)*x1^0 118: l5 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=-2+x0^0, x2^0'=1, [ 1+oldX4^post_5<=oldX3^post_5 && -x1^0+x0^0<=1+x2^0 && -2-x1^0+x0^0>=1 ], cost: -2-x1^0-2*(2+x1^0-x0^0)^2+x0^0-4*(2+x1^0-x0^0)*x0^0+4*x1^0*(2+x1^0-x0^0) 58: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 64: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 75: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: 1-3*x1^0-3*x2^0+3*x0^0 80: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: 2-3*x1^0+3*x0^0 109: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=-2+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1, x2^0'=-2+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2+x0^0>=1 ], cost: -1+3*x0^0 Chained accelerated rules (with incoming rules): Start location: l10 58: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 64: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 75: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: 1-3*x1^0-3*x2^0+3*x0^0 80: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: 2-3*x1^0+3*x0^0 109: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=-2+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1, x2^0'=-2+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2+x0^0>=1 ], cost: -1+3*x0^0 119: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=0, [ -1-x1^0-x2^0+x0^0>=1 && 2+x1^0<=x0^0 ], cost: 6-3*x1^0-3*x2^0+3*x0^0 120: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=0, [ -3-x1^0-x2^0+x0^0>=1 && 2+x1^0<=x0^0 ], cost: 6-3*x1^0-3*x2^0+3*x0^0 121: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=0, [ -2-x1^0-x2^0+x0^0>=1 && 2+x1^0<=x0^0 ], cost: 7-3*x1^0-3*x2^0+3*x0^0 122: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_4, x1^0'=1+x1^0, x2^0'=0, [ -2-x1^0+x0^0>=1 ], cost: 8-3*x1^0+3*x0^0 123: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=2, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_4, x1^0'=2, x2^0'=0, [ -2+x0^0>=1 ], cost: 5+3*x0^0 124: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=0, [ -1-x1^0-x2^0+x0^0>=1 && 2+x1^0<=x0^0 ], cost: 7-3*x1^0-3*x2^0+3*x0^0 125: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=0, [ -3-x1^0-x2^0+x0^0>=1 && 2+x1^0<=x0^0 ], cost: 7-3*x1^0-3*x2^0+3*x0^0 126: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=0, [ -2-x1^0-x2^0+x0^0>=1 && 2+x1^0<=x0^0 ], cost: 8-3*x1^0-3*x2^0+3*x0^0 127: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=0, [ -2-x1^0+x0^0>=1 ], cost: 9-3*x1^0+3*x0^0 128: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=2, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=2, x2^0'=0, [ -2+x0^0>=1 ], cost: 6+3*x0^0 129: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-2+x0^0, x2^0'=1, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 && -2-x1^0+x0^0>=1 ], cost: -5-11/2*x1^0-3/2*(2+x1^0-x0^0)^2-3*x2^0+11/2*x0^0-3*(2+x1^0-x0^0)*x0^0+3*x1^0*(2+x1^0-x0^0) 130: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-2+x0^0, x2^0'=1, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0-x2^0+x0^0>=1 && -2-x1^0+x0^0>=1 ], cost: -5-11/2*x1^0-3/2*(2+x1^0-x0^0)^2-3*x2^0+11/2*x0^0-3*(2+x1^0-x0^0)*x0^0+3*x1^0*(2+x1^0-x0^0) 131: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-2+x0^0, x2^0'=1, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 && -2-x1^0+x0^0>=1 ], cost: -4-11/2*x1^0-3/2*(2+x1^0-x0^0)^2-3*x2^0+11/2*x0^0-3*(2+x1^0-x0^0)*x0^0+3*x1^0*(2+x1^0-x0^0) 132: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-2+x0^0, x2^0'=1, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: -3-11/2*x1^0-3/2*(2+x1^0-x0^0)^2+11/2*x0^0-3*(2+x1^0-x0^0)*x0^0+3*x1^0*(2+x1^0-x0^0) 133: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-2+x0^0, x2^0'=1, [ oldX3^post_4<=oldX4^post_4 && -3+x0^0>=1 ], cost: 1/2-3/2*(-3+x0^0)^2+5/2*x0^0+3*(-3+x0^0)*x0^0 134: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-3+x0^0, oldX2^0'=2, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-3+x0^0, x2^0'=2, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 && -3-x1^0+x0^0>=1 ], cost: -21/2-13/2*x1^0-3/2*(3+x1^0-x0^0)^2-3*x2^0-3*(3+x1^0-x0^0)*x0^0+13/2*x0^0+3*(3+x1^0-x0^0)*x1^0 135: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-3+x0^0, oldX2^0'=2, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-3+x0^0, x2^0'=2, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0-x2^0+x0^0>=1 && -3-x1^0+x0^0>=1 ], cost: -21/2-13/2*x1^0-3/2*(3+x1^0-x0^0)^2-3*x2^0-3*(3+x1^0-x0^0)*x0^0+13/2*x0^0+3*(3+x1^0-x0^0)*x1^0 136: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-3+x0^0, oldX2^0'=2, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-3+x0^0, x2^0'=2, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 && -3-x1^0+x0^0>=1 ], cost: -19/2-13/2*x1^0-3/2*(3+x1^0-x0^0)^2-3*x2^0-3*(3+x1^0-x0^0)*x0^0+13/2*x0^0+3*(3+x1^0-x0^0)*x1^0 137: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-3+x0^0, oldX2^0'=2, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-3+x0^0, x2^0'=2, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0+x0^0>=1 ], cost: -17/2-13/2*x1^0-3/2*(3+x1^0-x0^0)^2-3*(3+x1^0-x0^0)*x0^0+13/2*x0^0+3*(3+x1^0-x0^0)*x1^0 138: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-3+x0^0, oldX2^0'=2, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-3+x0^0, x2^0'=2, [ oldX3^post_4<=oldX4^post_4 && -4+x0^0>=1 ], cost: -3+3*(-4+x0^0)*x0^0-3/2*(-4+x0^0)^2+7/2*x0^0 139: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=-2+x0^0, x2^0'=1, [ -1-x1^0-x2^0+x0^0>=1 && 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0+x0^0>=1 ], cost: -2-4*x1^0-2*(2+x1^0-x0^0)^2-3*x2^0+4*x0^0-4*(2+x1^0-x0^0)*x0^0+4*x1^0*(2+x1^0-x0^0) 140: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=-2+x0^0, x2^0'=1, [ -3-x1^0-x2^0+x0^0>=1 && 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0+x0^0>=1 ], cost: -2-4*x1^0-2*(2+x1^0-x0^0)^2-3*x2^0+4*x0^0-4*(2+x1^0-x0^0)*x0^0+4*x1^0*(2+x1^0-x0^0) 141: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=-2+x0^0, x2^0'=1, [ -2-x1^0-x2^0+x0^0>=1 && 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0+x0^0>=1 ], cost: -1-4*x1^0-2*(2+x1^0-x0^0)^2-3*x2^0+4*x0^0-4*(2+x1^0-x0^0)*x0^0+4*x1^0*(2+x1^0-x0^0) 142: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=-2+x0^0, x2^0'=1, [ -2-x1^0+x0^0>=1 && 1+oldX4^post_5<=oldX3^post_5 ], cost: -4*x1^0-2*(2+x1^0-x0^0)^2+4*x0^0-4*(2+x1^0-x0^0)*x0^0+4*x1^0*(2+x1^0-x0^0) 143: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=-2+x0^0, x2^0'=1, [ 1+oldX4^post_5<=oldX3^post_5 && -3+x0^0>=1 ], cost: 8-2*(-3+x0^0)^2+4*(-3+x0^0)*x0^0 ### Computing asymptotic complexity ### Fully simplified ITS problem Start location: l10 58: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 64: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0-x2^0+x0^0>=1 ], cost: -3*x1^0-3*x2^0+3*x0^0 75: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 ], cost: 1-3*x1^0-3*x2^0+3*x0^0 80: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=x1^0, oldX2^0'=-1-x1^0+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x2^0'=-1-x1^0+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: 2-3*x1^0+3*x0^0 109: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1, oldX2^0'=-2+x0^0, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=1, x2^0'=-2+x0^0, [ oldX3^post_4<=oldX4^post_4 && -2+x0^0>=1 ], cost: -1+3*x0^0 124: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=0, [ -1-x1^0-x2^0+x0^0>=1 && 2+x1^0<=x0^0 ], cost: 7-3*x1^0-3*x2^0+3*x0^0 125: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=0, [ -3-x1^0-x2^0+x0^0>=1 && 2+x1^0<=x0^0 ], cost: 7-3*x1^0-3*x2^0+3*x0^0 126: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=0, [ -2-x1^0-x2^0+x0^0>=1 && 2+x1^0<=x0^0 ], cost: 8-3*x1^0-3*x2^0+3*x0^0 127: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=1+x1^0, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=1+x1^0, x2^0'=0, [ -2-x1^0+x0^0>=1 ], cost: 9-3*x1^0+3*x0^0 128: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=2, oldX2^0'=0, oldX3^0'=oldX3^post_3, oldX4^0'=oldX4^post_5, x1^0'=2, x2^0'=0, [ -2+x0^0>=1 ], cost: 6+3*x0^0 129: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-2+x0^0, x2^0'=1, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 && -2-x1^0+x0^0>=1 ], cost: -5-11/2*x1^0-3/2*(2+x1^0-x0^0)^2-3*x2^0+11/2*x0^0-3*(2+x1^0-x0^0)*x0^0+3*x1^0*(2+x1^0-x0^0) 130: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-2+x0^0, x2^0'=1, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0-x2^0+x0^0>=1 && -2-x1^0+x0^0>=1 ], cost: -5-11/2*x1^0-3/2*(2+x1^0-x0^0)^2-3*x2^0+11/2*x0^0-3*(2+x1^0-x0^0)*x0^0+3*x1^0*(2+x1^0-x0^0) 131: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-2+x0^0, x2^0'=1, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 && -2-x1^0+x0^0>=1 ], cost: -4-11/2*x1^0-3/2*(2+x1^0-x0^0)^2-3*x2^0+11/2*x0^0-3*(2+x1^0-x0^0)*x0^0+3*x1^0*(2+x1^0-x0^0) 132: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-2+x0^0, x2^0'=1, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0+x0^0>=1 ], cost: -3-11/2*x1^0-3/2*(2+x1^0-x0^0)^2+11/2*x0^0-3*(2+x1^0-x0^0)*x0^0+3*x1^0*(2+x1^0-x0^0) 133: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-2+x0^0, x2^0'=1, [ oldX3^post_4<=oldX4^post_4 && -3+x0^0>=1 ], cost: 1/2-3/2*(-3+x0^0)^2+5/2*x0^0+3*(-3+x0^0)*x0^0 134: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-3+x0^0, oldX2^0'=2, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-3+x0^0, x2^0'=2, [ oldX3^post_4<=oldX4^post_4 && -1-x1^0-x2^0+x0^0>=1 && -3-x1^0+x0^0>=1 ], cost: -21/2-13/2*x1^0-3/2*(3+x1^0-x0^0)^2-3*x2^0-3*(3+x1^0-x0^0)*x0^0+13/2*x0^0+3*(3+x1^0-x0^0)*x1^0 135: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-3+x0^0, oldX2^0'=2, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-3+x0^0, x2^0'=2, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0-x2^0+x0^0>=1 && -3-x1^0+x0^0>=1 ], cost: -21/2-13/2*x1^0-3/2*(3+x1^0-x0^0)^2-3*x2^0-3*(3+x1^0-x0^0)*x0^0+13/2*x0^0+3*(3+x1^0-x0^0)*x1^0 136: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-3+x0^0, oldX2^0'=2, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-3+x0^0, x2^0'=2, [ oldX3^post_4<=oldX4^post_4 && -2-x1^0-x2^0+x0^0>=1 && -3-x1^0+x0^0>=1 ], cost: -19/2-13/2*x1^0-3/2*(3+x1^0-x0^0)^2-3*x2^0-3*(3+x1^0-x0^0)*x0^0+13/2*x0^0+3*(3+x1^0-x0^0)*x1^0 137: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-3+x0^0, oldX2^0'=2, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-3+x0^0, x2^0'=2, [ oldX3^post_4<=oldX4^post_4 && -3-x1^0+x0^0>=1 ], cost: -17/2-13/2*x1^0-3/2*(3+x1^0-x0^0)^2-3*(3+x1^0-x0^0)*x0^0+13/2*x0^0+3*(3+x1^0-x0^0)*x1^0 138: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-3+x0^0, oldX2^0'=2, oldX3^0'=oldX3^post_4, oldX4^0'=oldX4^post_4, x1^0'=-3+x0^0, x2^0'=2, [ oldX3^post_4<=oldX4^post_4 && -4+x0^0>=1 ], cost: -3+3*(-4+x0^0)*x0^0-3/2*(-4+x0^0)^2+7/2*x0^0 139: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=-2+x0^0, x2^0'=1, [ -1-x1^0-x2^0+x0^0>=1 && 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0+x0^0>=1 ], cost: -2-4*x1^0-2*(2+x1^0-x0^0)^2-3*x2^0+4*x0^0-4*(2+x1^0-x0^0)*x0^0+4*x1^0*(2+x1^0-x0^0) 140: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=-2+x0^0, x2^0'=1, [ -3-x1^0-x2^0+x0^0>=1 && 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0+x0^0>=1 ], cost: -2-4*x1^0-2*(2+x1^0-x0^0)^2-3*x2^0+4*x0^0-4*(2+x1^0-x0^0)*x0^0+4*x1^0*(2+x1^0-x0^0) 141: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=-2+x0^0, x2^0'=1, [ -2-x1^0-x2^0+x0^0>=1 && 1+oldX4^post_5<=oldX3^post_5 && -2-x1^0+x0^0>=1 ], cost: -1-4*x1^0-2*(2+x1^0-x0^0)^2-3*x2^0+4*x0^0-4*(2+x1^0-x0^0)*x0^0+4*x1^0*(2+x1^0-x0^0) 142: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=-2+x0^0, x2^0'=1, [ -2-x1^0+x0^0>=1 && 1+oldX4^post_5<=oldX3^post_5 ], cost: -4*x1^0-2*(2+x1^0-x0^0)^2+4*x0^0-4*(2+x1^0-x0^0)*x0^0+4*x1^0*(2+x1^0-x0^0) 143: l10 -> l5 : oldX0^0'=x0^0, oldX1^0'=-2+x0^0, oldX2^0'=1, oldX3^0'=oldX3^post_5, oldX4^0'=oldX4^post_5, x1^0'=-2+x0^0, x2^0'=1, [ 1+oldX4^post_5<=oldX3^post_5 && -3+x0^0>=1 ], cost: 8-2*(-3+x0^0)^2+4*(-3+x0^0)*x0^0 Computing asymptotic complexity for rule 143 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 142 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 138 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 137 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 133 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 132 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 131 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 141 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 140 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 139 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 136 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 135 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 134 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 130 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 129 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 128 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 127 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 58 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 126 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 125 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 124 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 109 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 80 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 75 Resulting cost 0 has complexity: Unknown Computing asymptotic complexity for rule 64 Resulting cost 0 has complexity: Unknown Obtained the following overall complexity (w.r.t. the length of the input n): Complexity: Constant Cpx degree: 0 Solved cost: 1 Rule cost: 1 Rule guard: [ oldX0^0==oldX0^post_22 && oldX1^0==oldX1^post_22 && oldX2^0==oldX2^post_22 && oldX3^0==oldX3^post_22 && oldX4^0==oldX4^post_22 && oldX5^0==oldX5^post_22 && x0^0==x0^post_22 && x1^0==x1^post_22 && x2^0==x2^post_22 ] WORST_CASE(Omega(1),?)