WORST_CASE(Omega(0),?) Initial ITS Start location: l12 0: l0 -> l1 : N6^0'=N6^post0, min9^0'=min9^post0, i8^0'=i8^post0, tmp^0'=tmp^post0, j7^0'=j7^post0, N^0'=N^post0, t10^0'=t10^post0, i^0'=i^post0, (-tmp^post0+tmp^0 == 0 /\ N6^0-N6^post0 == 0 /\ -t10^post0+t10^0 == 0 /\ i^0-i^post0 == 0 /\ j7^0-j7^post0 == 0 /\ min9^0-min9^post0 == 0 /\ i8^0-i8^post0 == 0 /\ -N^post0+N^0 == 0), cost: 1 13: l1 -> l2 : N6^0'=N6^post13, min9^0'=min9^post13, i8^0'=i8^post13, tmp^0'=tmp^post13, j7^0'=j7^post13, N^0'=N^post13, t10^0'=t10^post13, i^0'=i^post13, (N6^post13-N^0 == 0 /\ N^0-i^0 <= 0 /\ i^0-i^post13 == 0 /\ tmp^0-tmp^post13 == 0 /\ -min9^post13+min9^0 == 0 /\ -N^post13+N^0 == 0 /\ -t10^post13+t10^0 == 0 /\ j7^post13 == 0 /\ i8^0-i8^post13 == 0), cost: 1 14: l1 -> l0 : N6^0'=N6^post14, min9^0'=min9^post14, i8^0'=i8^post14, tmp^0'=tmp^post14, j7^0'=j7^post14, N^0'=N^post14, t10^0'=t10^post14, i^0'=i^post14, (-j7^post14+j7^0 == 0 /\ tmp^0-tmp^post14 == 0 /\ 1-N^0+i^0 <= 0 /\ i8^0-i8^post14 == 0 /\ min9^0-min9^post14 == 0 /\ N6^0-N6^post14 == 0 /\ -1+i^post14-i^0 == 0 /\ N^0-N^post14 == 0 /\ -t10^post14+t10^0 == 0), cost: 1 1: l2 -> l3 : N6^0'=N6^post1, min9^0'=min9^post1, i8^0'=i8^post1, tmp^0'=tmp^post1, j7^0'=j7^post1, N^0'=N^post1, t10^0'=t10^post1, i^0'=i^post1, (N^0-N^post1 == 0 /\ -t10^post1+t10^0 == 0 /\ N6^0-N6^post1 == 0 /\ -j7^post1+j7^0 == 0 /\ min9^0-min9^post1 == 0 /\ tmp^0-tmp^post1 == 0 /\ i8^0-i8^post1 == 0 /\ -i^post1+i^0 == 0), cost: 1 11: l3 -> l6 : N6^0'=N6^post11, min9^0'=min9^post11, i8^0'=i8^post11, tmp^0'=tmp^post11, j7^0'=j7^post11, N^0'=N^post11, t10^0'=t10^post11, i^0'=i^post11, (min9^0-min9^post11 == 0 /\ i8^0-i8^post11 == 0 /\ -t10^post11+t10^0 == 0 /\ i^0-i^post11 == 0 /\ N6^0-N6^post11 == 0 /\ -N^post11+N^0 == 0 /\ -1+N6^0-j7^0 <= 0 /\ j7^post11 == 0 /\ -tmp^post11+tmp^0 == 0), cost: 1 12: l3 -> l7 : N6^0'=N6^post12, min9^0'=min9^post12, i8^0'=i8^post12, tmp^0'=tmp^post12, j7^0'=j7^post12, N^0'=N^post12, t10^0'=t10^post12, i^0'=i^post12, (N^0-N^post12 == 0 /\ -1-j7^0+i8^post12 == 0 /\ 2-N6^0+j7^0 <= 0 /\ tmp^0-tmp^post12 == 0 /\ -j7^0+min9^post12 == 0 /\ N6^0-N6^post12 == 0 /\ -t10^post12+t10^0 == 0 /\ -i^post12+i^0 == 0 /\ -j7^post12+j7^0 == 0), cost: 1 2: l4 -> l5 : N6^0'=N6^post2, min9^0'=min9^post2, i8^0'=i8^post2, tmp^0'=tmp^post2, j7^0'=j7^post2, N^0'=N^post2, t10^0'=t10^post2, i^0'=i^post2, (tmp^0-tmp^post2 == 0 /\ i^0-i^post2 == 0 /\ j7^0-j7^post2 == 0 /\ N6^0-N6^post2 == 0 /\ -min9^post2+min9^0 == 0 /\ i8^0-i8^post2 == 0 /\ -t10^post2+t10^0 == 0 /\ -N^post2+N^0 == 0 /\ -1+N6^0-j7^0 <= 0), cost: 1 3: l4 -> l6 : N6^0'=N6^post3, min9^0'=min9^post3, i8^0'=i8^post3, tmp^0'=tmp^post3, j7^0'=j7^post3, N^0'=N^post3, t10^0'=t10^post3, i^0'=i^post3, (N6^0-N6^post3 == 0 /\ N^0-N^post3 == 0 /\ 2-N6^0+j7^0 <= 0 /\ -1+j7^post3-j7^0 == 0 /\ tmp^0-tmp^post3 == 0 /\ t10^0-t10^post3 == 0 /\ min9^0-min9^post3 == 0 /\ i8^0-i8^post3 == 0 /\ -i^post3+i^0 == 0), cost: 1 10: l6 -> l4 : N6^0'=N6^post10, min9^0'=min9^post10, i8^0'=i8^post10, tmp^0'=tmp^post10, j7^0'=j7^post10, N^0'=N^post10, t10^0'=t10^post10, i^0'=i^post10, (min9^0-min9^post10 == 0 /\ tmp^0-tmp^post10 == 0 /\ -i8^post10+i8^0 == 0 /\ -t10^post10+t10^0 == 0 /\ -j7^post10+j7^0 == 0 /\ -N6^post10+N6^0 == 0 /\ -i^post10+i^0 == 0 /\ -N^post10+N^0 == 0), cost: 1 4: l7 -> l8 : N6^0'=N6^post4, min9^0'=min9^post4, i8^0'=i8^post4, tmp^0'=tmp^post4, j7^0'=j7^post4, N^0'=N^post4, t10^0'=t10^post4, i^0'=i^post4, (min9^0-min9^post4 == 0 /\ N6^0-N6^post4 == 0 /\ -N^post4+N^0 == 0 /\ -i8^post4+i8^0 == 0 /\ -t10^post4+t10^0 == 0 /\ -i^post4+i^0 == 0 /\ -j7^post4+j7^0 == 0 /\ tmp^0-tmp^post4 == 0), cost: 1 8: l8 -> l2 : N6^0'=N6^post8, min9^0'=min9^post8, i8^0'=i8^post8, tmp^0'=tmp^post8, j7^0'=j7^post8, N^0'=N^post8, t10^0'=t10^post8, i^0'=i^post8, (0 == 0 /\ -N^post8+N^0 == 0 /\ -i8^post8+i8^0 == 0 /\ tmp^0-tmp^post8 == 0 /\ min9^0-min9^post8 == 0 /\ N6^0-i8^0 <= 0 /\ -1-j7^0+j7^post8 == 0 /\ -i^post8+i^0 == 0 /\ N6^0-N6^post8 == 0), cost: 1 9: l8 -> l10 : N6^0'=N6^post9, min9^0'=min9^post9, i8^0'=i8^post9, tmp^0'=tmp^post9, j7^0'=j7^post9, N^0'=N^post9, t10^0'=t10^post9, i^0'=i^post9, (-tmp^post9+tmp^0 == 0 /\ min9^0-min9^post9 == 0 /\ i8^0-i8^post9 == 0 /\ 1-N6^0+i8^0 <= 0 /\ N6^0-N6^post9 == 0 /\ t10^0-t10^post9 == 0 /\ -N^post9+N^0 == 0 /\ -i^post9+i^0 == 0 /\ j7^0-j7^post9 == 0), cost: 1 5: l9 -> l7 : N6^0'=N6^post5, min9^0'=min9^post5, i8^0'=i8^post5, tmp^0'=tmp^post5, j7^0'=j7^post5, N^0'=N^post5, t10^0'=t10^post5, i^0'=i^post5, (min9^0-min9^post5 == 0 /\ N6^0-N6^post5 == 0 /\ -N^post5+N^0 == 0 /\ -i^post5+i^0 == 0 /\ -1-i8^0+i8^post5 == 0 /\ t10^0-t10^post5 == 0 /\ j7^0-j7^post5 == 0 /\ -tmp^post5+tmp^0 == 0), cost: 1 6: l10 -> l9 : N6^0'=N6^post6, min9^0'=min9^post6, i8^0'=i8^post6, tmp^0'=tmp^post6, j7^0'=j7^post6, N^0'=N^post6, t10^0'=t10^post6, i^0'=i^post6, (-j7^post6+j7^0 == 0 /\ -i8^0+min9^post6 == 0 /\ N6^0-N6^post6 == 0 /\ -i^post6+i^0 == 0 /\ N^0-N^post6 == 0 /\ -t10^post6+t10^0 == 0 /\ tmp^0-tmp^post6 == 0 /\ -i8^post6+i8^0 == 0), cost: 1 7: l10 -> l9 : N6^0'=N6^post7, min9^0'=min9^post7, i8^0'=i8^post7, tmp^0'=tmp^post7, j7^0'=j7^post7, N^0'=N^post7, t10^0'=t10^post7, i^0'=i^post7, (-i^post7+i^0 == 0 /\ i8^0-i8^post7 == 0 /\ -N^post7+N^0 == 0 /\ -tmp^post7+tmp^0 == 0 /\ j7^0-j7^post7 == 0 /\ N6^0-N6^post7 == 0 /\ t10^0-t10^post7 == 0 /\ min9^0-min9^post7 == 0), cost: 1 15: l11 -> l0 : N6^0'=N6^post15, min9^0'=min9^post15, i8^0'=i8^post15, tmp^0'=tmp^post15, j7^0'=j7^post15, N^0'=N^post15, t10^0'=t10^post15, i^0'=i^post15, (0 == 0 /\ i^post15 == 0 /\ j7^0-j7^post15 == 0 /\ -N^post15+N^0 == 0 /\ t10^0-t10^post15 == 0 /\ N6^0-N6^post15 == 0 /\ min9^0-min9^post15 == 0 /\ i8^0-i8^post15 == 0), cost: 1 16: l12 -> l11 : N6^0'=N6^post16, min9^0'=min9^post16, i8^0'=i8^post16, tmp^0'=tmp^post16, j7^0'=j7^post16, N^0'=N^post16, t10^0'=t10^post16, i^0'=i^post16, (-i^post16+i^0 == 0 /\ -t10^post16+t10^0 == 0 /\ N6^0-N6^post16 == 0 /\ N^0-N^post16 == 0 /\ -j7^post16+j7^0 == 0 /\ tmp^0-tmp^post16 == 0 /\ min9^0-min9^post16 == 0 /\ i8^0-i8^post16 == 0), cost: 1 Removed unreachable rules and leafs Start location: l12 0: l0 -> l1 : N6^0'=N6^post0, min9^0'=min9^post0, i8^0'=i8^post0, tmp^0'=tmp^post0, j7^0'=j7^post0, N^0'=N^post0, t10^0'=t10^post0, i^0'=i^post0, (-tmp^post0+tmp^0 == 0 /\ N6^0-N6^post0 == 0 /\ -t10^post0+t10^0 == 0 /\ i^0-i^post0 == 0 /\ j7^0-j7^post0 == 0 /\ min9^0-min9^post0 == 0 /\ i8^0-i8^post0 == 0 /\ -N^post0+N^0 == 0), cost: 1 13: l1 -> l2 : N6^0'=N6^post13, min9^0'=min9^post13, i8^0'=i8^post13, tmp^0'=tmp^post13, j7^0'=j7^post13, N^0'=N^post13, t10^0'=t10^post13, i^0'=i^post13, (N6^post13-N^0 == 0 /\ N^0-i^0 <= 0 /\ i^0-i^post13 == 0 /\ tmp^0-tmp^post13 == 0 /\ -min9^post13+min9^0 == 0 /\ -N^post13+N^0 == 0 /\ -t10^post13+t10^0 == 0 /\ j7^post13 == 0 /\ i8^0-i8^post13 == 0), cost: 1 14: l1 -> l0 : N6^0'=N6^post14, min9^0'=min9^post14, i8^0'=i8^post14, tmp^0'=tmp^post14, j7^0'=j7^post14, N^0'=N^post14, t10^0'=t10^post14, i^0'=i^post14, (-j7^post14+j7^0 == 0 /\ tmp^0-tmp^post14 == 0 /\ 1-N^0+i^0 <= 0 /\ i8^0-i8^post14 == 0 /\ min9^0-min9^post14 == 0 /\ N6^0-N6^post14 == 0 /\ -1+i^post14-i^0 == 0 /\ N^0-N^post14 == 0 /\ -t10^post14+t10^0 == 0), cost: 1 1: l2 -> l3 : N6^0'=N6^post1, min9^0'=min9^post1, i8^0'=i8^post1, tmp^0'=tmp^post1, j7^0'=j7^post1, N^0'=N^post1, t10^0'=t10^post1, i^0'=i^post1, (N^0-N^post1 == 0 /\ -t10^post1+t10^0 == 0 /\ N6^0-N6^post1 == 0 /\ -j7^post1+j7^0 == 0 /\ min9^0-min9^post1 == 0 /\ tmp^0-tmp^post1 == 0 /\ i8^0-i8^post1 == 0 /\ -i^post1+i^0 == 0), cost: 1 11: l3 -> l6 : N6^0'=N6^post11, min9^0'=min9^post11, i8^0'=i8^post11, tmp^0'=tmp^post11, j7^0'=j7^post11, N^0'=N^post11, t10^0'=t10^post11, i^0'=i^post11, (min9^0-min9^post11 == 0 /\ i8^0-i8^post11 == 0 /\ -t10^post11+t10^0 == 0 /\ i^0-i^post11 == 0 /\ N6^0-N6^post11 == 0 /\ -N^post11+N^0 == 0 /\ -1+N6^0-j7^0 <= 0 /\ j7^post11 == 0 /\ -tmp^post11+tmp^0 == 0), cost: 1 12: l3 -> l7 : N6^0'=N6^post12, min9^0'=min9^post12, i8^0'=i8^post12, tmp^0'=tmp^post12, j7^0'=j7^post12, N^0'=N^post12, t10^0'=t10^post12, i^0'=i^post12, (N^0-N^post12 == 0 /\ -1-j7^0+i8^post12 == 0 /\ 2-N6^0+j7^0 <= 0 /\ tmp^0-tmp^post12 == 0 /\ -j7^0+min9^post12 == 0 /\ N6^0-N6^post12 == 0 /\ -t10^post12+t10^0 == 0 /\ -i^post12+i^0 == 0 /\ -j7^post12+j7^0 == 0), cost: 1 3: l4 -> l6 : N6^0'=N6^post3, min9^0'=min9^post3, i8^0'=i8^post3, tmp^0'=tmp^post3, j7^0'=j7^post3, N^0'=N^post3, t10^0'=t10^post3, i^0'=i^post3, (N6^0-N6^post3 == 0 /\ N^0-N^post3 == 0 /\ 2-N6^0+j7^0 <= 0 /\ -1+j7^post3-j7^0 == 0 /\ tmp^0-tmp^post3 == 0 /\ t10^0-t10^post3 == 0 /\ min9^0-min9^post3 == 0 /\ i8^0-i8^post3 == 0 /\ -i^post3+i^0 == 0), cost: 1 10: l6 -> l4 : N6^0'=N6^post10, min9^0'=min9^post10, i8^0'=i8^post10, tmp^0'=tmp^post10, j7^0'=j7^post10, N^0'=N^post10, t10^0'=t10^post10, i^0'=i^post10, (min9^0-min9^post10 == 0 /\ tmp^0-tmp^post10 == 0 /\ -i8^post10+i8^0 == 0 /\ -t10^post10+t10^0 == 0 /\ -j7^post10+j7^0 == 0 /\ -N6^post10+N6^0 == 0 /\ -i^post10+i^0 == 0 /\ -N^post10+N^0 == 0), cost: 1 4: l7 -> l8 : N6^0'=N6^post4, min9^0'=min9^post4, i8^0'=i8^post4, tmp^0'=tmp^post4, j7^0'=j7^post4, N^0'=N^post4, t10^0'=t10^post4, i^0'=i^post4, (min9^0-min9^post4 == 0 /\ N6^0-N6^post4 == 0 /\ -N^post4+N^0 == 0 /\ -i8^post4+i8^0 == 0 /\ -t10^post4+t10^0 == 0 /\ -i^post4+i^0 == 0 /\ -j7^post4+j7^0 == 0 /\ tmp^0-tmp^post4 == 0), cost: 1 8: l8 -> l2 : N6^0'=N6^post8, min9^0'=min9^post8, i8^0'=i8^post8, tmp^0'=tmp^post8, j7^0'=j7^post8, N^0'=N^post8, t10^0'=t10^post8, i^0'=i^post8, (0 == 0 /\ -N^post8+N^0 == 0 /\ -i8^post8+i8^0 == 0 /\ tmp^0-tmp^post8 == 0 /\ min9^0-min9^post8 == 0 /\ N6^0-i8^0 <= 0 /\ -1-j7^0+j7^post8 == 0 /\ -i^post8+i^0 == 0 /\ N6^0-N6^post8 == 0), cost: 1 9: l8 -> l10 : N6^0'=N6^post9, min9^0'=min9^post9, i8^0'=i8^post9, tmp^0'=tmp^post9, j7^0'=j7^post9, N^0'=N^post9, t10^0'=t10^post9, i^0'=i^post9, (-tmp^post9+tmp^0 == 0 /\ min9^0-min9^post9 == 0 /\ i8^0-i8^post9 == 0 /\ 1-N6^0+i8^0 <= 0 /\ N6^0-N6^post9 == 0 /\ t10^0-t10^post9 == 0 /\ -N^post9+N^0 == 0 /\ -i^post9+i^0 == 0 /\ j7^0-j7^post9 == 0), cost: 1 5: l9 -> l7 : N6^0'=N6^post5, min9^0'=min9^post5, i8^0'=i8^post5, tmp^0'=tmp^post5, j7^0'=j7^post5, N^0'=N^post5, t10^0'=t10^post5, i^0'=i^post5, (min9^0-min9^post5 == 0 /\ N6^0-N6^post5 == 0 /\ -N^post5+N^0 == 0 /\ -i^post5+i^0 == 0 /\ -1-i8^0+i8^post5 == 0 /\ t10^0-t10^post5 == 0 /\ j7^0-j7^post5 == 0 /\ -tmp^post5+tmp^0 == 0), cost: 1 6: l10 -> l9 : N6^0'=N6^post6, min9^0'=min9^post6, i8^0'=i8^post6, tmp^0'=tmp^post6, j7^0'=j7^post6, N^0'=N^post6, t10^0'=t10^post6, i^0'=i^post6, (-j7^post6+j7^0 == 0 /\ -i8^0+min9^post6 == 0 /\ N6^0-N6^post6 == 0 /\ -i^post6+i^0 == 0 /\ N^0-N^post6 == 0 /\ -t10^post6+t10^0 == 0 /\ tmp^0-tmp^post6 == 0 /\ -i8^post6+i8^0 == 0), cost: 1 7: l10 -> l9 : N6^0'=N6^post7, min9^0'=min9^post7, i8^0'=i8^post7, tmp^0'=tmp^post7, j7^0'=j7^post7, N^0'=N^post7, t10^0'=t10^post7, i^0'=i^post7, (-i^post7+i^0 == 0 /\ i8^0-i8^post7 == 0 /\ -N^post7+N^0 == 0 /\ -tmp^post7+tmp^0 == 0 /\ j7^0-j7^post7 == 0 /\ N6^0-N6^post7 == 0 /\ t10^0-t10^post7 == 0 /\ min9^0-min9^post7 == 0), cost: 1 15: l11 -> l0 : N6^0'=N6^post15, min9^0'=min9^post15, i8^0'=i8^post15, tmp^0'=tmp^post15, j7^0'=j7^post15, N^0'=N^post15, t10^0'=t10^post15, i^0'=i^post15, (0 == 0 /\ i^post15 == 0 /\ j7^0-j7^post15 == 0 /\ -N^post15+N^0 == 0 /\ t10^0-t10^post15 == 0 /\ N6^0-N6^post15 == 0 /\ min9^0-min9^post15 == 0 /\ i8^0-i8^post15 == 0), cost: 1 16: l12 -> l11 : N6^0'=N6^post16, min9^0'=min9^post16, i8^0'=i8^post16, tmp^0'=tmp^post16, j7^0'=j7^post16, N^0'=N^post16, t10^0'=t10^post16, i^0'=i^post16, (-i^post16+i^0 == 0 /\ -t10^post16+t10^0 == 0 /\ N6^0-N6^post16 == 0 /\ N^0-N^post16 == 0 /\ -j7^post16+j7^0 == 0 /\ tmp^0-tmp^post16 == 0 /\ min9^0-min9^post16 == 0 /\ i8^0-i8^post16 == 0), cost: 1 Applied preprocessing Original rule: l0 -> l1 : N6^0'=N6^post0, min9^0'=min9^post0, i8^0'=i8^post0, tmp^0'=tmp^post0, j7^0'=j7^post0, N^0'=N^post0, t10^0'=t10^post0, i^0'=i^post0, (-tmp^post0+tmp^0 == 0 /\ N6^0-N6^post0 == 0 /\ -t10^post0+t10^0 == 0 /\ i^0-i^post0 == 0 /\ j7^0-j7^post0 == 0 /\ min9^0-min9^post0 == 0 /\ i8^0-i8^post0 == 0 /\ -N^post0+N^0 == 0), cost: 1 New rule: l0 -> l1 : TRUE, cost: 1 Applied preprocessing Original rule: l2 -> l3 : N6^0'=N6^post1, min9^0'=min9^post1, i8^0'=i8^post1, tmp^0'=tmp^post1, j7^0'=j7^post1, N^0'=N^post1, t10^0'=t10^post1, i^0'=i^post1, (N^0-N^post1 == 0 /\ -t10^post1+t10^0 == 0 /\ N6^0-N6^post1 == 0 /\ -j7^post1+j7^0 == 0 /\ min9^0-min9^post1 == 0 /\ tmp^0-tmp^post1 == 0 /\ i8^0-i8^post1 == 0 /\ -i^post1+i^0 == 0), cost: 1 New rule: l2 -> l3 : TRUE, cost: 1 Applied preprocessing Original rule: l4 -> l6 : N6^0'=N6^post3, min9^0'=min9^post3, i8^0'=i8^post3, tmp^0'=tmp^post3, j7^0'=j7^post3, N^0'=N^post3, t10^0'=t10^post3, i^0'=i^post3, (N6^0-N6^post3 == 0 /\ N^0-N^post3 == 0 /\ 2-N6^0+j7^0 <= 0 /\ -1+j7^post3-j7^0 == 0 /\ tmp^0-tmp^post3 == 0 /\ t10^0-t10^post3 == 0 /\ min9^0-min9^post3 == 0 /\ i8^0-i8^post3 == 0 /\ -i^post3+i^0 == 0), cost: 1 New rule: l4 -> l6 : j7^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 1 Applied preprocessing Original rule: l7 -> l8 : N6^0'=N6^post4, min9^0'=min9^post4, i8^0'=i8^post4, tmp^0'=tmp^post4, j7^0'=j7^post4, N^0'=N^post4, t10^0'=t10^post4, i^0'=i^post4, (min9^0-min9^post4 == 0 /\ N6^0-N6^post4 == 0 /\ -N^post4+N^0 == 0 /\ -i8^post4+i8^0 == 0 /\ -t10^post4+t10^0 == 0 /\ -i^post4+i^0 == 0 /\ -j7^post4+j7^0 == 0 /\ tmp^0-tmp^post4 == 0), cost: 1 New rule: l7 -> l8 : TRUE, cost: 1 Applied preprocessing Original rule: l9 -> l7 : N6^0'=N6^post5, min9^0'=min9^post5, i8^0'=i8^post5, tmp^0'=tmp^post5, j7^0'=j7^post5, N^0'=N^post5, t10^0'=t10^post5, i^0'=i^post5, (min9^0-min9^post5 == 0 /\ N6^0-N6^post5 == 0 /\ -N^post5+N^0 == 0 /\ -i^post5+i^0 == 0 /\ -1-i8^0+i8^post5 == 0 /\ t10^0-t10^post5 == 0 /\ j7^0-j7^post5 == 0 /\ -tmp^post5+tmp^0 == 0), cost: 1 New rule: l9 -> l7 : i8^0'=1+i8^0, TRUE, cost: 1 Applied preprocessing Original rule: l10 -> l9 : N6^0'=N6^post6, min9^0'=min9^post6, i8^0'=i8^post6, tmp^0'=tmp^post6, j7^0'=j7^post6, N^0'=N^post6, t10^0'=t10^post6, i^0'=i^post6, (-j7^post6+j7^0 == 0 /\ -i8^0+min9^post6 == 0 /\ N6^0-N6^post6 == 0 /\ -i^post6+i^0 == 0 /\ N^0-N^post6 == 0 /\ -t10^post6+t10^0 == 0 /\ tmp^0-tmp^post6 == 0 /\ -i8^post6+i8^0 == 0), cost: 1 New rule: l10 -> l9 : min9^0'=i8^0, TRUE, cost: 1 Applied preprocessing Original rule: l10 -> l9 : N6^0'=N6^post7, min9^0'=min9^post7, i8^0'=i8^post7, tmp^0'=tmp^post7, j7^0'=j7^post7, N^0'=N^post7, t10^0'=t10^post7, i^0'=i^post7, (-i^post7+i^0 == 0 /\ i8^0-i8^post7 == 0 /\ -N^post7+N^0 == 0 /\ -tmp^post7+tmp^0 == 0 /\ j7^0-j7^post7 == 0 /\ N6^0-N6^post7 == 0 /\ t10^0-t10^post7 == 0 /\ min9^0-min9^post7 == 0), cost: 1 New rule: l10 -> l9 : TRUE, cost: 1 Applied preprocessing Original rule: l8 -> l2 : N6^0'=N6^post8, min9^0'=min9^post8, i8^0'=i8^post8, tmp^0'=tmp^post8, j7^0'=j7^post8, N^0'=N^post8, t10^0'=t10^post8, i^0'=i^post8, (0 == 0 /\ -N^post8+N^0 == 0 /\ -i8^post8+i8^0 == 0 /\ tmp^0-tmp^post8 == 0 /\ min9^0-min9^post8 == 0 /\ N6^0-i8^0 <= 0 /\ -1-j7^0+j7^post8 == 0 /\ -i^post8+i^0 == 0 /\ N6^0-N6^post8 == 0), cost: 1 New rule: l8 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 1 Applied preprocessing Original rule: l8 -> l10 : N6^0'=N6^post9, min9^0'=min9^post9, i8^0'=i8^post9, tmp^0'=tmp^post9, j7^0'=j7^post9, N^0'=N^post9, t10^0'=t10^post9, i^0'=i^post9, (-tmp^post9+tmp^0 == 0 /\ min9^0-min9^post9 == 0 /\ i8^0-i8^post9 == 0 /\ 1-N6^0+i8^0 <= 0 /\ N6^0-N6^post9 == 0 /\ t10^0-t10^post9 == 0 /\ -N^post9+N^0 == 0 /\ -i^post9+i^0 == 0 /\ j7^0-j7^post9 == 0), cost: 1 New rule: l8 -> l10 : 1-N6^0+i8^0 <= 0, cost: 1 Applied preprocessing Original rule: l6 -> l4 : N6^0'=N6^post10, min9^0'=min9^post10, i8^0'=i8^post10, tmp^0'=tmp^post10, j7^0'=j7^post10, N^0'=N^post10, t10^0'=t10^post10, i^0'=i^post10, (min9^0-min9^post10 == 0 /\ tmp^0-tmp^post10 == 0 /\ -i8^post10+i8^0 == 0 /\ -t10^post10+t10^0 == 0 /\ -j7^post10+j7^0 == 0 /\ -N6^post10+N6^0 == 0 /\ -i^post10+i^0 == 0 /\ -N^post10+N^0 == 0), cost: 1 New rule: l6 -> l4 : TRUE, cost: 1 Applied preprocessing Original rule: l3 -> l6 : N6^0'=N6^post11, min9^0'=min9^post11, i8^0'=i8^post11, tmp^0'=tmp^post11, j7^0'=j7^post11, N^0'=N^post11, t10^0'=t10^post11, i^0'=i^post11, (min9^0-min9^post11 == 0 /\ i8^0-i8^post11 == 0 /\ -t10^post11+t10^0 == 0 /\ i^0-i^post11 == 0 /\ N6^0-N6^post11 == 0 /\ -N^post11+N^0 == 0 /\ -1+N6^0-j7^0 <= 0 /\ j7^post11 == 0 /\ -tmp^post11+tmp^0 == 0), cost: 1 New rule: l3 -> l6 : j7^0'=0, -1+N6^0-j7^0 <= 0, cost: 1 Applied preprocessing Original rule: l3 -> l7 : N6^0'=N6^post12, min9^0'=min9^post12, i8^0'=i8^post12, tmp^0'=tmp^post12, j7^0'=j7^post12, N^0'=N^post12, t10^0'=t10^post12, i^0'=i^post12, (N^0-N^post12 == 0 /\ -1-j7^0+i8^post12 == 0 /\ 2-N6^0+j7^0 <= 0 /\ tmp^0-tmp^post12 == 0 /\ -j7^0+min9^post12 == 0 /\ N6^0-N6^post12 == 0 /\ -t10^post12+t10^0 == 0 /\ -i^post12+i^0 == 0 /\ -j7^post12+j7^0 == 0), cost: 1 New rule: l3 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 1 Applied preprocessing Original rule: l1 -> l2 : N6^0'=N6^post13, min9^0'=min9^post13, i8^0'=i8^post13, tmp^0'=tmp^post13, j7^0'=j7^post13, N^0'=N^post13, t10^0'=t10^post13, i^0'=i^post13, (N6^post13-N^0 == 0 /\ N^0-i^0 <= 0 /\ i^0-i^post13 == 0 /\ tmp^0-tmp^post13 == 0 /\ -min9^post13+min9^0 == 0 /\ -N^post13+N^0 == 0 /\ -t10^post13+t10^0 == 0 /\ j7^post13 == 0 /\ i8^0-i8^post13 == 0), cost: 1 New rule: l1 -> l2 : N6^0'=N^0, j7^0'=0, N^0-i^0 <= 0, cost: 1 Applied preprocessing Original rule: l1 -> l0 : N6^0'=N6^post14, min9^0'=min9^post14, i8^0'=i8^post14, tmp^0'=tmp^post14, j7^0'=j7^post14, N^0'=N^post14, t10^0'=t10^post14, i^0'=i^post14, (-j7^post14+j7^0 == 0 /\ tmp^0-tmp^post14 == 0 /\ 1-N^0+i^0 <= 0 /\ i8^0-i8^post14 == 0 /\ min9^0-min9^post14 == 0 /\ N6^0-N6^post14 == 0 /\ -1+i^post14-i^0 == 0 /\ N^0-N^post14 == 0 /\ -t10^post14+t10^0 == 0), cost: 1 New rule: l1 -> l0 : i^0'=1+i^0, 1-N^0+i^0 <= 0, cost: 1 Applied preprocessing Original rule: l11 -> l0 : N6^0'=N6^post15, min9^0'=min9^post15, i8^0'=i8^post15, tmp^0'=tmp^post15, j7^0'=j7^post15, N^0'=N^post15, t10^0'=t10^post15, i^0'=i^post15, (0 == 0 /\ i^post15 == 0 /\ j7^0-j7^post15 == 0 /\ -N^post15+N^0 == 0 /\ t10^0-t10^post15 == 0 /\ N6^0-N6^post15 == 0 /\ min9^0-min9^post15 == 0 /\ i8^0-i8^post15 == 0), cost: 1 New rule: l11 -> l0 : tmp^0'=tmp^post15, i^0'=0, 0 == 0, cost: 1 Applied preprocessing Original rule: l12 -> l11 : N6^0'=N6^post16, min9^0'=min9^post16, i8^0'=i8^post16, tmp^0'=tmp^post16, j7^0'=j7^post16, N^0'=N^post16, t10^0'=t10^post16, i^0'=i^post16, (-i^post16+i^0 == 0 /\ -t10^post16+t10^0 == 0 /\ N6^0-N6^post16 == 0 /\ N^0-N^post16 == 0 /\ -j7^post16+j7^0 == 0 /\ tmp^0-tmp^post16 == 0 /\ min9^0-min9^post16 == 0 /\ i8^0-i8^post16 == 0), cost: 1 New rule: l12 -> l11 : TRUE, cost: 1 Simplified rules Start location: l12 17: l0 -> l1 : TRUE, cost: 1 29: l1 -> l2 : N6^0'=N^0, j7^0'=0, N^0-i^0 <= 0, cost: 1 30: l1 -> l0 : i^0'=1+i^0, 1-N^0+i^0 <= 0, cost: 1 18: l2 -> l3 : TRUE, cost: 1 27: l3 -> l6 : j7^0'=0, -1+N6^0-j7^0 <= 0, cost: 1 28: l3 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 1 19: l4 -> l6 : j7^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 1 26: l6 -> l4 : TRUE, cost: 1 20: l7 -> l8 : TRUE, cost: 1 24: l8 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 1 25: l8 -> l10 : 1-N6^0+i8^0 <= 0, cost: 1 21: l9 -> l7 : i8^0'=1+i8^0, TRUE, cost: 1 22: l10 -> l9 : min9^0'=i8^0, TRUE, cost: 1 23: l10 -> l9 : TRUE, cost: 1 31: l11 -> l0 : tmp^0'=tmp^post15, i^0'=0, 0 == 0, cost: 1 32: l12 -> l11 : TRUE, cost: 1 Eliminating location l11 by chaining: Applied chaining First rule: l12 -> l11 : TRUE, cost: 1 Second rule: l11 -> l0 : tmp^0'=tmp^post15, i^0'=0, 0 == 0, cost: 1 New rule: l12 -> l0 : tmp^0'=tmp^post15, i^0'=0, 0 == 0, cost: 2 Applied deletion Removed the following rules: 31 32 Eliminating location l4 by chaining: Applied chaining First rule: l6 -> l4 : TRUE, cost: 1 Second rule: l4 -> l6 : j7^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 1 New rule: l6 -> l6 : j7^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 2 Applied deletion Removed the following rules: 19 26 Eliminated locations on linear paths Start location: l12 17: l0 -> l1 : TRUE, cost: 1 29: l1 -> l2 : N6^0'=N^0, j7^0'=0, N^0-i^0 <= 0, cost: 1 30: l1 -> l0 : i^0'=1+i^0, 1-N^0+i^0 <= 0, cost: 1 18: l2 -> l3 : TRUE, cost: 1 27: l3 -> l6 : j7^0'=0, -1+N6^0-j7^0 <= 0, cost: 1 28: l3 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 1 34: l6 -> l6 : j7^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 2 20: l7 -> l8 : TRUE, cost: 1 24: l8 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 1 25: l8 -> l10 : 1-N6^0+i8^0 <= 0, cost: 1 21: l9 -> l7 : i8^0'=1+i8^0, TRUE, cost: 1 22: l10 -> l9 : min9^0'=i8^0, TRUE, cost: 1 23: l10 -> l9 : TRUE, cost: 1 33: l12 -> l0 : tmp^0'=tmp^post15, i^0'=0, 0 == 0, cost: 2 Applied acceleration Original rule: l6 -> l6 : j7^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 2 New rule: l6 -> l6 : j7^0'=j7^0+n0, (-1+N6^0-j7^0-n0 >= 0 /\ n0 >= 0), cost: 2*n0 Applied instantiation Original rule: l6 -> l6 : j7^0'=j7^0+n0, (-1+N6^0-j7^0-n0 >= 0 /\ n0 >= 0), cost: 2*n0 New rule: l6 -> l6 : j7^0'=-1+N6^0, (0 >= 0 /\ -1+N6^0-j7^0 >= 0), cost: -2+2*N6^0-2*j7^0 Applied simplification Original rule: l6 -> l6 : j7^0'=-1+N6^0, (0 >= 0 /\ -1+N6^0-j7^0 >= 0), cost: -2+2*N6^0-2*j7^0 New rule: l6 -> l6 : j7^0'=-1+N6^0, -1+N6^0-j7^0 >= 0, cost: -2+2*N6^0-2*j7^0 Applied deletion Removed the following rules: 34 Accelerated simple loops Start location: l12 17: l0 -> l1 : TRUE, cost: 1 29: l1 -> l2 : N6^0'=N^0, j7^0'=0, N^0-i^0 <= 0, cost: 1 30: l1 -> l0 : i^0'=1+i^0, 1-N^0+i^0 <= 0, cost: 1 18: l2 -> l3 : TRUE, cost: 1 27: l3 -> l6 : j7^0'=0, -1+N6^0-j7^0 <= 0, cost: 1 28: l3 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 1 36: l6 -> l6 : j7^0'=-1+N6^0, -1+N6^0-j7^0 >= 0, cost: -2+2*N6^0-2*j7^0 20: l7 -> l8 : TRUE, cost: 1 24: l8 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 1 25: l8 -> l10 : 1-N6^0+i8^0 <= 0, cost: 1 21: l9 -> l7 : i8^0'=1+i8^0, TRUE, cost: 1 22: l10 -> l9 : min9^0'=i8^0, TRUE, cost: 1 23: l10 -> l9 : TRUE, cost: 1 33: l12 -> l0 : tmp^0'=tmp^post15, i^0'=0, 0 == 0, cost: 2 Applied chaining First rule: l3 -> l6 : j7^0'=0, -1+N6^0-j7^0 <= 0, cost: 1 Second rule: l6 -> l6 : j7^0'=-1+N6^0, -1+N6^0-j7^0 >= 0, cost: -2+2*N6^0-2*j7^0 New rule: l3 -> l6 : j7^0'=-1+N6^0, (-1+N6^0 >= 0 /\ -1+N6^0-j7^0 <= 0), cost: -1+2*N6^0 Applied deletion Removed the following rules: 36 Chained accelerated rules with incoming rules Start location: l12 17: l0 -> l1 : TRUE, cost: 1 29: l1 -> l2 : N6^0'=N^0, j7^0'=0, N^0-i^0 <= 0, cost: 1 30: l1 -> l0 : i^0'=1+i^0, 1-N^0+i^0 <= 0, cost: 1 18: l2 -> l3 : TRUE, cost: 1 27: l3 -> l6 : j7^0'=0, -1+N6^0-j7^0 <= 0, cost: 1 28: l3 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 1 37: l3 -> l6 : j7^0'=-1+N6^0, (-1+N6^0 >= 0 /\ -1+N6^0-j7^0 <= 0), cost: -1+2*N6^0 20: l7 -> l8 : TRUE, cost: 1 24: l8 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 1 25: l8 -> l10 : 1-N6^0+i8^0 <= 0, cost: 1 21: l9 -> l7 : i8^0'=1+i8^0, TRUE, cost: 1 22: l10 -> l9 : min9^0'=i8^0, TRUE, cost: 1 23: l10 -> l9 : TRUE, cost: 1 33: l12 -> l0 : tmp^0'=tmp^post15, i^0'=0, 0 == 0, cost: 2 Removed unreachable locations and irrelevant leafs Start location: l12 17: l0 -> l1 : TRUE, cost: 1 29: l1 -> l2 : N6^0'=N^0, j7^0'=0, N^0-i^0 <= 0, cost: 1 30: l1 -> l0 : i^0'=1+i^0, 1-N^0+i^0 <= 0, cost: 1 18: l2 -> l3 : TRUE, cost: 1 28: l3 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 1 20: l7 -> l8 : TRUE, cost: 1 24: l8 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 1 25: l8 -> l10 : 1-N6^0+i8^0 <= 0, cost: 1 21: l9 -> l7 : i8^0'=1+i8^0, TRUE, cost: 1 22: l10 -> l9 : min9^0'=i8^0, TRUE, cost: 1 23: l10 -> l9 : TRUE, cost: 1 33: l12 -> l0 : tmp^0'=tmp^post15, i^0'=0, 0 == 0, cost: 2 Eliminating location l3 by chaining: Applied chaining First rule: l2 -> l3 : TRUE, cost: 1 Second rule: l3 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 1 New rule: l2 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 2 Applied deletion Removed the following rules: 18 28 Eliminated locations on linear paths Start location: l12 17: l0 -> l1 : TRUE, cost: 1 29: l1 -> l2 : N6^0'=N^0, j7^0'=0, N^0-i^0 <= 0, cost: 1 30: l1 -> l0 : i^0'=1+i^0, 1-N^0+i^0 <= 0, cost: 1 38: l2 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 2 20: l7 -> l8 : TRUE, cost: 1 24: l8 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 1 25: l8 -> l10 : 1-N6^0+i8^0 <= 0, cost: 1 21: l9 -> l7 : i8^0'=1+i8^0, TRUE, cost: 1 22: l10 -> l9 : min9^0'=i8^0, TRUE, cost: 1 23: l10 -> l9 : TRUE, cost: 1 33: l12 -> l0 : tmp^0'=tmp^post15, i^0'=0, 0 == 0, cost: 2 Eliminating location l1 by chaining: Applied chaining First rule: l0 -> l1 : TRUE, cost: 1 Second rule: l1 -> l2 : N6^0'=N^0, j7^0'=0, N^0-i^0 <= 0, cost: 1 New rule: l0 -> l2 : N6^0'=N^0, j7^0'=0, N^0-i^0 <= 0, cost: 2 Applied chaining First rule: l0 -> l1 : TRUE, cost: 1 Second rule: l1 -> l0 : i^0'=1+i^0, 1-N^0+i^0 <= 0, cost: 1 New rule: l0 -> l0 : i^0'=1+i^0, 1-N^0+i^0 <= 0, cost: 2 Applied deletion Removed the following rules: 17 29 30 Eliminating location l8 by chaining: Applied chaining First rule: l7 -> l8 : TRUE, cost: 1 Second rule: l8 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 1 New rule: l7 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 2 Applied chaining First rule: l7 -> l8 : TRUE, cost: 1 Second rule: l8 -> l10 : 1-N6^0+i8^0 <= 0, cost: 1 New rule: l7 -> l10 : 1-N6^0+i8^0 <= 0, cost: 2 Applied deletion Removed the following rules: 20 24 25 Eliminating location l9 by chaining: Applied chaining First rule: l10 -> l9 : min9^0'=i8^0, TRUE, cost: 1 Second rule: l9 -> l7 : i8^0'=1+i8^0, TRUE, cost: 1 New rule: l10 -> l7 : min9^0'=i8^0, i8^0'=1+i8^0, TRUE, cost: 2 Applied chaining First rule: l10 -> l9 : TRUE, cost: 1 Second rule: l9 -> l7 : i8^0'=1+i8^0, TRUE, cost: 1 New rule: l10 -> l7 : i8^0'=1+i8^0, TRUE, cost: 2 Applied deletion Removed the following rules: 21 22 23 Eliminated locations on tree-shaped paths Start location: l12 39: l0 -> l2 : N6^0'=N^0, j7^0'=0, N^0-i^0 <= 0, cost: 2 40: l0 -> l0 : i^0'=1+i^0, 1-N^0+i^0 <= 0, cost: 2 38: l2 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 2 41: l7 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 2 42: l7 -> l10 : 1-N6^0+i8^0 <= 0, cost: 2 43: l10 -> l7 : min9^0'=i8^0, i8^0'=1+i8^0, TRUE, cost: 2 44: l10 -> l7 : i8^0'=1+i8^0, TRUE, cost: 2 33: l12 -> l0 : tmp^0'=tmp^post15, i^0'=0, 0 == 0, cost: 2 Applied acceleration Original rule: l0 -> l0 : i^0'=1+i^0, 1-N^0+i^0 <= 0, cost: 2 New rule: l0 -> l0 : i^0'=n3+i^0, (n3 >= 0 /\ -n3+N^0-i^0 >= 0), cost: 2*n3 Applied instantiation Original rule: l0 -> l0 : i^0'=n3+i^0, (n3 >= 0 /\ -n3+N^0-i^0 >= 0), cost: 2*n3 New rule: l0 -> l0 : i^0'=N^0, (0 >= 0 /\ N^0-i^0 >= 0), cost: 2*N^0-2*i^0 Applied simplification Original rule: l0 -> l0 : i^0'=N^0, (0 >= 0 /\ N^0-i^0 >= 0), cost: 2*N^0-2*i^0 New rule: l0 -> l0 : i^0'=N^0, N^0-i^0 >= 0, cost: 2*N^0-2*i^0 Applied deletion Removed the following rules: 40 Accelerated simple loops Start location: l12 39: l0 -> l2 : N6^0'=N^0, j7^0'=0, N^0-i^0 <= 0, cost: 2 46: l0 -> l0 : i^0'=N^0, N^0-i^0 >= 0, cost: 2*N^0-2*i^0 38: l2 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 2 41: l7 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 2 42: l7 -> l10 : 1-N6^0+i8^0 <= 0, cost: 2 43: l10 -> l7 : min9^0'=i8^0, i8^0'=1+i8^0, TRUE, cost: 2 44: l10 -> l7 : i8^0'=1+i8^0, TRUE, cost: 2 33: l12 -> l0 : tmp^0'=tmp^post15, i^0'=0, 0 == 0, cost: 2 Applied chaining First rule: l12 -> l0 : tmp^0'=tmp^post15, i^0'=0, 0 == 0, cost: 2 Second rule: l0 -> l0 : i^0'=N^0, N^0-i^0 >= 0, cost: 2*N^0-2*i^0 New rule: l12 -> l0 : tmp^0'=tmp^post15, i^0'=N^0, N^0 >= 0, cost: 2+2*N^0 Applied deletion Removed the following rules: 46 Chained accelerated rules with incoming rules Start location: l12 39: l0 -> l2 : N6^0'=N^0, j7^0'=0, N^0-i^0 <= 0, cost: 2 38: l2 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 2 41: l7 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 2 42: l7 -> l10 : 1-N6^0+i8^0 <= 0, cost: 2 43: l10 -> l7 : min9^0'=i8^0, i8^0'=1+i8^0, TRUE, cost: 2 44: l10 -> l7 : i8^0'=1+i8^0, TRUE, cost: 2 33: l12 -> l0 : tmp^0'=tmp^post15, i^0'=0, 0 == 0, cost: 2 47: l12 -> l0 : tmp^0'=tmp^post15, i^0'=N^0, N^0 >= 0, cost: 2+2*N^0 Eliminating location l0 by chaining: Applied chaining First rule: l12 -> l0 : tmp^0'=tmp^post15, i^0'=0, 0 == 0, cost: 2 Second rule: l0 -> l2 : N6^0'=N^0, j7^0'=0, N^0-i^0 <= 0, cost: 2 New rule: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=0, (0 == 0 /\ N^0 <= 0), cost: 4 Applied simplification Original rule: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=0, (0 == 0 /\ N^0 <= 0), cost: 4 New rule: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=0, N^0 <= 0, cost: 4 Applied chaining First rule: l12 -> l0 : tmp^0'=tmp^post15, i^0'=N^0, N^0 >= 0, cost: 2+2*N^0 Second rule: l0 -> l2 : N6^0'=N^0, j7^0'=0, N^0-i^0 <= 0, cost: 2 New rule: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=N^0, (0 <= 0 /\ N^0 >= 0), cost: 4+2*N^0 Applied simplification Original rule: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=N^0, (0 <= 0 /\ N^0 >= 0), cost: 4+2*N^0 New rule: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=N^0, N^0 >= 0, cost: 4+2*N^0 Applied deletion Removed the following rules: 33 39 47 Eliminating location l10 by chaining: Applied chaining First rule: l7 -> l10 : 1-N6^0+i8^0 <= 0, cost: 2 Second rule: l10 -> l7 : min9^0'=i8^0, i8^0'=1+i8^0, TRUE, cost: 2 New rule: l7 -> l7 : min9^0'=i8^0, i8^0'=1+i8^0, 1-N6^0+i8^0 <= 0, cost: 4 Applied chaining First rule: l7 -> l10 : 1-N6^0+i8^0 <= 0, cost: 2 Second rule: l10 -> l7 : i8^0'=1+i8^0, TRUE, cost: 2 New rule: l7 -> l7 : i8^0'=1+i8^0, 1-N6^0+i8^0 <= 0, cost: 4 Applied deletion Removed the following rules: 42 43 44 Eliminated locations on tree-shaped paths Start location: l12 38: l2 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 2 41: l7 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 2 50: l7 -> l7 : min9^0'=i8^0, i8^0'=1+i8^0, 1-N6^0+i8^0 <= 0, cost: 4 51: l7 -> l7 : i8^0'=1+i8^0, 1-N6^0+i8^0 <= 0, cost: 4 48: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=0, N^0 <= 0, cost: 4 49: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=N^0, N^0 >= 0, cost: 4+2*N^0 Applied acceleration Original rule: l7 -> l7 : min9^0'=i8^0, i8^0'=1+i8^0, 1-N6^0+i8^0 <= 0, cost: 4 New rule: l7 -> l7 : min9^0'=-1+n7+i8^0, i8^0'=n7+i8^0, (-1+n7 >= 0 /\ N6^0-n7-i8^0 >= 0), cost: 4*n7 Applied instantiation Original rule: l7 -> l7 : min9^0'=-1+n7+i8^0, i8^0'=n7+i8^0, (-1+n7 >= 0 /\ N6^0-n7-i8^0 >= 0), cost: 4*n7 New rule: l7 -> l7 : min9^0'=-1+N6^0, i8^0'=N6^0, (0 >= 0 /\ -1+N6^0-i8^0 >= 0), cost: 4*N6^0-4*i8^0 Applied acceleration Original rule: l7 -> l7 : i8^0'=1+i8^0, 1-N6^0+i8^0 <= 0, cost: 4 New rule: l7 -> l7 : i8^0'=n9+i8^0, (n9 >= 0 /\ N6^0-n9-i8^0 >= 0), cost: 4*n9 Applied instantiation Original rule: l7 -> l7 : i8^0'=n9+i8^0, (n9 >= 0 /\ N6^0-n9-i8^0 >= 0), cost: 4*n9 New rule: l7 -> l7 : i8^0'=N6^0, (0 >= 0 /\ N6^0-i8^0 >= 0), cost: 4*N6^0-4*i8^0 Applied simplification Original rule: l7 -> l7 : min9^0'=-1+N6^0, i8^0'=N6^0, (0 >= 0 /\ -1+N6^0-i8^0 >= 0), cost: 4*N6^0-4*i8^0 New rule: l7 -> l7 : min9^0'=-1+N6^0, i8^0'=N6^0, -1+N6^0-i8^0 >= 0, cost: 4*N6^0-4*i8^0 Applied simplification Original rule: l7 -> l7 : i8^0'=N6^0, (0 >= 0 /\ N6^0-i8^0 >= 0), cost: 4*N6^0-4*i8^0 New rule: l7 -> l7 : i8^0'=N6^0, N6^0-i8^0 >= 0, cost: 4*N6^0-4*i8^0 Applied deletion Removed the following rules: 50 51 Accelerated simple loops Start location: l12 38: l2 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 2 41: l7 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 2 54: l7 -> l7 : min9^0'=-1+N6^0, i8^0'=N6^0, -1+N6^0-i8^0 >= 0, cost: 4*N6^0-4*i8^0 55: l7 -> l7 : i8^0'=N6^0, N6^0-i8^0 >= 0, cost: 4*N6^0-4*i8^0 48: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=0, N^0 <= 0, cost: 4 49: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=N^0, N^0 >= 0, cost: 4+2*N^0 Applied chaining First rule: l2 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 2 Second rule: l7 -> l7 : min9^0'=-1+N6^0, i8^0'=N6^0, -1+N6^0-i8^0 >= 0, cost: 4*N6^0-4*i8^0 New rule: l2 -> l7 : min9^0'=-1+N6^0, i8^0'=N6^0, 2-N6^0+j7^0 <= 0, cost: -2+4*N6^0-4*j7^0 Applied chaining First rule: l2 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 2 Second rule: l7 -> l7 : i8^0'=N6^0, N6^0-i8^0 >= 0, cost: 4*N6^0-4*i8^0 New rule: l2 -> l7 : min9^0'=j7^0, i8^0'=N6^0, 2-N6^0+j7^0 <= 0, cost: -2+4*N6^0-4*j7^0 Applied deletion Removed the following rules: 54 55 Chained accelerated rules with incoming rules Start location: l12 38: l2 -> l7 : min9^0'=j7^0, i8^0'=1+j7^0, 2-N6^0+j7^0 <= 0, cost: 2 56: l2 -> l7 : min9^0'=-1+N6^0, i8^0'=N6^0, 2-N6^0+j7^0 <= 0, cost: -2+4*N6^0-4*j7^0 57: l2 -> l7 : min9^0'=j7^0, i8^0'=N6^0, 2-N6^0+j7^0 <= 0, cost: -2+4*N6^0-4*j7^0 41: l7 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 2 48: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=0, N^0 <= 0, cost: 4 49: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=N^0, N^0 >= 0, cost: 4+2*N^0 Eliminating location l7 by chaining: Applied chaining First rule: l2 -> l7 : min9^0'=-1+N6^0, i8^0'=N6^0, 2-N6^0+j7^0 <= 0, cost: -2+4*N6^0-4*j7^0 Second rule: l7 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 2 New rule: l2 -> l2 : min9^0'=-1+N6^0, i8^0'=N6^0, j7^0'=1+j7^0, t10^0'=t10^post8, (0 <= 0 /\ 2-N6^0+j7^0 <= 0), cost: 4*N6^0-4*j7^0 Applied simplification Original rule: l2 -> l2 : min9^0'=-1+N6^0, i8^0'=N6^0, j7^0'=1+j7^0, t10^0'=t10^post8, (0 <= 0 /\ 2-N6^0+j7^0 <= 0), cost: 4*N6^0-4*j7^0 New rule: l2 -> l2 : min9^0'=-1+N6^0, i8^0'=N6^0, j7^0'=1+j7^0, t10^0'=t10^post8, 2-N6^0+j7^0 <= 0, cost: 4*N6^0-4*j7^0 Applied chaining First rule: l2 -> l7 : min9^0'=j7^0, i8^0'=N6^0, 2-N6^0+j7^0 <= 0, cost: -2+4*N6^0-4*j7^0 Second rule: l7 -> l2 : j7^0'=1+j7^0, t10^0'=t10^post8, N6^0-i8^0 <= 0, cost: 2 New rule: l2 -> l2 : min9^0'=j7^0, i8^0'=N6^0, j7^0'=1+j7^0, t10^0'=t10^post8, (0 <= 0 /\ 2-N6^0+j7^0 <= 0), cost: 4*N6^0-4*j7^0 Applied simplification Original rule: l2 -> l2 : min9^0'=j7^0, i8^0'=N6^0, j7^0'=1+j7^0, t10^0'=t10^post8, (0 <= 0 /\ 2-N6^0+j7^0 <= 0), cost: 4*N6^0-4*j7^0 New rule: l2 -> l2 : min9^0'=j7^0, i8^0'=N6^0, j7^0'=1+j7^0, t10^0'=t10^post8, 2-N6^0+j7^0 <= 0, cost: 4*N6^0-4*j7^0 Applied deletion Removed the following rules: 38 41 56 57 Eliminated locations on tree-shaped paths Start location: l12 58: l2 -> l2 : min9^0'=-1+N6^0, i8^0'=N6^0, j7^0'=1+j7^0, t10^0'=t10^post8, 2-N6^0+j7^0 <= 0, cost: 4*N6^0-4*j7^0 59: l2 -> l2 : min9^0'=j7^0, i8^0'=N6^0, j7^0'=1+j7^0, t10^0'=t10^post8, 2-N6^0+j7^0 <= 0, cost: 4*N6^0-4*j7^0 48: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=0, N^0 <= 0, cost: 4 49: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=N^0, N^0 >= 0, cost: 4+2*N^0 Applied acceleration Original rule: l2 -> l2 : min9^0'=-1+N6^0, i8^0'=N6^0, j7^0'=1+j7^0, t10^0'=t10^post8, 2-N6^0+j7^0 <= 0, cost: 4*N6^0-4*j7^0 New rule: l2 -> l2 : min9^0'=-1+N6^0, i8^0'=N6^0, j7^0'=j7^0+n19, t10^0'=t10^post8, (-1+N6^0-j7^0-n19 >= 0 /\ -1+n19 >= 0), cost: 4*N6^0*n19+2*n19-2*n19^2-4*j7^0*n19 Applied instantiation Original rule: l2 -> l2 : min9^0'=-1+N6^0, i8^0'=N6^0, j7^0'=j7^0+n19, t10^0'=t10^post8, (-1+N6^0-j7^0-n19 >= 0 /\ -1+n19 >= 0), cost: 4*N6^0*n19+2*n19-2*n19^2-4*j7^0*n19 New rule: l2 -> l2 : min9^0'=-1+N6^0, i8^0'=N6^0, j7^0'=-1+N6^0, t10^0'=t10^post8, (0 >= 0 /\ -2+N6^0-j7^0 >= 0), cost: -2+2*N6^0-2*(-1+N6^0-j7^0)^2-4*j7^0*(-1+N6^0-j7^0)-2*j7^0+4*N6^0*(-1+N6^0-j7^0) Applied acceleration Original rule: l2 -> l2 : min9^0'=j7^0, i8^0'=N6^0, j7^0'=1+j7^0, t10^0'=t10^post8, 2-N6^0+j7^0 <= 0, cost: 4*N6^0-4*j7^0 New rule: l2 -> l2 : min9^0'=-1+n21+j7^0, i8^0'=N6^0, j7^0'=n21+j7^0, t10^0'=t10^post8, (-1+N6^0-n21-j7^0 >= 0 /\ -1+n21 >= 0), cost: 2*n21+4*N6^0*n21-4*n21*j7^0-2*n21^2 Applied instantiation Original rule: l2 -> l2 : min9^0'=-1+n21+j7^0, i8^0'=N6^0, j7^0'=n21+j7^0, t10^0'=t10^post8, (-1+N6^0-n21-j7^0 >= 0 /\ -1+n21 >= 0), cost: 2*n21+4*N6^0*n21-4*n21*j7^0-2*n21^2 New rule: l2 -> l2 : min9^0'=-2+N6^0, i8^0'=N6^0, j7^0'=-1+N6^0, t10^0'=t10^post8, (0 >= 0 /\ -2+N6^0-j7^0 >= 0), cost: -2+2*N6^0-2*(-1+N6^0-j7^0)^2-4*j7^0*(-1+N6^0-j7^0)-2*j7^0+4*N6^0*(-1+N6^0-j7^0) Applied simplification Original rule: l2 -> l2 : min9^0'=-1+N6^0, i8^0'=N6^0, j7^0'=-1+N6^0, t10^0'=t10^post8, (0 >= 0 /\ -2+N6^0-j7^0 >= 0), cost: -2+2*N6^0-2*(-1+N6^0-j7^0)^2-4*j7^0*(-1+N6^0-j7^0)-2*j7^0+4*N6^0*(-1+N6^0-j7^0) New rule: l2 -> l2 : min9^0'=-1+N6^0, i8^0'=N6^0, j7^0'=-1+N6^0, t10^0'=t10^post8, -2+N6^0-j7^0 >= 0, cost: -2+2*N6^0-2*(-1+N6^0-j7^0)^2-4*j7^0*(-1+N6^0-j7^0)-2*j7^0+4*N6^0*(-1+N6^0-j7^0) Applied simplification Original rule: l2 -> l2 : min9^0'=-2+N6^0, i8^0'=N6^0, j7^0'=-1+N6^0, t10^0'=t10^post8, (0 >= 0 /\ -2+N6^0-j7^0 >= 0), cost: -2+2*N6^0-2*(-1+N6^0-j7^0)^2-4*j7^0*(-1+N6^0-j7^0)-2*j7^0+4*N6^0*(-1+N6^0-j7^0) New rule: l2 -> l2 : min9^0'=-2+N6^0, i8^0'=N6^0, j7^0'=-1+N6^0, t10^0'=t10^post8, -2+N6^0-j7^0 >= 0, cost: -2+2*N6^0-2*(-1+N6^0-j7^0)^2-4*j7^0*(-1+N6^0-j7^0)-2*j7^0+4*N6^0*(-1+N6^0-j7^0) Applied deletion Removed the following rules: 58 59 Accelerated simple loops Start location: l12 62: l2 -> l2 : min9^0'=-1+N6^0, i8^0'=N6^0, j7^0'=-1+N6^0, t10^0'=t10^post8, -2+N6^0-j7^0 >= 0, cost: -2+2*N6^0-2*(-1+N6^0-j7^0)^2-4*j7^0*(-1+N6^0-j7^0)-2*j7^0+4*N6^0*(-1+N6^0-j7^0) 63: l2 -> l2 : min9^0'=-2+N6^0, i8^0'=N6^0, j7^0'=-1+N6^0, t10^0'=t10^post8, -2+N6^0-j7^0 >= 0, cost: -2+2*N6^0-2*(-1+N6^0-j7^0)^2-4*j7^0*(-1+N6^0-j7^0)-2*j7^0+4*N6^0*(-1+N6^0-j7^0) 48: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=0, N^0 <= 0, cost: 4 49: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=N^0, N^0 >= 0, cost: 4+2*N^0 Applied chaining First rule: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=N^0, N^0 >= 0, cost: 4+2*N^0 Second rule: l2 -> l2 : min9^0'=-1+N6^0, i8^0'=N6^0, j7^0'=-1+N6^0, t10^0'=t10^post8, -2+N6^0-j7^0 >= 0, cost: -2+2*N6^0-2*(-1+N6^0-j7^0)^2-4*j7^0*(-1+N6^0-j7^0)-2*j7^0+4*N6^0*(-1+N6^0-j7^0) New rule: l12 -> l2 : N6^0'=N^0, min9^0'=-1+N^0, i8^0'=N^0, tmp^0'=tmp^post15, j7^0'=-1+N^0, t10^0'=t10^post8, i^0'=N^0, -2+N^0 >= 0, cost: 2-2*(-1+N^0)^2+4*N^0+4*(-1+N^0)*N^0 Applied chaining First rule: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=N^0, N^0 >= 0, cost: 4+2*N^0 Second rule: l2 -> l2 : min9^0'=-2+N6^0, i8^0'=N6^0, j7^0'=-1+N6^0, t10^0'=t10^post8, -2+N6^0-j7^0 >= 0, cost: -2+2*N6^0-2*(-1+N6^0-j7^0)^2-4*j7^0*(-1+N6^0-j7^0)-2*j7^0+4*N6^0*(-1+N6^0-j7^0) New rule: l12 -> l2 : N6^0'=N^0, min9^0'=-2+N^0, i8^0'=N^0, tmp^0'=tmp^post15, j7^0'=-1+N^0, t10^0'=t10^post8, i^0'=N^0, -2+N^0 >= 0, cost: 2-2*(-1+N^0)^2+4*N^0+4*(-1+N^0)*N^0 Applied deletion Removed the following rules: 62 63 Chained accelerated rules with incoming rules Start location: l12 48: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=0, N^0 <= 0, cost: 4 49: l12 -> l2 : N6^0'=N^0, tmp^0'=tmp^post15, j7^0'=0, i^0'=N^0, N^0 >= 0, cost: 4+2*N^0 64: l12 -> l2 : N6^0'=N^0, min9^0'=-1+N^0, i8^0'=N^0, tmp^0'=tmp^post15, j7^0'=-1+N^0, t10^0'=t10^post8, i^0'=N^0, -2+N^0 >= 0, cost: 2-2*(-1+N^0)^2+4*N^0+4*(-1+N^0)*N^0 65: l12 -> l2 : N6^0'=N^0, min9^0'=-2+N^0, i8^0'=N^0, tmp^0'=tmp^post15, j7^0'=-1+N^0, t10^0'=t10^post8, i^0'=N^0, -2+N^0 >= 0, cost: 2-2*(-1+N^0)^2+4*N^0+4*(-1+N^0)*N^0 Removed unreachable locations and irrelevant leafs Start location: l12 Computing asymptotic complexity Proved the following lower bound Complexity: Unknown Cpx degree: ? Solved cost: 0 Rule cost: 0