WORST_CASE(Omega(0),?) Initial ITS Start location: l15 0: l0 -> l1 : K^0'=K^post0, yy^0'=yy^post0, next^0'=next^post0, xx^0'=xx^post0, N^0'=N^post0, z^0'=z^post0, pos^0'=pos^post0, (yy^0-yy^post0 == 0 /\ 1-K^0+K^post0 == 0 /\ -z^post0+z^0 == 0 /\ -next^post0+next^0 == 0 /\ -pos^post0+pos^0 == 0 /\ N^0-N^post0 == 0 /\ -xx^post0+xx^0 == 0), cost: 1 17: l1 -> l10 : K^0'=K^post17, yy^0'=yy^post17, next^0'=next^post17, xx^0'=xx^post17, N^0'=N^post17, z^0'=z^post17, pos^0'=pos^post17, (yy^0-yy^post17 == 0 /\ next^0-next^post17 == 0 /\ -z^post17+z^0 == 0 /\ -N^post17+N^0 == 0 /\ -pos^post17+pos^0 == 0 /\ K^0-K^post17 == 0 /\ xx^0-xx^post17 == 0), cost: 1 1: l2 -> l3 : K^0'=K^post1, yy^0'=yy^post1, next^0'=next^post1, xx^0'=xx^post1, N^0'=N^post1, z^0'=z^post1, pos^0'=pos^post1, (0 == 0 /\ -1-next^0+next^post1 == 0 /\ xx^0-xx^post1 == 0 /\ -z^post1 <= 0 /\ N^0-N^post1 == 0 /\ pos^post1 == 0 /\ yy^0-yy^post1 == 0 /\ 3-pos^0 <= 0 /\ K^0-K^post1 == 0), cost: 1 2: l2 -> l3 : K^0'=K^post2, yy^0'=yy^post2, next^0'=next^post2, xx^0'=xx^post2, N^0'=N^post2, z^0'=z^post2, pos^0'=pos^post2, (-2+pos^0 <= 0 /\ -z^post2+z^0 == 0 /\ yy^0 <= 0 /\ K^0-K^post2 == 0 /\ -1+pos^post2-pos^0 == 0 /\ xx^0-xx^post2 == 0 /\ -N^post2+N^0 == 0 /\ yy^0-yy^post2 == 0 /\ next^0-next^post2 == 0), cost: 1 5: l3 -> l1 : K^0'=K^post5, yy^0'=yy^post5, next^0'=next^post5, xx^0'=xx^post5, N^0'=N^post5, z^0'=z^post5, pos^0'=pos^post5, (-pos^post5+pos^0 == 0 /\ -z^post5+z^0 == 0 /\ -yy^0+xx^0 <= 0 /\ yy^0-yy^post5 == 0 /\ -xx^post5+xx^0 == 0 /\ next^0-next^post5 == 0 /\ yy^0-xx^0 <= 0 /\ K^0-K^post5 == 0 /\ -N^post5+N^0 == 0), cost: 1 6: l3 -> l0 : K^0'=K^post6, yy^0'=yy^post6, next^0'=next^post6, xx^0'=xx^post6, N^0'=N^post6, z^0'=z^post6, pos^0'=pos^post6, (-z^post6+z^0 == 0 /\ pos^0-pos^post6 == 0 /\ -N^post6+N^0 == 0 /\ K^0-K^post6 == 0 /\ 1+yy^0-xx^0 <= 0 /\ yy^0-yy^post6 == 0 /\ next^0-next^post6 == 0 /\ -xx^post6+xx^0 == 0), cost: 1 7: l3 -> l0 : K^0'=K^post7, yy^0'=yy^post7, next^0'=next^post7, xx^0'=xx^post7, N^0'=N^post7, z^0'=z^post7, pos^0'=pos^post7, (-xx^post7+xx^0 == 0 /\ 1-yy^0+xx^0 <= 0 /\ K^0-K^post7 == 0 /\ -pos^post7+pos^0 == 0 /\ z^0-z^post7 == 0 /\ N^0-N^post7 == 0 /\ -next^post7+next^0 == 0 /\ yy^0-yy^post7 == 0), cost: 1 3: l4 -> l2 : K^0'=K^post3, yy^0'=yy^post3, next^0'=next^post3, xx^0'=xx^post3, N^0'=N^post3, z^0'=z^post3, pos^0'=pos^post3, (K^0-K^post3 == 0 /\ yy^0-yy^post3 == 0 /\ next^0-next^post3 == 0 /\ -N^post3+N^0 == 0 /\ 2-pos^0 <= 0 /\ -pos^post3+pos^0 == 0 /\ -z^post3+z^0 == 0 /\ xx^0-xx^post3 == 0), cost: 1 4: l4 -> l3 : K^0'=K^post4, yy^0'=yy^post4, next^0'=next^post4, xx^0'=xx^post4, N^0'=N^post4, z^0'=z^post4, pos^0'=pos^post4, (-N^post4+N^0 == 0 /\ yy^0-yy^post4 == 0 /\ 1-yy^0 <= 0 /\ next^0-next^post4 == 0 /\ K^0-K^post4 == 0 /\ xx^0-xx^post4 == 0 /\ -1+pos^post4-pos^0 == 0 /\ -z^post4+z^0 == 0 /\ -1+pos^0 <= 0), cost: 1 8: l5 -> l4 : K^0'=K^post8, yy^0'=yy^post8, next^0'=next^post8, xx^0'=xx^post8, N^0'=N^post8, z^0'=z^post8, pos^0'=pos^post8, (xx^0-xx^post8 == 0 /\ -pos^post8+pos^0 == 0 /\ -next^post8+next^0 == 0 /\ N^0-N^post8 == 0 /\ yy^0-yy^post8 == 0 /\ K^0-K^post8 == 0 /\ z^0-z^post8 == 0 /\ 1-pos^0 <= 0), cost: 1 9: l5 -> l3 : K^0'=K^post9, yy^0'=yy^post9, next^0'=next^post9, xx^0'=xx^post9, N^0'=N^post9, z^0'=z^post9, pos^0'=pos^post9, (yy^0-yy^post9 == 0 /\ K^0-K^post9 == 0 /\ yy^0 <= 0 /\ next^0-next^post9 == 0 /\ -1+pos^post9-pos^0 == 0 /\ -N^post9+N^0 == 0 /\ -z^post9+z^0 == 0 /\ xx^0-xx^post9 == 0 /\ pos^0 <= 0), cost: 1 10: l6 -> l3 : K^0'=K^post10, yy^0'=yy^post10, next^0'=next^post10, xx^0'=xx^post10, N^0'=N^post10, z^0'=z^post10, pos^0'=pos^post10, (1-z^0 <= 0 /\ -pos^post10+pos^0 == 0 /\ next^0-next^post10 == 0 /\ -xx^post10+xx^0 == 0 /\ yy^0-yy^post10 == 0 /\ 1+z^post10-z^0 == 0 /\ K^0-K^post10 == 0 /\ -N^post10+N^0 == 0), cost: 1 11: l6 -> l5 : K^0'=K^post11, yy^0'=yy^post11, next^0'=next^post11, xx^0'=xx^post11, N^0'=N^post11, z^0'=z^post11, pos^0'=pos^post11, (-z^post11+z^0 == 0 /\ pos^0-pos^post11 == 0 /\ K^0-K^post11 == 0 /\ -N^post11+N^0 == 0 /\ z^0 <= 0 /\ -xx^post11+xx^0 == 0 /\ yy^0-yy^post11 == 0 /\ next^0-next^post11 == 0), cost: 1 12: l7 -> l8 : K^0'=K^post12, yy^0'=yy^post12, next^0'=next^post12, xx^0'=xx^post12, N^0'=N^post12, z^0'=z^post12, pos^0'=pos^post12, (0 == 0 /\ K^0-K^post12 == 0 /\ yy^0-yy^post12 == 0 /\ -1+next^post12-next^0 == 0 /\ pos^post12 == 0 /\ 3-pos^0 <= 0 /\ -xx^post12+xx^0 == 0 /\ -z^post12 <= 0 /\ N^0-N^post12 == 0), cost: 1 13: l7 -> l8 : K^0'=K^post13, yy^0'=yy^post13, next^0'=next^post13, xx^0'=xx^post13, N^0'=N^post13, z^0'=z^post13, pos^0'=pos^post13, (-2+pos^0 <= 0 /\ xx^0-xx^post13 == 0 /\ -next^post13+next^0 == 0 /\ yy^0-yy^post13 == 0 /\ xx^0 <= 0 /\ -1+pos^post13-pos^0 == 0 /\ -z^post13+z^0 == 0 /\ N^0-N^post13 == 0 /\ K^0-K^post13 == 0), cost: 1 16: l8 -> l6 : K^0'=K^post16, yy^0'=yy^post16, next^0'=next^post16, xx^0'=xx^post16, N^0'=N^post16, z^0'=z^post16, pos^0'=pos^post16, (0 == 0 /\ next^0-next^post16 == 0 /\ -1+yy^post16 <= 0 /\ K^0-K^post16 == 0 /\ -yy^post16 <= 0 /\ -pos^post16+pos^0 == 0 /\ xx^0-xx^post16 == 0 /\ -z^post16+z^0 == 0 /\ -N^post16+N^0 == 0), cost: 1 14: l9 -> l7 : K^0'=K^post14, yy^0'=yy^post14, next^0'=next^post14, xx^0'=xx^post14, N^0'=N^post14, z^0'=z^post14, pos^0'=pos^post14, (N^0-N^post14 == 0 /\ yy^0-yy^post14 == 0 /\ -next^post14+next^0 == 0 /\ 2-pos^0 <= 0 /\ z^0-z^post14 == 0 /\ -pos^post14+pos^0 == 0 /\ xx^0-xx^post14 == 0 /\ K^0-K^post14 == 0), cost: 1 15: l9 -> l8 : K^0'=K^post15, yy^0'=yy^post15, next^0'=next^post15, xx^0'=xx^post15, N^0'=N^post15, z^0'=z^post15, pos^0'=pos^post15, (-1+pos^post15-pos^0 == 0 /\ xx^0-xx^post15 == 0 /\ N^0-N^post15 == 0 /\ -yy^post15+yy^0 == 0 /\ K^0-K^post15 == 0 /\ -z^post15+z^0 == 0 /\ next^0-next^post15 == 0 /\ 1-xx^0 <= 0 /\ -1+pos^0 <= 0), cost: 1 22: l10 -> l13 : K^0'=K^post22, yy^0'=yy^post22, next^0'=next^post22, xx^0'=xx^post22, N^0'=N^post22, z^0'=z^post22, pos^0'=pos^post22, (K^0 <= 0 /\ -pos^post22+pos^0 == 0 /\ -z^post22+z^0 == 0 /\ yy^0-yy^post22 == 0 /\ -xx^post22+xx^0 == 0 /\ next^0-next^post22 == 0 /\ K^0-K^post22 == 0 /\ -N^post22+N^0 == 0), cost: 1 23: l10 -> l12 : K^0'=K^post23, yy^0'=yy^post23, next^0'=next^post23, xx^0'=xx^post23, N^0'=N^post23, z^0'=z^post23, pos^0'=pos^post23, (0 == 0 /\ yy^0-yy^post23 == 0 /\ 1-K^0 <= 0 /\ next^0-next^post23 == 0 /\ -z^post23+z^0 == 0 /\ -N^post23+N^0 == 0 /\ -1+xx^post23 <= 0 /\ -xx^post23 <= 0 /\ -pos^post23+pos^0 == 0 /\ K^0-K^post23 == 0), cost: 1 18: l11 -> l9 : K^0'=K^post18, yy^0'=yy^post18, next^0'=next^post18, xx^0'=xx^post18, N^0'=N^post18, z^0'=z^post18, pos^0'=pos^post18, (-xx^post18+xx^0 == 0 /\ pos^0-pos^post18 == 0 /\ K^0-K^post18 == 0 /\ -z^post18+z^0 == 0 /\ N^0-N^post18 == 0 /\ -next^post18+next^0 == 0 /\ yy^0-yy^post18 == 0 /\ 1-pos^0 <= 0), cost: 1 19: l11 -> l8 : K^0'=K^post19, yy^0'=yy^post19, next^0'=next^post19, xx^0'=xx^post19, N^0'=N^post19, z^0'=z^post19, pos^0'=pos^post19, (xx^0-xx^post19 == 0 /\ -next^post19+next^0 == 0 /\ N^0-N^post19 == 0 /\ yy^0-yy^post19 == 0 /\ xx^0 <= 0 /\ -1+pos^post19-pos^0 == 0 /\ z^0-z^post19 == 0 /\ K^0-K^post19 == 0 /\ pos^0 <= 0), cost: 1 20: l12 -> l8 : K^0'=K^post20, yy^0'=yy^post20, next^0'=next^post20, xx^0'=xx^post20, N^0'=N^post20, z^0'=z^post20, pos^0'=pos^post20, (1+z^post20-z^0 == 0 /\ 1-z^0 <= 0 /\ xx^0-xx^post20 == 0 /\ K^0-K^post20 == 0 /\ N^0-N^post20 == 0 /\ -pos^post20+pos^0 == 0 /\ -yy^post20+yy^0 == 0 /\ next^0-next^post20 == 0), cost: 1 21: l12 -> l11 : K^0'=K^post21, yy^0'=yy^post21, next^0'=next^post21, xx^0'=xx^post21, N^0'=N^post21, z^0'=z^post21, pos^0'=pos^post21, (next^0-next^post21 == 0 /\ K^0-K^post21 == 0 /\ -N^post21+N^0 == 0 /\ -pos^post21+pos^0 == 0 /\ z^0 <= 0 /\ xx^0-xx^post21 == 0 /\ yy^0-yy^post21 == 0 /\ -z^post21+z^0 == 0), cost: 1 24: l14 -> l1 : K^0'=K^post24, yy^0'=yy^post24, next^0'=next^post24, xx^0'=xx^post24, N^0'=N^post24, z^0'=z^post24, pos^0'=pos^post24, (0 == 0 /\ xx^post24 == 0 /\ -z^post24 <= 0 /\ yy^post24 == 0 /\ 1-N^post24 <= 0 /\ -1+next^post24 == 0 /\ pos^post24 == 0 /\ K^post24-N^post24 == 0), cost: 1 25: l15 -> l14 : K^0'=K^post25, yy^0'=yy^post25, next^0'=next^post25, xx^0'=xx^post25, N^0'=N^post25, z^0'=z^post25, pos^0'=pos^post25, (-pos^post25+pos^0 == 0 /\ -xx^post25+xx^0 == 0 /\ z^0-z^post25 == 0 /\ K^0-K^post25 == 0 /\ -N^post25+N^0 == 0 /\ yy^0-yy^post25 == 0 /\ next^0-next^post25 == 0), cost: 1 Removed unreachable rules and leafs Start location: l15 0: l0 -> l1 : K^0'=K^post0, yy^0'=yy^post0, next^0'=next^post0, xx^0'=xx^post0, N^0'=N^post0, z^0'=z^post0, pos^0'=pos^post0, (yy^0-yy^post0 == 0 /\ 1-K^0+K^post0 == 0 /\ -z^post0+z^0 == 0 /\ -next^post0+next^0 == 0 /\ -pos^post0+pos^0 == 0 /\ N^0-N^post0 == 0 /\ -xx^post0+xx^0 == 0), cost: 1 17: l1 -> l10 : K^0'=K^post17, yy^0'=yy^post17, next^0'=next^post17, xx^0'=xx^post17, N^0'=N^post17, z^0'=z^post17, pos^0'=pos^post17, (yy^0-yy^post17 == 0 /\ next^0-next^post17 == 0 /\ -z^post17+z^0 == 0 /\ -N^post17+N^0 == 0 /\ -pos^post17+pos^0 == 0 /\ K^0-K^post17 == 0 /\ xx^0-xx^post17 == 0), cost: 1 1: l2 -> l3 : K^0'=K^post1, yy^0'=yy^post1, next^0'=next^post1, xx^0'=xx^post1, N^0'=N^post1, z^0'=z^post1, pos^0'=pos^post1, (0 == 0 /\ -1-next^0+next^post1 == 0 /\ xx^0-xx^post1 == 0 /\ -z^post1 <= 0 /\ N^0-N^post1 == 0 /\ pos^post1 == 0 /\ yy^0-yy^post1 == 0 /\ 3-pos^0 <= 0 /\ K^0-K^post1 == 0), cost: 1 2: l2 -> l3 : K^0'=K^post2, yy^0'=yy^post2, next^0'=next^post2, xx^0'=xx^post2, N^0'=N^post2, z^0'=z^post2, pos^0'=pos^post2, (-2+pos^0 <= 0 /\ -z^post2+z^0 == 0 /\ yy^0 <= 0 /\ K^0-K^post2 == 0 /\ -1+pos^post2-pos^0 == 0 /\ xx^0-xx^post2 == 0 /\ -N^post2+N^0 == 0 /\ yy^0-yy^post2 == 0 /\ next^0-next^post2 == 0), cost: 1 5: l3 -> l1 : K^0'=K^post5, yy^0'=yy^post5, next^0'=next^post5, xx^0'=xx^post5, N^0'=N^post5, z^0'=z^post5, pos^0'=pos^post5, (-pos^post5+pos^0 == 0 /\ -z^post5+z^0 == 0 /\ -yy^0+xx^0 <= 0 /\ yy^0-yy^post5 == 0 /\ -xx^post5+xx^0 == 0 /\ next^0-next^post5 == 0 /\ yy^0-xx^0 <= 0 /\ K^0-K^post5 == 0 /\ -N^post5+N^0 == 0), cost: 1 6: l3 -> l0 : K^0'=K^post6, yy^0'=yy^post6, next^0'=next^post6, xx^0'=xx^post6, N^0'=N^post6, z^0'=z^post6, pos^0'=pos^post6, (-z^post6+z^0 == 0 /\ pos^0-pos^post6 == 0 /\ -N^post6+N^0 == 0 /\ K^0-K^post6 == 0 /\ 1+yy^0-xx^0 <= 0 /\ yy^0-yy^post6 == 0 /\ next^0-next^post6 == 0 /\ -xx^post6+xx^0 == 0), cost: 1 7: l3 -> l0 : K^0'=K^post7, yy^0'=yy^post7, next^0'=next^post7, xx^0'=xx^post7, N^0'=N^post7, z^0'=z^post7, pos^0'=pos^post7, (-xx^post7+xx^0 == 0 /\ 1-yy^0+xx^0 <= 0 /\ K^0-K^post7 == 0 /\ -pos^post7+pos^0 == 0 /\ z^0-z^post7 == 0 /\ N^0-N^post7 == 0 /\ -next^post7+next^0 == 0 /\ yy^0-yy^post7 == 0), cost: 1 3: l4 -> l2 : K^0'=K^post3, yy^0'=yy^post3, next^0'=next^post3, xx^0'=xx^post3, N^0'=N^post3, z^0'=z^post3, pos^0'=pos^post3, (K^0-K^post3 == 0 /\ yy^0-yy^post3 == 0 /\ next^0-next^post3 == 0 /\ -N^post3+N^0 == 0 /\ 2-pos^0 <= 0 /\ -pos^post3+pos^0 == 0 /\ -z^post3+z^0 == 0 /\ xx^0-xx^post3 == 0), cost: 1 4: l4 -> l3 : K^0'=K^post4, yy^0'=yy^post4, next^0'=next^post4, xx^0'=xx^post4, N^0'=N^post4, z^0'=z^post4, pos^0'=pos^post4, (-N^post4+N^0 == 0 /\ yy^0-yy^post4 == 0 /\ 1-yy^0 <= 0 /\ next^0-next^post4 == 0 /\ K^0-K^post4 == 0 /\ xx^0-xx^post4 == 0 /\ -1+pos^post4-pos^0 == 0 /\ -z^post4+z^0 == 0 /\ -1+pos^0 <= 0), cost: 1 8: l5 -> l4 : K^0'=K^post8, yy^0'=yy^post8, next^0'=next^post8, xx^0'=xx^post8, N^0'=N^post8, z^0'=z^post8, pos^0'=pos^post8, (xx^0-xx^post8 == 0 /\ -pos^post8+pos^0 == 0 /\ -next^post8+next^0 == 0 /\ N^0-N^post8 == 0 /\ yy^0-yy^post8 == 0 /\ K^0-K^post8 == 0 /\ z^0-z^post8 == 0 /\ 1-pos^0 <= 0), cost: 1 9: l5 -> l3 : K^0'=K^post9, yy^0'=yy^post9, next^0'=next^post9, xx^0'=xx^post9, N^0'=N^post9, z^0'=z^post9, pos^0'=pos^post9, (yy^0-yy^post9 == 0 /\ K^0-K^post9 == 0 /\ yy^0 <= 0 /\ next^0-next^post9 == 0 /\ -1+pos^post9-pos^0 == 0 /\ -N^post9+N^0 == 0 /\ -z^post9+z^0 == 0 /\ xx^0-xx^post9 == 0 /\ pos^0 <= 0), cost: 1 10: l6 -> l3 : K^0'=K^post10, yy^0'=yy^post10, next^0'=next^post10, xx^0'=xx^post10, N^0'=N^post10, z^0'=z^post10, pos^0'=pos^post10, (1-z^0 <= 0 /\ -pos^post10+pos^0 == 0 /\ next^0-next^post10 == 0 /\ -xx^post10+xx^0 == 0 /\ yy^0-yy^post10 == 0 /\ 1+z^post10-z^0 == 0 /\ K^0-K^post10 == 0 /\ -N^post10+N^0 == 0), cost: 1 11: l6 -> l5 : K^0'=K^post11, yy^0'=yy^post11, next^0'=next^post11, xx^0'=xx^post11, N^0'=N^post11, z^0'=z^post11, pos^0'=pos^post11, (-z^post11+z^0 == 0 /\ pos^0-pos^post11 == 0 /\ K^0-K^post11 == 0 /\ -N^post11+N^0 == 0 /\ z^0 <= 0 /\ -xx^post11+xx^0 == 0 /\ yy^0-yy^post11 == 0 /\ next^0-next^post11 == 0), cost: 1 12: l7 -> l8 : K^0'=K^post12, yy^0'=yy^post12, next^0'=next^post12, xx^0'=xx^post12, N^0'=N^post12, z^0'=z^post12, pos^0'=pos^post12, (0 == 0 /\ K^0-K^post12 == 0 /\ yy^0-yy^post12 == 0 /\ -1+next^post12-next^0 == 0 /\ pos^post12 == 0 /\ 3-pos^0 <= 0 /\ -xx^post12+xx^0 == 0 /\ -z^post12 <= 0 /\ N^0-N^post12 == 0), cost: 1 13: l7 -> l8 : K^0'=K^post13, yy^0'=yy^post13, next^0'=next^post13, xx^0'=xx^post13, N^0'=N^post13, z^0'=z^post13, pos^0'=pos^post13, (-2+pos^0 <= 0 /\ xx^0-xx^post13 == 0 /\ -next^post13+next^0 == 0 /\ yy^0-yy^post13 == 0 /\ xx^0 <= 0 /\ -1+pos^post13-pos^0 == 0 /\ -z^post13+z^0 == 0 /\ N^0-N^post13 == 0 /\ K^0-K^post13 == 0), cost: 1 16: l8 -> l6 : K^0'=K^post16, yy^0'=yy^post16, next^0'=next^post16, xx^0'=xx^post16, N^0'=N^post16, z^0'=z^post16, pos^0'=pos^post16, (0 == 0 /\ next^0-next^post16 == 0 /\ -1+yy^post16 <= 0 /\ K^0-K^post16 == 0 /\ -yy^post16 <= 0 /\ -pos^post16+pos^0 == 0 /\ xx^0-xx^post16 == 0 /\ -z^post16+z^0 == 0 /\ -N^post16+N^0 == 0), cost: 1 14: l9 -> l7 : K^0'=K^post14, yy^0'=yy^post14, next^0'=next^post14, xx^0'=xx^post14, N^0'=N^post14, z^0'=z^post14, pos^0'=pos^post14, (N^0-N^post14 == 0 /\ yy^0-yy^post14 == 0 /\ -next^post14+next^0 == 0 /\ 2-pos^0 <= 0 /\ z^0-z^post14 == 0 /\ -pos^post14+pos^0 == 0 /\ xx^0-xx^post14 == 0 /\ K^0-K^post14 == 0), cost: 1 15: l9 -> l8 : K^0'=K^post15, yy^0'=yy^post15, next^0'=next^post15, xx^0'=xx^post15, N^0'=N^post15, z^0'=z^post15, pos^0'=pos^post15, (-1+pos^post15-pos^0 == 0 /\ xx^0-xx^post15 == 0 /\ N^0-N^post15 == 0 /\ -yy^post15+yy^0 == 0 /\ K^0-K^post15 == 0 /\ -z^post15+z^0 == 0 /\ next^0-next^post15 == 0 /\ 1-xx^0 <= 0 /\ -1+pos^0 <= 0), cost: 1 23: l10 -> l12 : K^0'=K^post23, yy^0'=yy^post23, next^0'=next^post23, xx^0'=xx^post23, N^0'=N^post23, z^0'=z^post23, pos^0'=pos^post23, (0 == 0 /\ yy^0-yy^post23 == 0 /\ 1-K^0 <= 0 /\ next^0-next^post23 == 0 /\ -z^post23+z^0 == 0 /\ -N^post23+N^0 == 0 /\ -1+xx^post23 <= 0 /\ -xx^post23 <= 0 /\ -pos^post23+pos^0 == 0 /\ K^0-K^post23 == 0), cost: 1 18: l11 -> l9 : K^0'=K^post18, yy^0'=yy^post18, next^0'=next^post18, xx^0'=xx^post18, N^0'=N^post18, z^0'=z^post18, pos^0'=pos^post18, (-xx^post18+xx^0 == 0 /\ pos^0-pos^post18 == 0 /\ K^0-K^post18 == 0 /\ -z^post18+z^0 == 0 /\ N^0-N^post18 == 0 /\ -next^post18+next^0 == 0 /\ yy^0-yy^post18 == 0 /\ 1-pos^0 <= 0), cost: 1 19: l11 -> l8 : K^0'=K^post19, yy^0'=yy^post19, next^0'=next^post19, xx^0'=xx^post19, N^0'=N^post19, z^0'=z^post19, pos^0'=pos^post19, (xx^0-xx^post19 == 0 /\ -next^post19+next^0 == 0 /\ N^0-N^post19 == 0 /\ yy^0-yy^post19 == 0 /\ xx^0 <= 0 /\ -1+pos^post19-pos^0 == 0 /\ z^0-z^post19 == 0 /\ K^0-K^post19 == 0 /\ pos^0 <= 0), cost: 1 20: l12 -> l8 : K^0'=K^post20, yy^0'=yy^post20, next^0'=next^post20, xx^0'=xx^post20, N^0'=N^post20, z^0'=z^post20, pos^0'=pos^post20, (1+z^post20-z^0 == 0 /\ 1-z^0 <= 0 /\ xx^0-xx^post20 == 0 /\ K^0-K^post20 == 0 /\ N^0-N^post20 == 0 /\ -pos^post20+pos^0 == 0 /\ -yy^post20+yy^0 == 0 /\ next^0-next^post20 == 0), cost: 1 21: l12 -> l11 : K^0'=K^post21, yy^0'=yy^post21, next^0'=next^post21, xx^0'=xx^post21, N^0'=N^post21, z^0'=z^post21, pos^0'=pos^post21, (next^0-next^post21 == 0 /\ K^0-K^post21 == 0 /\ -N^post21+N^0 == 0 /\ -pos^post21+pos^0 == 0 /\ z^0 <= 0 /\ xx^0-xx^post21 == 0 /\ yy^0-yy^post21 == 0 /\ -z^post21+z^0 == 0), cost: 1 24: l14 -> l1 : K^0'=K^post24, yy^0'=yy^post24, next^0'=next^post24, xx^0'=xx^post24, N^0'=N^post24, z^0'=z^post24, pos^0'=pos^post24, (0 == 0 /\ xx^post24 == 0 /\ -z^post24 <= 0 /\ yy^post24 == 0 /\ 1-N^post24 <= 0 /\ -1+next^post24 == 0 /\ pos^post24 == 0 /\ K^post24-N^post24 == 0), cost: 1 25: l15 -> l14 : K^0'=K^post25, yy^0'=yy^post25, next^0'=next^post25, xx^0'=xx^post25, N^0'=N^post25, z^0'=z^post25, pos^0'=pos^post25, (-pos^post25+pos^0 == 0 /\ -xx^post25+xx^0 == 0 /\ z^0-z^post25 == 0 /\ K^0-K^post25 == 0 /\ -N^post25+N^0 == 0 /\ yy^0-yy^post25 == 0 /\ next^0-next^post25 == 0), cost: 1 Applied preprocessing Original rule: l0 -> l1 : K^0'=K^post0, yy^0'=yy^post0, next^0'=next^post0, xx^0'=xx^post0, N^0'=N^post0, z^0'=z^post0, pos^0'=pos^post0, (yy^0-yy^post0 == 0 /\ 1-K^0+K^post0 == 0 /\ -z^post0+z^0 == 0 /\ -next^post0+next^0 == 0 /\ -pos^post0+pos^0 == 0 /\ N^0-N^post0 == 0 /\ -xx^post0+xx^0 == 0), cost: 1 New rule: l0 -> l1 : K^0'=-1+K^0, TRUE, cost: 1 Applied preprocessing Original rule: l2 -> l3 : K^0'=K^post1, yy^0'=yy^post1, next^0'=next^post1, xx^0'=xx^post1, N^0'=N^post1, z^0'=z^post1, pos^0'=pos^post1, (0 == 0 /\ -1-next^0+next^post1 == 0 /\ xx^0-xx^post1 == 0 /\ -z^post1 <= 0 /\ N^0-N^post1 == 0 /\ pos^post1 == 0 /\ yy^0-yy^post1 == 0 /\ 3-pos^0 <= 0 /\ K^0-K^post1 == 0), cost: 1 New rule: l2 -> l3 : next^0'=1+next^0, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0), cost: 1 Applied preprocessing Original rule: l2 -> l3 : K^0'=K^post2, yy^0'=yy^post2, next^0'=next^post2, xx^0'=xx^post2, N^0'=N^post2, z^0'=z^post2, pos^0'=pos^post2, (-2+pos^0 <= 0 /\ -z^post2+z^0 == 0 /\ yy^0 <= 0 /\ K^0-K^post2 == 0 /\ -1+pos^post2-pos^0 == 0 /\ xx^0-xx^post2 == 0 /\ -N^post2+N^0 == 0 /\ yy^0-yy^post2 == 0 /\ next^0-next^post2 == 0), cost: 1 New rule: l2 -> l3 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ yy^0 <= 0), cost: 1 Applied preprocessing Original rule: l4 -> l2 : K^0'=K^post3, yy^0'=yy^post3, next^0'=next^post3, xx^0'=xx^post3, N^0'=N^post3, z^0'=z^post3, pos^0'=pos^post3, (K^0-K^post3 == 0 /\ yy^0-yy^post3 == 0 /\ next^0-next^post3 == 0 /\ -N^post3+N^0 == 0 /\ 2-pos^0 <= 0 /\ -pos^post3+pos^0 == 0 /\ -z^post3+z^0 == 0 /\ xx^0-xx^post3 == 0), cost: 1 New rule: l4 -> l2 : -2+pos^0 >= 0, cost: 1 Applied preprocessing Original rule: l4 -> l3 : K^0'=K^post4, yy^0'=yy^post4, next^0'=next^post4, xx^0'=xx^post4, N^0'=N^post4, z^0'=z^post4, pos^0'=pos^post4, (-N^post4+N^0 == 0 /\ yy^0-yy^post4 == 0 /\ 1-yy^0 <= 0 /\ next^0-next^post4 == 0 /\ K^0-K^post4 == 0 /\ xx^0-xx^post4 == 0 /\ -1+pos^post4-pos^0 == 0 /\ -z^post4+z^0 == 0 /\ -1+pos^0 <= 0), cost: 1 New rule: l4 -> l3 : pos^0'=1+pos^0, (-1+yy^0 >= 0 /\ -1+pos^0 <= 0), cost: 1 Applied preprocessing Original rule: l3 -> l1 : K^0'=K^post5, yy^0'=yy^post5, next^0'=next^post5, xx^0'=xx^post5, N^0'=N^post5, z^0'=z^post5, pos^0'=pos^post5, (-pos^post5+pos^0 == 0 /\ -z^post5+z^0 == 0 /\ -yy^0+xx^0 <= 0 /\ yy^0-yy^post5 == 0 /\ -xx^post5+xx^0 == 0 /\ next^0-next^post5 == 0 /\ yy^0-xx^0 <= 0 /\ K^0-K^post5 == 0 /\ -N^post5+N^0 == 0), cost: 1 New rule: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 Applied preprocessing Original rule: l3 -> l0 : K^0'=K^post6, yy^0'=yy^post6, next^0'=next^post6, xx^0'=xx^post6, N^0'=N^post6, z^0'=z^post6, pos^0'=pos^post6, (-z^post6+z^0 == 0 /\ pos^0-pos^post6 == 0 /\ -N^post6+N^0 == 0 /\ K^0-K^post6 == 0 /\ 1+yy^0-xx^0 <= 0 /\ yy^0-yy^post6 == 0 /\ next^0-next^post6 == 0 /\ -xx^post6+xx^0 == 0), cost: 1 New rule: l3 -> l0 : 1+yy^0-xx^0 <= 0, cost: 1 Applied preprocessing Original rule: l3 -> l0 : K^0'=K^post7, yy^0'=yy^post7, next^0'=next^post7, xx^0'=xx^post7, N^0'=N^post7, z^0'=z^post7, pos^0'=pos^post7, (-xx^post7+xx^0 == 0 /\ 1-yy^0+xx^0 <= 0 /\ K^0-K^post7 == 0 /\ -pos^post7+pos^0 == 0 /\ z^0-z^post7 == 0 /\ N^0-N^post7 == 0 /\ -next^post7+next^0 == 0 /\ yy^0-yy^post7 == 0), cost: 1 New rule: l3 -> l0 : 1-yy^0+xx^0 <= 0, cost: 1 Applied preprocessing Original rule: l5 -> l4 : K^0'=K^post8, yy^0'=yy^post8, next^0'=next^post8, xx^0'=xx^post8, N^0'=N^post8, z^0'=z^post8, pos^0'=pos^post8, (xx^0-xx^post8 == 0 /\ -pos^post8+pos^0 == 0 /\ -next^post8+next^0 == 0 /\ N^0-N^post8 == 0 /\ yy^0-yy^post8 == 0 /\ K^0-K^post8 == 0 /\ z^0-z^post8 == 0 /\ 1-pos^0 <= 0), cost: 1 New rule: l5 -> l4 : -1+pos^0 >= 0, cost: 1 Applied preprocessing Original rule: l5 -> l3 : K^0'=K^post9, yy^0'=yy^post9, next^0'=next^post9, xx^0'=xx^post9, N^0'=N^post9, z^0'=z^post9, pos^0'=pos^post9, (yy^0-yy^post9 == 0 /\ K^0-K^post9 == 0 /\ yy^0 <= 0 /\ next^0-next^post9 == 0 /\ -1+pos^post9-pos^0 == 0 /\ -N^post9+N^0 == 0 /\ -z^post9+z^0 == 0 /\ xx^0-xx^post9 == 0 /\ pos^0 <= 0), cost: 1 New rule: l5 -> l3 : pos^0'=1+pos^0, (yy^0 <= 0 /\ pos^0 <= 0), cost: 1 Applied preprocessing Original rule: l6 -> l3 : K^0'=K^post10, yy^0'=yy^post10, next^0'=next^post10, xx^0'=xx^post10, N^0'=N^post10, z^0'=z^post10, pos^0'=pos^post10, (1-z^0 <= 0 /\ -pos^post10+pos^0 == 0 /\ next^0-next^post10 == 0 /\ -xx^post10+xx^0 == 0 /\ yy^0-yy^post10 == 0 /\ 1+z^post10-z^0 == 0 /\ K^0-K^post10 == 0 /\ -N^post10+N^0 == 0), cost: 1 New rule: l6 -> l3 : z^0'=-1+z^0, -1+z^0 >= 0, cost: 1 Applied preprocessing Original rule: l6 -> l5 : K^0'=K^post11, yy^0'=yy^post11, next^0'=next^post11, xx^0'=xx^post11, N^0'=N^post11, z^0'=z^post11, pos^0'=pos^post11, (-z^post11+z^0 == 0 /\ pos^0-pos^post11 == 0 /\ K^0-K^post11 == 0 /\ -N^post11+N^0 == 0 /\ z^0 <= 0 /\ -xx^post11+xx^0 == 0 /\ yy^0-yy^post11 == 0 /\ next^0-next^post11 == 0), cost: 1 New rule: l6 -> l5 : z^0 <= 0, cost: 1 Applied preprocessing Original rule: l7 -> l8 : K^0'=K^post12, yy^0'=yy^post12, next^0'=next^post12, xx^0'=xx^post12, N^0'=N^post12, z^0'=z^post12, pos^0'=pos^post12, (0 == 0 /\ K^0-K^post12 == 0 /\ yy^0-yy^post12 == 0 /\ -1+next^post12-next^0 == 0 /\ pos^post12 == 0 /\ 3-pos^0 <= 0 /\ -xx^post12+xx^0 == 0 /\ -z^post12 <= 0 /\ N^0-N^post12 == 0), cost: 1 New rule: l7 -> l8 : next^0'=1+next^0, z^0'=z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ z^post12 >= 0), cost: 1 Applied preprocessing Original rule: l7 -> l8 : K^0'=K^post13, yy^0'=yy^post13, next^0'=next^post13, xx^0'=xx^post13, N^0'=N^post13, z^0'=z^post13, pos^0'=pos^post13, (-2+pos^0 <= 0 /\ xx^0-xx^post13 == 0 /\ -next^post13+next^0 == 0 /\ yy^0-yy^post13 == 0 /\ xx^0 <= 0 /\ -1+pos^post13-pos^0 == 0 /\ -z^post13+z^0 == 0 /\ N^0-N^post13 == 0 /\ K^0-K^post13 == 0), cost: 1 New rule: l7 -> l8 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ xx^0 <= 0), cost: 1 Applied preprocessing Original rule: l9 -> l7 : K^0'=K^post14, yy^0'=yy^post14, next^0'=next^post14, xx^0'=xx^post14, N^0'=N^post14, z^0'=z^post14, pos^0'=pos^post14, (N^0-N^post14 == 0 /\ yy^0-yy^post14 == 0 /\ -next^post14+next^0 == 0 /\ 2-pos^0 <= 0 /\ z^0-z^post14 == 0 /\ -pos^post14+pos^0 == 0 /\ xx^0-xx^post14 == 0 /\ K^0-K^post14 == 0), cost: 1 New rule: l9 -> l7 : -2+pos^0 >= 0, cost: 1 Applied preprocessing Original rule: l9 -> l8 : K^0'=K^post15, yy^0'=yy^post15, next^0'=next^post15, xx^0'=xx^post15, N^0'=N^post15, z^0'=z^post15, pos^0'=pos^post15, (-1+pos^post15-pos^0 == 0 /\ xx^0-xx^post15 == 0 /\ N^0-N^post15 == 0 /\ -yy^post15+yy^0 == 0 /\ K^0-K^post15 == 0 /\ -z^post15+z^0 == 0 /\ next^0-next^post15 == 0 /\ 1-xx^0 <= 0 /\ -1+pos^0 <= 0), cost: 1 New rule: l9 -> l8 : pos^0'=1+pos^0, (-1+xx^0 >= 0 /\ -1+pos^0 <= 0), cost: 1 Applied preprocessing Original rule: l8 -> l6 : K^0'=K^post16, yy^0'=yy^post16, next^0'=next^post16, xx^0'=xx^post16, N^0'=N^post16, z^0'=z^post16, pos^0'=pos^post16, (0 == 0 /\ next^0-next^post16 == 0 /\ -1+yy^post16 <= 0 /\ K^0-K^post16 == 0 /\ -yy^post16 <= 0 /\ -pos^post16+pos^0 == 0 /\ xx^0-xx^post16 == 0 /\ -z^post16+z^0 == 0 /\ -N^post16+N^0 == 0), cost: 1 New rule: l8 -> l6 : yy^0'=yy^post16, (-1+yy^post16 <= 0 /\ yy^post16 >= 0), cost: 1 Applied preprocessing Original rule: l1 -> l10 : K^0'=K^post17, yy^0'=yy^post17, next^0'=next^post17, xx^0'=xx^post17, N^0'=N^post17, z^0'=z^post17, pos^0'=pos^post17, (yy^0-yy^post17 == 0 /\ next^0-next^post17 == 0 /\ -z^post17+z^0 == 0 /\ -N^post17+N^0 == 0 /\ -pos^post17+pos^0 == 0 /\ K^0-K^post17 == 0 /\ xx^0-xx^post17 == 0), cost: 1 New rule: l1 -> l10 : TRUE, cost: 1 Applied preprocessing Original rule: l11 -> l9 : K^0'=K^post18, yy^0'=yy^post18, next^0'=next^post18, xx^0'=xx^post18, N^0'=N^post18, z^0'=z^post18, pos^0'=pos^post18, (-xx^post18+xx^0 == 0 /\ pos^0-pos^post18 == 0 /\ K^0-K^post18 == 0 /\ -z^post18+z^0 == 0 /\ N^0-N^post18 == 0 /\ -next^post18+next^0 == 0 /\ yy^0-yy^post18 == 0 /\ 1-pos^0 <= 0), cost: 1 New rule: l11 -> l9 : -1+pos^0 >= 0, cost: 1 Applied preprocessing Original rule: l11 -> l8 : K^0'=K^post19, yy^0'=yy^post19, next^0'=next^post19, xx^0'=xx^post19, N^0'=N^post19, z^0'=z^post19, pos^0'=pos^post19, (xx^0-xx^post19 == 0 /\ -next^post19+next^0 == 0 /\ N^0-N^post19 == 0 /\ yy^0-yy^post19 == 0 /\ xx^0 <= 0 /\ -1+pos^post19-pos^0 == 0 /\ z^0-z^post19 == 0 /\ K^0-K^post19 == 0 /\ pos^0 <= 0), cost: 1 New rule: l11 -> l8 : pos^0'=1+pos^0, (xx^0 <= 0 /\ pos^0 <= 0), cost: 1 Applied preprocessing Original rule: l12 -> l8 : K^0'=K^post20, yy^0'=yy^post20, next^0'=next^post20, xx^0'=xx^post20, N^0'=N^post20, z^0'=z^post20, pos^0'=pos^post20, (1+z^post20-z^0 == 0 /\ 1-z^0 <= 0 /\ xx^0-xx^post20 == 0 /\ K^0-K^post20 == 0 /\ N^0-N^post20 == 0 /\ -pos^post20+pos^0 == 0 /\ -yy^post20+yy^0 == 0 /\ next^0-next^post20 == 0), cost: 1 New rule: l12 -> l8 : z^0'=-1+z^0, -1+z^0 >= 0, cost: 1 Applied preprocessing Original rule: l12 -> l11 : K^0'=K^post21, yy^0'=yy^post21, next^0'=next^post21, xx^0'=xx^post21, N^0'=N^post21, z^0'=z^post21, pos^0'=pos^post21, (next^0-next^post21 == 0 /\ K^0-K^post21 == 0 /\ -N^post21+N^0 == 0 /\ -pos^post21+pos^0 == 0 /\ z^0 <= 0 /\ xx^0-xx^post21 == 0 /\ yy^0-yy^post21 == 0 /\ -z^post21+z^0 == 0), cost: 1 New rule: l12 -> l11 : z^0 <= 0, cost: 1 Applied preprocessing Original rule: l10 -> l12 : K^0'=K^post23, yy^0'=yy^post23, next^0'=next^post23, xx^0'=xx^post23, N^0'=N^post23, z^0'=z^post23, pos^0'=pos^post23, (0 == 0 /\ yy^0-yy^post23 == 0 /\ 1-K^0 <= 0 /\ next^0-next^post23 == 0 /\ -z^post23+z^0 == 0 /\ -N^post23+N^0 == 0 /\ -1+xx^post23 <= 0 /\ -xx^post23 <= 0 /\ -pos^post23+pos^0 == 0 /\ K^0-K^post23 == 0), cost: 1 New rule: l10 -> l12 : xx^0'=xx^post23, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 1 Applied preprocessing Original rule: l14 -> l1 : K^0'=K^post24, yy^0'=yy^post24, next^0'=next^post24, xx^0'=xx^post24, N^0'=N^post24, z^0'=z^post24, pos^0'=pos^post24, (0 == 0 /\ xx^post24 == 0 /\ -z^post24 <= 0 /\ yy^post24 == 0 /\ 1-N^post24 <= 0 /\ -1+next^post24 == 0 /\ pos^post24 == 0 /\ K^post24-N^post24 == 0), cost: 1 New rule: l14 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 1 Applied preprocessing Original rule: l15 -> l14 : K^0'=K^post25, yy^0'=yy^post25, next^0'=next^post25, xx^0'=xx^post25, N^0'=N^post25, z^0'=z^post25, pos^0'=pos^post25, (-pos^post25+pos^0 == 0 /\ -xx^post25+xx^0 == 0 /\ z^0-z^post25 == 0 /\ K^0-K^post25 == 0 /\ -N^post25+N^0 == 0 /\ yy^0-yy^post25 == 0 /\ next^0-next^post25 == 0), cost: 1 New rule: l15 -> l14 : TRUE, cost: 1 Simplified rules Start location: l15 26: l0 -> l1 : K^0'=-1+K^0, TRUE, cost: 1 43: l1 -> l10 : TRUE, cost: 1 27: l2 -> l3 : next^0'=1+next^0, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0), cost: 1 28: l2 -> l3 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ yy^0 <= 0), cost: 1 31: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 32: l3 -> l0 : 1+yy^0-xx^0 <= 0, cost: 1 33: l3 -> l0 : 1-yy^0+xx^0 <= 0, cost: 1 29: l4 -> l2 : -2+pos^0 >= 0, cost: 1 30: l4 -> l3 : pos^0'=1+pos^0, (-1+yy^0 >= 0 /\ -1+pos^0 <= 0), cost: 1 34: l5 -> l4 : -1+pos^0 >= 0, cost: 1 35: l5 -> l3 : pos^0'=1+pos^0, (yy^0 <= 0 /\ pos^0 <= 0), cost: 1 36: l6 -> l3 : z^0'=-1+z^0, -1+z^0 >= 0, cost: 1 37: l6 -> l5 : z^0 <= 0, cost: 1 38: l7 -> l8 : next^0'=1+next^0, z^0'=z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ z^post12 >= 0), cost: 1 39: l7 -> l8 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ xx^0 <= 0), cost: 1 42: l8 -> l6 : yy^0'=yy^post16, (-1+yy^post16 <= 0 /\ yy^post16 >= 0), cost: 1 40: l9 -> l7 : -2+pos^0 >= 0, cost: 1 41: l9 -> l8 : pos^0'=1+pos^0, (-1+xx^0 >= 0 /\ -1+pos^0 <= 0), cost: 1 48: l10 -> l12 : xx^0'=xx^post23, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 1 44: l11 -> l9 : -1+pos^0 >= 0, cost: 1 45: l11 -> l8 : pos^0'=1+pos^0, (xx^0 <= 0 /\ pos^0 <= 0), cost: 1 46: l12 -> l8 : z^0'=-1+z^0, -1+z^0 >= 0, cost: 1 47: l12 -> l11 : z^0 <= 0, cost: 1 49: l14 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 1 50: l15 -> l14 : TRUE, cost: 1 Eliminating location l14 by chaining: Applied chaining First rule: l15 -> l14 : TRUE, cost: 1 Second rule: l14 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 1 New rule: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Applied deletion Removed the following rules: 49 50 Eliminating location l10 by chaining: Applied chaining First rule: l1 -> l10 : TRUE, cost: 1 Second rule: l10 -> l12 : xx^0'=xx^post23, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 1 New rule: l1 -> l12 : xx^0'=xx^post23, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 2 Applied deletion Removed the following rules: 43 48 Eliminated locations on linear paths Start location: l15 26: l0 -> l1 : K^0'=-1+K^0, TRUE, cost: 1 52: l1 -> l12 : xx^0'=xx^post23, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 2 27: l2 -> l3 : next^0'=1+next^0, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0), cost: 1 28: l2 -> l3 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ yy^0 <= 0), cost: 1 31: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 32: l3 -> l0 : 1+yy^0-xx^0 <= 0, cost: 1 33: l3 -> l0 : 1-yy^0+xx^0 <= 0, cost: 1 29: l4 -> l2 : -2+pos^0 >= 0, cost: 1 30: l4 -> l3 : pos^0'=1+pos^0, (-1+yy^0 >= 0 /\ -1+pos^0 <= 0), cost: 1 34: l5 -> l4 : -1+pos^0 >= 0, cost: 1 35: l5 -> l3 : pos^0'=1+pos^0, (yy^0 <= 0 /\ pos^0 <= 0), cost: 1 36: l6 -> l3 : z^0'=-1+z^0, -1+z^0 >= 0, cost: 1 37: l6 -> l5 : z^0 <= 0, cost: 1 38: l7 -> l8 : next^0'=1+next^0, z^0'=z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ z^post12 >= 0), cost: 1 39: l7 -> l8 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ xx^0 <= 0), cost: 1 42: l8 -> l6 : yy^0'=yy^post16, (-1+yy^post16 <= 0 /\ yy^post16 >= 0), cost: 1 40: l9 -> l7 : -2+pos^0 >= 0, cost: 1 41: l9 -> l8 : pos^0'=1+pos^0, (-1+xx^0 >= 0 /\ -1+pos^0 <= 0), cost: 1 44: l11 -> l9 : -1+pos^0 >= 0, cost: 1 45: l11 -> l8 : pos^0'=1+pos^0, (xx^0 <= 0 /\ pos^0 <= 0), cost: 1 46: l12 -> l8 : z^0'=-1+z^0, -1+z^0 >= 0, cost: 1 47: l12 -> l11 : z^0 <= 0, cost: 1 51: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Eliminating location l12 by chaining: Applied chaining First rule: l1 -> l12 : xx^0'=xx^post23, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 2 Second rule: l12 -> l8 : z^0'=-1+z^0, -1+z^0 >= 0, cost: 1 New rule: l1 -> l8 : xx^0'=xx^post23, z^0'=-1+z^0, (-1+z^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 3 Applied chaining First rule: l1 -> l12 : xx^0'=xx^post23, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 2 Second rule: l12 -> l11 : z^0 <= 0, cost: 1 New rule: l1 -> l11 : xx^0'=xx^post23, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 3 Applied deletion Removed the following rules: 46 47 52 Eliminating location l6 by chaining: Applied chaining First rule: l8 -> l6 : yy^0'=yy^post16, (-1+yy^post16 <= 0 /\ yy^post16 >= 0), cost: 1 Second rule: l6 -> l3 : z^0'=-1+z^0, -1+z^0 >= 0, cost: 1 New rule: l8 -> l3 : yy^0'=yy^post16, z^0'=-1+z^0, (-1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0), cost: 2 Applied chaining First rule: l8 -> l6 : yy^0'=yy^post16, (-1+yy^post16 <= 0 /\ yy^post16 >= 0), cost: 1 Second rule: l6 -> l5 : z^0 <= 0, cost: 1 New rule: l8 -> l5 : yy^0'=yy^post16, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0), cost: 2 Applied deletion Removed the following rules: 36 37 42 Eliminating location l0 by chaining: Applied chaining First rule: l3 -> l0 : 1+yy^0-xx^0 <= 0, cost: 1 Second rule: l0 -> l1 : K^0'=-1+K^0, TRUE, cost: 1 New rule: l3 -> l1 : K^0'=-1+K^0, 1+yy^0-xx^0 <= 0, cost: 2 Applied chaining First rule: l3 -> l0 : 1-yy^0+xx^0 <= 0, cost: 1 Second rule: l0 -> l1 : K^0'=-1+K^0, TRUE, cost: 1 New rule: l3 -> l1 : K^0'=-1+K^0, 1-yy^0+xx^0 <= 0, cost: 2 Applied deletion Removed the following rules: 26 32 33 Eliminating location l4 by chaining: Applied chaining First rule: l5 -> l4 : -1+pos^0 >= 0, cost: 1 Second rule: l4 -> l2 : -2+pos^0 >= 0, cost: 1 New rule: l5 -> l2 : (-2+pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 2 Applied simplification Original rule: l5 -> l2 : (-2+pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 2 New rule: l5 -> l2 : -2+pos^0 >= 0, cost: 2 Applied chaining First rule: l5 -> l4 : -1+pos^0 >= 0, cost: 1 Second rule: l4 -> l3 : pos^0'=1+pos^0, (-1+yy^0 >= 0 /\ -1+pos^0 <= 0), cost: 1 New rule: l5 -> l3 : pos^0'=1+pos^0, (-1+yy^0 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 2 Applied deletion Removed the following rules: 29 30 34 Eliminating location l9 by chaining: Applied chaining First rule: l11 -> l9 : -1+pos^0 >= 0, cost: 1 Second rule: l9 -> l7 : -2+pos^0 >= 0, cost: 1 New rule: l11 -> l7 : (-2+pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 2 Applied simplification Original rule: l11 -> l7 : (-2+pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 2 New rule: l11 -> l7 : -2+pos^0 >= 0, cost: 2 Applied chaining First rule: l11 -> l9 : -1+pos^0 >= 0, cost: 1 Second rule: l9 -> l8 : pos^0'=1+pos^0, (-1+xx^0 >= 0 /\ -1+pos^0 <= 0), cost: 1 New rule: l11 -> l8 : pos^0'=1+pos^0, (-1+xx^0 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 2 Applied deletion Removed the following rules: 40 41 44 Eliminated locations on tree-shaped paths Start location: l15 53: l1 -> l8 : xx^0'=xx^post23, z^0'=-1+z^0, (-1+z^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 3 54: l1 -> l11 : xx^0'=xx^post23, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 3 27: l2 -> l3 : next^0'=1+next^0, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0), cost: 1 28: l2 -> l3 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ yy^0 <= 0), cost: 1 31: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 57: l3 -> l1 : K^0'=-1+K^0, 1+yy^0-xx^0 <= 0, cost: 2 58: l3 -> l1 : K^0'=-1+K^0, 1-yy^0+xx^0 <= 0, cost: 2 35: l5 -> l3 : pos^0'=1+pos^0, (yy^0 <= 0 /\ pos^0 <= 0), cost: 1 59: l5 -> l2 : -2+pos^0 >= 0, cost: 2 60: l5 -> l3 : pos^0'=1+pos^0, (-1+yy^0 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 2 38: l7 -> l8 : next^0'=1+next^0, z^0'=z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ z^post12 >= 0), cost: 1 39: l7 -> l8 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ xx^0 <= 0), cost: 1 55: l8 -> l3 : yy^0'=yy^post16, z^0'=-1+z^0, (-1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0), cost: 2 56: l8 -> l5 : yy^0'=yy^post16, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0), cost: 2 45: l11 -> l8 : pos^0'=1+pos^0, (xx^0 <= 0 /\ pos^0 <= 0), cost: 1 61: l11 -> l7 : -2+pos^0 >= 0, cost: 2 62: l11 -> l8 : pos^0'=1+pos^0, (-1+xx^0 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 2 51: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Eliminating location l11 by chaining: Applied chaining First rule: l1 -> l11 : xx^0'=xx^post23, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 3 Second rule: l11 -> l8 : pos^0'=1+pos^0, (xx^0 <= 0 /\ pos^0 <= 0), cost: 1 New rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 4 Applied simplification Original rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 4 New rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, (-1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 4 Applied chaining First rule: l1 -> l11 : xx^0'=xx^post23, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 3 Second rule: l11 -> l7 : -2+pos^0 >= 0, cost: 2 New rule: l1 -> l7 : xx^0'=xx^post23, (-2+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 5 Applied chaining First rule: l1 -> l11 : xx^0'=xx^post23, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 3 Second rule: l11 -> l8 : pos^0'=1+pos^0, (-1+xx^0 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 2 New rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 5 Applied simplification Original rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 5 New rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 5 Applied deletion Removed the following rules: 45 54 61 62 Eliminating location l5 by chaining: Applied chaining First rule: l8 -> l5 : yy^0'=yy^post16, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0), cost: 2 Second rule: l5 -> l3 : pos^0'=1+pos^0, (yy^0 <= 0 /\ pos^0 <= 0), cost: 1 New rule: l8 -> l3 : yy^0'=yy^post16, pos^0'=1+pos^0, (-1+yy^post16 <= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0), cost: 3 Applied simplification Original rule: l8 -> l3 : yy^0'=yy^post16, pos^0'=1+pos^0, (-1+yy^post16 <= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0), cost: 3 New rule: l8 -> l3 : yy^0'=yy^post16, pos^0'=1+pos^0, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0), cost: 3 Applied chaining First rule: l8 -> l5 : yy^0'=yy^post16, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0), cost: 2 Second rule: l5 -> l2 : -2+pos^0 >= 0, cost: 2 New rule: l8 -> l2 : yy^0'=yy^post16, (-2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0), cost: 4 Applied chaining First rule: l8 -> l5 : yy^0'=yy^post16, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0), cost: 2 Second rule: l5 -> l3 : pos^0'=1+pos^0, (-1+yy^0 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 2 New rule: l8 -> l3 : yy^0'=yy^post16, pos^0'=1+pos^0, (-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ yy^post16 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 4 Applied simplification Original rule: l8 -> l3 : yy^0'=yy^post16, pos^0'=1+pos^0, (-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ yy^post16 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 4 New rule: l8 -> l3 : yy^0'=yy^post16, pos^0'=1+pos^0, (-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 4 Applied deletion Removed the following rules: 35 56 59 60 Eliminated locations on tree-shaped paths Start location: l15 53: l1 -> l8 : xx^0'=xx^post23, z^0'=-1+z^0, (-1+z^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 3 63: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, (-1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 4 64: l1 -> l7 : xx^0'=xx^post23, (-2+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 5 65: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 5 27: l2 -> l3 : next^0'=1+next^0, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0), cost: 1 28: l2 -> l3 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ yy^0 <= 0), cost: 1 31: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 57: l3 -> l1 : K^0'=-1+K^0, 1+yy^0-xx^0 <= 0, cost: 2 58: l3 -> l1 : K^0'=-1+K^0, 1-yy^0+xx^0 <= 0, cost: 2 38: l7 -> l8 : next^0'=1+next^0, z^0'=z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ z^post12 >= 0), cost: 1 39: l7 -> l8 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ xx^0 <= 0), cost: 1 55: l8 -> l3 : yy^0'=yy^post16, z^0'=-1+z^0, (-1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0), cost: 2 66: l8 -> l3 : yy^0'=yy^post16, pos^0'=1+pos^0, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0), cost: 3 67: l8 -> l2 : yy^0'=yy^post16, (-2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0), cost: 4 68: l8 -> l3 : yy^0'=yy^post16, pos^0'=1+pos^0, (-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 4 51: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Applied merging first rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, (-1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 4 second rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 5 new rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, ((-1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0)), cost: 4 Merged rules Start location: l15 53: l1 -> l8 : xx^0'=xx^post23, z^0'=-1+z^0, (-1+z^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 3 64: l1 -> l7 : xx^0'=xx^post23, (-2+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 5 69: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, ((-1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0)), cost: 4 27: l2 -> l3 : next^0'=1+next^0, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0), cost: 1 28: l2 -> l3 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ yy^0 <= 0), cost: 1 31: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 57: l3 -> l1 : K^0'=-1+K^0, 1+yy^0-xx^0 <= 0, cost: 2 58: l3 -> l1 : K^0'=-1+K^0, 1-yy^0+xx^0 <= 0, cost: 2 38: l7 -> l8 : next^0'=1+next^0, z^0'=z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ z^post12 >= 0), cost: 1 39: l7 -> l8 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ xx^0 <= 0), cost: 1 55: l8 -> l3 : yy^0'=yy^post16, z^0'=-1+z^0, (-1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0), cost: 2 66: l8 -> l3 : yy^0'=yy^post16, pos^0'=1+pos^0, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0), cost: 3 67: l8 -> l2 : yy^0'=yy^post16, (-2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0), cost: 4 68: l8 -> l3 : yy^0'=yy^post16, pos^0'=1+pos^0, (-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 4 51: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Eliminating location l7 by chaining: Applied chaining First rule: l1 -> l7 : xx^0'=xx^post23, (-2+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 5 Second rule: l7 -> l8 : next^0'=1+next^0, z^0'=z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ z^post12 >= 0), cost: 1 New rule: l1 -> l8 : next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=0, (-2+pos^0 >= 0 /\ -3+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 6 Applied simplification Original rule: l1 -> l8 : next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=0, (-2+pos^0 >= 0 /\ -3+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 6 New rule: l1 -> l8 : next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 6 Applied chaining First rule: l1 -> l7 : xx^0'=xx^post23, (-2+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 5 Second rule: l7 -> l8 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ xx^0 <= 0), cost: 1 New rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 6 Applied simplification Original rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 6 New rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 6 Applied deletion Removed the following rules: 38 39 64 Eliminating location l8 by chaining: Applied chaining First rule: l1 -> l8 : xx^0'=xx^post23, z^0'=-1+z^0, (-1+z^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 3 Second rule: l8 -> l3 : yy^0'=yy^post16, z^0'=-1+z^0, (-1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0), cost: 2 New rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 5 Applied simplification Original rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 5 New rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 5 Applied chaining First rule: l1 -> l8 : xx^0'=xx^post23, z^0'=-1+z^0, (-1+z^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 3 Second rule: l8 -> l3 : yy^0'=yy^post16, pos^0'=1+pos^0, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0), cost: 3 New rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0), cost: 6 Applied chaining First rule: l1 -> l8 : xx^0'=xx^post23, z^0'=-1+z^0, (-1+z^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 3 Second rule: l8 -> l2 : yy^0'=yy^post16, (-2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0), cost: 4 New rule: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, (-2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 7 Applied chaining First rule: l1 -> l8 : xx^0'=xx^post23, z^0'=-1+z^0, (-1+z^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 3 Second rule: l8 -> l3 : yy^0'=yy^post16, pos^0'=1+pos^0, (-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 4 New rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 7 Applied chaining First rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, ((-1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0)), cost: 4 Second rule: l8 -> l3 : yy^0'=yy^post16, pos^0'=1+pos^0, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0), cost: 3 New rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ 1+pos^0 <= 0 /\ z^0 <= 0 /\ ((-1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0))), cost: 7 Applied simplification Original rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ 1+pos^0 <= 0 /\ z^0 <= 0 /\ ((-1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0))), cost: 7 New rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ 1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 7 Applied chaining First rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, ((-1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0)), cost: 4 Second rule: l8 -> l2 : yy^0'=yy^post16, (-2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0), cost: 4 New rule: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=1+pos^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0 /\ -1+pos^0 >= 0 /\ ((-1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0))), cost: 8 Applied simplification Original rule: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=1+pos^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0 /\ -1+pos^0 >= 0 /\ ((-1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0))), cost: 8 New rule: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=1+pos^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 8 Applied chaining First rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, ((-1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0)), cost: 4 Second rule: l8 -> l3 : yy^0'=yy^post16, pos^0'=1+pos^0, (-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 4 New rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ ((-1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0))), cost: 8 Applied simplification Original rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ ((-1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0))), cost: 8 New rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 Applied chaining First rule: l1 -> l8 : next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 6 Second rule: l8 -> l3 : yy^0'=yy^post16, z^0'=-1+z^0, (-1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0), cost: 2 New rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 >= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 8 Applied simplification Original rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 >= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 8 New rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 8 Applied chaining First rule: l1 -> l8 : next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 6 Second rule: l8 -> l3 : yy^0'=yy^post16, pos^0'=1+pos^0, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0), cost: 3 New rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (0 <= 0 /\ -3+pos^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 9 Applied simplification Original rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (0 <= 0 /\ -3+pos^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 9 New rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 9 Applied chaining First rule: l1 -> l8 : xx^0'=xx^post23, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 6 Second rule: l8 -> l2 : yy^0'=yy^post16, (-2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ z^0 <= 0), cost: 4 New rule: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 >= 0), cost: 10 Applied simplification Original rule: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 >= 0), cost: 10 New rule: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 Applied deletion Removed the following rules: 53 55 66 67 68 69 70 71 Eliminated locations on tree-shaped paths Start location: l15 72: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 5 73: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0), cost: 6 74: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, (-2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 7 75: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 7 76: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ 1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 7 77: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=1+pos^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 8 78: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 79: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 8 80: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 9 81: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 27: l2 -> l3 : next^0'=1+next^0, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0), cost: 1 28: l2 -> l3 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ yy^0 <= 0), cost: 1 31: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 57: l3 -> l1 : K^0'=-1+K^0, 1+yy^0-xx^0 <= 0, cost: 2 58: l3 -> l1 : K^0'=-1+K^0, 1-yy^0+xx^0 <= 0, cost: 2 51: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Applied merging first rule: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=1+pos^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 8 second rule: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 new rule: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=1+pos^0, ((-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0)), cost: 8 Applied merging first rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0), cost: 6 second rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 7 new rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0)), cost: 6 Applied merging first rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ 1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 7 second rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 new rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, ((-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (yy^post16 <= 0 /\ yy^post16 >= 0 /\ 1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0)), cost: 7 Merged rules Start location: l15 72: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 5 74: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, (-2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 7 79: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 8 80: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 9 82: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=1+pos^0, ((-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0)), cost: 8 83: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0)), cost: 6 84: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, ((-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (yy^post16 <= 0 /\ yy^post16 >= 0 /\ 1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0)), cost: 7 27: l2 -> l3 : next^0'=1+next^0, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0), cost: 1 28: l2 -> l3 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ yy^0 <= 0), cost: 1 31: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 57: l3 -> l1 : K^0'=-1+K^0, 1+yy^0-xx^0 <= 0, cost: 2 58: l3 -> l1 : K^0'=-1+K^0, 1-yy^0+xx^0 <= 0, cost: 2 51: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Eliminating location l2 by chaining: Applied chaining First rule: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, (-2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 7 Second rule: l2 -> l3 : next^0'=1+next^0, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0), cost: 1 New rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 Applied simplification Original rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 New rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 Applied chaining First rule: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, (-2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 7 Second rule: l2 -> l3 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ yy^0 <= 0), cost: 1 New rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 Applied simplification Original rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 New rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 Applied chaining First rule: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=1+pos^0, ((-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0)), cost: 8 Second rule: l2 -> l3 : next^0'=1+next^0, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0), cost: 1 New rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 >= 0 /\ ((-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0))), cost: 9 Applied simplification Original rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 >= 0 /\ ((-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0))), cost: 9 New rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 Applied chaining First rule: l1 -> l2 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=1+pos^0, ((-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0)), cost: 8 Second rule: l2 -> l3 : pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ yy^0 <= 0), cost: 1 New rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 <= 0 /\ -1+pos^0 <= 0 /\ ((-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0))), cost: 9 Applied simplification Original rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 <= 0 /\ -1+pos^0 <= 0 /\ ((-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0))), cost: 9 New rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 9 Applied deletion Removed the following rules: 27 28 74 82 Eliminating location l3 by chaining: Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 5 Second rule: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 6 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 6 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 6 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 5 Second rule: l3 -> l1 : K^0'=-1+K^0, 1+yy^0-xx^0 <= 0, cost: 2 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ xx^post23 >= 0), cost: 7 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ xx^post23 >= 0), cost: 7 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 7 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 5 Second rule: l3 -> l1 : K^0'=-1+K^0, 1-yy^0+xx^0 <= 0, cost: 2 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 7 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 7 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 7 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 8 Second rule: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 New rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 9 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 9 New rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 9 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 8 Second rule: l3 -> l1 : K^0'=-1+K^0, 1+yy^0-xx^0 <= 0, cost: 2 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 10 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 10 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ -1+z^post12 >= 0), cost: 10 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 8 Second rule: l3 -> l1 : K^0'=-1+K^0, 1-yy^0+xx^0 <= 0, cost: 2 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 10 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 10 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 10 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 9 Second rule: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 New rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 10 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 10 New rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 <= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 10 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 9 Second rule: l3 -> l1 : K^0'=-1+K^0, 1+yy^0-xx^0 <= 0, cost: 2 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ xx^post23 >= 0), cost: 11 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ xx^post23 >= 0), cost: 11 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 11 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0)), cost: 6 Second rule: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-yy^post16+xx^post23 == 0 /\ ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0))), cost: 7 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-yy^post16+xx^post23 == 0 /\ ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0))), cost: 7 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-yy^post16+xx^post23 == 0 /\ ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0))), cost: 7 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0)), cost: 6 Second rule: l3 -> l1 : K^0'=-1+K^0, 1+yy^0-xx^0 <= 0, cost: 2 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (1+yy^post16-xx^post23 <= 0 /\ ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0))), cost: 8 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (1+yy^post16-xx^post23 <= 0 /\ ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0))), cost: 8 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ pos^0 <= 0), cost: 8 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0)), cost: 6 Second rule: l3 -> l1 : K^0'=-1+K^0, 1-yy^0+xx^0 <= 0, cost: 2 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (1-yy^post16+xx^post23 <= 0 /\ ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0))), cost: 8 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (1-yy^post16+xx^post23 <= 0 /\ ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0))), cost: 8 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 8 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, ((-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (yy^post16 <= 0 /\ yy^post16 >= 0 /\ 1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0)), cost: 7 Second rule: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (-yy^post16+xx^post23 == 0 /\ ((-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (yy^post16 <= 0 /\ yy^post16 >= 0 /\ 1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0))), cost: 8 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (-yy^post16+xx^post23 == 0 /\ ((-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (yy^post16 <= 0 /\ yy^post16 >= 0 /\ 1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0))), cost: 8 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, ((-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (yy^post16 <= 0 /\ yy^post16 >= 0 /\ 1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0)), cost: 7 Second rule: l3 -> l1 : K^0'=-1+K^0, 1-yy^0+xx^0 <= 0, cost: 2 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (1-yy^post16+xx^post23 <= 0 /\ ((-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (yy^post16 <= 0 /\ yy^post16 >= 0 /\ 1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0))), cost: 9 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (1-yy^post16+xx^post23 <= 0 /\ ((-1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0) \/ (yy^post16 <= 0 /\ yy^post16 >= 0 /\ 1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0))), cost: 9 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (-1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 >= 0), cost: 9 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 Second rule: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 New rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 New rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 Second rule: l3 -> l1 : K^0'=-1+K^0, 1+yy^0-xx^0 <= 0, cost: 2 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 10 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 Second rule: l3 -> l1 : K^0'=-1+K^0, 1-yy^0+xx^0 <= 0, cost: 2 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 Second rule: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ xx^post23 >= 0), cost: 9 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 Second rule: l3 -> l1 : K^0'=-1+K^0, 1+yy^0-xx^0 <= 0, cost: 2 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 10 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 Second rule: l3 -> l1 : -yy^0+xx^0 == 0, cost: 1 New rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 New rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 Second rule: l3 -> l1 : K^0'=-1+K^0, 1-yy^0+xx^0 <= 0, cost: 2 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 11 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 11 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 11 Applied chaining First rule: l1 -> l3 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 9 Second rule: l3 -> l1 : K^0'=-1+K^0, 1+yy^0-xx^0 <= 0, cost: 2 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 11 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+xx^post23 >= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 11 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 11 Applied deletion Removed the following rules: 31 57 58 72 79 80 83 84 85 86 87 88 Eliminated locations on tree-shaped paths Start location: l15 89: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 6 90: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 7 91: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 7 92: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 9 93: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ -1+z^post12 >= 0), cost: 10 94: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 10 95: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 <= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 10 96: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 11 97: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-yy^post16+xx^post23 == 0 /\ ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0))), cost: 7 98: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ pos^0 <= 0), cost: 8 99: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 8 100: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 101: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (-1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 >= 0), cost: 9 102: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 103: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 10 104: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 105: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ xx^post23 >= 0), cost: 9 106: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 10 107: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 108: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 11 109: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 11 51: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 6 New rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=-2+z^0, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 6 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 9 New rule: l1 -> l1 : yy^0'=xx^post23, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 9 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 <= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ xx^post23 >= 0), cost: 10 New rule: l1 -> l1 : yy^0'=xx^post23, next^0'=1+next^0, xx^0'=xx^post23, z^0'=0, pos^0'=1, (-3+pos^0 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post12, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ z^post12 <= 0 /\ z^post12 >= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 11 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=0, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 11 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-yy^post16+xx^post23 == 0 /\ ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0 /\ xx^post23 >= 0))), cost: 7 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=-1+z^0, pos^0'=1+pos^0, ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ pos^0 <= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0)), cost: 7 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ pos^0 <= 0), cost: 8 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 == 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ pos^0 <= 0), cost: 8 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 8 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 == 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 == 0), cost: 8 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 8 New rule: l1 -> l1 : yy^0'=0, xx^0'=0, pos^0'=2+pos^0, (1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0), cost: 8 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (-1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ pos^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 >= 0), cost: 9 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (-1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ pos^0 == 0 /\ xx^post23 >= 0), cost: 9 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 New rule: l1 -> l1 : yy^0'=xx^post23, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 == 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 10 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 == 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 10 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 == 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ xx^post23 >= 0), cost: 9 New rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 == 0 /\ -1+z^0 == 0 /\ -1+K^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 10 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 == 0 /\ -1+z^0 == 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 10 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -yy^post16+xx^post23 == 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 New rule: l1 -> l1 : yy^0'=0, next^0'=1+next^0, xx^0'=0, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 == 0 /\ -1+K^0 >= 0 /\ z^0 <= 0), cost: 10 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 <= 0 /\ -2+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 11 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 == 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 11 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 11 New rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ -1+pos^0 == 0), cost: 11 Simplified simple loops Start location: l15 90: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 7 91: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 7 93: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ -1+z^post12 >= 0), cost: 10 94: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 10 110: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=-2+z^0, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 6 111: l1 -> l1 : yy^0'=xx^post23, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 9 112: l1 -> l1 : yy^0'=xx^post23, next^0'=1+next^0, xx^0'=xx^post23, z^0'=0, pos^0'=1, (-3+pos^0 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 113: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=0, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 11 114: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=-1+z^0, pos^0'=1+pos^0, ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ pos^0 <= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0)), cost: 7 115: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 == 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ pos^0 <= 0), cost: 8 116: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 == 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 == 0), cost: 8 117: l1 -> l1 : yy^0'=0, xx^0'=0, pos^0'=2+pos^0, (1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0), cost: 8 118: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (-1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ pos^0 == 0 /\ xx^post23 >= 0), cost: 9 119: l1 -> l1 : yy^0'=xx^post23, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 == 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 120: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 == 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 10 121: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 == 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 122: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 == 0 /\ -1+z^0 == 0 /\ -1+K^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 123: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 == 0 /\ -1+z^0 == 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 10 124: l1 -> l1 : yy^0'=0, next^0'=1+next^0, xx^0'=0, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 == 0 /\ -1+K^0 >= 0 /\ z^0 <= 0), cost: 10 125: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 == 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 11 126: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ -1+pos^0 == 0), cost: 11 51: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Applied acceleration Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 7 New rule: l1 -> l1 : K^0'=K^0-n20, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2*n20+z^0, (-1+n20 >= 0 /\ yy^post16 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ K^0-n20 >= 0 /\ 1-xx^post23 >= 0 /\ -2*n20+z^0 >= 0), cost: 7*n20 Applied instantiation Original rule: l1 -> l1 : K^0'=K^0-n20, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2*n20+z^0, (-1+n20 >= 0 /\ yy^post16 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ K^0-n20 >= 0 /\ 1-xx^post23 >= 0 /\ -2*n20+z^0 >= 0), cost: 7*n20 New rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2*K^0+z^0, (0 >= 0 /\ -2*K^0+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 1-xx^post23 >= 0), cost: 7*K^0 Applied acceleration Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0, (-1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 7 New rule: l1 -> l1 : K^0'=K^0-n22, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2*n22+z^0, (-1+yy^post16-xx^post23 >= 0 /\ K^0-n22 >= 0 /\ 1-yy^post16 >= 0 /\ -1+n22 >= 0 /\ -2*n22+z^0 >= 0 /\ xx^post23 >= 0), cost: 7*n22 Applied instantiation Original rule: l1 -> l1 : K^0'=K^0-n22, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2*n22+z^0, (-1+yy^post16-xx^post23 >= 0 /\ K^0-n22 >= 0 /\ 1-yy^post16 >= 0 /\ -1+n22 >= 0 /\ -2*n22+z^0 >= 0 /\ xx^post23 >= 0), cost: 7*n22 New rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2*K^0+z^0, (0 >= 0 /\ -1+yy^post16-xx^post23 >= 0 /\ -2*K^0+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+K^0 >= 0 /\ xx^post23 >= 0), cost: 7*K^0 Applied acceleration Original rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=-2+z^0, (-1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ -2+z^0 >= 0 /\ xx^post23 >= 0), cost: 6 New rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=-2*n26+z^0, (-2*n26+z^0 >= 0 /\ -1+K^0 >= 0 /\ -1+n26 >= 0 /\ 1-xx^post23 >= 0 /\ xx^post23 >= 0), cost: 6*n26 Applied acceleration Original rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=-1+z^0, pos^0'=1+pos^0, ((-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ pos^0 <= 0) \/ (-1+z^0 <= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0)), cost: 7 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=z^0-n31, pos^0'=pos^0+n31, (-1+n31 >= 0 /\ ((1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0-n31 >= 0 /\ -1+pos^0 >= 0 /\ ((-pos^0 >= 0 /\ 1-pos^0 >= 0) \/ (2-pos^0-n31 >= 0 /\ 1-pos^0 >= 0))) \/ (1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ yy^post16 >= 0 /\ -yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 1-pos^0-n31 >= 0 /\ z^0-n31 >= 0))), cost: 7*n31 Applied instantiation Original rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=z^0-n31, pos^0'=pos^0+n31, (-1+n31 >= 0 /\ ((1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0-n31 >= 0 /\ -1+pos^0 >= 0 /\ ((-pos^0 >= 0 /\ 1-pos^0 >= 0) \/ (2-pos^0-n31 >= 0 /\ 1-pos^0 >= 0))) \/ (1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ yy^post16 >= 0 /\ -yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 1-pos^0-n31 >= 0 /\ z^0-n31 >= 0))), cost: 7*n31 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=-2+z^0+pos^0, pos^0'=2, (1-pos^0 >= 0 /\ ((1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ yy^post16 >= 0 /\ -yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -2+z^0+pos^0 >= 0 /\ -1 >= 0) \/ (1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -2+z^0+pos^0 >= 0 /\ -1+pos^0 >= 0 /\ ((0 >= 0 /\ 1-pos^0 >= 0) \/ (-pos^0 >= 0 /\ 1-pos^0 >= 0))))), cost: 14-7*pos^0 Applied instantiation Original rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=z^0-n31, pos^0'=pos^0+n31, (-1+n31 >= 0 /\ ((1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0-n31 >= 0 /\ -1+pos^0 >= 0 /\ ((-pos^0 >= 0 /\ 1-pos^0 >= 0) \/ (2-pos^0-n31 >= 0 /\ 1-pos^0 >= 0))) \/ (1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ yy^post16 >= 0 /\ -yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 1-pos^0-n31 >= 0 /\ z^0-n31 >= 0))), cost: 7*n31 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=0, pos^0'=z^0+pos^0, (-1+z^0 >= 0 /\ ((0 >= 0 /\ 1-z^0-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ yy^post16 >= 0 /\ -yy^post16 >= 0 /\ -1+K^0 >= 0) \/ (0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+pos^0 >= 0 /\ ((-pos^0 >= 0 /\ 1-pos^0 >= 0) \/ (2-z^0-pos^0 >= 0 /\ 1-pos^0 >= 0))))), cost: 7*z^0 Applied instantiation Original rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=z^0-n31, pos^0'=pos^0+n31, (-1+n31 >= 0 /\ ((1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ z^0-n31 >= 0 /\ -1+pos^0 >= 0 /\ ((-pos^0 >= 0 /\ 1-pos^0 >= 0) \/ (2-pos^0-n31 >= 0 /\ 1-pos^0 >= 0))) \/ (1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ yy^post16 >= 0 /\ -yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 1-pos^0-n31 >= 0 /\ z^0-n31 >= 0))), cost: 7*n31 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=-1+z^0+pos^0, pos^0'=1, (-pos^0 >= 0 /\ ((1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+z^0+pos^0 >= 0 /\ -1+pos^0 >= 0 /\ ((-pos^0 >= 0 /\ 1-pos^0 >= 0) \/ (1 >= 0 /\ 1-pos^0 >= 0))) \/ (0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ yy^post16 >= 0 /\ -yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+z^0+pos^0 >= 0))), cost: 7-7*pos^0 Applied acceleration Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 == 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ pos^0 <= 0), cost: 8 New rule: l1 -> l1 : K^0'=K^0-n35, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=z^0-n35, pos^0'=n35+pos^0, (1-n35-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+n35 >= 0 /\ z^0-n35 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ K^0-n35 >= 0 /\ 1-xx^post23 >= 0), cost: 8*n35 Applied instantiation Original rule: l1 -> l1 : K^0'=K^0-n35, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=z^0-n35, pos^0'=n35+pos^0, (1-n35-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+n35 >= 0 /\ z^0-n35 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ K^0-n35 >= 0 /\ 1-xx^post23 >= 0), cost: 8*n35 New rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-K^0+z^0, pos^0'=K^0+pos^0, (0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 1-xx^post23 >= 0 /\ -K^0+z^0 >= 0 /\ 1-K^0-pos^0 >= 0), cost: 8*K^0 Applied instantiation Original rule: l1 -> l1 : K^0'=K^0-n35, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=z^0-n35, pos^0'=n35+pos^0, (1-n35-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+n35 >= 0 /\ z^0-n35 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ K^0-n35 >= 0 /\ 1-xx^post23 >= 0), cost: 8*n35 New rule: l1 -> l1 : K^0'=K^0-z^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (0 >= 0 /\ 1-z^0-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ K^0-z^0 >= 0 /\ 1-xx^post23 >= 0), cost: 8*z^0 Applied instantiation Original rule: l1 -> l1 : K^0'=K^0-n35, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=z^0-n35, pos^0'=n35+pos^0, (1-n35-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+n35 >= 0 /\ z^0-n35 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ K^0-n35 >= 0 /\ 1-xx^post23 >= 0), cost: 8*n35 New rule: l1 -> l1 : K^0'=-1+K^0+pos^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0+pos^0, pos^0'=1, (0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0+pos^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+z^0+pos^0 >= 0 /\ 1-xx^post23 >= 0 /\ -pos^0 >= 0), cost: 8-8*pos^0 Applied acceleration Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-1+z^0 == 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ xx^post23 >= 0 /\ -1+pos^0 == 0), cost: 8 New rule: l1 -> l1 : K^0'=K^0-n39, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=z^0-n39, pos^0'=n39+pos^0, (-1+yy^post16-xx^post23 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ K^0-n39 >= 0 /\ 2-n39-pos^0 >= 0 /\ z^0-n39 >= 0 /\ -1+n39 >= 0 /\ xx^post23 >= 0 /\ 1-pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 8*n39 Applied instantiation Original rule: l1 -> l1 : K^0'=K^0-n39, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=z^0-n39, pos^0'=n39+pos^0, (-1+yy^post16-xx^post23 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ K^0-n39 >= 0 /\ 2-n39-pos^0 >= 0 /\ z^0-n39 >= 0 /\ -1+n39 >= 0 /\ xx^post23 >= 0 /\ 1-pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 8*n39 New rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-K^0+z^0, pos^0'=K^0+pos^0, (0 >= 0 /\ -1+yy^post16-xx^post23 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 2-K^0-pos^0 >= 0 /\ -K^0+z^0 >= 0 /\ xx^post23 >= 0 /\ 1-pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 8*K^0 Applied instantiation Original rule: l1 -> l1 : K^0'=K^0-n39, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=z^0-n39, pos^0'=n39+pos^0, (-1+yy^post16-xx^post23 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ K^0-n39 >= 0 /\ 2-n39-pos^0 >= 0 /\ z^0-n39 >= 0 /\ -1+n39 >= 0 /\ xx^post23 >= 0 /\ 1-pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 8*n39 New rule: l1 -> l1 : K^0'=-2+K^0+pos^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0+pos^0, pos^0'=2, (0 >= 0 /\ -1+yy^post16-xx^post23 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -2+z^0+pos^0 >= 0 /\ -2+K^0+pos^0 >= 0 /\ xx^post23 >= 0 /\ 1-pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 16-8*pos^0 Applied instantiation Original rule: l1 -> l1 : K^0'=K^0-n39, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=z^0-n39, pos^0'=n39+pos^0, (-1+yy^post16-xx^post23 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ K^0-n39 >= 0 /\ 2-n39-pos^0 >= 0 /\ z^0-n39 >= 0 /\ -1+n39 >= 0 /\ xx^post23 >= 0 /\ 1-pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 8*n39 New rule: l1 -> l1 : K^0'=K^0-z^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (0 >= 0 /\ -1+yy^post16-xx^post23 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ 2-z^0-pos^0 >= 0 /\ K^0-z^0 >= 0 /\ xx^post23 >= 0 /\ 1-pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 8*z^0 Applied acceleration Original rule: l1 -> l1 : yy^0'=0, xx^0'=0, pos^0'=2+pos^0, (1+pos^0 <= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0), cost: 8 New rule: l1 -> l1 : yy^0'=0, xx^0'=0, pos^0'=2*n43+pos^0, (-z^0 >= 0 /\ -1+K^0 >= 0 /\ -1+n43 >= 0 /\ 1-2*n43-pos^0 >= 0), cost: 8*n43 Applied acceleration Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (-1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ pos^0 == 0 /\ xx^post23 >= 0), cost: 9 New rule: l1 -> l1 : K^0'=K^0-n45, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2*n45+pos^0, (-1+yy^post16-xx^post23 >= 0 /\ 1-yy^post16 >= 0 /\ -z^0 >= 0 /\ -1+n45 >= 0 /\ K^0-n45 >= 0 /\ 2-2*n45-pos^0 >= 0 /\ pos^0 >= 0 /\ -pos^0 >= 0 /\ xx^post23 >= 0), cost: 9*n45 Applied instantiation Original rule: l1 -> l1 : K^0'=K^0-n45, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2*n45+pos^0, (-1+yy^post16-xx^post23 >= 0 /\ 1-yy^post16 >= 0 /\ -z^0 >= 0 /\ -1+n45 >= 0 /\ K^0-n45 >= 0 /\ 2-2*n45-pos^0 >= 0 /\ pos^0 >= 0 /\ -pos^0 >= 0 /\ xx^post23 >= 0), cost: 9*n45 New rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2*K^0+pos^0, (0 >= 0 /\ -1+yy^post16-xx^post23 >= 0 /\ 1-yy^post16 >= 0 /\ -z^0 >= 0 /\ -1+K^0 >= 0 /\ 2-2*K^0-pos^0 >= 0 /\ pos^0 >= 0 /\ -pos^0 >= 0 /\ xx^post23 >= 0), cost: 9*K^0 Applied acceleration Original rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 == 0 /\ -1+z^0 == 0 /\ -1+K^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 New rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=z^0-n50, pos^0'=n50+pos^0, (-2+pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ -1+K^0 >= 0 /\ 3-n50-pos^0 >= 0 /\ 2-pos^0 >= 0 /\ -xx^post23 >= 0 /\ z^0-n50 >= 0 /\ -1+n50 >= 0 /\ xx^post23 >= 0), cost: 9*n50 Applied instantiation Original rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=z^0-n50, pos^0'=n50+pos^0, (-2+pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ -1+K^0 >= 0 /\ 3-n50-pos^0 >= 0 /\ 2-pos^0 >= 0 /\ -xx^post23 >= 0 /\ z^0-n50 >= 0 /\ -1+n50 >= 0 /\ xx^post23 >= 0), cost: 9*n50 New rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=-3+z^0+pos^0, pos^0'=3, (0 >= 0 /\ -2+pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ -1+K^0 >= 0 /\ -3+z^0+pos^0 >= 0 /\ 2-pos^0 >= 0 /\ -xx^post23 >= 0 /\ xx^post23 >= 0), cost: 27-9*pos^0 Applied instantiation Original rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=z^0-n50, pos^0'=n50+pos^0, (-2+pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ -1+K^0 >= 0 /\ 3-n50-pos^0 >= 0 /\ 2-pos^0 >= 0 /\ -xx^post23 >= 0 /\ z^0-n50 >= 0 /\ -1+n50 >= 0 /\ xx^post23 >= 0), cost: 9*n50 New rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (0 >= 0 /\ -2+pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ -1+K^0 >= 0 /\ 3-z^0-pos^0 >= 0 /\ 2-pos^0 >= 0 /\ -xx^post23 >= 0 /\ xx^post23 >= 0), cost: 9*z^0 Applied acceleration Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0, pos^0'=1+pos^0, (-2+pos^0 == 0 /\ -1+z^0 == 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 10 New rule: l1 -> l1 : K^0'=K^0-n53, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-n53+z^0, pos^0'=n53+pos^0, (-2+pos^0 >= 0 /\ 3-n53-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ K^0-n53 >= 0 /\ yy^post16 >= 0 /\ -n53+z^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+n53 >= 0 /\ 2-pos^0 >= 0 /\ 1-xx^post23 >= 0), cost: 10*n53 Applied instantiation Original rule: l1 -> l1 : K^0'=K^0-n53, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-n53+z^0, pos^0'=n53+pos^0, (-2+pos^0 >= 0 /\ 3-n53-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ K^0-n53 >= 0 /\ yy^post16 >= 0 /\ -n53+z^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+n53 >= 0 /\ 2-pos^0 >= 0 /\ 1-xx^post23 >= 0), cost: 10*n53 New rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-K^0+z^0, pos^0'=K^0+pos^0, (0 >= 0 /\ -2+pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 2-pos^0 >= 0 /\ 3-K^0-pos^0 >= 0 /\ 1-xx^post23 >= 0 /\ -K^0+z^0 >= 0), cost: 10*K^0 Applied instantiation Original rule: l1 -> l1 : K^0'=K^0-n53, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-n53+z^0, pos^0'=n53+pos^0, (-2+pos^0 >= 0 /\ 3-n53-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ K^0-n53 >= 0 /\ yy^post16 >= 0 /\ -n53+z^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+n53 >= 0 /\ 2-pos^0 >= 0 /\ 1-xx^post23 >= 0), cost: 10*n53 New rule: l1 -> l1 : K^0'=-3+K^0+pos^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-3+z^0+pos^0, pos^0'=3, (0 >= 0 /\ -2+pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -3+z^0+pos^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 2-pos^0 >= 0 /\ -3+K^0+pos^0 >= 0 /\ 1-xx^post23 >= 0), cost: 30-10*pos^0 Applied instantiation Original rule: l1 -> l1 : K^0'=K^0-n53, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-n53+z^0, pos^0'=n53+pos^0, (-2+pos^0 >= 0 /\ 3-n53-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ K^0-n53 >= 0 /\ yy^post16 >= 0 /\ -n53+z^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+n53 >= 0 /\ 2-pos^0 >= 0 /\ 1-xx^post23 >= 0), cost: 10*n53 New rule: l1 -> l1 : K^0'=K^0-z^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (0 >= 0 /\ -2+pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ 3-z^0-pos^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ K^0-z^0 >= 0 /\ 2-pos^0 >= 0 /\ 1-xx^post23 >= 0), cost: 10*z^0 Applied acceleration Original rule: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2+pos^0, (yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ -1+pos^0 == 0), cost: 11 New rule: l1 -> l1 : K^0'=K^0-n59, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=pos^0+2*n59, (yy^post16 >= 0 /\ -z^0 >= 0 /\ K^0-n59 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 3-pos^0-2*n59 >= 0 /\ -1+n59 >= 0 /\ 1-xx^post23 >= 0 /\ 1-pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 11*n59 Applied instantiation Original rule: l1 -> l1 : K^0'=K^0-n59, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=pos^0+2*n59, (yy^post16 >= 0 /\ -z^0 >= 0 /\ K^0-n59 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 3-pos^0-2*n59 >= 0 /\ -1+n59 >= 0 /\ 1-xx^post23 >= 0 /\ 1-pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 11*n59 New rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2*K^0+pos^0, (0 >= 0 /\ yy^post16 >= 0 /\ -z^0 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 3-2*K^0-pos^0 >= 0 /\ 1-xx^post23 >= 0 /\ 1-pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 11*K^0 Applied simplification Original rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2*K^0+z^0, (0 >= 0 /\ -2*K^0+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 1-xx^post23 >= 0), cost: 7*K^0 New rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2*K^0+z^0, (-2*K^0+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+xx^post23 <= 0), cost: 7*K^0 Applied simplification Original rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2*K^0+z^0, (0 >= 0 /\ -1+yy^post16-xx^post23 >= 0 /\ -2*K^0+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+K^0 >= 0 /\ xx^post23 >= 0), cost: 7*K^0 New rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2*K^0+z^0, (-1+yy^post16-xx^post23 >= 0 /\ -2*K^0+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ xx^post23 >= 0), cost: 7*K^0 Applied simplification Original rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=-2*n26+z^0, (-2*n26+z^0 >= 0 /\ -1+K^0 >= 0 /\ -1+n26 >= 0 /\ 1-xx^post23 >= 0 /\ xx^post23 >= 0), cost: 6*n26 New rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=-2*n26+z^0, (-2*n26+z^0 >= 0 /\ -1+K^0 >= 0 /\ -1+n26 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 6*n26 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=-2+z^0+pos^0, pos^0'=2, (1-pos^0 >= 0 /\ ((1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ yy^post16 >= 0 /\ -yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -2+z^0+pos^0 >= 0 /\ -1 >= 0) \/ (1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -2+z^0+pos^0 >= 0 /\ -1+pos^0 >= 0 /\ ((0 >= 0 /\ 1-pos^0 >= 0) \/ (-pos^0 >= 0 /\ 1-pos^0 >= 0))))), cost: 14-7*pos^0 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=-2+z^0+pos^0, pos^0'=2, (-1+z^0 <= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -2+z^0+pos^0 >= 0 /\ 1-pos^0 >= 0), cost: 14-7*pos^0 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=0, pos^0'=z^0+pos^0, (-1+z^0 >= 0 /\ ((0 >= 0 /\ 1-z^0-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ yy^post16 >= 0 /\ -yy^post16 >= 0 /\ -1+K^0 >= 0) \/ (0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+pos^0 >= 0 /\ ((-pos^0 >= 0 /\ 1-pos^0 >= 0) \/ (2-z^0-pos^0 >= 0 /\ 1-pos^0 >= 0))))), cost: 7*z^0 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=0, pos^0'=z^0+pos^0, ((-1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 2-z^0-pos^0 >= 0 /\ -1+pos^0 >= 0) \/ (1-z^0-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0)), cost: 7*z^0 Applied simplification Original rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=-1+z^0+pos^0, pos^0'=1, (-pos^0 >= 0 /\ ((1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+z^0+pos^0 >= 0 /\ -1+pos^0 >= 0 /\ ((-pos^0 >= 0 /\ 1-pos^0 >= 0) \/ (1 >= 0 /\ 1-pos^0 >= 0))) \/ (0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ yy^post16 >= 0 /\ -yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+z^0+pos^0 >= 0))), cost: 7-7*pos^0 New rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=-1+z^0+pos^0, pos^0'=1, (-1+z^0 <= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+z^0+pos^0 >= 0 /\ pos^0 <= 0), cost: 7-7*pos^0 Applied simplification Original rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-K^0+z^0, pos^0'=K^0+pos^0, (0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 1-xx^post23 >= 0 /\ -K^0+z^0 >= 0 /\ 1-K^0-pos^0 >= 0), cost: 8*K^0 New rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-K^0+z^0, pos^0'=K^0+pos^0, (-1+z^0 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+xx^post23 <= 0 /\ -K^0+z^0 >= 0 /\ 1-K^0-pos^0 >= 0), cost: 8*K^0 Applied simplification Original rule: l1 -> l1 : K^0'=K^0-z^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (0 >= 0 /\ 1-z^0-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ K^0-z^0 >= 0 /\ 1-xx^post23 >= 0), cost: 8*z^0 New rule: l1 -> l1 : K^0'=K^0-z^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (1-z^0-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ K^0-z^0 >= 0 /\ -1+xx^post23 <= 0), cost: 8*z^0 Applied simplification Original rule: l1 -> l1 : K^0'=-1+K^0+pos^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0+pos^0, pos^0'=1, (0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0+pos^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+z^0+pos^0 >= 0 /\ 1-xx^post23 >= 0 /\ -pos^0 >= 0), cost: 8-8*pos^0 New rule: l1 -> l1 : K^0'=-1+K^0+pos^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0+pos^0, pos^0'=1, (-1+z^0 <= 0 /\ yy^post16 >= 0 /\ -1+K^0+pos^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+z^0+pos^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0), cost: 8-8*pos^0 Applied simplification Original rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-K^0+z^0, pos^0'=K^0+pos^0, (0 >= 0 /\ -1+yy^post16-xx^post23 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 2-K^0-pos^0 >= 0 /\ -K^0+z^0 >= 0 /\ xx^post23 >= 0 /\ 1-pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 8*K^0 New rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-K^0+z^0, pos^0'=K^0+pos^0, (-1+yy^post16-xx^post23 >= 0 /\ -1+z^0 <= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ -K^0+z^0 >= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 8*K^0 Applied simplification Original rule: l1 -> l1 : K^0'=-2+K^0+pos^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0+pos^0, pos^0'=2, (0 >= 0 /\ -1+yy^post16-xx^post23 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -2+z^0+pos^0 >= 0 /\ -2+K^0+pos^0 >= 0 /\ xx^post23 >= 0 /\ 1-pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 16-8*pos^0 New rule: l1 -> l1 : K^0'=-2+K^0+pos^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0+pos^0, pos^0'=2, (-1+yy^post16-xx^post23 >= 0 /\ -1+z^0 <= 0 /\ -1+yy^post16 <= 0 /\ -2+z^0+pos^0 >= 0 /\ -2+K^0+pos^0 >= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0), cost: 16-8*pos^0 Applied simplification Original rule: l1 -> l1 : K^0'=K^0-z^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (0 >= 0 /\ -1+yy^post16-xx^post23 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ 2-z^0-pos^0 >= 0 /\ K^0-z^0 >= 0 /\ xx^post23 >= 0 /\ 1-pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 8*z^0 New rule: l1 -> l1 : K^0'=K^0-z^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (-1+yy^post16-xx^post23 >= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ 2-z^0-pos^0 >= 0 /\ K^0-z^0 >= 0 /\ xx^post23 >= 0 /\ -1+pos^0 >= 0), cost: 8*z^0 Applied simplification Original rule: l1 -> l1 : yy^0'=0, xx^0'=0, pos^0'=2*n43+pos^0, (-z^0 >= 0 /\ -1+K^0 >= 0 /\ -1+n43 >= 0 /\ 1-2*n43-pos^0 >= 0), cost: 8*n43 New rule: l1 -> l1 : yy^0'=0, xx^0'=0, pos^0'=2*n43+pos^0, (-1+K^0 >= 0 /\ -1+n43 >= 0 /\ 1-2*n43-pos^0 >= 0 /\ z^0 <= 0), cost: 8*n43 Applied simplification Original rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2*K^0+pos^0, (0 >= 0 /\ -1+yy^post16-xx^post23 >= 0 /\ 1-yy^post16 >= 0 /\ -z^0 >= 0 /\ -1+K^0 >= 0 /\ 2-2*K^0-pos^0 >= 0 /\ pos^0 >= 0 /\ -pos^0 >= 0 /\ xx^post23 >= 0), cost: 9*K^0 New rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2*K^0+pos^0, (-1+yy^post16-xx^post23 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 2-2*K^0-pos^0 >= 0 /\ z^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 >= 0), cost: 9*K^0 Applied simplification Original rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=-3+z^0+pos^0, pos^0'=3, (0 >= 0 /\ -2+pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ -1+K^0 >= 0 /\ -3+z^0+pos^0 >= 0 /\ 2-pos^0 >= 0 /\ -xx^post23 >= 0 /\ xx^post23 >= 0), cost: 27-9*pos^0 New rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=-3+z^0+pos^0, pos^0'=3, (-2+pos^0 <= 0 /\ -1+z^0 <= 0 /\ -1+K^0 >= 0 /\ -3+z^0+pos^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 27-9*pos^0 Applied simplification Original rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (0 >= 0 /\ -2+pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ -1+K^0 >= 0 /\ 3-z^0-pos^0 >= 0 /\ 2-pos^0 >= 0 /\ -xx^post23 >= 0 /\ xx^post23 >= 0), cost: 9*z^0 New rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (-2+pos^0 >= 0 /\ -1+z^0 >= 0 /\ -1+K^0 >= 0 /\ 3-z^0-pos^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9*z^0 Applied simplification Original rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-K^0+z^0, pos^0'=K^0+pos^0, (0 >= 0 /\ -2+pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 2-pos^0 >= 0 /\ 3-K^0-pos^0 >= 0 /\ 1-xx^post23 >= 0 /\ -K^0+z^0 >= 0), cost: 10*K^0 New rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-K^0+z^0, pos^0'=K^0+pos^0, (-2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 3-K^0-pos^0 >= 0 /\ -1+xx^post23 <= 0 /\ -K^0+z^0 >= 0), cost: 10*K^0 Applied simplification Original rule: l1 -> l1 : K^0'=-3+K^0+pos^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-3+z^0+pos^0, pos^0'=3, (0 >= 0 /\ -2+pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -3+z^0+pos^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 2-pos^0 >= 0 /\ -3+K^0+pos^0 >= 0 /\ 1-xx^post23 >= 0), cost: 30-10*pos^0 New rule: l1 -> l1 : K^0'=-3+K^0+pos^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-3+z^0+pos^0, pos^0'=3, (-2+pos^0 <= 0 /\ -1+z^0 <= 0 /\ yy^post16 >= 0 /\ -3+z^0+pos^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -3+K^0+pos^0 >= 0 /\ -1+xx^post23 <= 0), cost: 30-10*pos^0 Applied simplification Original rule: l1 -> l1 : K^0'=K^0-z^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (0 >= 0 /\ -2+pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ 3-z^0-pos^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ K^0-z^0 >= 0 /\ 2-pos^0 >= 0 /\ 1-xx^post23 >= 0), cost: 10*z^0 New rule: l1 -> l1 : K^0'=K^0-z^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (-2+pos^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ 3-z^0-pos^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ K^0-z^0 >= 0 /\ -1+xx^post23 <= 0), cost: 10*z^0 Applied simplification Original rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2*K^0+pos^0, (0 >= 0 /\ yy^post16 >= 0 /\ -z^0 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 3-2*K^0-pos^0 >= 0 /\ 1-xx^post23 >= 0 /\ 1-pos^0 >= 0 /\ -1+pos^0 >= 0), cost: 11*K^0 New rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2*K^0+pos^0, (yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 3-2*K^0-pos^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+pos^0 >= 0), cost: 11*K^0 Applied deletion Removed the following rules: 90 91 110 114 115 116 117 118 122 123 126 Accelerated simple loops Start location: l15 93: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0 /\ -1+z^post12 >= 0), cost: 10 94: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 10 111: l1 -> l1 : yy^0'=xx^post23, next^0'=1+next^0, xx^0'=xx^post23, z^0'=-1+z^post12, pos^0'=0, (-3+pos^0 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+z^post12 >= 0 /\ xx^post23 >= 0), cost: 9 112: l1 -> l1 : yy^0'=xx^post23, next^0'=1+next^0, xx^0'=xx^post23, z^0'=0, pos^0'=1, (-3+pos^0 >= 0 /\ -1+K^0 >= 0 /\ z^0 <= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 113: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=0, pos^0'=1, (-3+pos^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 11 119: l1 -> l1 : yy^0'=xx^post23, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 == 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9 120: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 == 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+xx^post23 <= 0 /\ 1+yy^post16-xx^post23 <= 0), cost: 10 121: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -3+pos^0 >= 0 /\ -1+z^0 == 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 10 124: l1 -> l1 : yy^0'=0, next^0'=1+next^0, xx^0'=0, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 == 0 /\ -1+K^0 >= 0 /\ z^0 <= 0), cost: 10 125: l1 -> l1 : K^0'=-1+K^0, yy^0'=yy^post16, next^0'=1+next^0, xx^0'=xx^post23, z^0'=z^post1, pos^0'=0, (z^post1 >= 0 /\ -2+pos^0 == 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 1-yy^post16+xx^post23 <= 0 /\ z^0 <= 0 /\ xx^post23 >= 0), cost: 11 147: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2*K^0+z^0, (-2*K^0+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+xx^post23 <= 0), cost: 7*K^0 148: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2*K^0+z^0, (-1+yy^post16-xx^post23 >= 0 /\ -2*K^0+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ xx^post23 >= 0), cost: 7*K^0 149: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=-2*n26+z^0, (-2*n26+z^0 >= 0 /\ -1+K^0 >= 0 /\ -1+n26 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 6*n26 150: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=-2+z^0+pos^0, pos^0'=2, (-1+z^0 <= 0 /\ -1+yy^post16 <= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -2+z^0+pos^0 >= 0 /\ 1-pos^0 >= 0), cost: 14-7*pos^0 151: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=0, pos^0'=z^0+pos^0, ((-1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 2-z^0-pos^0 >= 0 /\ -1+pos^0 >= 0) \/ (1-z^0-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0)), cost: 7*z^0 152: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=-1+z^0+pos^0, pos^0'=1, (-1+z^0 <= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+z^0+pos^0 >= 0 /\ pos^0 <= 0), cost: 7-7*pos^0 153: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-K^0+z^0, pos^0'=K^0+pos^0, (-1+z^0 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+xx^post23 <= 0 /\ -K^0+z^0 >= 0 /\ 1-K^0-pos^0 >= 0), cost: 8*K^0 154: l1 -> l1 : K^0'=K^0-z^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (1-z^0-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ K^0-z^0 >= 0 /\ -1+xx^post23 <= 0), cost: 8*z^0 155: l1 -> l1 : K^0'=-1+K^0+pos^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0+pos^0, pos^0'=1, (-1+z^0 <= 0 /\ yy^post16 >= 0 /\ -1+K^0+pos^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+z^0+pos^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0), cost: 8-8*pos^0 156: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-K^0+z^0, pos^0'=K^0+pos^0, (-1+yy^post16-xx^post23 >= 0 /\ -1+z^0 <= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ -K^0+z^0 >= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0 /\ -1+pos^0 >= 0), cost: 8*K^0 157: l1 -> l1 : K^0'=-2+K^0+pos^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2+z^0+pos^0, pos^0'=2, (-1+yy^post16-xx^post23 >= 0 /\ -1+z^0 <= 0 /\ -1+yy^post16 <= 0 /\ -2+z^0+pos^0 >= 0 /\ -2+K^0+pos^0 >= 0 /\ xx^post23 >= 0 /\ -1+pos^0 <= 0), cost: 16-8*pos^0 158: l1 -> l1 : K^0'=K^0-z^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (-1+yy^post16-xx^post23 >= 0 /\ -1+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ 2-z^0-pos^0 >= 0 /\ K^0-z^0 >= 0 /\ xx^post23 >= 0 /\ -1+pos^0 >= 0), cost: 8*z^0 159: l1 -> l1 : yy^0'=0, xx^0'=0, pos^0'=2*n43+pos^0, (-1+K^0 >= 0 /\ -1+n43 >= 0 /\ 1-2*n43-pos^0 >= 0 /\ z^0 <= 0), cost: 8*n43 160: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2*K^0+pos^0, (-1+yy^post16-xx^post23 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 2-2*K^0-pos^0 >= 0 /\ z^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 >= 0), cost: 9*K^0 161: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=-3+z^0+pos^0, pos^0'=3, (-2+pos^0 <= 0 /\ -1+z^0 <= 0 /\ -1+K^0 >= 0 /\ -3+z^0+pos^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 27-9*pos^0 162: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (-2+pos^0 >= 0 /\ -1+z^0 >= 0 /\ -1+K^0 >= 0 /\ 3-z^0-pos^0 >= 0 /\ xx^post23 <= 0 /\ xx^post23 >= 0), cost: 9*z^0 163: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-K^0+z^0, pos^0'=K^0+pos^0, (-2+pos^0 >= 0 /\ -1+z^0 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 3-K^0-pos^0 >= 0 /\ -1+xx^post23 <= 0 /\ -K^0+z^0 >= 0), cost: 10*K^0 164: l1 -> l1 : K^0'=-3+K^0+pos^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-3+z^0+pos^0, pos^0'=3, (-2+pos^0 <= 0 /\ -1+z^0 <= 0 /\ yy^post16 >= 0 /\ -3+z^0+pos^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -3+K^0+pos^0 >= 0 /\ -1+xx^post23 <= 0), cost: 30-10*pos^0 165: l1 -> l1 : K^0'=K^0-z^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (-2+pos^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ 3-z^0-pos^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ K^0-z^0 >= 0 /\ -1+xx^post23 <= 0), cost: 10*z^0 166: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2*K^0+pos^0, (yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ 3-2*K^0-pos^0 >= 0 /\ -1+xx^post23 <= 0 /\ z^0 <= 0 /\ -1+pos^0 >= 0), cost: 11*K^0 51: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Applied chaining First rule: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Second rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2*K^0+z^0, (-2*K^0+z^0 >= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+xx^post23 <= 0), cost: 7*K^0 New rule: l15 -> l1 : K^0'=0, yy^0'=yy^post16, next^0'=1, xx^0'=xx^post23, N^0'=N^post24, z^0'=-2*N^post24+z^post24, pos^0'=0, (yy^post16 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+N^post24 >= 0 /\ -1+xx^post23 <= 0 /\ -2*N^post24+z^post24 >= 0), cost: 2+7*N^post24 Applied chaining First rule: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Second rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-2*K^0+z^0, (-1+yy^post16-xx^post23 >= 0 /\ -2*K^0+z^0 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ xx^post23 >= 0), cost: 7*K^0 New rule: l15 -> l1 : K^0'=0, yy^0'=yy^post16, next^0'=1, xx^0'=xx^post23, N^0'=N^post24, z^0'=-2*N^post24+z^post24, pos^0'=0, (-1+yy^post16-xx^post23 >= 0 /\ -1+yy^post16 <= 0 /\ -1+N^post24 >= 0 /\ -2*N^post24+z^post24 >= 0 /\ xx^post23 >= 0), cost: 2+7*N^post24 Applied chaining First rule: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Second rule: l1 -> l1 : yy^0'=xx^post23, xx^0'=xx^post23, z^0'=-2*n26+z^0, (-2*n26+z^0 >= 0 /\ -1+K^0 >= 0 /\ -1+n26 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 6*n26 New rule: l15 -> l1 : K^0'=N^post24, yy^0'=xx^post23, next^0'=1, xx^0'=xx^post23, N^0'=N^post24, z^0'=z^post24-2*n26, pos^0'=0, (z^post24-2*n26 >= 0 /\ -1+n26 >= 0 /\ -1+N^post24 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 2+6*n26 Applied chaining First rule: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Second rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=0, pos^0'=z^0+pos^0, ((-1+z^0 >= 0 /\ 1-yy^post16 >= 0 /\ -1+yy^post16 >= 0 /\ -1+K^0 >= 0 /\ 2-z^0-pos^0 >= 0 /\ -1+pos^0 >= 0) \/ (1-z^0-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0)), cost: 7*z^0 New rule: l15 -> l1 : K^0'=N^post24, yy^0'=yy^post16, next^0'=1, xx^0'=yy^post16, N^0'=N^post24, z^0'=0, pos^0'=z^post24, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+z^post24 <= 0 /\ -1+z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2+7*z^post24 Applied chaining First rule: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Second rule: l1 -> l1 : yy^0'=yy^post16, xx^0'=yy^post16, z^0'=-1+z^0+pos^0, pos^0'=1, (-1+z^0 <= 0 /\ yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1+z^0+pos^0 >= 0 /\ pos^0 <= 0), cost: 7-7*pos^0 New rule: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=0, pos^0'=1, -1+N^post24 >= 0, cost: 9 Applied chaining First rule: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Second rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-K^0+z^0, pos^0'=K^0+pos^0, (-1+z^0 <= 0 /\ yy^post16 >= 0 /\ -1+K^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+xx^post23 <= 0 /\ -K^0+z^0 >= 0 /\ 1-K^0-pos^0 >= 0), cost: 8*K^0 New rule: l15 -> l1 : K^0'=0, yy^0'=yy^post16, next^0'=1, xx^0'=xx^post23, N^0'=1, z^0'=-1+z^post24, pos^0'=1, (yy^post16 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+z^post24 <= 0 /\ -1+z^post24 >= 0 /\ -1+xx^post23 <= 0), cost: 10 Applied chaining First rule: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Second rule: l1 -> l1 : K^0'=K^0-z^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=0, pos^0'=z^0+pos^0, (1-z^0-pos^0 >= 0 /\ 1-z^0 >= 0 /\ -1+z^0 >= 0 /\ yy^post16 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ K^0-z^0 >= 0 /\ -1+xx^post23 <= 0), cost: 8*z^0 New rule: l15 -> l1 : K^0'=-1+N^post24, yy^0'=yy^post16, next^0'=1, xx^0'=xx^post23, N^0'=N^post24, z^0'=0, pos^0'=1, (yy^post16 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+N^post24 >= 0 /\ -1+xx^post23 <= 0), cost: 10 Applied chaining First rule: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Second rule: l1 -> l1 : K^0'=-1+K^0+pos^0, yy^0'=yy^post16, xx^0'=xx^post23, z^0'=-1+z^0+pos^0, pos^0'=1, (-1+z^0 <= 0 /\ yy^post16 >= 0 /\ -1+K^0+pos^0 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+z^0+pos^0 >= 0 /\ -1+xx^post23 <= 0 /\ pos^0 <= 0), cost: 8-8*pos^0 New rule: l15 -> l1 : K^0'=-1+N^post24, yy^0'=yy^post16, next^0'=1, xx^0'=xx^post23, N^0'=N^post24, z^0'=0, pos^0'=1, (yy^post16 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+N^post24 >= 0 /\ -1+xx^post23 <= 0), cost: 10 Applied chaining First rule: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 Second rule: l1 -> l1 : K^0'=0, yy^0'=yy^post16, xx^0'=xx^post23, pos^0'=2*K^0+pos^0, (-1+yy^post16-xx^post23 >= 0 /\ -1+yy^post16 <= 0 /\ -1+K^0 >= 0 /\ 2-2*K^0-pos^0 >= 0 /\ z^0 <= 0 /\ pos^0 >= 0 /\ xx^post23 >= 0), cost: 9*K^0 New rule: l15 -> l1 : K^0'=0, yy^0'=yy^post16, next^0'=1, xx^0'=xx^post23, N^0'=N^post24, z^0'=0, pos^0'=2*N^post24, (-1+yy^post16-xx^post23 >= 0 /\ -1+yy^post16 <= 0 /\ -1+N^post24 <= 0 /\ -1+N^post24 >= 0 /\ xx^post23 >= 0), cost: 2+9*N^post24 Applied deletion Removed the following rules: 93 94 111 112 113 119 120 121 124 125 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 Chained accelerated rules with incoming rules Start location: l15 51: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=z^post24, pos^0'=0, (z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2 167: l15 -> l1 : K^0'=0, yy^0'=yy^post16, next^0'=1, xx^0'=xx^post23, N^0'=N^post24, z^0'=-2*N^post24+z^post24, pos^0'=0, (yy^post16 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+N^post24 >= 0 /\ -1+xx^post23 <= 0 /\ -2*N^post24+z^post24 >= 0), cost: 2+7*N^post24 168: l15 -> l1 : K^0'=0, yy^0'=yy^post16, next^0'=1, xx^0'=xx^post23, N^0'=N^post24, z^0'=-2*N^post24+z^post24, pos^0'=0, (-1+yy^post16-xx^post23 >= 0 /\ -1+yy^post16 <= 0 /\ -1+N^post24 >= 0 /\ -2*N^post24+z^post24 >= 0 /\ xx^post23 >= 0), cost: 2+7*N^post24 169: l15 -> l1 : K^0'=N^post24, yy^0'=xx^post23, next^0'=1, xx^0'=xx^post23, N^0'=N^post24, z^0'=z^post24-2*n26, pos^0'=0, (z^post24-2*n26 >= 0 /\ -1+n26 >= 0 /\ -1+N^post24 >= 0 /\ -1+xx^post23 <= 0 /\ xx^post23 >= 0), cost: 2+6*n26 170: l15 -> l1 : K^0'=N^post24, yy^0'=yy^post16, next^0'=1, xx^0'=yy^post16, N^0'=N^post24, z^0'=0, pos^0'=z^post24, (yy^post16 <= 0 /\ yy^post16 >= 0 /\ -1+z^post24 <= 0 /\ -1+z^post24 >= 0 /\ -1+N^post24 >= 0), cost: 2+7*z^post24 171: l15 -> l1 : K^0'=N^post24, yy^0'=0, next^0'=1, xx^0'=0, N^0'=N^post24, z^0'=0, pos^0'=1, -1+N^post24 >= 0, cost: 9 172: l15 -> l1 : K^0'=0, yy^0'=yy^post16, next^0'=1, xx^0'=xx^post23, N^0'=1, z^0'=-1+z^post24, pos^0'=1, (yy^post16 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+z^post24 <= 0 /\ -1+z^post24 >= 0 /\ -1+xx^post23 <= 0), cost: 10 173: l15 -> l1 : K^0'=-1+N^post24, yy^0'=yy^post16, next^0'=1, xx^0'=xx^post23, N^0'=N^post24, z^0'=0, pos^0'=1, (yy^post16 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+N^post24 >= 0 /\ -1+xx^post23 <= 0), cost: 10 174: l15 -> l1 : K^0'=-1+N^post24, yy^0'=yy^post16, next^0'=1, xx^0'=xx^post23, N^0'=N^post24, z^0'=0, pos^0'=1, (yy^post16 >= 0 /\ -1-yy^post16+xx^post23 >= 0 /\ -1+N^post24 >= 0 /\ -1+xx^post23 <= 0), cost: 10 175: l15 -> l1 : K^0'=0, yy^0'=yy^post16, next^0'=1, xx^0'=xx^post23, N^0'=N^post24, z^0'=0, pos^0'=2*N^post24, (-1+yy^post16-xx^post23 >= 0 /\ -1+yy^post16 <= 0 /\ -1+N^post24 <= 0 /\ -1+N^post24 >= 0 /\ xx^post23 >= 0), cost: 2+9*N^post24 Removed unreachable locations and irrelevant leafs Start location: l15 Computing asymptotic complexity Proved the following lower bound Complexity: Unknown Cpx degree: ? Solved cost: 0 Rule cost: 0