• 沒有找到結果。

Θ

2 2

/

v k =vtk/22 +ϕ, and vΘk/21= vtk/21δ, where ϕ=

|

{di | , ( ) =0

di

diΘ and 1≤i≤t}

|

and δ=

|

{qi |

) 0

( , t qi =

qi and 1≤i≤t}

|

. If v1t=v1, v2t=v2, … , vht1=vh−1, v <vht h for some 1≤h≤k/2−3, then VΘ<

0

V , which is a contradiction because Ω0 is minimal. On the other hand, if v1t=v1, v2t=v2, … , vlt1=vl−1, v >vlt l for some 1≤l≤k/2−3, then we have v1t=v ,Ψ1 v2t=v , … ,Ψ2 vlt1=v ,Ψl1 v >lt v , which impliesΨl VΨ <

Vt . This is also a contradiction because Ωt is minimal. Hence we have v =vct c for all 1≤c≤k/2−3.

Similarly, if vtk/22 <vk/22t, then vΘk/22 =vtk/22+ϕ<(vk/22t)+ϕvk/22, which implies

Θ <

V V0, a contradiction, because v =Θc v =vct c for all 1≤c≤k/2−3. If vtk/22>vk /2−2−t, then vΨk/22= vk /2−2t<vtk/22, which implies VΨ <

Vt , a contradiction, because v =vΨc c=vct for all 1≤c≤k/2−3. Hence we have vtk/22=vk /2−2−t.

Finally, if vtk/21<vk/2−1, then vΘk/21= vtk/21δ<vk/2−1. Since vΘk/22 = vtk/22+ϕ=vk /2−2−t+ϕ, we have ϕ=t because Ω0 is minimal. Then, vΘk/22 = vtk/22+ϕ=vk/2−2−t+ϕ=vk /2−2. Since vΘc = vct =vc for all 1≤c≤k/2−3, we haveVΘ<

0

V , a contradiction. If vtk/21>vk/2−1, then vΨk/21 =vk /2−1<vtk/21, which implies VΨ <

Vt , a contradiction, because vΨk/22 =vk /2−2−t= vtk/22 and vΨc =vc= vct for all

1≤c≤k/2−3. Hence we have vtk/21 =vk /2−1. ¨

The following lemma will be proved in Section 3.2.2.

Lemma 17. Suppose that s, d1, d2, … , dk +1 are k+2 distinct nodes of a k-fcube. Procedure Paths2(s, d1, d2, … , dk +1) can produce k+1 disjoint paths from s to d1, d2, … , dk +1 in the k-fcube whose lengths do not exceed k/2+1.

3.2.2 The proof of Lemma 17

There are two steps, i.e., Step 1 and Step 2, in Paths2(s, d1, d2, … , dk +1). Step 1 is easy and no further explanation is needed. Step 2 constructs k+1 disjoint paths, denoted by Q1, Q2, … , Qk +1, according to five cases. In the rest of this section, we show that Q1, Q2, … , Qk +1 are disjoint and have maximal length not greater than k/2+1.

3.2.2.1 Case 1: |dk+1|≤k/2−2

Q1, Q2, … , Qk were first obtained by executing Paths1(Φ, k, k, {d1, d2, … , dk}, {1, 2, … , k}). Lemma 8 assures their disjoint property. Besides, since |di|≤|dk +1|≤k/2−2 for all 1≤i≤k as a consequence of Step 1, each Qi has length at most |di|+2≤k/2. Then Qk +1 was constructed and Ql was changed, depending on whether dk +1∈Ql for some 1≤l≤k or not.

When dk +1 ∈Ql, Qk +1 was constructed as the subpath of Ql from s to dk +1, and then Ql was reconstructed as the combination of a link (s, s), a shortest path from s to dl in a k-cube, and a link (dl , dl). Qk +1 has length at most k/2−1, and (new) Ql has length (k−|dl |)+2≤k/2. Qk +1 is disjoint with Q1, … , Ql−1, Ql+1, … , Qk. Suppose that α is a node in Q1, … , Ql−1, Ql+1, … , Qk +1 and β ∉{s, dl} is a node in (new) Ql. (New) Ql is disjoint with Q1, … , Ql−1, Ql+1, … , Qk +1, provided αβ. We have αβ because

|α|≤|dk +1|+1≤k/2−1<|dl |≤|β|.

When dk +1∉Qi for all 1≤i≤k, Qk +1 was constructed as the combination of a link (s, s), a shortest path from s to dk+1 in a k-cube, and a link (dk+1, dk +1). Qk +1 has length (k−|dk+1|)+2≤k/2. Suppose that γ is a node in Q1, Q2, … , Qk and η ∉{s, dk +1} is a node in Qk +1. Qk +1 is disjoint with Q1, Q2, … , Qk because |γ|≤

|dk +1|+1≤k/2−1<|dk+1|≤|η|.

3.2.2.2 Case 2: |dk+1|=k/2−1

Q1, Q2, … , Qk +1 were obtained, depending on whether k is even or odd. If k is even, then Q1, Q2, … , Qk +1 were constructed all the same as in Case 1. Similarly, they are disjoint to each other, and their maximal length is at most|dk +1|+2=k/2+1. If k is odd, then Q1, Q2, … , Qk were obtained by executing Paths1(Φ, k, k, {d1, d2, … , dk}, {1, 2, … , k}). By Lemma 8, they are disjoint to each other, and their maximal length is at most |dk +1|+2=k/2+1. Qk +1 was constructed, depending on whether dk +1∈Ql for some 1≤l≤k or not.

When dk +1∈Ql, Qk +1 was constructed as a subpath of Ql from s to dk +1. Qk +1 has length at most k/2

and is disjoint with Q1, … , Ql−1, Ql+1, … , Qk. Then Ql needs to be changed, depending on whether dk +1 is the immediate predecessor of dl in Ql or not.If dk +1 is the immediate predecessor of dl in Ql, then Ql was reconstructed as the combination of a link (s, s), a shortest path from s to dl in a k-cube, and a link (dl , dl). Since dl and dk +1 are adjacent and |dl|≤|dk +1|, we have |dl|=|dk +1|−1=k/2−2. Hence, (new) Ql has length (k−|dl |)+2=k/2. Define α and β all the same as in Section 3.2.2.1. (New) Ql is disjoint with Q1, … , Ql−1, Ql+1, … , Qk +1 because |α|≤|dk +1|+1=k/2<k/2+2=|dl |≤|β|.

On the other hand, if dk +1 is not the immediate predecessor of dl in Ql, then Ql was reconstructed as the combination of a link (s, s), a shortest path from s to x in a k-cube, and a link (x, dl), where x is the immediate predecessor of dl in (old) Ql. (New) Ql has length k/2+1, as explained below. Since dk +1∈(old) Ql, (old)Ql has length at least |dk +1|+2=k/2+1. Also, (old) Ql has length at most |dl|+2≤|dk +1|+2=k/2+1 by Lemma 8. Hence, (old) Ql has length exactly k/2+1. Again, by Lemma 8, |dl|=k/2−1 and |x|=|dl|+1=

k/2. The length of (new) Ql is equal to (k−|x|)+2=k/2+1. Suppose that α has the same meaning as in Section 3.2.2.1 and τ∉{s, x, dl} is a node in (new) Ql. Clearly, we have α≠x. Since |α|≤|dk +1|+1=k/2=|x|<

|τ|, we have α≠τ. Hence (new) Ql is disjoint with Q1, … , Ql−1, Ql+1, … , Qk +1.

When dk +1∉Qi for all 1≤i≤k, Qk +1 was constructed as the combination of a link (s, s) and a shortest path from s to dk +1 in a k-cube, which has length (k−|dk +1|)+1=k/2+1. In case Qk +1 intersects with Qh for some 1≤h≤k, they need to be changed as follows. Qk +1 was reconstructed as the combination of the subpath of Qh from s to y and a shortest path from y to dk +1, where y (s) is the intersection of (old) Qk +1 and Qh. Qh was reconstructed as the combination of a link (s, s), a shortest path from s to z in a k-cube, and a link (z, dh), where z is an adjacent node of dh so that |z|=|dh|+1 and z(old) Qi for all 1≤i≤k. In the following, we show the existence of z.

We first show |dh|=k/2−1 as follows. Since y ∈(old) Qh, we have |y|≤|dh|+1≤|dk +1|+1. Further, we have y≠dk +1 because dk +1(old) Qh. On the other hand, since y(old) Qk +1 and the subpath of (old) Qk +1 from s to dk +1 is shortest, we have |y|≥|dk +1|+1. Consequently, we have |y|=|dk +1|+1, and hence |dh|=|dk +1|=

k/2−1. Suppose that qt's, 1≤t≤k−|dh|+1, are the k−|dh|+1 distinct adjacent nodes of dh in a k-fcube with

|qt|=|dh|+1 (one of qt's is dh ). A node qw(old) Qi for all 1≤i≤kcan serve as z, where 1≤w≤k−|dh|+1. Since

|dv|≤|dk +1|=|dh|<|dh|+1=|qt|, each (old) Qv with dh,Φ(dv) =0 contains at most one qt, where 1≤v≤k. On the other hand, as explained below, each (old) Qu with dh,Φ(du) =1 does not contain any qt, where 1≤u≤k.

Since |y|=|dh|+1, we have dh,Φ(dh) =0 as a consequence of Lemma 8. Lemma 11 assures |du|≤|dh| and

) 1

(

, du =

duΦ . By Lemma 8, (old) Qu is shortest with length |du|. Since |du|≤|dh|<|dh|+1=|qt|, (old) Qu does not contain qt. Since there are only k−|dh| (old) Qv's with dh,Φ(dv) =0, a qwas required can be found.

Since y is adjacent to dk +1 and y≠dh, (new) Qk +1 has length at most 1+(|dh|+1)=k/2+1. (New) Qh has length (k−|z|)+2=k/2+1. (New) Qk +1 is disjoint with Q1, Q2, … , Qh−1, Qh +1, … , Qk. Suppose that λ is a node in Q1, … , Qh−1, Qh+1, … , Qk, (new) Qk +1 and ρ ∉{s, z, dh} is a node in (new) Qh. (New) Qh is disjoint

with Q1, Q2, … , Qh−1, Qh+1, … , Qk, (new) Qk +1 because z is not contained in Q1, Q2, … , Qh−1, Qh +1, … , Qk, (new) Qk +1 and |λ|≤|dk +1|+1=k/2=|z|<|ρ|.

3.2.2.3 Case 3: |dk+1|=k/2

Q'1, Q'2, … , Q'r, Qr+1, … , Qk were first obtained by executing Paths1(Ω, k, k, {d ,1 d , … ,2 d , dr r+1, … , dk}, {1, 2, … , k}), where Q'i ends at di for all 1≤i≤r. That Ω is minimal was assured by Lemma 12 (substituting r, di , and Ω for h, d'i, and Ψ, respectively). By Lemma 8, Q'1, Q'2, … , Q'r, Qr+1, … , Qk are disjoint to each other. Besides, each Q'i is shortest with length |di|=k/2 because , ( ) = , ( ) =1

i

i i d

i d d

d Φ .

For all r+1≤j≤k, if |dj|≤k/2−1, then Qj has length at most |dj|+2≤k/2+1. If |dj|=k/2, then dj,(dj) =1 (by our assumption), which implies by Lemma 8 that Qj is shortest with length |dj|=k/2. We note

|dj|≤|dk +1|= k/2.

For all 1≤i≤r, Qi was constructed as the combination of the subpath of Q'i from s to fi and two links (fi, fi ) and ( fi , di) if di =dh for some r+1≤h≤k+1, and the combination of Q'i and a link (di, di) else (refer to Figure 3), where fi is the immediate predecessor of di in Q'i. Qi has length k/2+1. Q1, Q2, … , Qk are disjoint to each other, provided that Qi is disjoint with Qr+1, Qr+2, … , Qk and Q1, Q2, … , Qr are disjoint to each other. We first show that Qi is disjoint with Qr+1, Qr+2, … , Qk. It suffices to show that di is not contained internally in Qr+1, Qr+2, … , Qk and fi is not contained in Qr+1, Qr+2, … , Qk. The former is assured by Lemma 13 (substituting r, di , and Ω for h, d'i, and Ψ, respectively). The latter can be shown as follows. Suppose that α is a node in Qj, where r+1≤j≤k. When |dj|=k/2, we have |α|≤k/2 because Qj

is shortest with length k/2. When |dj|≤k/2−1, we have |α|≤|dj|+1≤k/2. Since | fi |=k−(|di|−1)=k/2+1>

|α|, fi is not contained in Qr+1, Qr+2, … , Qk.

We then show that Q1, Q2, … , Qr are disjoint to each other. It suffices to show that f ,1 f , … ,2 fr are all distinct, {f ,1 f , … ,2 f }∩{dr 1, d2, … , dr} is empty, and each of f ,1 f , … ,2 f , dr 1, d2, … , dr is not contained in Q'1, Q'2, … , Q'r. Clearly, f ,1 f , … ,2 fr are all distinct. Since | fi |=k/2+1 and

|di|=k/2 for all 1≤i≤r, we have {f ,1 f , … ,2 f }∩{dr 1, d2, … , dr} empty. Besides, each of f ,1 f , … ,2 fr is not contained in Q'1, Q'2, … , Q'r because Q'1, Q'2, … , Q'r are all shortest with length k/2. Since Lemma 13 assures that each of d1, d2, … , dr is not contained internally in Q'1, Q'2, … , Q'r, we only need to

show {d1, d2, … , dr}∩{d ,1 d , … ,2 d } empty. Suppose conversely dr i=d , where 1≤i≤r, 1≤j≤r, and i≠j. j It follows by Lemma 3 (di,Φ(di) =0, dj,Φ(dj) =0, and 1

) , ( ) (

, = =

j j dj

d

i d

d Φ Φ ) that Φ is not minimal, which is a contradiction.

Qk +1 was constructed as the combination of a link (s, s) and a shortest path from s to dk +1 in a k-cube whose length is (k−|dk +1|)+1≤k/2+1. Qk +1 is not necessarily disjoint with Q1, Q2, … , Qk. As stated below, there are two situations in which some of Q1, Q2, … , Qk +1 need to be changed, in order to satisfy the disjoint property. The two situations have to be treated sequentially.

The first situation is that Qk +1 intersects with Qt for some 1≤t≤r at a node x (≠s). Qt and Qm need to be changed as follows: Qt was reconstructed as the combination of the subpath of Qm from s to g and two links (g, g ) and ( g , dt), and Qm was reconstructed as the combination of the subpath of (old) Qt from s to

x and a shortest path from x to dm, where dt =dm for some r+1≤m≤k and g is the immediate predecessor of dm in (old) Qm. That x (=ft) is contained in (old) Qt and dm surely exists is explained below.

According to the construction of (old)Qt, we have x≠dk +1 and ft∈(old)Qt. Besides, |x|≤k/2+1=| ft | if dt=dh for some r+1≤h≤k+1, and |x|≤k/2 else. On the other hand, since x ∈Qk +1, we have |x|≥|dk +1|+1=

k/2+1. Hence |x|=k/2+1, which implies that x= ft (hence x=ft) and x is the immediate predecessor of dk +1 in Qk +1. Since ft =x∈(old)Qt, we have dt=dh. We have dt≠dk +1, for otherwise (dt=dk +1) both ft and ft are adjacent to dk +1, which is impossible because k≥4. Hence dt =dm for some r+1≤m≤k.

Since x=ft and dm=dt , (new) Qm is identical with Q't. Hence (new) Qm is shortest with length k/2.

(New) Qt has length greater by one than that of (old) Qm. (Old) Qm is shortest with length k/2, as explained below. By Lemma 9 (substituting dt and dm for dh and dl, respectively), we have dm,Φ(dm) =1. Hence, dm,(dm) = dm,Φ(dm) =1 and by Lemma 8 (old) Qm is shortest with length |dm|=k/2. Besides, |g|=

|dm|−1=k/2−1. That Q1, … , Qt−1, (new) Qt, Qt+1, … , Qm−1, (new) Qm, Qm+1, … , Qk are disjoint to each other is mainly due to the construction method. More reasons are supplemented as follows. (New) Qm is disjoint with Q1, … , Qt−1, Qt+1, … , Qm−1, Qm+1, … , Qk, as a consequence of (new) Qm identical with Q't. Since (old) Qm is disjoint with Q'1, Q'2, … , Q'r, we have g≠fi (hence gfi ) for all 1≤i≤r. (New) Qt is disjoint with Q1, … , Qt−1, Qt+1, … , Qm−1, Qm+1, … , Qk, as a consequence of gfi and |g |=k/2+1>|α|.

(New) Qt and (new) Qm are disjoint because g(new) Qm.

Qk +1 is disjoint with Q1, … , Qt−1, (new) Qt, Qt+1, … , Qr, as explained below. Suppose that β ∉{s, x, dk +1} is a node in Qk +1 and γ is a node in Q1, … , Qt−1, (new) Qt, Qt+1, … , Qr. The construction method assures |β|>|x|=k/2+1 (recall that x is the immediate predecessor of dk +1 in Qk +1) and |γ|≤k/2+1. Hence we have βγ. The construction method also assures that x and dk +1 are not contained in Q1, … , Qt−1, (new) Qt, Qt+1, … , Qr (recall x= ftg ).

To sum up, Q1, Q2, … , Qk that we obtained with the first situation taken into consideration are disjoint to each other. Besides, Qk +1 is disjoint with Q1, Q2, … , Qr. It should be noted that Qk +1 intersects with at most one of (old)Q1, (old)Q2, … , (old)Qr. If Qk +1 intersects with another (old)Qw (1≤w≤r and w≠t) at a node x' (∉{s, x}), in addition to (old)Qt, then we have |x'|=k/2+1=|x|. Since both x and x' are contained in Qk +1, we have x=x', which is a contradiction.

The second situation is that Qk +1 intersects with Ql for some r+1lk. Since |α|≤k/2=|dk +1|, the intersection of Qk +1 and Ql must be dk +1. Qk +1 was reconstructed as the subpath of Ql from s to dk +1 whose length is at most k/2. (New) Qk +1 is disjoint with Q1, Q2, … , Ql−1, Ql+1, … , Qk. Ql needs to be reconstructed, depending on whether k is even or odd. If k is even, then Ql was reconstructed as the combination of a link (s, s), a shortest path from s to dl in a k-cube, and a link (dl , dl), which has length (k−|dl |)+2=|dl|+2. We have |dl|=k/2−1, as explained below. It was shown that (old) Ql has length at most k/2+1. Also, (old) Ql has length at least |dk +1|+1=k/2+1 because dk +1(old) Ql. Hence (old) Ql has length exactly k/2+1. Since |dl|≤k/2, we have |dl|=k/2−1 as a consequence of Lemma 8.

(New) Ql is disjoint with Q1, … , Ql−1, Ql +1, … , Qk, (new) Qk +1, as explained below. Suppose that η

∉{s, dl , dl}is a node in (new) Ql and τ is a node in Q1, Q2, … , Qr. We have |η|>|dl |=k/2+1=k/2+1.

According to the construction method, we have |τ|=k/2+1 if τ∈{ f ,1 f , … ,2 f ,r g }, and |τ|<k/2+1 else. Besides, we have dl∉{f1, f2, … , fr, g} (equivalently, dl ∉{ f ,1 f , … ,2 f ,r g }). Hence (new) Ql is disjoint with Q1, Q2, … , Qr. Since |α|≤k/2, (new) Ql is disjoint with Qr+1, … , Ql−1, (old) Ql, Ql+1,… , Qk, which also implies that (new) Ql and (new) Qk +1 are disjoint.

If k is odd, then Ql was reconstructed as the combination of a link (s, s), a shortest path from s to y in a k-cube, and a link (y, dl), where y is an adjacent node of dl so that |y|=|dl|+1 and y(old) Qi for all 1≤i≤k. We have |dl|=k/2−1 similarly. (New) Ql has length (k−|y|)+2=k/2+1. Suppose that qc's,

1≤c≤k−|dl|+1, are k−|dl|+1 distinct adjacent nodes of dl in a k-fcube with |qc|=|dl|+1 (one of qc's is dl ). In the following, we show the existence of y by showing the existence of a qw(old) Qi for all 1≤i≤k, where 1≤w≤k−|dl|+1.

We first show that each (old) Qu with dl,Φ(du) =1 does not contain any qc, where 1≤u≤k. Since dk +1(old) Ql and |dk +1|=|dl|+1, we have dl,(dl) =0 by Lemma 8. By Lemma 11 (dl,Φ(dl)=dl,(dl)=0), we have

|du|≤|dl| and du,Φ(du) =1. By our assumption, we have r+1≤u≤k, and hence du,(du) =du,Φ(du) =1. By Lemma 8, (old) Qu is shortest with length |du|. Since |du|≤|dl|<|dl|+1=|qc|, (old) Qu does not contain qc. Then we show that each (old) Qv with dl,Φ(dv) =0 contains at most one qc, where 1≤v≤k. It suffices to show that each (old) Qv with dl,Φ(dv) =0 contains at most one node, say ρ, with |ρ|=k/2=|qc|. When 1≤v≤r, each (old) Qv contains exactly one ρ according to the construction method. When r+1≤v≤k, it was shown that if

|dv|= k/2, then (old) Qv is shortest with length k/2. Hence (old) Qv contains exactly one ρ. If

|dv|≤k/2−1, then Lemma 8 assures that (old) Qv contains at most one ρ. Since there are k−|dl|+1 distinct qc's but only k−|dl| (old) Qv's with dl,Φ(dv) =0, a qw as required can be found.

Suppose that λ ∉{s, y, dl} is a node in (new) Ql. Since |λ|>|y|=k/2≥|α| and y is not contained in Q1, … , Ql−1, (old) Ql, Ql+1,… , Qk, we have (new) Ql disjoint with Qr+1, … , Ql−1, Ql+1,… , Qk, (new) Qk +1 (recall that (new)Qk +1 is a subpath of (old)Ql). If (new)Ql intersects with Qv for some 1≤vr at a node z (s), thenQv and Qw need to be reconstructed in order that the final Q1, Q2,… , Qk +1 are disjoint, where dv =dw for some r+1≤w≤k and w≠l. We have z≠dl because (old)Ql is disjoint with Q1, Q2, … , Qr. That is, z is contained in the subpath of (new)Ql from s to y. Since |y|=k/2=|dk +1|, the reconstruction of Qv and Qw can be made all the same as the reconstruction of Qt and Qm in the first situation that Qk +1 intersects with Qt for some 1≤t≤r (substituting y, v, w, p, z, and the subpath of (new)Ql from s to y for dk +1, t, m, g, x, and Qk +1, respectively).

Consequently, (new) Qv and (new) Qw have lengths k/2+1 and k/2, respectively. Besides, Q1, … , (new)Qv, … , Ql−1, Ql+1, … , (new)Qw, … , Qk, (new)Qk +1 are disjoint (l<w is assumed), (new)Ql is disjoint with Q1, … , (new)Qv, … , Qr, and (new)Ql is disjoint with (new) Qw (because (new) Qw has length

k/2<k/2=|y|<|λ|). We have dv=dw for some r+1≤w≤k with the same arguments as dt =dm for some r+1≤m≤k in the first situation that Qk +1 intersects with Qt for some 1≤t≤r. Further, dv ≠dl (i.e., w≠l) was shown below.

Suppose conversely d =d. Since y is adjacent to d, either y=d or y is adjacent to d in a k-cube. If

y=dl , then y=dv, which contradicts to y ∉Qv. If y is adjacent to dl in a k-cube, then dl and dl are at a distance of three at most in a k-cube, as explained below, which contradicts to our assumption of k≥4. It suffices to show a path (dl, y, z, dl ) in a k-cube. We have shown x= ft above (for the situation that Qk +1 that were obtained after the mth modification, where 0≤m≤v−u and D(0) and Ψ(0) denote the initial D and Ψ, respectively. By Lemma 12 (substituting u, di , and Ψ(0) for h, d'i, and Ψ, respectively), Ψ(0) is minimal.

Ψ(m+1)(dh)=Ψ(m)(dh)=Φ(dh). On the other hand, if Ψ(m)(dl) and Ψ(m)(dh) were swapped, then Ψ(m+1)(pl)=Φ(dl) and Ψ(m+1)(dh)=Φ(dh) remain valid after a slight modification of Φ, as explained below. We simply swap Φ(dl) and Φ(dh), and then we have Ψ(m+1)(pl)=(new)Ψ(m)(dl)=(old)Ψ(m)(dh)=(old)Φ(dh)=(new)Φ(dl)

Qv+2, … , Qk. Since |α|>|dk +1|=k/2+1, |β|≤k/2, and |γ|<k/2+1, we have αβ, αγ, dk +1β, and dk +1γ. For all 1≤i≤r, Qi was constructed, depending on whether di =dw for some v+1≤w≤k or not. If di =dw, then Qi was constructed as the combination of the subpath of Q'i from s to fi and two links (fi, fi ) and ( fi , di) (refer to Figure 4(a)), where fi denotes the immediate predecessor of di in Q'i. If fi ∈Qk +1, then Q'i and Qw need to be swapped prior to the construction of Qi. Q'i is shortest with length k/2−1. By Lemma 9 (di,Φ(di) =0 and di =dw), we have dw,Φ(dw) =1. Since dw,Ψ(dw) =dw,Φ(dw) =1, Qw is shortest with length

|dw|=|di |=k/2−1 by Lemma 8. Hence Qi has length k/2. Qi is disjoint with Q'r+1, … , Q'v, Qv +1, … , Qk +1, as explained below.

We first assume fi∉Qk +1. For all u+1≤t≤v, since Φ(dt)=Ψ(pt) and pt,Ψ(pt) =1, we have pt,Φ(dt) =1. By Lemma 13 (substituting v and di (or pi) for h and d'i, respectively), each of d1, d2, … , dv is not contained internally in Q'1, … , Q'v, Qv +1, … , Qk. Since |fi|=k/2+2 is greater than |β|, |γ|, and |dc| for all v+1≤c≤k, fi is not contained in Q'r+1, … , Q'v, Qv+1, … , Qk. Hence Qi is disjoint with Q'r+1, … , Q'v, Qv+1, … , Qk. Suppose that τ∉{ fi, di} is a node in Qi. Since |τ|≤|fi|=k/2−2<|α| and |τ|<|dk +1|, each node in Qi−{ fi, di} is not contained in Qk +1. We have di ∉Qk +1 because |di|≤|dk +1|<|α|. Hence Qi and Qk +1 are disjoint. If fi∈ Qk +1, then Q'i and Qw were swapped and fi was changed to be the immediate predecessor of di in (new) Q'i ( fi was changed accordingly). We have (new) fi∉Qk +1, because (new)fi ≠(old) fi,

|(new) fi|=|(old) fi|, and the subpath of Qk +1 from s to dk +1 is shortest. With the same arguments, Qi is disjoint with Q'r+1, … , Q'v, Qv+1, … , Qk +1.

On the other hand, if di ≠dj for all v+1≤j≤k, then Qi was constructed as the combination of Q'i and a link (di, di) (refer to Figure 4(b)), which has length k/2. Qi is disjoint with Q'r+1, … , Q'v, Qv+1, … , Qk +1, provided di ∉{dr+1, … , du , pu+1, … , pv, dk +1} and di is not contained internally in Q'r+1, … , Q'v, Qv+1, … , Qk +1. We have di ∉{dr+1, dr+2 , … , du } because di{dr+1, dr+2, … , du}, di{pu+1, pu+2, … , pv} because {d ,1 d , … ,2 du}∩{pu+1, pu+2, … , pv} is empty, and di ≠dk +1 because |d |=k/2−1≠|di k +1|. We have shown above that di is not contained internally in Q'r+1, … , Q'v, Qv+1, … , Qk. Since |di|=k/2+1=|dk +1|<|α|, di is not contained internally in Qk +1.

Next we show that Q1, Q2, … , Qr are disjoint to each other. Without loss of generality, we assume

dc∈{dv+1, dv+2, … , dk} for all 1≤c≤m and dc∉{dv+1, dv+2, … , dk} for all m+1≤c≤r, where 0≤m≤r. It suffices to show that f ,1 f , … ,2 fm are all distinct, {f ,1 f , … ,2 fm}∩{d1, d2, … , dr} is empty, and each of f ,1 f , … ,2 fm, d1, d2, … , dr is not contained in Q'1, Q'2, … , Q'r. The first two hold because f1, f2, … , fm are all distinct, | fc|=k/2+2 for all 1≤c≤m, and |di|=k/2+1 for all 1≤i≤r. The last holds because Q'1, Q'2, … , Q'r are all shortest with length k/2−1.

For all r+1≤j≤u, Qj was constructed as the combination of Q'j and a link (d , dj j), which has length

k/2+1. Qj is disjoint with Q1, Q2, … , Qr, Q'u+1, … , Q'v, Qv+1, … , Qk +1, provided dj ∉{d1, d2, … , dr, pu+1, … , pv, dv+1, … , dk +1} and dj is not contained internally in Q1, Q2, … , Qr, Q'u+1, … , Q'v, Qv +1, … , Qk +1. By our assumption (refer to the beginning paragraph enclosed by /* and */ in Case 4), we have dj ∉{d1, d2, … , dk}. Since |d |=k/2≠k/2−1=|pj t| for all u+1≤t≤v, we have dj ∉{pu+1, pu+2, … , pv}. Also we have

dj ≠dk +1 because |d |≠|dj k +1|. On the other hand, since dj is not contained internally in Q'1, … , Q'v, Qv+1, … , Qk, we only need to show dj∉{ f ,1 f , … ,2 f ,r d ,1 d , … ,2 d } and dr j is not contained internally in Qk +1. The former holds because |dj|=k/2≠k/2+2=|fi | and |dj|= k/2≠k/2−1=|di| for all 1≤i≤r. The latter holds because |dj|<|α|. Further, Qr+1, Qr+2, … , Qu are disjoint to each other because dj ∉{d1, d2, … , dk} and dj is not contained internally in Q'r+1, Q'r+2, … , Q'u.

For all u+1≤t≤v, Qt was constructed as the combination of Q't and two links (pt, pt) and (pt, dt), which has length k/2+1 (refer to Figure 5). Qt is disjoint with Q1, Q2, … , Qu, Qv+1, Qv+2, … , Qk +1, provided pt∉{d1, d2, … , du, dv +1, dv +2, … , dk +1}, pt is not contained in Q1, Q2, … , Qu, Qv+1, Qv+2, … , Qk +1, and dt is not contained internally in Q1, Q2, … , Qu, Qv +1, Qv+2, … , Qk +1. By our assumption, we have pt∉ {d ,1 d , … ,2 du , dv+1, dv+2, … , dk} and pt∉{d ,1 d , … ,2 du , dv+1, dv+2, … , dk, dk +1}, from which pt{d1, d2, … , du} and pt ∉{d1, d2, … , du} are implied. Since |pt|=k/2−1≠|dk +1|, we have pt≠dk +1. Suppose that η ∉{d1, d2, … , du, dv +1, dv+2, … , dk +1} is a node in Q1, Q2, … , Qu, Qv +1, Qv +2, … , Qk +1. We have ptη

because |pt|=k/2+1≠|η| (as a consequence of our construction method). Since dt is not contained internally in Q'1, Q'2, … , Q'u, Qv+1, Qv+2, … , Qk, dt is not contained internally in Q1, Q2,… , Qu, Qv+1, … , Qk +1, provided dt ∉ { f ,1 f , … ,2 f ,r d ,1 d , … ,2 du} and dt is not contained internally in Qk +1. The

former holds because |dt|=k/2, | fi |=k/2+2 and |di|=k/2−1 for all 1≤i≤r, and dj ∉{d1, d2, … , dk} for all r+1≤j≤u (by our assumption). The latter holds because |dt|<k/2+1<|α|.

Qu+1, Qu+2, … , Qv are disjoint to each other for the following reason. By our assumption, we have pu+1, pu+2, … , pv all distinct (hence, pu+1, pu+2, … , pv all distinct). For all u+1≤t≤v, since |pt|=k/2+1,

|dt|=k/2, and Q't is shortest with length k/2−1, neither of pt and dt is contained in Q'u+1, Q'u+2, … , Q'v. Besides, since |pt|=k/2+1 and |dt|=k/2 for all u+1≤t≤v, we have {pu+1, pu+2, … , pv}∩ {du+1, du+2, … , dv} empty.

3.2.2.5 Case 5: |dk+1|≥k/2+2

By carefully checking Section 3.2.2.4, it can be found that the execution of Case 4 remains correct even if there are the following two extensions: (1) |dm|≤k/2+1 for all 1≤m≤k and |dk +1|≥k/2+1; (2) di=dj is allowed if |di|=|dj|<k/2, where 1≤i≤k+1 and 1≤j≤k+1. Since |qi|=k/2−1 for all 1≤i≤r', |dj|≤k/2−2 for all r'+1≤j≤u', and |dc|≤k/2+1 for all u'+1≤c≤k, Q'1, … , Q'u', Qu'+1, … , Qk +1 can be obtained by the construction method of Case 4, where Q'i ends at qi for all 1≤i≤r' and Q'j ends at dj for all r'+1≤j≤u'.

Besides, Q'1, … , Q'u', Qu'+1, … , Qk +1 are disjoint to each other and their maximal length is not greater than

k/2+1. We also note that there is no complement link in Q'1, Q'2, … , Q'u'. Actually, Q'1, Q'2, … , Q'u' have lengths smaller than k/2+1. Since Ω is minimal, Lemma 16 assures qi,(qi) =1 for all 1≤i≤r'. According to Lemma 8, Q'i with 1≤i≤r' is shortest with length |qi|=k/2−1. Besides, Q'j with r'+1≤j≤u' has length not greater than |dj|+2≤k/2.

For all 1≤i≤r', Qi was constructed as the combination of Q'i and two links (qi, q ) and (i q , di i), which has length k/2+1 (refer to Figure 6). Qi is disjoint with Q'r'+1, … , Q'u', Qu'+1, … , Qk +1, provided qi∉ {dr'+1, … , du', du'+1, … , dk, dk +1}, qi is not contained in Q'r'+1, … , Q'u', Qu'+1, … , Qk +1, and di is not contained internally in Q'r'+1, … , Q'u', Qu'+1, … , Qk +1. By our assumption (refer to the beginning paragraph enclosed by /* and */ in Case 5), we have qi∉{dr'+1, … , du', du'+1, … , dk}. Also, qi≠dk +1 because|qi|<|dk +1|.

Since |qi |=k/2+1 and Q'r'+1, Q'r'+2, … , Q'u' have lengths at most k/2, qi is not contained in Q'r'+1, Q'r'+2, … , Q'u'. qi is also not contained in Qu'+1, Qu'+2, … , Qk, as explained below.

We assume, without loss of generality, that Qm+1, Qm+2, … , Qm+c contain pm+1, pm+2, … , pm+c,

respectively (refer to Case 4 where Qt was constructed as the combination of Q't and two links (pt, pt) and (pt, dt) for all u+1≤t≤v), where u'+1≤m+1≤m+c≤k. Suppose that α ∉{du'+1, du'+2, … , dk}∪{pm+1,

+2

pm , … , pm+c} is a node in Qu'+1, Qu'+2, … , Qk. We have qiα because |qi |=k/2+1≠|α| (as a consequence of Case 4). By our assumption (refer to the beginning paragraphs enclosed by /* and */ in Case 4 and Case 5), we have qi∉{pm+1, pm+2, … , pm+c}, i.e., qi ∉{pm+1, pm+2 , … , pm+c}, and qi ∉{du'+1, du'+2, … , dk}.

Then we show that di is not contained internally in Q'r'+1, … , Q'u', Qu'+1, … , Qk +1. Since |di|=k/2+2 and Q'r'+1, Q'r'+2, … , Q'u' have lengths at most k/2, di is not contained internally in Q'r'+1, Q'r'+2, … , Q'u'. We assume, without loss of generality, that Qm' +1, Qm'+2, … , Qm' +c' contain fm'+1, fm'+2, … , fm'+c' , respectively, where u'+1m'+1m'+c'k. Suppose that β ∉{ fm'+1, fm'+2, … , fm'+c' } is a node in Qu'+1, Qu'+2, … , Qk. We have |β|≤k/2+1 as a consequence of the execution of Case 4. Since |di|=k/2+2, we have diβ. By our assumption, we have di =dl(∉{fm'+1, fm' +2, … , fm'+c'}) for some u'+1≤l≤k, i.e., di∉{ fm'+1,

+2 '

fm , … , fm'+c' }. Since |di|≤|dk +1| and the subpath of Qk +1 from s to dk +1 is shortest, di is not contained internally in Qk +1.

Q1, Q2, … , Qr' are disjoint to each other, provided that q1, q2, … , qr' are all distinct, q ,1 q , … ,2 qr' are all distinct, each of q ,1 q , … ,2 q , dr' 1, d2, … , dr' is not contained in Q'1, Q'2, … , Q'r', and {q ,1

q , … ,2 q }∩{dr' 1, d2, … , dr'} is empty. By our assumption, we have q1, q2, … , qr' all distinct (i.e., q ,1 q , … ,2 qr' all distinct). Since |qi |=k/2+1 and |di|=k/2+2 for all 1≤i≤r', we have {q ,1 q , … ,2

'

q }∩{dr 1, d2, … , dr'} empty. Besides, since Q'i is shortest with length |qi|=k/2−1 for all 1≤i≤r', each of q ,1 q , … ,2 q , dr' 1, d2, … , dr' is not contained in Q'1, Q'2, … , Q'r'.

For all r'+1≤j≤u', Qj was constructed depending on whether d =dj t for some u'+1≤t≤k or not. If

dj =dt, then Qj was constructed as the combination of the subpath of Q'j from s to gj and two links (gj, g ) j and (g , dj j), where gj denotes the immediate predecessor of dj in Q'j. If gj ∈Qk +1, then Q'j and Qt need to be swapped prior to the construction of Qj. Since Q'j has length at most k/2, Qj has length at most (k/2−1)+2=k/2+1. Qj is disjoint with Q1, Q2, … , Qr', Qu'+1, Qu'+2, … , Qk +1, as explained below.

If g ∉Qk +1, then it suffices to show that g is not contained in Q1, Q2, … , Qr', Qu'+1, Qu'+2, … , Qk

and dj is not contained internally in Q1, Q2, … , Qr', Qu'+1, Qu'+2, … , Qk +1. We first show |gj|≤k/2−2, i.e.,

|g |≥ j k/2+2. Since there is no complement link in Q'j, we have |gj|= |d |−1 or |j d |+1. Since j

|d |≤k/2−2, we have |gj j|≤k/2−1. If |gj|=k/2−1, then |d |=k/2−2. By Lemma 8 (|gj j|=|d |+1), we havej

) 0

, ( =

dj

dj

. Consequently (|d |=k/2−2,j dj =dt, and 0

)

, ( =

dj

dj

), a further modification of D and Ω is still required, which is a contradiction.

We show that gj is not contained in Q1, Q2, … , Qr', Qu'+1, Qu'+2, … , Qk as follows. Since

|g |≥k/2+2 and Q'j i is shortest with length |qi|=k/2−1 for all 1≤i≤r', gj is not contained in Q'1, Q'2, … , Q'r'. Further, gj is not contained in Q1, Q2, … , Qr', provided gj ∉{q ,1 q , … ,2 q , dr' 1, d2, … , dr'}.

Clearly, we have gj∉{q1, q2, … , qr'}, i.e., gj ∉{q ,1 q , … ,2 q }. Sincer' di ∈{du'+1, du' +2, … , dk} for all 1≤i≤r' and gj∉{du'+1, du'+2, … , dk}, we have gj∉{d ,1 d , … ,2 d }, i.e.,r' gj ∉{d1, d2, … , dr'}. On the other hand, gj is not contained in Qu'+1, Qu'+2, … , Qk because |g |>|j β| and gj ∉{fm'+1, fm'+2, … , fm'+c'} (i.e.,

gj ∉{ fm'+1, fm'+2, … , fm'+c' }).

Then we show that dj is not contained internally in Q1, Q2, … , Qr', Qu'+1, Qu'+2, … , Qk +1. Suppose that

γ ∉{d1, d2, … , dr'} is a node in Q1, Q2, … , Qr'. Since |dj|≥k/2+2 (by our assumption) and |γ|≤k/2+1 (refer to the construction method of Case 5), dj is not contained internally in Q1, Q2, … , Qr'. Besides, dj is not contained internally in Qu'+1, Qu'+2, … , Qk because |dj|>|β| (i.e., djβ) and dj ∉{fm'+1, fm' +2, … , fm'+c'} (i.e., dj∉{ fm'+1, fm'+2, … , fm'+c' }). Since |dj|≤|dk +1| and the subpath of Qk +1 from s to dk +1 is shortest, dj is not contained internally in Qk +1.

On the other hand, if gj ∈Qk +1, then Q'j and Qt were swapped and gj was changed to be the immediate predecessor of dj in (new)Q'j. It suffices to show (new)gj ∉Qk +1, in order for Qj to be disjoint with Q1, Q2, … , Qr', Qu'+1, Qu'+2, … , Qk +1. If dt,(dt) =1 and 1

)

, ( =

dj

dj , then by Lemma 8 (old) Qt and (old) Q'j are shortest with lengths |dt| (=|d |), which implies |(new)j gj|=|(old) gj|, i.e.,

|(new)g |=|(old)j g |. Since (old)j gj ∈Qk +1, |(new)g |=|(old)j g |, (new)j gj ≠(old)g , and the subpath of j Qk +1 from s to dk +1 is shortest, we have (new)gj ∉Qk +1. If dt,(dt) =0, then Lemma 8 assures |(new)

gj|=|dt|+1=|d |+1, i.e., |(new)j g |= |dj j|−1<|dk +1|. It follows that we have (new)gj ∉Qk +1. If 0

)

, ( =

dj

dj

,

then we have |(old) gj|=| d |+1, i.e., |(old)j g |=|dj j|−1<|dk +1|. Hence, (old) gj ∉Qk +1, which is a contradiction.

If dj ≠dv for all u'+1≤v≤k, then Qj was constructed as the combination of Q'j and a link (d , dj j), which has length at most k/2+1. Qj is disjoint with Q1, Q2, … , Qr', Qu'+1, Qu'+2, … , Qk +1, provided dj is not contained internally in Q1, Q2, … , Qr', Qu'+1, Qu'+2, … , Qk +1 and dj ∉{d1, d2, … , dr', dk +1}. The former has been shown above. The latter holds because |d |≤k/2−2 and |dj k +1|≥|di|≥k/2+2 for all 1≤i≤r'.

Finally we show that Qr'+1, Qr'+2, … , Qu' are disjoint to each other. Without loss of generality, we assume dc∈{du'+1, du'+2, … , dk} for all r'+1≤c≤l' and dc∉{du'+1, du'+2, … , dk} for all l'+1≤c≤u', where r'≤l'≤u'. It suffices to show that gr'+1, gr'+2, … , gl' are all distinct, {gr'+1 , gr'+2, … , gl' }∩{dr'+1, dr'+2, … , du'} is empty, and each of gr'+1, gr'+2, … , gl', dr'+1, dr'+2, … , du' is not contained in Q'r'+1, Q'r'+2, … , Q'u'. The first two hold because gr'+1, gr'+2, … , gl' are all distinct and {gr'+1, gr'+2, … , gl'}∩{dr'+1,

+2 '

dr , … , du'} is empty. The last holds because |gc|≥k/2+2 for all r'+1≤c≤l', |dj|≥k/2+2 for all r'+1≤j≤u', and Q'r'+1, Q'r'+2, … , Q'u' have lengths at most k/2 (recall that none of Q'r'+1, Q'r'+2, … , Q'u' contain complement links).

相關文件