342 8. One Key Cryptosystems and Latin Arrays
π(H
i
) are disjoint. It follows that π(H
ij
)and
(i
,j
)∈N
ij
π(H
i
,j
)aredis-
joint. On the other hand, for any h in H
ij
,since(c
1
,...,c
r
) is the rank-
spectrum of π, a
h
⊕ b
π(h)
is in R(c
1
,...,c
i
,d
1
,...,d
i
). Since π is a permuta-
tion, π(h)isnotinI. Therefore, π(h) ∈ Π(I,h,c
1
,...,c
i
,d
1
,...,d
i
). Since
h ∼
i
h
ij
, from Lemma 8.3.8, we obtain Π(I, h, c
1
, ..., c
i
, d
1
, ..., d
i
)=
Π(I,h
ij
,c
1
,...,c
i
,d
1
,...,d
i
). Thus π(h) ∈ Π(I,h
ij
,c
1
,...,c
i
,d
1
,...,d
i
). It
follows that π(H
ij
) ⊆ Π(I,h
ij
,c
1
,...,c
i
,d
1
,...,d
i
). Therefore, (c) holds.
if : Suppose that the transformation π satisfies conditions (a), (b) and
(c). First of all, we prove a proposition by reduction to absurdity: for any
i, i
,0 i
<i r, π(H
i
)andπ(H
i
) are disjoint. Suppose to the con-
trary that there exist i and i
,0 i
<i r, such that π(H
i
)andπ(H
i
)
intersect. Then there exist j and j
,1 j t
i
,1 j
t
i
, such that
π(H
ij
)andπ(H
i
j
) intersect. Since (c)holds,Π(I,h,c
1
,...,c
i
,d
1
,...,d
i
)
and Π(I,h
,c
1
,...,c
i
,d
1
,...,d
i
) intersect, for any h ∈ H
ij
, h
∈ H
i
j
.Using
Lemma 8.3.9, Π(I,h
,c
1
,...,c
i
,d
1
,...,d
i
) is a subset of Π(I,h,c
1
,...,c
i
,
d
1
,...,d
i
). Therefore, (i
,j
) ∈ N
ij
.Sinceπ(H
ij
)andπ(H
i
j
) intersect,
π(H
ij
)and
(s,t)∈N
ij
π(H
st
) intersect. This contradicts the condition (c).
Thus the proposition holds. From (a), (c) and the proposition, it is easy to
show that π is a permutation if and only if for any i,0 i r,anyj and
j
,1 j
<j t
i
, π(H
ij
)andπ(H
ij
) are disjoint. Using Lemma 8.3.8,
whenever h ∼
i
h
does not hold, Π (I, h, c
1
, ..., c
i
, d
1
, ..., d
i
)andΠ (I,
h
, c
1
, ..., c
i
, d
1
, ..., d
i
) are disjoint. From (c), it is easy to see that for
any i,0 i r,anyj and j
,1 j
<j t
i
, π(H
ij
)andπ(H
ij
)are
disjoint. Thus π is a permutation. From (b) and (c), it is easy to prove that
(c
1
,...,c
r
)istherank-spectrumofπ.Itimmediatelyfollows,using(a),that
π ∈ V (c
1
,...,c
r
,d
1
,...,d
r
).
Solutions π and π
of Problem P (a
1
,...,a
k
,b
1
,...,b
k
)aresaidtobe
equivalent, if rank-spectra of π and π
are the same, say (c
1
,...,c
r
), and
π(c
i
)=π
(c
i
)fori =1,..., r, π(H
ij
)=π
(H
ij
)fori =0,1,..., r and
j =1,..., t
i
. (In the definition of H
ij
,thevalueofd
i
is taken as π(c
i
),
i =1,..., r.) It is easy to verify that the equivalent relation is reflexive,
symmetric and transitive.
Corollary 8.3.2. If V (c
1
,...,c
r
; d
1
,...,d
r
) = ∅, then the number of so-
lutions in each equivalence class is
0ir,1jt
i
|H
ij
|!, and the equivalence
class containing π can be obtained by changing the restriction of π on H
ij
to
bijections from H
ij
to π(H
ij
) for i =0, 1, ..., r and j =1, ..., t
i
.
Corollary 8.3.3. Assume that 1 c
1
<c
2
< ··· <c
r
k and that
d
1
,...,d
r
∈{1,...,k} are distinct. Let I = {d
1
,...,d
r
}.Ifthereexist
i, j, 0 i<r, 1 j t
i
, such that |H
ij
| +
(i
,j
)∈N
ij
|H
i
j
| >