We now prove formally that the reduction that has been presented in the previous section delivers an optimal solution for IP.
Theorem 28963
Using the reduction M described in figure 5.8, each partition P for an instance
of SGP that satisfies the constraints of SGP satisfies also the constraints of the IP problem for the instance of IP.(21) |
As a first step we look at how translates into an expression based on the lengths of edges in the graph. Let be the closest start- or endpoint bigger than p. We construct:
This means that
We now have to prove that for each there is a and vice versa, i.e. But (**) follows fromFrom (*) and (**) follows that (5.15) holds.
5.16)
This proof is based on the third observation made earlier, i.e. lemma 1 with (5.8). It said that the number of intervals in a fragment Rk is (a) the number of intervals having the startpoint in (pk-1,pk] plus (b) the number of intervals that overlap the left border pk-1. By the definition of w(v) it is obvious that (a) corresponds to
We now look at the equivalence of (b) to the second sum in (5.13). To this end, we can show that each Ak consists only of one element; remember the definition of a pk in (5.14):which means that
(5.16) therefore follows from (*) and (**).